Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/lib/xz/
Dxz_dec_bcj.c207 uint32_t byte_pos; in bcj_ia64() local
228 byte_pos = bit_pos >> 3; in bcj_ia64()
232 instr |= (uint64_t)(buf[i + j + byte_pos]) in bcj_ia64()
254 buf[i + j + byte_pos] in bcj_ia64()
/linux-6.1.9/drivers/mtd/nand/raw/
Domap2.c1228 u32 bit_pos, byte_pos, error_max, pos; in omap_elm_correct_data() local
1341 byte_pos = (error_max - pos - 1) / 8; in omap_elm_correct_data()
1344 if (byte_pos < 512) { in omap_elm_correct_data()
1346 byte_pos, data[byte_pos]); in omap_elm_correct_data()
1347 data[byte_pos] ^= 1 << bit_pos; in omap_elm_correct_data()
1350 (byte_pos - 512), in omap_elm_correct_data()
1351 spare_ecc[byte_pos - 512]); in omap_elm_correct_data()
1352 spare_ecc[byte_pos - 512] ^= in omap_elm_correct_data()
1358 byte_pos, bit_pos); in omap_elm_correct_data()
/linux-6.1.9/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()