| /OK3568_Linux_fs/kernel/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() 240 uint8_t *buffer, struct sm_oob *oob) in sm_read_sector() 323 uint8_t *buffer, struct sm_oob *oob) in sm_write_sector() 372 struct sm_oob oob; in sm_write_block() local 435 struct sm_oob oob; in sm_mark_block_bad() local 500 struct sm_oob oob; in sm_check_block() local 655 struct sm_oob oob; in sm_read_cis() local 675 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 681 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
|
| /OK3568_Linux_fs/kernel/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 | 716 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() 730 const u8 *oob, int step, in sunxi_nfc_hw_ecc_set_prot_oob_bytes() 760 static int sunxi_nfc_hw_ecc_correct(struct nand_chip *nand, u8 *data, u8 *oob, in sunxi_nfc_hw_ecc_correct() 798 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 878 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() 955 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() local 987 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_chunks_dma() local 1028 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() 1066 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_write_extra_oob() 1106 u8 *oob = nand->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page() local [all …]
|
| H A D | fsl_elbc_nand.c | 62 unsigned int oob; /* Non zero if operating on OOB data */ member 152 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 276 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
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_nand_mlc.c | 239 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_hwecc() local 287 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_page_raw() local 335 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_read_oob() local 389 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_hwecc() local 447 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_page_raw() local 483 struct lpc32xx_oob *oob = (struct lpc32xx_oob *)chip->oob_poi; in lpc32xx_write_oob() local 623 struct lpc32xx_oob *oob) in read_single_page() 723 struct lpc32xx_oob oob; in nand_spl_load_image() local
|
| H A D | sunxi_nand.c | 808 u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_read_chunk() 905 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() 936 const u8 *oob, int oob_off, in sunxi_nfc_hw_ecc_write_chunk() 986 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_write_extra_oob() 1021 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_page() local 1059 u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_read_subpage() local 1087 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_page() local 1121 const u8 *oob = chip->oob_poi + oob_off; in sunxi_nfc_hw_ecc_write_subpage() local 1151 u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_read_page() local 1185 const u8 *oob = chip->oob_poi + (i * (ecc->bytes + 4)); in sunxi_nfc_hw_syndrome_ecc_write_page() local
|
| H A D | rockchip_nand.c | 283 static void rockchip_nand_read_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_read_extra_oob() 298 static void rockchip_nand_write_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_write_extra_oob() 335 u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_read_page() local 375 const u8 *oob, in rockchip_nand_make_bootrom_compat() 402 const u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page() local
|
| H A D | rockchip_nand_v9.c | 284 static void rockchip_nand_read_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_read_extra_oob() 299 static void rockchip_nand_write_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_write_extra_oob() 336 u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_read_page() local 376 const u8 *oob, in rockchip_nand_make_bootrom_compat() 403 const u8 *oob = chip->oob_poi + oob_off; in rockchip_nand_hw_syndrome_pio_write_page() local
|
| H A D | fsl_elbc_nand.c | 74 unsigned int oob; /* Non zero if operating on OOB data */ member 155 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 247 static void fsl_elbc_do_read(struct nand_chip *chip, int oob) in fsl_elbc_do_read()
|
| H A D | fsl_ifc_nand.c | 56 unsigned int oob; /* Non zero if operating on OOB data */ member 222 static void set_addr(struct mtd_info *mtd, int column, int page_addr, int oob) in set_addr() 331 int oob, in fsl_ifc_do_read()
|
| H A D | mxc_nand.c | 446 uint8_t *oob = chip->oob_poi; local 493 uint8_t *oob = chip->oob_poi; local 583 uint8_t *oob = chip->oob_poi; local 625 uint8_t *oob = chip->oob_poi; local
|
| H A D | am335x_spl_bch.c | 162 uint8_t *oob = &oob_data[0] + nand_ecc_pos[0]; in nand_read_page() local
|
| H A D | nand_base.c | 1798 uint8_t *oob = chip->oob_poi; in nand_read_page_raw_syndrome() local 2155 uint8_t *oob = chip->oob_poi; in nand_read_page_syndrome() local 2231 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob() 2314 uint8_t *bufpoi, *oob, *buf; in nand_do_read_ops() local 2828 uint8_t *oob = chip->oob_poi; in nand_write_page_raw_syndrome() local 3029 uint8_t *oob = chip->oob_poi; in nand_write_page_syndrome() local 3132 static uint8_t *nand_fill_oob(struct mtd_info *mtd, uint8_t *oob, size_t len, in nand_fill_oob() 3201 uint8_t *oob = ops->oobbuf; in nand_do_write_ops() local
|
| H A D | fsmc_nand.c | 348 uint8_t oob[13] __attribute__ ((aligned (2))); in fsmc_read_page_hwecc() local
|
| /OK3568_Linux_fs/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()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/brcmnand/ |
| H A D | brcmnand.c | 1114 static int read_oob_from_regs(struct brcmnand_controller *ctrl, int i, u8 *oob, in read_oob_from_regs() 1138 const u8 *oob, int sas, int sector_1k) in write_oob_to_regs() 1599 u8 *oob, u64 *err_addr) in brcmnand_read_by_pio() 1679 void *oob = chip->oob_poi; in brcmstb_nand_verify_erased_page() local 1715 u64 addr, unsigned int trans, u32 *buf, u8 *oob) in brcmnand_read() 1806 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page() local 1818 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw() local 1852 u64 addr, const u32 *buf, u8 *oob) in brcmnand_write() 1928 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page() local 1941 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page_raw() local
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | formats.c | 884 sox_oob_t const * oob, in open_write() 1000 sox_oob_t const * oob, in sox_open_write() 1012 sox_oob_t const * oob) in sox_open_mem_write() 1023 sox_oob_t const * oob) in sox_open_memstream_write()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/tests/ |
| H A D | readtest.c | 88 int pg, oob; in dump_eraseblock() local
|
| /OK3568_Linux_fs/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
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/brcmnand/ |
| H A D | brcmnand.c | 1405 static int read_oob_from_regs(struct brcmnand_controller *ctrl, int i, u8 *oob, in read_oob_from_regs() 1429 const u8 *oob, int sas, int sector_1k) in write_oob_to_regs() 2037 u8 *oob, u64 *err_addr) in brcmnand_read_by_pio() 2136 u64 addr, unsigned int trans, u32 *buf, u8 *oob) in brcmnand_read() 2232 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page() local 2245 u8 *oob = oob_required ? (u8 *)chip->oob_poi : NULL; in brcmnand_read_page_raw() local 2280 u64 addr, const u32 *buf, u8 *oob) in brcmnand_write() 2351 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page() local 2364 void *oob = oob_required ? chip->oob_poi : NULL; in brcmnand_write_page_raw() local
|