Lines Matching full:pairing
446 * mtd_wunit_to_pairing_info - get pairing information of a wunit
449 * @info: returned pairing information
451 * Retrieve pairing information associated to the wunit.
459 * mtd_offset_to_wunit(). @info is filled with the pairing information attached
462 * From the pairing info the MTD user can find all the wunits paired with
480 if (master->pairing && master->pairing->get_info) in mtd_wunit_to_pairing_info()
481 return master->pairing->get_info(master, wunit, info); in mtd_wunit_to_pairing_info()
491 * mtd_pairing_info_to_wunit - get wunit from pairing information
493 * @info: pairing information struct
525 if (master->pairing && master->pairing->get_wunit) in mtd_pairing_info_to_wunit()
526 return mtd->pairing->get_wunit(master, info); in mtd_pairing_info_to_wunit()
533 * mtd_pairing_groups - get the number of pairing groups
536 * Returns the number of pairing groups.
546 if (!master->pairing || !master->pairing->ngroups) in mtd_pairing_groups()
549 return master->pairing->ngroups; in mtd_pairing_groups()
637 * master is an MLC NAND and has a proper pairing scheme defined. in add_mtd_device()
645 !master->pairing || master->_writev)) in add_mtd_device()