/Linux-v5.4/include/linux/mtd/ |
D | nand.h | 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() 257 nanddev_per_page_oobsize(const struct nand_device *nand) in nanddev_per_page_oobsize() 269 nanddev_pages_per_eraseblock(const struct nand_device *nand) in nanddev_pages_per_eraseblock() 281 nanddev_pages_per_target(const struct nand_device *nand) in nanddev_pages_per_target() 294 static inline size_t nanddev_eraseblock_size(const struct nand_device *nand) in nanddev_eraseblock_size() 306 nanddev_eraseblocks_per_lun(const struct nand_device *nand) in nanddev_eraseblocks_per_lun() 318 nanddev_eraseblocks_per_target(const struct nand_device *nand) in nanddev_eraseblocks_per_target() 329 static inline u64 nanddev_target_size(const struct nand_device *nand) in nanddev_target_size() [all …]
|
/Linux-v5.4/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 | 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()
|
/Linux-v5.4/drivers/mtd/nand/spi/ |
D | core.c | 52 struct nand_device *nand = spinand_to_nand(spinand); in spinand_get_cfg() local 64 struct nand_device *nand = spinand_to_nand(spinand); in spinand_set_cfg() local 118 struct nand_device *nand = spinand_to_nand(spinand); in spinand_select_target() local 142 struct nand_device *nand = spinand_to_nand(spinand); in spinand_init_cfg_cache() local 205 struct nand_device *nand = spinand_to_nand(spinand); in spinand_load_page_op() local 215 struct nand_device *nand = spinand_to_nand(spinand); in spinand_read_from_cache_op() local 273 struct nand_device *nand = spinand_to_nand(spinand); in spinand_write_to_cache_op() local 326 struct nand_device *nand = spinand_to_nand(spinand); in spinand_program_op() local 336 struct nand_device *nand = spinand_to_nand(spinand); in spinand_erase_op() local 405 struct nand_device *nand = spinand_to_nand(spinand); in spinand_check_ecc_status() local [all …]
|
/Linux-v5.4/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 …]
|
D | mtk_nand.c | 127 struct nand_chip nand; member 179 static inline struct mtk_nfc_nand_chip *to_mtk_nand(struct nand_chip *nand) in to_mtk_nand() 390 static void mtk_nfc_select_chip(struct nand_chip *nand, int chip) in mtk_nfc_select_chip() 403 static int mtk_nfc_dev_ready(struct nand_chip *nand) in mtk_nfc_dev_ready() 632 struct mtk_nfc_nand_chip *nand = to_mtk_nand(chip); in mtk_nfc_bad_mark_swap() local 1159 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_fdm() local 1178 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_bad_mark_ctl() local 1191 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_spare_per_sector() local 1223 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_ecc_init() local 1335 struct nand_chip *nand; in mtk_nfc_nand_chip_init() local [all …]
|
D | fsmc_nand.c | 137 struct nand_chip nand; member 330 static int fsmc_setup_data_interface(struct nand_chip *nand, int csline, in fsmc_setup_data_interface() 831 struct nand_chip *nand) in fsmc_nand_probe_config_dt() 874 static int fsmc_nand_attach_chip(struct nand_chip *nand) in fsmc_nand_attach_chip() 974 struct nand_chip *nand; in fsmc_nand_probe() local
|
D | mpc5121_nfc.c | 253 static void mpc5121_nfc_select_chip(struct nand_chip *nand, int chip) in mpc5121_nfc_select_chip() 291 static void ads5121_select_chip(struct nand_chip *nand, int chip) in ads5121_select_chip() 310 static int mpc5121_nfc_dev_ready(struct nand_chip *nand) in mpc5121_nfc_dev_ready() 396 struct nand_chip *nand = mtd_to_nand(mtd); in mpc5121_nfc_copy_spare() local
|
/Linux-v5.4/drivers/mtd/nand/raw/atmel/ |
D | nand-controller.c | 419 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_read_byte() local 426 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_write_byte() local 436 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_read_buf() local 460 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_write_buf() local 484 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_dev_ready() local 491 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_select_chip() local 507 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_dev_ready() local 521 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_select_chip() local 602 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_hsmc_nand_cmd_ctrl() local 628 struct atmel_nand *nand = to_atmel_nand(chip); in atmel_nand_cmd_ctrl() local [all …]
|
/Linux-v5.4/drivers/mtd/nand/raw/ingenic/ |
D | ingenic_nand_drv.c | 147 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_select_chip() local 163 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_cmd_ctrl() local 185 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_dev_ready() local 192 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_hwctl() local 200 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_calculate() local 221 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_correct() local 311 struct ingenic_nand *nand; in ingenic_nand_init_chip() local
|
/Linux-v5.4/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
|
D | picoxcell-pc7302-pc3x2.dts | 31 nand: gpio-nand@2,0 { label
|
D | at91-wb50n.dtsi | 125 nand: nand@3 { label
|
D | picoxcell-pc7302-pc3x3.dts | 37 nand: gpio-nand@2,0 { label
|
D | armada-385-linksys.dtsi | 147 nand: nand@0 { label
|
D | aks-cdu.dts | 66 nand: nand@3 { label
|
D | ethernut5.dts | 77 nand: nand@3 { label
|
D | at91-som60.dtsi | 171 nand: nand@3 { label
|
D | bcm7445.dtsi | 151 nand: nand@3e2800 { label
|
D | bcm63138.dtsi | 206 nand: nand@2000 { label
|
D | bcm-hr2.dtsi | 182 nand: nand@26000 { label
|
/Linux-v5.4/drivers/watchdog/ |
D | rc32434_wdt.c | 68 #define SET_BITS(addr, or, nand) \ argument 89 u32 or, nand; in rc32434_wdt_start() local
|