Lines Matching refs:section
33 static int hyf1gq4upacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf1gq4upacae_ooblayout_ecc() argument
36 if (section) in hyf1gq4upacae_ooblayout_ecc()
45 static int hyf1gq4upacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf1gq4upacae_ooblayout_free() argument
48 if (section) in hyf1gq4upacae_ooblayout_free()
62 static int hyf1gq4udacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf1gq4udacae_ooblayout_ecc() argument
65 if (section > 3) in hyf1gq4udacae_ooblayout_ecc()
68 region->offset = (16 * section) + 8; in hyf1gq4udacae_ooblayout_ecc()
74 static int hyf1gq4udacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf1gq4udacae_ooblayout_free() argument
77 if (section > 3) in hyf1gq4udacae_ooblayout_free()
80 region->offset = (16 * section) + 4; in hyf1gq4udacae_ooblayout_free()
91 static int hyf2gq4uaacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf2gq4uaacae_ooblayout_ecc() argument
94 if (section > 3) in hyf2gq4uaacae_ooblayout_ecc()
97 region->offset = (32 * section) + 8; in hyf2gq4uaacae_ooblayout_ecc()
103 static int hyf2gq4uaacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf2gq4uaacae_ooblayout_free() argument
106 if (section > 3) in hyf2gq4uaacae_ooblayout_free()
109 region->offset = 32 * section; in hyf2gq4uaacae_ooblayout_free()