Searched refs:mtd_mod_by_eb (Results 1 – 3 of 3) sorted by relevance
42 if (mtd_mod_by_eb(ofs, mtd)) { in check_offs_len()48 if (mtd_mod_by_eb(len, mtd)) { in check_offs_len()
472 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb() function496 mod = mtd_mod_by_eb(req->addr, mtd); in mtd_align_erase_req()502 mod = mtd_mod_by_eb(req->addr + req->len, mtd); in mtd_align_erase_req()529 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd); in mtd_offset_to_wunit()
248 block_ofs = mtd_mod_by_eb((u32)from, mtd); in sharpsl_nand_read_laddr()