Searched refs:byte_pos (Results 1 – 3 of 3) sorted by relevance
| /linux/sound/soc/renesas/rcar/ |
| H A D | ssi.c | 96 int byte_pos; member 879 u32 *buf = (u32 *)(runtime->dma_area + ssi->byte_pos); in rsnd_ssi_pio_interrupt() 881 int byte_pos; in rsnd_ssi_pio_interrupt() local 897 byte_pos = ssi->byte_pos + sizeof(*buf); in rsnd_ssi_pio_interrupt() 899 if (byte_pos >= ssi->next_period_byte) { in rsnd_ssi_pio_interrupt() 900 int period_pos = byte_pos / ssi->byte_per_period; in rsnd_ssi_pio_interrupt() 903 byte_pos = 0; in rsnd_ssi_pio_interrupt() 912 WRITE_ONCE(ssi->byte_pos, byte_pos); in rsnd_ssi_pio_interrupt() 925 ssi->byte_pos = 0; in rsnd_ssi_pio_init() 942 *pointer = bytes_to_frames(runtime, READ_ONCE(ssi->byte_pos)); in rsnd_ssi_pio_pointer()
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | omap2.c | 1244 u32 bit_pos, byte_pos, error_max, pos; in omap_elm_correct_data() local 1357 byte_pos = (error_max - pos - 1) / 8; in omap_elm_correct_data() 1360 if (byte_pos < 512) { in omap_elm_correct_data() 1362 byte_pos, data[byte_pos]); in omap_elm_correct_data() 1363 data[byte_pos] ^= 1 << bit_pos; in omap_elm_correct_data() 1366 (byte_pos - 512), in omap_elm_correct_data() 1367 spare_ecc[byte_pos - 512]); in omap_elm_correct_data() 1368 spare_ecc[byte_pos - 512] ^= in omap_elm_correct_data() 1374 byte_pos, bit_pos); in omap_elm_correct_data()
|
| /linux/sound/drivers/ |
| H A D | aloop.c | 171 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() function 634 last_pos = byte_pos(dpcm, dpcm->irq_pos); in bytepos_delta() 636 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; in bytepos_delta()
|