/openbmc/linux/drivers/mtd/ |
H A D | sm_ftl.c | 148 static int sm_read_lba(struct sm_oob *oob) in sm_read_lba() 174 static void sm_write_lba(struct sm_oob *oob, uint16_t lba) in sm_write_lba() 217 static int sm_correct_sector(uint8_t *buffer, struct sm_oob *oob) in sm_correct_sector() 239 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector() 324 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector() 374 struct sm_oob oob; in sm_write_block() local 438 struct sm_oob oob; in sm_mark_block_bad() local 504 struct sm_oob oob; in sm_check_block() local 662 struct sm_oob oob; in sm_read_cis() local 682 struct sm_oob oob; in sm_find_cis() local [all …]
|
H A D | nftlcore.c | 168 size_t *retlen, uint8_t *buf, uint8_t *oob) in nftl_write() 241 struct nftl_oob oob; in NFTL_foldchain() local 531 struct nftl_oob oob; in NFTL_findwriteunit() local 680 struct nftl_oob oob; in nftl_writeblock() local
|
H A D | inftlcore.c | 177 size_t *retlen, uint8_t *buf, uint8_t *oob) in inftl_write() 244 struct inftl_oob oob; in INFTL_foldchain() local 466 struct inftl_oob oob; in INFTL_findwriteunit() local 811 struct inftl_oob oob; in inftl_writeblock() local
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | sm_common.h | 39 static inline int sm_sector_valid(struct sm_oob *oob) in sm_sector_valid() 44 static inline int sm_block_valid(struct sm_oob *oob) in sm_block_valid() 49 static inline int sm_block_erased(struct sm_oob *oob) in sm_block_erased()
|
H A D | sunxi_nand.c | 715 static void sunxi_nfc_hw_ecc_get_prot_oob_bytes(struct nand_chip *nand, u8 *oob, in sunxi_nfc_hw_ecc_get_prot_oob_bytes() 729 const u8 *oob, int step, in sunxi_nfc_hw_ecc_set_prot_oob_bytes() 759 static int sunxi_nfc_hw_ecc_correct(struct nand_chip *nand, u8 *data, u8 *oob, in sunxi_nfc_hw_ecc_correct() 797 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 877 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() 959 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() local 991 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() local 1032 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() 1070 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_write_extra_oob() 1110 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page() local [all …]
|
H A D | fsl_elbc_nand.c | 61 unsigned int oob; /* Non zero if operating on OOB data */ member 151 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 275 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
|
H A D | fsl_ifc_nand.c | 50 unsigned int oob; /* Non zero if operating on OOB data */ member 139 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 251 int oob, in fsl_ifc_do_read()
|
H A D | sm_common.c | 103 struct sm_oob oob; in sm_block_markbad() local
|
H A D | nand_base.c | 385 static uint8_t *nand_fill_oob(struct nand_chip *chip, uint8_t *oob, size_t len, in nand_fill_oob() 2999 uint8_t *oob = chip->oob_poi; in nand_read_page_raw_syndrome() local 3362 uint8_t *oob = chip->oob_poi; in nand_read_page_syndrome() local 3442 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob() 3566 uint8_t *bufpoi, *oob, *buf; in nand_do_read_ops() local 4110 uint8_t *oob = chip->oob_poi; in nand_write_page_raw_syndrome() local 4319 uint8_t *oob = chip->oob_poi; in nand_write_page_syndrome() local 4429 uint8_t *oob = ops->oobbuf; in nand_do_write_ops() local
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_mlc.c | 238 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_hwecc() local 286 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_raw() local 334 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_oob() local 388 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_hwecc() local 446 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_raw() local 482 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_oob() local 622 struct lpc32xx_oob *oob) in read_single_page() 722 struct lpc32xx_oob oob; in nand_spl_load_image() local
|
H A D | sunxi_nand.c | 807 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 904 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() 935 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() 985 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_write_extra_oob() 1020 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page() local 1058 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_subpage() local 1086 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_page() local 1120 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_subpage() local 1150 u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_read_page() local 1184 const u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_write_page() local
|
H A D | fsl_elbc_nand.c | 73 unsigned int oob; /* Non zero if operating on OOB data */ member 154 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 246 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
|
H A D | fsl_ifc_nand.c | 55 unsigned int oob; /* Non zero if operating on OOB data */ member 221 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 330 int oob, in fsl_ifc_do_read()
|
H A D | mxc_nand.c | 445 uint8_t *oob = chip->oob_poi; local 492 uint8_t *oob = chip->oob_poi; local 582 uint8_t *oob = chip->oob_poi; local 624 uint8_t *oob = chip->oob_poi; local
|
H A D | am335x_spl_bch.c | 161 uint8_t *oob = &oob_data[0] + nand_ecc_pos[0]; in nand_read_page() local
|
H A D | nand_base.c | 1245 uint8_t *oob = chip->oob_poi; in nand_read_page_raw_syndrome() local 1559 uint8_t *oob = chip->oob_poi; in nand_read_page_syndrome() local 1617 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob() 1700 uint8_t *bufpoi, *oob, *buf; in nand_do_read_ops() local 2181 uint8_t *oob = chip->oob_poi; in nand_write_page_raw_syndrome() local 2353 uint8_t *oob = chip->oob_poi; in nand_write_page_syndrome() local 2440 static uint8_t *nand_fill_oob(struct mtd_info *mtd, uint8_t *oob, size_t len, in nand_fill_oob() 2509 uint8_t *oob = ops->oobbuf; in nand_do_write_ops() local
|
H A D | fsmc_nand.c | 347 uint8_t oob[13] __attribute__ ((aligned (2))); in fsmc_read_page_hwecc() local
|
H A D | atmel_nand.c | 533 uint8_t *oob = chip->oob_poi; in atmel_nand_pmecc_read_page() local 1027 uint8_t *oob = chip->oob_poi; in atmel_nand_read_page() local
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_mtdif.c | 28 static inline void translate_spare2oob(const struct yaffs_spare *spare, u8 *oob) in translate_spare2oob() 42 static inline void translate_oob2spare(struct yaffs_spare *spare, u8 *oob) in translate_oob2spare()
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | sharpslpart.c | 132 static int sharpsl_nand_get_logical_num(u8 *oob) in sharpsl_nand_get_logical_num() 171 u8 *oob; in sharpsl_nand_init_ftl() local
|
/openbmc/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 251 u8 *oob; member 1453 static int read_oob_from_regs(struct brcmnand_controller *ctrl, int i, u8 *oob, in read_oob_from_regs() 1477 const u8 *oob, int sas, int sector_1k) in write_oob_to_regs() 1943 u8 *oob, u32 len, u8 cmd) in brcmnand_edu_trans() 2119 u8 *oob, u32 len, u8 dma_cmd) in brcmnand_dma_trans() 2151 u8 *oob, u64 *err_addr) in brcmnand_read_by_pio() 2250 u64 addr, unsigned int trans, u32 *buf, u8 *oob) in brcmnand_read() 2347 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page() local 2360 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw() local 2395 u64 addr, const u32 *buf, u8 *oob) in brcmnand_write() [all …]
|
/openbmc/linux/drivers/mtd/tests/ |
H A D | readtest.c | 83 int pg, oob; in dump_eraseblock() local
|
/openbmc/u-boot/cmd/ |
H A D | onenand.c | 62 size_t *retlen, u_char *buf, int oob) in onenand_block_read() 385 int oob = 0; in do_onenand_read() local
|
/openbmc/qemu/qapi/ |
H A D | qmp-dispatch.c | 141 bool oob; in qmp_dispatch() local
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 182 char oob; in main() local
|