Home
last modified time | relevance | path

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

/linux/include/linux/mtd/
H A Dmtd.h183 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() argument
648 return base + (wunit * mtd->writesize); in mtd_wunit_to_offset()
/linux/drivers/mtd/
H A Dmtdcore.c486 * mtd_wunit_to_pairing_info - get pairing information of a wunit
488 * @wunit: write unit we are interested in
491 * Retrieve pairing information associated to the wunit.
495 * The notion of page is replaced by the term wunit (write-unit) to stay
498 * The @wunit argument can be extracted from an absolute offset using
500 * 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...]