Searched refs:srd_ptr (Results 1 – 2 of 2) sorted by relevance
389 u32 srd_ptr; in tsi721_clr_stat() local394 srd_ptr = bdma_chan->sts_rdptr; in tsi721_clr_stat()396 j = srd_ptr * 8; in tsi721_clr_stat()401 ++srd_ptr; in tsi721_clr_stat()402 srd_ptr %= bdma_chan->sts_size; in tsi721_clr_stat()403 j = srd_ptr * 8; in tsi721_clr_stat()406 iowrite32(srd_ptr, bdma_chan->regs + TSI721_DMAC_DSRP); in tsi721_clr_stat()407 bdma_chan->sts_rdptr = srd_ptr; in tsi721_clr_stat()
1778 u32 srd_ptr; in tsi721_omsg_handler() local1787 srd_ptr = priv->omsg_ring[ch].sts_rdptr; in tsi721_omsg_handler()1789 j = srd_ptr * 8; in tsi721_omsg_handler()1797 ++srd_ptr; in tsi721_omsg_handler()1798 srd_ptr %= priv->omsg_ring[ch].sts_size; in tsi721_omsg_handler()1799 j = srd_ptr * 8; in tsi721_omsg_handler()1805 priv->omsg_ring[ch].sts_rdptr = srd_ptr; in tsi721_omsg_handler()1806 iowrite32(srd_ptr, priv->regs + TSI721_OBDMAC_DSRP(ch)); in tsi721_omsg_handler()