Searched refs:oobregion (Results 1 - 6 of 6) sorted by relevance
/u-boot/drivers/mtd/nand/spi/ |
H A D | gigadevice.c | 144 struct mtd_oob_region *oobregion) 149 oobregion->offset = 128; 150 oobregion->length = 128; 156 struct mtd_oob_region *oobregion) 161 oobregion->offset = 1; 162 oobregion->length = 127; 143 gd5fxgq4xc_ooblayout_256_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 155 gd5fxgq4xc_ooblayout_256_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument
|
/u-boot/drivers/mtd/ |
H A D | mtdcore.c | 1223 * @oobregion: used to retrieve the ECC position 1227 * This function returns the section id and oobregion information of a 1231 * mtd_ooblayout_find_region(mtd, 3, §ion, &oobregion, mtd_ooblayout_ecc); 1236 int *sectionp, struct mtd_oob_region *oobregion, 1239 struct mtd_oob_region *oobregion)) 1243 memset(oobregion, 0, sizeof(*oobregion)); 1246 ret = iter(mtd, section, oobregion); 1250 if (pos + oobregion->length > byte) 1253 pos += oobregion 1235 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)) argument 1281 mtd_ooblayout_find_eccregion(struct mtd_info *mtd, int eccbyte, int *section, struct mtd_oob_region *oobregion) argument 1304 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)) argument 1310 struct mtd_oob_region oobregion; local 1347 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)) argument 1353 struct mtd_oob_region oobregion; local 1385 mtd_ooblayout_count_bytes(struct mtd_info *mtd, int (*iter)(struct mtd_info *, int section, struct mtd_oob_region *oobregion)) argument 1390 struct mtd_oob_region oobregion; local [all...] |
/u-boot/drivers/mtd/nand/raw/atmel/ |
H A D | nand-controller.c | 660 struct mtd_oob_region oobregion; local 677 mtd_ooblayout_ecc(mtd, 0, &oobregion); 678 eccbuf = chip->oob_poi + oobregion.offset; 695 struct mtd_oob_region oobregion; local 711 mtd_ooblayout_ecc(mtd, 0, &oobregion); 712 eccbuf = chip->oob_poi + oobregion.offset; 963 struct mtd_oob_region *oobregion) 971 oobregion->length = ecc->total; 972 oobregion->offset = mtd->oobsize - oobregion 962 nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 977 nand_ooblayout_free_lp(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument [all...] |
/u-boot/drivers/mtd/nand/raw/ |
H A D | denali.c | 1138 struct mtd_oob_region *oobregion) 1146 oobregion->offset = denali->oob_skip_bytes; 1147 oobregion->length = chip->ecc.total; 1153 struct mtd_oob_region *oobregion) 1161 oobregion->offset = chip->ecc.total + denali->oob_skip_bytes; 1162 oobregion->length = mtd->oobsize - oobregion->offset; 1137 denali_ooblayout_ecc(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 1152 denali_ooblayout_free(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument
|
H A D | octeontx_nand.c | 399 struct mtd_oob_region *oobregion) 407 oobregion->length = ecc->total; 408 oobregion->offset = mtd->oobsize - oobregion->length; 417 struct mtd_oob_region *oobregion) 425 oobregion->length = mtd->oobsize - ecc->total - 2; 426 oobregion->offset = 2; 398 nand_ooblayout_ecc_lp(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument 416 nand_ooblayout_free_lp(struct mtd_info *mtd, int section, struct mtd_oob_region *oobregion) argument
|
/u-boot/include/linux/mtd/ |
H A D | mtd.h | 375 struct mtd_oob_region *oobregion);
|
Completed in 122 milliseconds