Searched refs:wunit (Results 1 – 1 of 1) sorted by relevance
436 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, in mtd_wunit_to_pairing_info() argument442 if (wunit < 0 || wunit >= npairs) in mtd_wunit_to_pairing_info()446 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info()449 info->pair = wunit; in mtd_wunit_to_pairing_info()1345 unsigned int wunit, oobavail; in mtd_io_emulated_slc() local1366 wunit = mtd_pairing_info_to_wunit(master, &info); in mtd_io_emulated_slc()1367 pos = mtd_wunit_to_offset(mtd, base, wunit); in mtd_io_emulated_slc()