Lines Matching refs:section
30 static int em73c044vcf_oh_ooblayout_ecc(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_ecc() argument
33 if (section > 3) in em73c044vcf_oh_ooblayout_ecc()
36 region->offset = (16 * section) + 8; in em73c044vcf_oh_ooblayout_ecc()
42 static int em73c044vcf_oh_ooblayout_free(struct mtd_info *mtd, int section, in em73c044vcf_oh_ooblayout_free() argument
45 if (section > 3) in em73c044vcf_oh_ooblayout_free()
48 region->offset = (16 * section) + 2; in em73c044vcf_oh_ooblayout_free()
81 static int em73e044vce_ooblayout_ecc(struct mtd_info *mtd, int section, in em73e044vce_ooblayout_ecc() argument
84 if (section) in em73e044vce_ooblayout_ecc()
93 static int em73e044vce_ooblayout_free(struct mtd_info *mtd, int section, in em73e044vce_ooblayout_free() argument
96 if (section) in em73e044vce_ooblayout_free()
110 static int em73e044vce_oh_ooblayout_ecc(struct mtd_info *mtd, int section, in em73e044vce_oh_ooblayout_ecc() argument
113 if (section > 3) in em73e044vce_oh_ooblayout_ecc()
116 region->offset = (32 * section) + 18; in em73e044vce_oh_ooblayout_ecc()
122 static int em73e044vce_oh_ooblayout_free(struct mtd_info *mtd, int section, in em73e044vce_oh_ooblayout_free() argument
125 if (section > 3) in em73e044vce_oh_ooblayout_free()
128 region->offset = (32 * section) + 2; in em73e044vce_oh_ooblayout_free()