/kernel/linux/linux-5.10/include/linux/mtd/ |
D | nand.h | 15 struct nand_device; 226 int (*erase)(struct nand_device *nand, const struct nand_pos *pos); 227 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos); 228 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos); 256 int (*init_ctx)(struct nand_device *nand); 257 void (*cleanup_ctx)(struct nand_device *nand); 258 int (*prepare_io_req)(struct nand_device *nand, 260 int (*finish_io_req)(struct nand_device *nand, 272 void of_get_nand_ecc_user_config(struct nand_device *nand); 273 int nand_ecc_init_ctx(struct nand_device *nand); [all …]
|
D | spinand.h | 390 struct nand_device base; 446 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand() 457 static inline struct nand_device *
|
D | rawnand.h | 1097 struct nand_device base;
|
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
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 …]
|
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
D | core.c | 53 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() 65 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() 119 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() 143 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() 206 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() 216 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() 274 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() 327 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() 337 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op() 407 struct nand_device *nand = spinand_to_nand(spinand); in spinand_check_ecc_status() [all …]
|
D | winbond.c | 101 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
|
D | macronix.c | 70 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
|
D | toshiba.c | 74 struct nand_device *nand = spinand_to_nand(spinand); in tx58cxgxsxraix_ecc_get_status()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_esmt.c | 13 struct nand_device *base = &chip->base; in esmt_nand_decode_id()
|
D | nand_samsung.c | 13 struct nand_device *base = &chip->base; in samsung_nand_decode_id()
|
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()
|
D | nand_jedec.c | 26 struct nand_device *base = &chip->base; in nand_jedec_detect()
|
D | nand_toshiba.c | 148 struct nand_device *base = &chip->base; in toshiba_nand_decode_id()
|
D | nand_micron.c | 479 struct nand_device *base = &chip->base; in micron_nand_init()
|
D | nand_hynix.c | 498 struct nand_device *base = &chip->base; in hynix_nand_extract_ecc_requirements()
|
D | nand_base.c | 4594 struct nand_device *base = &chip->base; in find_full_id_nand() 5000 struct nand_device *nand = mtd_to_nanddev(nand_to_mtd(chip)); in rawnand_dt_init() 5204 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops() 5536 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_ecc_choose_conf() 5554 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase() 5570 static int rawnand_markbad(struct nand_device *nand, in rawnand_markbad() 5579 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()
|
D | tegra_nand.c | 843 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
|
D | sunxi_nand.c | 1612 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | board-perseus2.c | 166 static struct platform_device nand_device = { variable 219 &nand_device,
|
D | board-fsample.c | 208 static struct platform_device nand_device = { variable 260 &nand_device,
|
D | board-h3.c | 209 static struct platform_device nand_device = { variable 354 &nand_device,
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 1114 struct nand_device *nanddev = mtd_to_nanddev(mtd); in atmel_nand_pmecc_init()
|