Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/mtd/
Dnand.h136 struct nand_device;
155 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
156 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
157 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
179 struct nand_device { struct
212 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev()
214 return container_of(mtd, struct nand_device, mtd); in mtd_to_nanddev()
223 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()
234 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell()
245 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size()
[all …]
Dspinand.h368 struct nand_device base;
424 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()
435 static inline struct nand_device *
Drawnand.h1083 struct nand_device base;
/Linux-v5.4/drivers/mtd/nand/
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()
/Linux-v5.4/drivers/mtd/nand/spi/
Dcore.c52 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg()
64 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg()
118 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target()
142 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache()
205 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op()
215 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op()
273 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op()
326 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op()
336 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op()
405 struct nand_device *nand = spinand_to_nand(spinand); in spinand_check_ecc_status()
[all …]
Dmacronix.c70 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
Dwinbond.c124 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
Dtoshiba.c61 struct nand_device *nand = spinand_to_nand(spinand); in tc58cxgxsx_ecc_get_status()
/Linux-v5.4/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,
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_base.c5457 static int rawnand_erase(struct nand_device *nand, const struct nand_pos *pos) in rawnand_erase()
5473 static int rawnand_markbad(struct nand_device *nand, in rawnand_markbad()
5482 static bool rawnand_isbad(struct nand_device *nand, const struct nand_pos *pos) in rawnand_isbad()