Lines Matching refs:tx_ptr
81 unsigned tx_ptr);
82 unsigned tx_ptr; /* next frame index in the sample buffer */ member
135 unsigned tx_ptr) \
142 iowrite32(p[tx_ptr][0], \
144 iowrite32(p[tx_ptr][channels - 1], \
146 if (++tx_ptr >= runtime->buffer_size) \
147 tx_ptr = 0; \
149 return tx_ptr; \
168 unsigned tx_ptr = ACCESS_ONCE(i2s->tx_ptr); in xtfpga_pcm_push_tx() local
170 tx_ptr); in xtfpga_pcm_push_tx()
172 cmpxchg(&i2s->tx_ptr, tx_ptr, new_tx_ptr); in xtfpga_pcm_push_tx()
440 ACCESS_ONCE(i2s->tx_ptr) = 0; in xtfpga_pcm_trigger()
462 snd_pcm_uframes_t pos = ACCESS_ONCE(i2s->tx_ptr); in xtfpga_pcm_pointer()