Home
last modified time | relevance | path

Searched defs:nand (Results 1 – 25 of 76) sorted by relevance

1234

/Linux-v4.19/include/linux/mtd/
Dnand.h220 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()
254 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize()
266 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock()
277 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size()
289 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun()
300 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size()
314 static inline unsigned int nanddev_ntargets(const struct nand_device *nand) in nanddev_ntargets()
325 static inline unsigned int nanddev_neraseblocks(const struct nand_device *nand) in nanddev_neraseblocks()
[all …]
/Linux-v4.19/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() local
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()
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()
/Linux-v4.19/drivers/mtd/nand/spi/
Dcore.c26 struct nand_device *nand = spinand_to_nand(spinand); in spinand_cache_op_adjust_colum() local
67 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local
79 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local
133 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local
157 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() local
220 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() local
231 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() local
304 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() local
389 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local
399 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op() local
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Ddocg4.c267 struct nand_chip *nand = mtd_to_nand(mtd); in docg4_read_buf() local
278 struct nand_chip *nand = mtd_to_nand(mtd); in docg4_write_buf16() local
319 static int docg4_wait(struct mtd_info *mtd, struct nand_chip *nand) in docg4_wait()
343 struct nand_chip *nand = mtd_to_nand(mtd); in docg4_select_chip() local
362 struct nand_chip *nand = mtd_to_nand(mtd); in reset() local
400 struct nand_chip *nand = mtd_to_nand(mtd); in correct_data() local
489 struct nand_chip *nand = mtd_to_nand(mtd); in docg4_read_byte() local
570 struct nand_chip *nand = mtd_to_nand(mtd); in pageprog() local
607 struct nand_chip *nand = mtd_to_nand(mtd); in sequence_reset() local
624 struct nand_chip *nand = mtd_to_nand(mtd); in read_page_prologue() local
[all …]
Dnuc900_nand.c85 struct nuc900_nand *nand = mtd_to_nuc900(mtd); in nuc900_nand_read_byte() local
96 struct nuc900_nand *nand = mtd_to_nuc900(mtd); in nuc900_nand_read_buf() local
106 struct nuc900_nand *nand = mtd_to_nuc900(mtd); in nuc900_nand_write_buf() local
112 static int nuc900_check_rb(struct nuc900_nand *nand) in nuc900_check_rb()
125 struct nuc900_nand *nand = mtd_to_nuc900(mtd); in nuc900_nand_devready() local
136 struct nuc900_nand *nand = mtd_to_nuc900(mtd); in nuc900_nand_command_lp() local
213 static void nuc900_nand_enable(struct nuc900_nand *nand) in nuc900_nand_enable()
Djz4740_nand.c83 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_select_chip() local
105 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_cmd_ctrl() local
133 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_dev_ready() local
139 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_hwctl() local
168 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_calculate_ecc_rs() local
221 struct jz_nand *nand = mtd_to_jz_nand(mtd); in jz_nand_correct_ecc_rs() local
308 struct jz_nand *nand, unsigned char bank, in jz_nand_detect_bank()
392 struct jz_nand *nand; in jz_nand_probe() local
507 struct jz_nand *nand = platform_get_drvdata(pdev); in jz_nand_remove() local
Dsunxi_nand.c201 struct nand_chip nand; member
214 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand()
347 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dma_op_prepare() local
395 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dma_op_cleanup() local
405 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_dev_ready() local
425 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_select_chip() local
469 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_read_buf() local
508 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_write_buf() local
555 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_cmd_ctrl() local
712 struct nand_chip *nand = mtd_to_nand(mtd); in sunxi_nfc_randomizer_config() local
[all …]
Djz4780_nand.c76 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_select_chip() local
92 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_cmd_ctrl() local
114 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_dev_ready() local
121 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_ecc_hwctl() local
129 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_ecc_calculate() local
150 struct jz4780_nand_chip *nand = to_jz4780_nand_chip(mtd); in jz4780_nand_ecc_correct() local
225 struct jz4780_nand_chip *nand; in jz4780_nand_init_chip() local
Dmtk_nand.c131 struct nand_chip nand; member
181 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand()
394 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_select_chip() local
595 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); in mtk_nfc_bad_mark_swap() local
1123 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_fdm() local
1142 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_bad_mark_ctl() local
1155 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_spare_per_sector() local
1187 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_ecc_init() local
1298 struct nand_chip *nand; in mtk_nfc_nand_chip_init() local
1565 struct nand_chip *nand; in mtk_nfc_resume() local
/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dnand-controller.c416 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_read_byte() local
424 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_read_word() local
432 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_write_byte() local
443 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_read_buf() local
468 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_write_buf() local
493 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_dev_ready() local
501 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_select_chip() local
518 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_dev_ready() local
532 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_select_chip() local
614 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_cmd_ctrl() local
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dbcm4708-luxul-xwc-1000.dts26 nand: nand@18028000 { label
Dbcm47094-dlink-dir-885l.dts27 nand: nand@18028000 { label
Dat91-linea.dtsi62 nand: nand@3 { label
Dpicoxcell-pc7302-pc3x2.dts39 nand: gpio-nand@2,0 { label
Dat91-wb50n.dtsi125 nand: nand@3 { label
Dpicoxcell-pc7302-pc3x3.dts45 nand: gpio-nand@2,0 { label
Darmada-385-linksys.dtsi147 nand: nand@0 { label
Dethernut5.dts78 nand: nand@3 { label
Daks-cdu.dts67 nand: nand@3 { label
Dat91-som60.dtsi171 nand: nand@3 { label
Dbcm7445.dtsi153 nand: nand@3e2800 { label
Dbcm63138.dtsi178 nand: nand@2000 { label
Darmada-xp-98dx3236.dtsi192 nand: nand@d0000 { label
/Linux-v4.19/drivers/watchdog/
Drc32434_wdt.c73 #define SET_BITS(addr, or, nand) \ argument
94 u32 or, nand; in rc32434_wdt_start() local

1234