Home
last modified time | relevance | path

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

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