Searched refs:srd_ptr (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/rapidio/devices/
H A Dtsi721_dma.c392 u32 srd_ptr; tsi721_clr_stat() local
397 srd_ptr = bdma_chan->sts_rdptr; tsi721_clr_stat()
399 j = srd_ptr * 8; tsi721_clr_stat()
404 ++srd_ptr; tsi721_clr_stat()
405 srd_ptr %= bdma_chan->sts_size; tsi721_clr_stat()
406 j = srd_ptr * 8; tsi721_clr_stat()
409 iowrite32(srd_ptr, bdma_chan->regs + TSI721_DMAC_DSRP); tsi721_clr_stat()
410 bdma_chan->sts_rdptr = srd_ptr; tsi721_clr_stat()
H A Dtsi721.c1374 u32 srd_ptr; tsi721_omsg_handler() local
1384 srd_ptr = priv->omsg_ring[ch].sts_rdptr; tsi721_omsg_handler()
1386 j = srd_ptr * 8; tsi721_omsg_handler()
1394 ++srd_ptr; tsi721_omsg_handler()
1395 srd_ptr %= priv->omsg_ring[ch].sts_size; tsi721_omsg_handler()
1396 j = srd_ptr * 8; tsi721_omsg_handler()
1402 priv->omsg_ring[ch].sts_rdptr = srd_ptr; tsi721_omsg_handler()
1403 iowrite32(srd_ptr, priv->regs + TSI721_OBDMAC_DSRP(ch)); tsi721_omsg_handler()

Completed in 116 milliseconds