Searched refs:mtd_div_by_eb (Results 1 - 5 of 5) sorted by relevance

/u-boot/drivers/mtd/ubi/
H A Dbuild.c620 device_pebs = mtd_div_by_eb(device_size, ubi->mtd);
674 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd);
955 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size,
965 if (!ubi->fm_disabled && (int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd)
H A Dattach.c1412 if ((int)mtd_div_by_eb(ubi->mtd->size, ubi->mtd) <= UBI_FM_MAX_START) {
/u-boot/include/linux/mtd/
H A Dmtd.h461 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) function
/u-boot/cmd/
H A Dmtd.c650 off, off + len - 1, mtd_div_by_eb(len, mtd));
/u-boot/drivers/mtd/
H A Dmtdpart.c669 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize;

Completed in 114 milliseconds