Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/include/linux/mtd/
H A Dnand.h144 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 Dspinand.h410 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 *
/rk3399_rockchip-uboot/drivers/mtd/nand/
H A Dcore.c24 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 Dbbt.c84 static u32 bbt_nand_isbad_bypass(struct nand_device *nand, u32 block) in bbt_nand_isbad_bypass()
106 static int nanddev_read_bbt(struct nand_device *nand, u32 block, bool update) in nanddev_read_bbt()
218 static int nanddev_write_bbt(struct nand_device *nand, u32 block) in nanddev_write_bbt()
296 static __maybe_unused int nanddev_bbt_format(struct nand_device *nand) in nanddev_bbt_format()
338 static int nanddev_scan_bbt(struct nand_device *nand) in nanddev_scan_bbt()
393 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init()
415 void nanddev_bbt_cleanup(struct nand_device *nand) in nanddev_bbt_cleanup()
430 int nanddev_bbt_update(struct nand_device *nand) in nanddev_bbt_update()
513 int nanddev_bbt_get_block_status(const struct nand_device *nand, in nanddev_bbt_get_block_status()
525 nanddev_scan_bbt((struct nand_device *)nand); in nanddev_bbt_get_block_status()
[all …]
/rk3399_rockchip-uboot/drivers/mtd/nand/spi/
H A Dcore.c37 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()
322 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op()
414 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op()
424 struct nand_device *nand = &spinand->base; in spinand_erase_op()
[all …]
H A Dunim.c128 struct nand_device *nand = spinand_to_nand(spinand); in tx25g01_ecc_get_status()
153 struct nand_device *nand = spinand_to_nand(spinand); in um19axxisw_ecc_ecc_get_status()
175 struct nand_device *nand = spinand_to_nand(spinand); in um19a9xisw_ecc_get_status()
H A Dfmsh.c99 struct nand_device *nand = spinand_to_nand(spinand); in fm25s01bi3_ecc_ecc_get_status()
153 struct nand_device *nand = spinand_to_nand(spinand); in fm25g0xd_ecc_get_status()
H A Dbiwin.c65 struct nand_device *nand = spinand_to_nand(spinand); in bwjx08k_ecc_get_status()
H A Djsc.c75 struct nand_device *nand = spinand_to_nand(spinand); in js28u1gqscahg_ecc_get_status()
H A Dkingston.c73 struct nand_device *nand = spinand_to_nand(spinand); in spi004_sdeg_ecc_get_status()
H A Dxincun.c67 struct nand_device *nand = spinand_to_nand(spinand); in xcsp2aapk_ecc_get_status()
H A Dwinbond.c122 struct nand_device *nand = spinand_to_nand(spinand); in w25n02kv_ecc_get_status()
289 struct nand_device *nand = spinand_to_nand(spinand); in winbond_spinand_init()
H A Dskyhigh.c64 struct nand_device *nand = spinand_to_nand(spinand); in s35ml0xg3_ecc_get_status()
H A Desmt.c105 struct nand_device *nand = spinand_to_nand(spinand); in f50l2g41ka_ecc_ecc_get_status()
H A Dmicron.c138 struct nand_device *nand = spinand_to_nand(spinand); in mt29f4g01abafd_ecc_ecc_get_status()
H A Detron.c62 struct nand_device *nand = spinand_to_nand(spinand); in em73c044vcf_oh_ecc_get_status()
H A Dtoshiba.c64 struct nand_device *nand = spinand_to_nand(spinand); in tc58cxgxsx_ecc_get_status()
H A Dhyf.c123 struct nand_device *nand = spinand_to_nand(spinand); in hyf1gq4udacae_ecc_get_status()
H A Dforesee.c96 struct nand_device *nand = spinand_to_nand(spinand); in f35sqb00xg_ecc_get_status()
H A Dmacronix.c72 struct nand_device *nand = spinand_to_nand(spinand); in mx35lf1ge4ab_ecc_get_status()
H A Dxtx.c211 struct nand_device *nand = spinand_to_nand(spinand); in xt26g11c_ecc_get_status()