| /kernel/linux/linux-4.19/include/linux/mtd/ |
| D | nand.h | 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() 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 …]
|
| /kernel/linux/linux-5.10/include/linux/mtd/ |
| D | nand.h | 363 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd() 374 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell() 385 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size() 397 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize() 409 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock() 421 nanddev_pages_per_target(const struct nand_device *nand) in nanddev_pages_per_target() 434 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size() 446 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun() 458 nanddev_eraseblocks_per_target(const struct nand_device *nand) in nanddev_eraseblocks_per_target() 469 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/ |
| D | core.c | 22 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 191 struct nand_device *nand = mtd_to_nanddev(mtd); in nanddev_mtd_max_bad_blocks() local 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()
|
| D | ecc.c | 105 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() local 219 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp() local 234 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp() local 264 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_ecc_lp_hamming() local 291 struct nand_device *nand = mtd_to_nanddev(mtd); in nand_ooblayout_free_lp_hamming() local 421 void of_get_nand_ecc_user_config(struct nand_device *nand) in of_get_nand_ecc_user_config() [all …]
|
| D | bbt.c | 23 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-4.19/drivers/mtd/nand/ |
| D | core.c | 22 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()
|
| D | bbt.c | 23 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-4.19/drivers/mtd/nand/spi/ |
| D | core.c | 26 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 387 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local 397 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op() local [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/spi/ |
| D | core.c | 53 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local 65 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local 119 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local 143 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() local 206 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() local 216 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() local 274 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() local 327 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local 337 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op() local 407 struct nand_device *nand = spinand_to_nand(spinand); in spinand_check_ecc_status() local [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/ |
| D | docg4.c | 267 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 …]
|
| D | nuc900_nand.c | 85 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()
|
| D | jz4740_nand.c | 83 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
|
| D | jz4780_nand.c | 76 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
|
| D | sunxi_nand.c | 201 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 …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | meson_nand.c | 109 struct nand_chip nand; member 217 static struct meson_nfc_nand_chip *to_meson_nand(struct nand_chip *nand) in to_meson_nand() 222 static void meson_nfc_select_chip(struct nand_chip *nand, int chip) in meson_nfc_select_chip() 265 static void meson_nfc_cmd_access(struct nand_chip *nand, int raw, bool dir, in meson_nfc_cmd_access() 331 static u8 *meson_nfc_oob_ptr(struct nand_chip *nand, int i) in meson_nfc_oob_ptr() 341 static u8 *meson_nfc_data_ptr(struct nand_chip *nand, int i) in meson_nfc_data_ptr() 352 static void meson_nfc_get_data_oob(struct nand_chip *nand, in meson_nfc_get_data_oob() 371 static void meson_nfc_set_data_oob(struct nand_chip *nand, in meson_nfc_set_data_oob() 418 static void meson_nfc_set_user_byte(struct nand_chip *nand, u8 *oob_buf) in meson_nfc_set_user_byte() 431 static void meson_nfc_get_user_byte(struct nand_chip *nand, u8 *oob_buf) in meson_nfc_get_user_byte() [all …]
|
| D | sunxi_nand.c | 193 struct nand_chip nand; member 201 static inline struct sunxi_nand_chip *to_sunxi_nand(struct nand_chip *nand) in to_sunxi_nand() 405 static void sunxi_nfc_select_chip(struct nand_chip *nand, unsigned int cs) in sunxi_nfc_select_chip() 436 static void sunxi_nfc_read_buf(struct nand_chip *nand, uint8_t *buf, int len) in sunxi_nfc_read_buf() 473 static void sunxi_nfc_write_buf(struct nand_chip *nand, const uint8_t *buf, in sunxi_nfc_write_buf() 592 static u16 sunxi_nfc_randomizer_state(struct nand_chip *nand, int page, in sunxi_nfc_randomizer_state() 612 static void sunxi_nfc_randomizer_config(struct nand_chip *nand, int page, in sunxi_nfc_randomizer_config() 628 static void sunxi_nfc_randomizer_enable(struct nand_chip *nand) in sunxi_nfc_randomizer_enable() 639 static void sunxi_nfc_randomizer_disable(struct nand_chip *nand) in sunxi_nfc_randomizer_disable() 650 static void sunxi_nfc_randomize_bbm(struct nand_chip *nand, int page, u8 *bbm) in sunxi_nfc_randomize_bbm() [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/ |
| D | nand-controller.c | 470 static void atmel_nand_data_in(struct atmel_nand *nand, void *buf, in atmel_nand_data_in() 494 static void atmel_nand_data_out(struct atmel_nand *nand, const void *buf, in atmel_nand_data_out() 518 static int atmel_nand_waitrdy(struct atmel_nand *nand, unsigned int timeout_ms) in atmel_nand_waitrdy() 527 static int atmel_hsmc_nand_waitrdy(struct atmel_nand *nand, in atmel_hsmc_nand_waitrdy() 543 static void atmel_nand_select_target(struct atmel_nand *nand, in atmel_nand_select_target() 549 static void atmel_hsmc_nand_select_target(struct atmel_nand *nand, in atmel_hsmc_nand_select_target() 572 static int atmel_smc_nand_exec_instr(struct atmel_nand *nand, in atmel_smc_nand_exec_instr() 609 static int atmel_smc_nand_exec_op(struct atmel_nand *nand, in atmel_smc_nand_exec_op() 634 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_exec_cmd_addr() local 663 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_exec_rw() local [all …]
|
| /kernel/linux/linux-4.19/drivers/mtd/nand/raw/atmel/ |
| D | nand-controller.c | 416 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 …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/ |
| D | ingenic_nand_drv.c | 143 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_hwctl() local 151 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_calculate() local 172 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_correct() local 258 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_instr() local 312 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_op() local 347 struct ingenic_nand *nand; in ingenic_nand_init_chip() local
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | at91-linea.dtsi | 61 nand: nand@3 { label
|
| D | bcm4708-luxul-xwc-1000.dts | 27 nand: nand@18028000 { label
|
| D | bcm47094-dlink-dir-885l.dts | 28 nand: nand@18028000 { label
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | at91-linea.dtsi | 62 nand: nand@3 { label
|
| D | bcm47094-dlink-dir-885l.dts | 27 nand: nand@18028000 { label
|
| D | bcm4708-luxul-xwc-1000.dts | 26 nand: nand@18028000 { label
|