Searched refs:mtd_div_by_ws (Results 1 – 3 of 3) sorted by relevance
351 pages = mtd_div_by_ws(mtd->size, mtd); in part_read_oob()352 pages -= mtd_div_by_ws(from, mtd); in part_read_oob()
1057 maxooblen = ((size_t)(mtd_div_by_ws(mtd->size, mtd) - in mtd_check_oob_ops()1058 mtd_div_by_ws(offs, mtd)) * in mtd_check_oob_ops()
499 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws() function