| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | fsl_upm.c | 53 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_chip_ready() 65 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_wait_rnb() 79 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_cmd_ctrl() 108 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_select_chip() 123 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_read_byte() 130 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_read_buf() 139 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_write_buf() 155 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init() 320 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_remove()
|
| D | tmio_nand.c | 133 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_hwcontrol() 164 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_dev_ready() 188 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(nand_chip)); in tmio_nand_wait() 225 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_read_byte() 245 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_write_buf() 252 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_read_buf() 259 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_enable_hwecc() 269 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_calculate_ecc() 384 mtd = nand_to_mtd(nand_chip); in tmio_probe()
|
| D | sharpsl.c | 61 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_hwcontrol() 79 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_dev_ready() 85 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_enable_hwecc() 92 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_calculate_ecc() 140 mtd = nand_to_mtd(this); in sharpsl_nand_probe()
|
| D | s3c2410.c | 449 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_hwcontrol() 466 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2440_nand_hwcontrol() 485 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_devready() 492 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2440_nand_devready() 499 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2412_nand_devready() 509 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_correct_data() 591 info = s3c2410_nand_mtd_toinfo(nand_to_mtd(chip)); in s3c2410_nand_enable_hwecc() 602 info = s3c2410_nand_mtd_toinfo(nand_to_mtd(chip)); in s3c2412_nand_enable_hwecc() 613 info = s3c2410_nand_mtd_toinfo(nand_to_mtd(chip)); in s3c2440_nand_enable_hwecc() 621 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_calculate_ecc() [all …]
|
| D | xway_nand.c | 108 struct mtd_info *mtd = nand_to_mtd(chip); in xway_cmd_ctrl() 129 return xway_readb(nand_to_mtd(chip), NAND_READ_DATA); in xway_read_byte() 137 buf[i] = xway_readb(nand_to_mtd(chip), NAND_WRITE_DATA); in xway_read_buf() 145 xway_writeb(nand_to_mtd(chip), NAND_WRITE_DATA, buf[i]); in xway_write_buf() 172 mtd = nand_to_mtd(&data->chip); in xway_nand_probe()
|
| D | txx9ndfmc.c | 104 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_read_byte() 112 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_write_buf() 124 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_read_buf() 163 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_dev_ready() 171 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_calculate_ecc() 211 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_enable_hwecc() 254 struct mtd_info *mtd = nand_to_mtd(chip); in txx9ndfmc_attach_chip() 321 mtd = nand_to_mtd(chip); in txx9ndfmc_probe()
|
| D | davinci_nand.c | 90 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(nand)); in nand_davinci_hwcontrol() 109 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(nand)); in nand_davinci_select_chip() 141 info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_hwctl_1bit() 144 nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_hwctl_1bit() 162 unsigned int ecc_val = nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_calculate_1bit() 221 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_hwctl_4bit() 257 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_calculate_4bit() 295 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_correct_4bit() 452 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_dev_ready() 592 struct mtd_info *mtd = nand_to_mtd(chip); in davinci_nand_attach_chip() [all …]
|
| D | nand_toshiba.c | 19 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_benand_eccstatus() 70 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_benand_init() 94 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_decode_id()
|
| D | r852.c | 232 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_write_buf() 266 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_read_buf() 303 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_read_byte() 317 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_cmdctl() 389 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ready() 400 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_hwctl() 433 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_calculate() 469 struct r852_device *dev = r852_get_dev(nand_to_mtd(chip)); in r852_ecc_correct() 520 struct mtd_info *mtd = nand_to_mtd(chip); in r852_read_oob() 632 struct mtd_info *mtd = nand_to_mtd(dev->chip); in r852_register_nand_device() [all …]
|
| D | nand_bbt.c | 169 struct mtd_info *mtd = nand_to_mtd(this); in read_bbt() 262 struct mtd_info *mtd = nand_to_mtd(this); in read_abs_bbt() 290 struct mtd_info *mtd = nand_to_mtd(this); in scan_read_data() 315 struct mtd_info *mtd = nand_to_mtd(this); in scan_read_oob() 356 struct mtd_info *mtd = nand_to_mtd(this); in scan_write_bbt() 371 struct mtd_info *mtd = nand_to_mtd(this); in bbt_get_ver_offs() 392 struct mtd_info *mtd = nand_to_mtd(this); in read_abs_bbts() 417 struct mtd_info *mtd = nand_to_mtd(this); in scan_block_fast() 465 struct mtd_info *mtd = nand_to_mtd(this); in create_bbt() 527 struct mtd_info *mtd = nand_to_mtd(this); in search_bbt() [all …]
|
| D | nand_base.c | 292 struct mtd_info *mtd = nand_to_mtd(chip); in nand_bbm_get_next_page() 404 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_oob() 443 struct mtd_info *mtd = nand_to_mtd(chip); in nand_do_write_oob() 513 struct mtd_info *mtd = nand_to_mtd(chip); in nand_default_block_markbad() 579 struct mtd_info *mtd = nand_to_mtd(chip); in nand_block_markbad_lowlevel() 969 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_column_cycles() 1012 struct mtd_info *mtd = nand_to_mtd(chip); in nand_sp_exec_read_page_op() 1104 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_page_op() 1194 struct mtd_info *mtd = nand_to_mtd(chip); in nand_change_read_column_op() 1257 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_oob_op() [all …]
|
| D | hisi504_nand.c | 182 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_dma_transfer() 254 struct mtd_info *mtd = nand_to_mtd(&host->chip); in hisi_nfc_send_cmd_readstart() 426 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_cmdfunc() 521 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nand_read_page_hwecc() 553 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nand_read_oob() 571 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nand_write_page_hwecc() 642 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_ecc_probe() 695 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_attach_chip() 751 mtd = nand_to_mtd(chip); in hisi_nfc_probe()
|
| D | fsl_elbc_nand.c | 310 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_cmdfunc() 544 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_buf() 637 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_read_page() 658 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_page() 673 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_subpage() 687 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_chip_init() 725 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_attach_chip() 833 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_elbc_chip_remove() 921 mtd = nand_to_mtd(&priv->chip); in fsl_elbc_nand_probe() 923 if (!nand_to_mtd(&priv->chip)->name) { in fsl_elbc_nand_probe()
|
| D | omap2.c | 251 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_hwcontrol() 343 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_pref() 391 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_pref() 537 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_dma_pref() 555 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_dma_pref() 619 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_irq_pref() 667 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_irq_pref() 882 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_correct_data() 923 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_calculate_ecc() 947 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc() [all …]
|
| D | nand_samsung.c | 13 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_decode_id() 119 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_init()
|
| D | lpc32xx_slc.c | 388 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_oob_syndrome() 398 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_oob_syndrome() 605 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_page_syndrome() 653 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_page_raw_syndrome() 673 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_page_syndrome() 711 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_page_raw_syndrome() 723 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in lpc32xx_nand_dma_setup() 775 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_attach_chip() 854 mtd = nand_to_mtd(chip); in lpc32xx_nand_probe()
|
| D | fsl_ifc_nand.c | 293 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_cmdfunc() 511 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_write_buf() 606 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_wait() 640 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page() 670 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_read_page() 698 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_write_page() 708 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_attach_chip() 836 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_init() 948 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_remove() 1058 mtd = nand_to_mtd(&priv->chip); in fsl_ifc_nand_probe()
|
| D | mpc5121_nfc.c | 255 struct mtd_info *mtd = nand_to_mtd(nand); in mpc5121_nfc_select_chip() 293 struct mtd_info *mtd = nand_to_mtd(nand); in ads5121_select_chip() 323 struct mtd_info *mtd = nand_to_mtd(chip); in mpc5121_nfc_command() 487 mpc5121_nfc_buf_copy(nand_to_mtd(chip), buf, len, 0); in mpc5121_nfc_read_buf() 494 mpc5121_nfc_buf_copy(nand_to_mtd(chip), (u_char *)buf, len, 1); in mpc5121_nfc_write_buf() 635 mtd = nand_to_mtd(chip); in mpc5121_nfc_probe()
|
| D | lpc32xx_mlc.c | 323 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_nand() 343 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_controller() 437 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_read_page() 504 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_write_page_lowlevel() 574 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in lpc32xx_dma_setup() 647 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_attach_chip() 697 mtd = nand_to_mtd(nand_chip); in lpc32xx_nand_probe()
|
| D | tango_nand.c | 177 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page() 205 struct mtd_info *mtd = nand_to_mtd(chip); in decode_error_report() 278 struct mtd_info *mtd = nand_to_mtd(chip); in tango_read_page() 301 struct mtd_info *mtd = nand_to_mtd(chip); in tango_write_page() 368 struct mtd_info *mtd = nand_to_mtd(chip); in raw_read() 395 struct mtd_info *mtd = nand_to_mtd(chip); in raw_write() 563 mtd = nand_to_mtd(chip); in chip_init()
|
| D | gpio.c | 75 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_cmd_ctrl() 95 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_devready() 280 mtd = nand_to_mtd(chip); in gpio_nand_probe()
|
| D | sm_common.c | 101 struct mtd_info *mtd = nand_to_mtd(chip); in sm_block_markbad() 163 struct mtd_info *mtd = nand_to_mtd(chip); in sm_attach_chip()
|
| D | denali.c | 197 struct mtd_info *mtd = nand_to_mtd(chip); in denali_select_target() 246 struct mtd_info *mtd = nand_to_mtd(chip); in denali_payload_xfer() 283 struct mtd_info *mtd = nand_to_mtd(chip); in denali_oob_xfer() 413 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_check_erased_page() 443 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_hw_ecc_fixup() 478 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_sw_ecc_fixup() 728 struct mtd_info *mtd = nand_to_mtd(chip); in denali_read_page() 760 struct mtd_info *mtd = nand_to_mtd(chip); in denali_write_page() 938 struct mtd_info *mtd = nand_to_mtd(chip); in denali_multidev_fixup() 993 struct mtd_info *mtd = nand_to_mtd(chip); in denali_attach_chip() [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() 163 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_cmd_ctrl() 185 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_dev_ready() 192 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_hwctl() 200 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_calculate() 221 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_correct() 234 struct mtd_info *mtd = nand_to_mtd(chip); in ingenic_nand_attach_chip() 355 mtd = nand_to_mtd(chip); in ingenic_nand_init_chip()
|
| /Linux-v5.4/drivers/mtd/nand/raw/bcm47xxnflash/ |
| D | ops_bcm4706.c | 213 struct mtd_info *mtd = nand_to_mtd(nand_chip); in bcm47xxnflash_ops_bcm4706_cmdfunc() 309 struct mtd_info *mtd = nand_to_mtd(nand_chip); in bcm47xxnflash_ops_bcm4706_read_byte() 343 bcm47xxnflash_ops_bcm4706_read(nand_to_mtd(nand_chip), buf, in bcm47xxnflash_ops_bcm4706_read_buf() 358 bcm47xxnflash_ops_bcm4706_write(nand_to_mtd(nand_chip), buf, in bcm47xxnflash_ops_bcm4706_write_buf()
|