| H A D | mtdcore.c | 1931 * @oobregion: used to retrieve the ECC position 1935 * This function returns the section id and oobregion information of a 1939 * mtd_ooblayout_find_region(mtd, 3, §ion, &oobregion, mtd_ooblayout_ecc); 1944 int *sectionp, struct mtd_oob_region *oobregion, in mtd_ooblayout_find_region() 1947 struct mtd_oob_region *oobregion)) in mtd_ooblayout_find_region() 1951 memset(oobregion, 0, sizeof(*oobregion)); in mtd_ooblayout_find_region() 1954 ret = iter(mtd, section, oobregion); in mtd_ooblayout_find_region() 1958 if (pos + oobregion->length > byte) in mtd_ooblayout_find_region() 1961 pos += oobregion in mtd_ooblayout_find_region() 1943 mtd_ooblayout_find_region(struct mtd_info * mtd,int byte,int * sectionp,struct mtd_oob_region * oobregion,int (* iter)(struct mtd_info *,int section,struct mtd_oob_region * oobregion)) mtd_ooblayout_find_region() argument 1990 mtd_ooblayout_find_eccregion(struct mtd_info * mtd,int eccbyte,int * section,struct mtd_oob_region * oobregion) mtd_ooblayout_find_eccregion() argument 2015 mtd_ooblayout_get_bytes(struct mtd_info * mtd,u8 * buf,const u8 * oobbuf,int start,int nbytes,int (* iter)(struct mtd_info *,int section,struct mtd_oob_region * oobregion)) mtd_ooblayout_get_bytes() argument 2017 struct mtd_oob_region oobregion; mtd_ooblayout_get_bytes() local 2058 mtd_ooblayout_set_bytes(struct mtd_info * mtd,const u8 * buf,u8 * oobbuf,int start,int nbytes,int (* iter)(struct mtd_info *,int section,struct mtd_oob_region * oobregion)) mtd_ooblayout_set_bytes() argument 2060 struct mtd_oob_region oobregion; mtd_ooblayout_set_bytes() local 2095 mtd_ooblayout_count_bytes(struct mtd_info * mtd,int (* iter)(struct mtd_info *,int section,struct mtd_oob_region * oobregion)) mtd_ooblayout_count_bytes() argument 2097 struct mtd_oob_region oobregion; mtd_ooblayout_count_bytes() local [all...] |