Home
last modified time | relevance | path

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

/sound/soc/sh/rcar/
Dssi.c94 int byte_pos; member
874 u32 *buf = (u32 *)(runtime->dma_area + ssi->byte_pos); in rsnd_ssi_pio_interrupt()
876 int byte_pos; in rsnd_ssi_pio_interrupt() local
892 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()
/sound/drivers/
Daloop.c165 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() function
580 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta()
582 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()