Searched refs:wunit (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/include/linux/mtd/ |
D | mtd.h | 178 int (*get_info)(struct mtd_info *mtd, int wunit, 488 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, 639 int wunit) in mtd_wunit_to_offset() argument 641 return base + (wunit * mtd->writesize); in mtd_wunit_to_offset()
|
/kernel/linux/linux-5.10/drivers/mtd/ |
D | mtdcore.c | 471 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, in mtd_wunit_to_pairing_info() argument 477 if (wunit < 0 || wunit >= npairs) in mtd_wunit_to_pairing_info() 481 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info() 484 info->pair = wunit; in mtd_wunit_to_pairing_info() 1378 unsigned int wunit, oobavail; in mtd_io_emulated_slc() local 1399 wunit = mtd_pairing_info_to_wunit(master, &info); in mtd_io_emulated_slc() 1400 pos = mtd_wunit_to_offset(mtd, base, wunit); in mtd_io_emulated_slc()
|