Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/mtd/
Dmtd.h611 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws() function
635 return mtd_div_by_ws(mtd_mod_by_eb(offs, mtd), mtd); in mtd_offset_to_wunit()
/kernel/linux/linux-5.10/drivers/mtd/
Dmtdcore.c1329 maxooblen = ((size_t)(mtd_div_by_ws(mtd->size, mtd) - in mtd_check_oob_ops()
1330 mtd_div_by_ws(offs, mtd)) * in mtd_check_oob_ops()
1387 info.pair = mtd_div_by_ws(ebofs, mtd); in mtd_io_emulated_slc()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dsunxi_nand.c597 int mod = mtd_div_by_ws(mtd->erasesize, mtd); in sunxi_nfc_randomizer_state()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch59061 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch363428 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd)