Searched refs:byte_pos (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/lib/xz/
H A Dxz_dec_bcj.c207 uint32_t byte_pos; bcj_ia64() local
228 byte_pos = bit_pos >> 3; bcj_ia64()
232 instr |= (uint64_t)(buf[i + j + byte_pos]) bcj_ia64()
254 buf[i + j + byte_pos] bcj_ia64()
/linux-4.4.14/sound/soc/sh/rcar/
H A Dcore.c385 int pos = io->byte_pos + additional; rsnd_dai_pointer_offset()
394 io->byte_pos += byte; rsnd_dai_pointer_update()
396 if (io->byte_pos >= io->next_period_byte) { rsnd_dai_pointer_update()
404 io->byte_pos = 0; rsnd_dai_pointer_update()
435 io->byte_pos = 0; rsnd_dai_stream_init()
949 return bytes_to_frames(runtime, io->byte_pos); rsnd_pointer()
H A Ddma.c60 * ant it will breaks io->byte_pos __rsnd_dmaen_complete()
H A Drsnd.h361 int byte_pos; member in struct:rsnd_dai_stream
/linux-4.4.14/drivers/mtd/nand/
H A Datmel_nand.c808 int byte_pos, bit_pos, sector_size, pos; pmecc_correct_data() local
816 byte_pos = tmp / 8; pmecc_correct_data()
819 if (byte_pos >= (sector_size + extra_bytes)) pmecc_correct_data()
822 if (byte_pos < sector_size) { pmecc_correct_data()
823 err_byte = *(buf + byte_pos); pmecc_correct_data()
824 *(buf + byte_pos) ^= (1 << bit_pos); pmecc_correct_data()
826 pos = sector_num * host->pmecc_sector_size + byte_pos; pmecc_correct_data()
827 dev_info(host->dev, "Bit flip in data area, byte_pos: %d, bit_pos: %d, 0x%02x -> 0x%02x\n", pmecc_correct_data()
828 pos, bit_pos, err_byte, *(buf + byte_pos)); pmecc_correct_data()
832 + (byte_pos - sector_size); pmecc_correct_data()
H A Domap2.c1350 u32 bit_pos, byte_pos, error_max, pos; omap_elm_correct_data() local
1463 byte_pos = (error_max - pos - 1) / 8; omap_elm_correct_data()
1466 if (byte_pos < 512) { omap_elm_correct_data()
1468 byte_pos, data[byte_pos]); omap_elm_correct_data()
1469 data[byte_pos] ^= 1 << bit_pos; omap_elm_correct_data()
1472 (byte_pos - 512), omap_elm_correct_data()
1473 spare_ecc[byte_pos - 512]); omap_elm_correct_data()
1474 spare_ecc[byte_pos - 512] ^= omap_elm_correct_data()
1480 byte_pos, bit_pos); omap_elm_correct_data()
/linux-4.4.14/sound/drivers/
H A Daloop.c127 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) byte_pos() function
458 last_pos = byte_pos(dpcm, dpcm->irq_pos); bytepos_delta()
460 delta = byte_pos(dpcm, dpcm->irq_pos) - last_pos; bytepos_delta()

Completed in 222 milliseconds