Searched refs:wunit (Results 1 – 2 of 2) sorted by relevance
155 * fill the info parameter based on the wunit index or return156 * -EINVAL if the wunit parameter is invalid.158 * This function should return the wunit index pointed by the160 * return -EINVAL, if there's no wunit corresponding to the183 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()
426 * mtd_wunit_to_pairing_info - get pairing information of a wunit428 * @wunit: write unit we are interested in431 * Retrieve pairing information associated to the wunit.435 * The notion of page is replaced by the term wunit (write-unit) to stay438 * The @wunit argument can be extracted from an absolute offset using440 * to @wunit.443 * @wunit using the following loop:451 int mtd_wunit_to_pairing_info(struct mtd_info *mtd, int wunit, in mtd_wunit_to_pairing_info() argument 457 if (wunit < 0 || wunit > in mtd_wunit_to_pairing_info() 1648 unsigned int wunit, oobavail; mtd_io_emulated_slc() local [all...]