Home
last modified time | relevance | path

Searched refs:mtd_mod_by_eb (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/mtd/devices/
H A Dmtdram.c42 if (mtd_mod_by_eb(ofs, mtd)) { in check_offs_len()
48 if (mtd_mod_by_eb(len, mtd)) { in check_offs_len()
/openbmc/linux/include/linux/mtd/
H A Dmtd.h583 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb() function
607 mod = mtd_mod_by_eb(req->addr, mtd); in mtd_align_erase_req()
613 mod = mtd_mod_by_eb(req->addr + req->len, mtd); in mtd_align_erase_req()
642 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd); in mtd_offset_to_wunit()
/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c675 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
742 mtd_mod_by_eb(slave->offset, slave)) { in allocate_partition()
751 mtd_mod_by_eb(slave->size, slave)) { in allocate_partition()
/openbmc/linux/drivers/mtd/parsers/
H A Dsharpslpart.c248 block_ofs = mtd_mod_by_eb((u32)from, mtd); in sharpsl_nand_read_laddr()
/openbmc/u-boot/include/linux/mtd/
H A Dmtd.h469 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb() function
/openbmc/linux/drivers/mtd/
H A Dmtdcore.c1639 ebofs = mtd_mod_by_eb(start, mtd); in mtd_io_emulated_slc()