Home
last modified time | relevance | path

Searched refs:nand_device (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/include/linux/mtd/
Dnand.h15 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 …]
Dspinand.h390 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 *
Drawnand.h1097 struct nand_device base;
/kernel/linux/linux-5.10/drivers/mtd/nand/
Decc.c105 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 …]
Dcore.c22 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()
Dbbt.c23 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/
Dcore.c53 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 …]
Dwinbond.c101 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
Dmacronix.c70 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
Dtoshiba.c74 struct nand_device *nand = spinand_to_nand(spinand); in tx58cxgxsxraix_ecc_get_status()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_esmt.c13 struct nand_device *base = &chip->base; in esmt_nand_decode_id()
Dnand_samsung.c13 struct nand_device *base = &chip->base; in samsung_nand_decode_id()
Dnand_onfi.c37 struct nand_device *base = &chip->base; in nand_flash_detect_ext_param_page()
146 struct nand_device *base = &chip->base; in nand_onfi_detect()
Dnand_jedec.c26 struct nand_device *base = &chip->base; in nand_jedec_detect()
Dnand_toshiba.c148 struct nand_device *base = &chip->base; in toshiba_nand_decode_id()
Dnand_micron.c479 struct nand_device *base = &chip->base; in micron_nand_init()
Dnand_hynix.c498 struct nand_device *base = &chip->base; in hynix_nand_extract_ecc_requirements()
Dnand_base.c4594 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()
Dtegra_nand.c843 struct nand_device *base = mtd_to_nanddev(nand_to_mtd(chip)); in tegra_nand_get_strength()
Dsunxi_nand.c1612 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dboard-perseus2.c166 static struct platform_device nand_device = { variable
219 &nand_device,
Dboard-fsample.c208 static struct platform_device nand_device = { variable
260 &nand_device,
Dboard-h3.c209 static struct platform_device nand_device = { variable
354 &nand_device,
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1114 struct nand_device *nanddev = mtd_to_nanddev(mtd); in atmel_nand_pmecc_init()