Lines Matching refs:section
31 static int hyf1gq4upacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf1gq4upacae_ooblayout_ecc() argument
34 if (section) in hyf1gq4upacae_ooblayout_ecc()
43 static int hyf1gq4upacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf1gq4upacae_ooblayout_free() argument
46 if (section) in hyf1gq4upacae_ooblayout_free()
60 static int hyf1gq4udacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf1gq4udacae_ooblayout_ecc() argument
63 if (section > 3) in hyf1gq4udacae_ooblayout_ecc()
66 region->offset = (16 * section) + 8; in hyf1gq4udacae_ooblayout_ecc()
72 static int hyf1gq4udacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf1gq4udacae_ooblayout_free() argument
75 if (section > 3) in hyf1gq4udacae_ooblayout_free()
78 region->offset = (16 * section) + 4; in hyf1gq4udacae_ooblayout_free()
89 static int hyf2gq4uaacae_ooblayout_ecc(struct mtd_info *mtd, int section, in hyf2gq4uaacae_ooblayout_ecc() argument
92 if (section > 3) in hyf2gq4uaacae_ooblayout_ecc()
95 region->offset = (32 * section) + 8; in hyf2gq4uaacae_ooblayout_ecc()
101 static int hyf2gq4uaacae_ooblayout_free(struct mtd_info *mtd, int section, in hyf2gq4uaacae_ooblayout_free() argument
104 if (section > 3) in hyf2gq4uaacae_ooblayout_free()
107 region->offset = 32 * section; in hyf2gq4uaacae_ooblayout_free()