Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
Dbuild.c623 device_pebs = mtd_div_by_eb(device_size, ubi->mtd); in get_bad_peb_limit()
677 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init()
958 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, in ubi_attach_mtd_dev()
968 if (!ubi->fm_disabled && (int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd) in ubi_attach_mtd_dev()
Dattach.c1407 if ((int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd) <= UBI_FM_MAX_START) { in ubi_attach()
/external/u-boot/include/linux/mtd/
Dmtd.h413 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb() function
/external/u-boot/drivers/mtd/
Dmtdpart.c484 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()