Home
last modified time | relevance | path

Searched refs:cur_off (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
Dsunxi_nand.c577 int *cur_off, in sunxi_nfc_hw_ecc_read_chunk() argument
586 if (*cur_off != data_off) in sunxi_nfc_hw_ecc_read_chunk()
633 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
639 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_read_extra_oob() argument
649 if (*cur_off != offset) in sunxi_nfc_hw_ecc_read_extra_oob()
655 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
666 int *cur_off) in sunxi_nfc_hw_ecc_write_chunk() argument
673 if (data_off != *cur_off) in sunxi_nfc_hw_ecc_write_chunk()
697 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
703 u8 *oob, int *cur_off) in sunxi_nfc_hw_ecc_write_extra_oob() argument
[all …]
/linux-4.4.14/arch/mips/sibyte/common/
Dsb_tbprof.c459 long cur_off = *offp; in sbprof_tb_read() local
467 cur_sample = cur_off / TB_SAMPLE_SIZE; in sbprof_tb_read()
468 sample_off = cur_off % TB_SAMPLE_SIZE; in sbprof_tb_read()
478 *offp = cur_off + cur_count - err; in sbprof_tb_read()
493 cur_off += cur_count; in sbprof_tb_read()
497 *offp = cur_off; in sbprof_tb_read()
/linux-4.4.14/drivers/nvdimm/
Dbtt.c622 size_t cur_off = 0; in discover_arenas() local
637 arena->infooff = cur_off; in discover_arenas()
656 parse_arena_meta(arena, super, cur_off); in discover_arenas()
673 cur_off += arena->size; in discover_arenas()
698 size_t cur_off = 0; in create_arenas() local
708 arena = alloc_arena(btt, arena_size, btt->nlba, cur_off); in create_arenas()
718 cur_off += arena_size; in create_arenas()