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

/linux-4.4.14/drivers/mtd/nand/
H A Dsunxi_nand.c577 int *cur_off, sunxi_nfc_hw_ecc_read_chunk()
586 if (*cur_off != data_off) sunxi_nfc_hw_ecc_read_chunk()
633 *cur_off = oob_off + ecc->bytes + 4; sunxi_nfc_hw_ecc_read_chunk()
639 u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_read_extra_oob()
649 if (*cur_off != offset) sunxi_nfc_hw_ecc_read_extra_oob()
655 *cur_off = mtd->oobsize + mtd->writesize; sunxi_nfc_hw_ecc_read_extra_oob()
666 int *cur_off) sunxi_nfc_hw_ecc_write_chunk()
673 if (data_off != *cur_off) sunxi_nfc_hw_ecc_write_chunk()
697 *cur_off = oob_off + ecc->bytes + 4; sunxi_nfc_hw_ecc_write_chunk()
703 u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_write_extra_oob()
713 if (*cur_off != offset) sunxi_nfc_hw_ecc_write_extra_oob()
719 *cur_off = mtd->oobsize + mtd->writesize; sunxi_nfc_hw_ecc_write_extra_oob()
728 int ret, i, cur_off = 0; sunxi_nfc_hw_ecc_read_page() local
740 &cur_off, &max_bitflips); sunxi_nfc_hw_ecc_read_page()
746 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_ecc_read_page()
759 int ret, i, cur_off = 0; sunxi_nfc_hw_ecc_write_page() local
771 &cur_off); sunxi_nfc_hw_ecc_write_page()
777 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_ecc_write_page()
791 int ret, i, cur_off = 0; sunxi_nfc_hw_syndrome_ecc_read_page() local
802 oob_off, &cur_off, sunxi_nfc_hw_syndrome_ecc_read_page()
809 sunxi_nfc_hw_ecc_read_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_syndrome_ecc_read_page()
822 int ret, i, cur_off = 0; sunxi_nfc_hw_syndrome_ecc_write_page() local
833 oob, oob_off, &cur_off); sunxi_nfc_hw_syndrome_ecc_write_page()
839 sunxi_nfc_hw_ecc_write_extra_oob(mtd, chip->oob_poi, &cur_off); sunxi_nfc_hw_syndrome_ecc_write_page()
574 sunxi_nfc_hw_ecc_read_chunk(struct mtd_info *mtd, u8 *data, int data_off, u8 *oob, int oob_off, int *cur_off, unsigned int *max_bitflips) sunxi_nfc_hw_ecc_read_chunk() argument
638 sunxi_nfc_hw_ecc_read_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_read_extra_oob() argument
663 sunxi_nfc_hw_ecc_write_chunk(struct mtd_info *mtd, const u8 *data, int data_off, const u8 *oob, int oob_off, int *cur_off) sunxi_nfc_hw_ecc_write_chunk() argument
702 sunxi_nfc_hw_ecc_write_extra_oob(struct mtd_info *mtd, u8 *oob, int *cur_off) sunxi_nfc_hw_ecc_write_extra_oob() argument
/linux-4.4.14/arch/mips/sibyte/common/
H A Dsb_tbprof.c459 long cur_off = *offp; sbprof_tb_read() local
467 cur_sample = cur_off / TB_SAMPLE_SIZE; sbprof_tb_read()
468 sample_off = cur_off % TB_SAMPLE_SIZE; sbprof_tb_read()
478 *offp = cur_off + cur_count - err; sbprof_tb_read()
493 cur_off += cur_count; sbprof_tb_read()
497 *offp = cur_off; sbprof_tb_read()
/linux-4.4.14/drivers/nvdimm/
H A Dbtt.c622 size_t cur_off = 0; discover_arenas() local
637 arena->infooff = cur_off; discover_arenas()
656 parse_arena_meta(arena, super, cur_off); discover_arenas()
673 cur_off += arena->size; discover_arenas()
698 size_t cur_off = 0; create_arenas() local
708 arena = alloc_arena(btt, arena_size, btt->nlba, cur_off); create_arenas()
718 cur_off += arena_size; create_arenas()

Completed in 194 milliseconds