Lines Matching full:pairing
425 * mtd_wunit_to_pairing_info - get pairing information of a wunit
428 * @info: returned pairing information
430 * Retrieve pairing information associated to the wunit.
438 * mtd_offset_to_wunit(). @info is filled with the pairing information attached
441 * From the pairing info the MTD user can find all the wunits paired with
459 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info()
460 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info()
470 * mtd_pairing_info_to_wunit - get wunit from pairing information
472 * @info: pairing information struct
504 if (master->pairing && master->pairing->get_wunit) in mtd_pairing_info_to_wunit()
505 return mtd->pairing->get_wunit(master, info); in mtd_pairing_info_to_wunit()
512 * mtd_pairing_groups - get the number of pairing groups
515 * Returns the number of pairing groups.
525 if (!master->pairing || !master->pairing->ngroups) in mtd_pairing_groups()
528 return master->pairing->ngroups; in mtd_pairing_groups()
672 * master is an MLC NAND and has a proper pairing scheme defined. in add_mtd_device()
680 !master->pairing || master->_writev)) in add_mtd_device()