mtd_div_by_eb 76 drivers/mtd/mtdoops.c u32 start_page_offset = mtd_div_by_eb(offset, mtd) * mtd->erasesize; mtd_div_by_eb 1397 drivers/mtd/mtdswap.c eblocks = mtd_div_by_eb(use_size, mtd); mtd_div_by_eb 177 drivers/mtd/parsers/sharpslpart.c phymax = mtd_div_by_eb(SHARPSL_FTL_PART_SIZE, mtd); mtd_div_by_eb 240 drivers/mtd/parsers/sharpslpart.c log_num = mtd_div_by_eb((u32)from, mtd); mtd_div_by_eb 241 drivers/mtd/parsers/sharpslpart.c final_log_num = mtd_div_by_eb(((u32)from + len - 1), mtd); mtd_div_by_eb 359 drivers/mtd/tests/nandbiterrs.c eraseblock = mtd_div_by_eb(offset, mtd); mtd_div_by_eb 1566 drivers/mtd/ubi/attach.c if ((int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd) <= UBI_FM_MAX_START) { mtd_div_by_eb 548 drivers/mtd/ubi/build.c device_pebs = mtd_div_by_eb(device_size, ubi->mtd); mtd_div_by_eb 602 drivers/mtd/ubi/build.c ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); mtd_div_by_eb 899 drivers/mtd/ubi/build.c ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, mtd_div_by_eb 909 drivers/mtd/ubi/build.c if (!ubi->fm_disabled && (int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd) mtd_div_by_eb 242 drivers/mtd/ubi/gluebi.c lnum = mtd_div_by_eb(instr->addr, mtd); mtd_div_by_eb 243 drivers/mtd/ubi/gluebi.c count = mtd_div_by_eb(instr->len, mtd);