Searched refs:byte_pos (Results 1 – 2 of 2) sorted by relevance
94 int byte_pos; member874 u32 *buf = (u32 *)(runtime->dma_area + ssi->byte_pos); in rsnd_ssi_pio_interrupt()876 int byte_pos; in rsnd_ssi_pio_interrupt() local892 byte_pos = ssi->byte_pos + sizeof(*buf); in rsnd_ssi_pio_interrupt()894 if (byte_pos >= ssi->next_period_byte) { in rsnd_ssi_pio_interrupt()895 int period_pos = byte_pos / ssi->byte_per_period; in rsnd_ssi_pio_interrupt()898 byte_pos = 0; in rsnd_ssi_pio_interrupt()907 WRITE_ONCE(ssi->byte_pos, byte_pos); in rsnd_ssi_pio_interrupt()920 ssi->byte_pos = 0; in rsnd_ssi_pio_init()937 *pointer = bytes_to_frames(runtime, READ_ONCE(ssi->byte_pos)); in rsnd_ssi_pio_pointer()
165 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() function580 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()582 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()