Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/mtd/
Dnand.h133 struct nand_device;
152 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);
153 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);
154 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);
176 struct nand_device { struct
209 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev()
211 return container_of(mtd, struct nand_device, mtd); in mtd_to_nanddev()
220 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()
231 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell()
242 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size()
[all …]
Dspinand.h330 struct nand_device base;
384 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()
395 static inline struct nand_device *
/Linux-v4.19/drivers/mtd/nand/
Dbbt.c23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init()
44 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup()
59 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update()
73 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status()
106 int nanddev_bbt_set_block_status(struct nand_device *nand, unsigned int entry, in nanddev_bbt_set_block_status()
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()
187 int nanddev_init(struct nand_device *nand, const struct nand_ops *ops, in nanddev_init()
232 void nanddev_cleanup(struct nand_device *nand) in nanddev_cleanup()
/Linux-v4.19/drivers/mtd/nand/spi/
Dcore.c26 struct nand_device *nand = spinand_to_nand(spinand); in spinand_cache_op_adjust_colum()
67 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg()
79 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg()
133 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target()
157 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache()
220 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op()
231 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op()
304 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op()
389 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op()
399 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op()
[all …]
Dwinbond.c116 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
Dmacronix.c64 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
/Linux-v4.19/arch/arm/mach-omap1/
Dboard-perseus2.c170 static struct platform_device nand_device = { variable
223 &nand_device,
Dboard-fsample.c212 static struct platform_device nand_device = { variable
264 &nand_device,
Dboard-h3.c212 static struct platform_device nand_device = { variable
357 &nand_device,