Lines Matching refs:info

447  * @mtd: pointer to new MTD device info structure
449 * @info: returned pairing information
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
466 * info.pair = i;
467 * mtd_pairing_info_to_wunit(mtd, &info);
472 struct mtd_pairing_info *info)
481 return master->pairing->get_info(master, wunit, info);
483 info->group = 0;
484 info->pair = wunit;
492 * @mtd: pointer to new MTD device info structure
493 * @info: pairing information struct
495 * Returns a positive number representing the wunit associated to the info
506 * info.group = 0;
508 * for (info.pair = 0; info.pair < npairs; info.pair++) {
509 * wunit = mtd_pairing_info_to_wunit(mtd, &info);
515 const struct mtd_pairing_info *info)
521 if (!info || info->pair < 0 || info->pair >= npairs ||
522 info->group < 0 || info->group >= ngroups)
526 return mtd->pairing->get_wunit(master, info);
528 return info->pair;
534 * @mtd: pointer to new MTD device info structure
600 * @mtd: pointer to new MTD device info structure
746 * @mtd: pointer to MTD device info structure
825 * MTD device is registered if no partition info is found
924 * @new: pointer to notifier info structure
949 * @old: pointer to notifier info structure
1381 struct mtd_pairing_info info;
1388 info.group = 0;
1389 info.pair = mtd_div_by_ws(ebofs, mtd);
1396 if (info.pair >= npairs) {
1397 info.pair = 0;
1401 wunit = mtd_pairing_info_to_wunit(master, &info);
1430 info.pair++;
1572 * @mtd: mtd info structure
1610 * Adjust region info to make it start at the beginning at the
1623 * @mtd: mtd info structure
1644 * @mtd: mtd info structure
1687 * @mtd: mtd info structure
1730 * @mtd: mtd info structure
1761 * @mtd: mtd info structure
1781 * @mtd: mtd info structure
1801 * @mtd: mtd info structure
1821 * @mtd: mtd info structure
1841 * @mtd: mtd info structure
1855 * @mtd: mtd info structure