| /OK3568_Linux_fs/kernel/include/linux/mtd/ |
| H A D | nand.h | 15 struct nand_device; 238 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 239 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 240 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 268 int (*init_ctx)(struct nand_device *nand); 269 void (*cleanup_ctx)(struct nand_device *nand); 270 int (*prepare_io_req)(struct nand_device *nand, 272 int (*finish_io_req)(struct nand_device *nand, 284 void of_get_nand_ecc_user_config(struct nand_device *nand); 285 int nand_ecc_init_ctx(struct nand_device *nand); [all …]
|
| H A D | bbt_store.h | 13 int nanddev_scan_bbt_in_flash(struct nand_device *nand); 14 int nanddev_bbt_in_flash_update(struct nand_device *nand); 16 static inline int nanddev_scan_bbt_in_flash(struct nand_device *nand) in nanddev_scan_bbt_in_flash() 20 static inline int nanddev_bbt_in_flash_update(struct nand_device *nand) in nanddev_bbt_in_flash_update()
|
| H A D | spinand.h | 413 struct nand_device base; 469 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand() 480 static inline struct nand_device *
|
| /OK3568_Linux_fs/u-boot/include/linux/mtd/ |
| H A D | nand.h | 144 struct nand_device; 163 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 164 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 165 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 187 struct nand_device { struct 220 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev() 231 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() 242 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell() 253 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size() 265 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize() [all …]
|
| H A D | spinand.h | 404 struct nand_device base; 462 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand() 473 static inline struct nand_device *
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/ |
| H A D | ecc.c | 105 int nand_ecc_init_ctx(struct nand_device *nand) in nand_ecc_init_ctx() 118 void nand_ecc_cleanup_ctx(struct nand_device *nand) in nand_ecc_cleanup_ctx() 130 int nand_ecc_prepare_io_req(struct nand_device *nand, in nand_ecc_prepare_io_req() 145 int nand_ecc_finish_io_req(struct nand_device *nand, in nand_ecc_finish_io_req() 159 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_sp() 219 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp() 234 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp() 264 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming() 291 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming() 421 void of_get_nand_ecc_user_config(struct nand_device *nand) in of_get_nand_ecc_user_config() [all …]
|
| H A D | core.c | 22 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 61 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 102 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved() 126 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase() 155 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase() 191 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks() 221 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init() 266 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()
|
| H A D | bbt.c | 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() 45 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() 60 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update() 74 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status() 107 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
|
| H A D | bbt_store.c | 23 static int nanddev_read_bbt(struct nand_device *nand, u32 block, bool update) in nanddev_read_bbt() 92 static int nanddev_write_bbt(struct nand_device *nand, u32 block) in nanddev_write_bbt() 155 static int nanddev_bbt_format(struct nand_device *nand) in nanddev_bbt_format() 189 int nanddev_scan_bbt_in_flash(struct nand_device *nand) in nanddev_scan_bbt_in_flash() 223 int nanddev_bbt_in_flash_update(struct nand_device *nand) in nanddev_bbt_in_flash_update()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/spi/ |
| H A D | core.c | 54 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() 66 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() 120 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() 144 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() 199 struct nand_device *nand = spinand_to_nand(spinand); in spinand_check_ecc_status() 250 static int spinand_ondie_ecc_init_ctx(struct nand_device *nand) in spinand_ondie_ecc_init_ctx() 274 static void spinand_ondie_ecc_cleanup_ctx(struct nand_device *nand) in spinand_ondie_ecc_cleanup_ctx() 279 static int spinand_ondie_ecc_prepare_io_req(struct nand_device *nand, in spinand_ondie_ecc_prepare_io_req() 289 static int spinand_ondie_ecc_finish_io_req(struct nand_device *nand, in spinand_ondie_ecc_finish_io_req() 327 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() [all …]
|
| H A D | winbond.c | 111 struct nand_device *nand = spinand_to_nand(spinand); in w25n02kv_ecc_get_status() 216 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
|
| H A D | biwin.c | 63 struct nand_device *nand = spinand_to_nand(spinand); in bwjx08k_ecc_get_status()
|
| H A D | unim.c | 72 struct nand_device *nand = spinand_to_nand(spinand); in tx25g01_ecc_get_status()
|
| H A D | etron.c | 60 struct nand_device *nand = spinand_to_nand(spinand); in em73c044vcf_oh_ecc_get_status()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/ |
| H A D | core.c | 24 bool nanddev_isbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isbad() 63 int nanddev_markbad(struct nand_device *nand, const struct nand_pos *pos) in nanddev_markbad() 104 bool nanddev_isreserved(struct nand_device *nand, const struct nand_pos *pos) in nanddev_isreserved() 128 int nanddev_erase(struct nand_device *nand, const struct nand_pos *pos) in nanddev_erase() 157 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_erase() 189 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init() 234 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()
|
| H A D | bbt.c | 43 static int nanddev_read_bbt(struct nand_device *nand, u32 block, bool update) in nanddev_read_bbt() 113 static int nanddev_write_bbt(struct nand_device *nand, u32 block) in nanddev_write_bbt() 177 static __maybe_unused int nanddev_bbt_format(struct nand_device *nand) in nanddev_bbt_format() 203 static int nanddev_scan_bbt(struct nand_device *nand) in nanddev_scan_bbt() 238 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() 260 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup() 275 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update() 345 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status() 357 nanddev_scan_bbt((struct nand_device *)nand); in nanddev_bbt_get_block_status() 384 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/spi/ |
| H A D | core.c | 37 struct nand_device *nand = spinand_to_nand(spinand); in spinand_cache_op_adjust_colum() 78 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() 90 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() 144 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() 168 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() 231 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() 242 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() 315 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() 400 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() 410 struct nand_device *nand = &spinand->base; in spinand_erase_op() [all …]
|
| H A D | winbond.c | 112 struct nand_device *nand = spinand_to_nand(spinand); in w25n02kv_ecc_get_status() 217 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
|
| H A D | unim.c | 74 struct nand_device *nand = spinand_to_nand(spinand); in tx25g01_ecc_get_status()
|
| H A D | etron.c | 62 struct nand_device *nand = spinand_to_nand(spinand); in em73c044vcf_oh_ecc_get_status()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap1/ |
| H A D | board-perseus2.c | 166 static struct platform_device nand_device = { variable 219 &nand_device,
|
| H A D | board-fsample.c | 208 static struct platform_device nand_device = { variable 260 &nand_device,
|
| H A D | board-h3.c | 209 static struct platform_device nand_device = { variable 354 &nand_device,
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | nand_esmt.c | 13 struct nand_device *base = &chip->base; in esmt_nand_decode_id()
|
| H A D | nand_onfi.c | 37 struct nand_device *base = &chip->base; in nand_flash_detect_ext_param_page() 146 struct nand_device *base = &chip->base; in nand_onfi_detect()
|