Lines Matching refs:section
34 static int tx25g01_ooblayout_ecc(struct mtd_info *mtd, int section, in tx25g01_ooblayout_ecc() argument
37 if (section > 3) in tx25g01_ooblayout_ecc()
40 region->offset = (16 * section) + 8; in tx25g01_ooblayout_ecc()
46 static int tx25g01_ooblayout_free(struct mtd_info *mtd, int section, in tx25g01_ooblayout_free() argument
49 if (section > 3) in tx25g01_ooblayout_free()
52 region->offset = (16 * section) + 2; in tx25g01_ooblayout_free()
64 static int um19a0xisw_ooblayout_ecc(struct mtd_info *mtd, int section, in um19a0xisw_ooblayout_ecc() argument
70 static int um19a0xisw_ooblayout_free(struct mtd_info *mtd, int section, in um19a0xisw_ooblayout_free() argument
73 if (section) in um19a0xisw_ooblayout_free()
87 static int um19a1xisw_ooblayout_ecc(struct mtd_info *mtd, int section, in um19a1xisw_ooblayout_ecc() argument
90 if (section) in um19a1xisw_ooblayout_ecc()
99 static int um19a1xisw_ooblayout_free(struct mtd_info *mtd, int section, in um19a1xisw_ooblayout_free() argument
102 if (section) in um19a1xisw_ooblayout_free()