Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c387 u32 srd_ptr; in tsi721_clr_stat() local
392 srd_ptr = bdma_chan->sts_rdptr; in tsi721_clr_stat()
394 j = srd_ptr * 8; in tsi721_clr_stat()
399 ++srd_ptr; in tsi721_clr_stat()
400 srd_ptr %= bdma_chan->sts_size; in tsi721_clr_stat()
401 j = srd_ptr * 8; in tsi721_clr_stat()
404 iowrite32(srd_ptr, bdma_chan->regs + TSI721_DMAC_DSRP); in tsi721_clr_stat()
405 bdma_chan->sts_rdptr = srd_ptr; in tsi721_clr_stat()
H A Dtsi721.c1751 u32 srd_ptr; in tsi721_omsg_handler() local
1760 srd_ptr = priv->omsg_ring[ch].sts_rdptr; in tsi721_omsg_handler()
1762 j = srd_ptr * 8; in tsi721_omsg_handler()
1770 ++srd_ptr; in tsi721_omsg_handler()
1771 srd_ptr %= priv->omsg_ring[ch].sts_size; in tsi721_omsg_handler()
1772 j = srd_ptr * 8; in tsi721_omsg_handler()
1778 priv->omsg_ring[ch].sts_rdptr = srd_ptr; in tsi721_omsg_handler()
1779 iowrite32(srd_ptr, priv->regs + TSI721_OBDMAC_DSRP(ch)); in tsi721_omsg_handler()