Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dmtdcore.c454 int npairs = mtd_wunit_per_eb(master) / mtd_pairing_groups(master); in mtd_wunit_to_pairing_info() local
456 if (wunit < 0 || wunit >= npairs) in mtd_wunit_to_pairing_info()
498 int npairs = mtd_wunit_per_eb(master) / ngroups; in mtd_pairing_info_to_wunit() local
500 if (!info || info->pair < 0 || info->pair >= npairs || in mtd_pairing_info_to_wunit()
1631 int npairs = mtd_wunit_per_eb(master) / ngroups; in mtd_io_emulated_slc() local
1649 if (info.pair >= npairs) { in mtd_io_emulated_slc()