Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/mtd/
Dmtd.h618 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws() function
642 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd); in mtd_offset_to_wunit()
/linux-6.6.21/drivers/mtd/
Dmtdchar.c585 start_page = mtd_div_by_ws(start, mtd); in adjust_oob_length()
586 end_page = mtd_div_by_ws(start + ops->len - 1, mtd); in adjust_oob_length()
Dmtdcore.c1580 maxooblen = ((size_t)(mtd_div_by_ws(mtd->size, mtd) - in mtd_check_oob_ops()
1581 mtd_div_by_ws(offs, mtd)) * in mtd_check_oob_ops()
1638 info.pair = mtd_div_by_ws(ebofs, mtd); in mtd_io_emulated_slc()
/linux-6.6.21/drivers/mtd/nand/raw/
Dsunxi_nand.c607 int mod = mtd_div_by_ws(mtd->erasesize, mtd); in sunxi_nfc_randomizer_state()