Searched refs:wunit (Results 1 – 2 of 2) sorted by relevance
183 int (*get_info)(struct mtd_info *mtd, int wunit,494 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit,646 int wunit) in mtd_wunit_to_offset() argument648 return base + (wunit * mtd->writesize); in mtd_wunit_to_offset()
486 * mtd_wunit_to_pairing_info - get pairing information of a wunit488 * @wunit: write unit we are interested in491 * Retrieve pairing information associated to the wunit.495 * The notion of page is replaced by the term wunit (write-unit) to stay498 * The @wunit argument can be extracted from an absolute offset using500 * to @wunit.503 * @wunit using the following loop:511 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, in mtd_wunit_to_pairing_info() argument 517 if (wunit < 0 || wunit > in mtd_wunit_to_pairing_info() 1730 unsigned int wunit, oobavail; mtd_io_emulated_slc() local [all...]