/Linux-v5.10/drivers/mtd/nand/raw/ |
D | sharpsl.c | 62 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_hwcontrol() 80 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_dev_ready() 86 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_enable_hwecc() 93 struct sharpsl_nand *sharpsl = mtd_to_sharpsl(nand_to_mtd(chip)); in sharpsl_nand_calculate_ecc() 164 mtd = nand_to_mtd(this); in sharpsl_nand_probe() 222 ret = mtd_device_unregister(nand_to_mtd(chip)); in sharpsl_nand_remove()
|
D | tmio_nand.c | 134 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_hwcontrol() 165 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_dev_ready() 189 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(nand_chip)); in tmio_nand_wait() 226 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_read_byte() 246 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_write_buf() 253 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_read_buf() 260 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_enable_hwecc() 270 struct tmio_nand *tmio = mtd_to_tmio(nand_to_mtd(chip)); in tmio_nand_calculate_ecc() 404 mtd = nand_to_mtd(nand_chip); in tmio_probe() 479 ret = mtd_device_unregister(nand_to_mtd(chip)); in tmio_remove()
|
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 | 109 struct mtd_info *mtd = nand_to_mtd(chip); in xway_cmd_ctrl() 130 return xway_readb(nand_to_mtd(chip), NAND_READ_DATA); in xway_read_byte() 138 buf[i] = xway_readb(nand_to_mtd(chip), NAND_WRITE_DATA); in xway_read_buf() 146 xway_writeb(nand_to_mtd(chip), NAND_WRITE_DATA, buf[i]); in xway_write_buf() 187 mtd = nand_to_mtd(&data->chip); in xway_nand_probe() 243 ret = mtd_device_unregister(nand_to_mtd(chip)); in xway_nand_remove()
|
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() 330 mtd = nand_to_mtd(chip); in txx9ndfmc_probe() 392 ret = mtd_device_unregister(nand_to_mtd(chip)); in txx9ndfmc_remove()
|
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 | davinci_nand.c | 102 info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_hwctl_1bit() 105 nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_hwctl_1bit() 123 unsigned int ecc_val = nand_davinci_readecc_1bit(nand_to_mtd(chip)); in nand_davinci_calculate_1bit() 182 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_hwctl_4bit() 218 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_calculate_4bit() 256 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in nand_davinci_correct_4bit() 391 struct mtd_info *mtd = nand_to_mtd(chip); in nand_davinci_read_page_hwecc_oob_first() 580 struct mtd_info *mtd = nand_to_mtd(chip); in davinci_nand_attach_chip() 756 struct davinci_nand_info *info = to_davinci_nand(nand_to_mtd(chip)); in davinci_nand_exec_op() 837 mtd = nand_to_mtd(&info->chip); in nand_davinci_probe() [all …]
|
D | nand_toshiba.c | 52 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_benand_eccstatus() 124 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_benand_init() 150 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_decode_id() 248 struct mtd_info *mtd = nand_to_mtd(chip); in tc58teg5dclta00_init()
|
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() 812 ret = mtd_device_unregister(nand_to_mtd(chip)); in hisi_nfc_remove()
|
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 | 227 struct mtd_info *mtd = nand_to_mtd(chip); in nand_bbm_get_next_page() 346 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_oob() 385 struct mtd_info *mtd = nand_to_mtd(chip); in nand_do_write_oob() 455 struct mtd_info *mtd = nand_to_mtd(chip); in nand_default_block_markbad() 521 struct mtd_info *mtd = nand_to_mtd(chip); in nand_block_markbad_lowlevel() 965 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_column_cycles() 1010 struct mtd_info *mtd = nand_to_mtd(chip); in nand_sp_exec_read_page_op() 1100 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_page_op() 1190 struct mtd_info *mtd = nand_to_mtd(chip); in nand_change_read_column_op() 1253 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_oob_op() [all …]
|
D | fsl_elbc_nand.c | 310 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_cmdfunc() 543 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_buf() 636 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_read_page() 657 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_page() 672 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_subpage() 686 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_chip_init() 724 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_attach_chip() 832 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_elbc_chip_remove() 920 mtd = nand_to_mtd(&priv->chip); in fsl_elbc_nand_probe() 922 if (!nand_to_mtd(&priv->chip)->name) { in fsl_elbc_nand_probe() [all …]
|
D | oxnas_nand.c | 128 mtd = nand_to_mtd(chip); in oxnas_nand_probe() 167 WARN_ON(mtd_device_unregister(nand_to_mtd(chip))); in oxnas_nand_probe() 184 WARN_ON(mtd_device_unregister(nand_to_mtd(chip))); in oxnas_nand_remove()
|
D | nand_samsung.c | 15 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_decode_id() 123 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() 868 mtd = nand_to_mtd(chip); in lpc32xx_nand_probe() 956 ret = mtd_device_unregister(nand_to_mtd(chip)); in lpc32xx_nand_remove()
|
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 | fsl_upm.c | 46 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init() 81 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in func_exec_instr() 135 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_exec_op() 243 struct mtd_info *mtd = nand_to_mtd(chip); in fun_remove()
|
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() 860 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_init() 953 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_remove() 1063 mtd = nand_to_mtd(&priv->chip); in fsl_ifc_nand_probe() [all …]
|
D | tango_nand.c | 198 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page() 226 struct mtd_info *mtd = nand_to_mtd(chip); in decode_error_report() 299 struct mtd_info *mtd = nand_to_mtd(chip); in tango_read_page() 323 struct mtd_info *mtd = nand_to_mtd(chip); in tango_write_page() 402 struct mtd_info *mtd = nand_to_mtd(chip); in raw_read() 429 struct mtd_info *mtd = nand_to_mtd(chip); in raw_write() 602 mtd = nand_to_mtd(chip); in chip_init() 645 ret = mtd_device_unregister(nand_to_mtd(chip)); in tango_nand_remove()
|
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() 709 mtd = nand_to_mtd(nand_chip); in lpc32xx_nand_probe() 835 ret = mtd_device_unregister(nand_to_mtd(chip)); in lpc32xx_nand_remove()
|
D | gpio.c | 78 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_exec_instr() 141 struct gpiomtd *gpiomtd = gpio_nand_getpriv(nand_to_mtd(chip)); in gpio_nand_exec_op() 275 ret = mtd_device_unregister(nand_to_mtd(chip)); in gpio_nand_remove() 359 mtd = nand_to_mtd(chip); in gpio_nand_probe()
|
D | vf610_nfc.c | 511 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_correct_data() 552 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_read_page() 600 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page() 657 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_page_raw() 687 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_write_oob() 744 struct mtd_info *mtd = nand_to_mtd(chip); in vf610_nfc_attach_chip() 824 mtd = nand_to_mtd(chip); in vf610_nfc_probe() 920 ret = mtd_device_unregister(nand_to_mtd(chip)); in vf610_nfc_remove()
|
/Linux-v5.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() 151 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_calculate() 172 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_ecc_correct() 185 struct mtd_info *mtd = nand_to_mtd(chip); in ingenic_nand_attach_chip() 258 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_instr() 312 struct ingenic_nand *nand = to_ingenic_nand(nand_to_mtd(chip)); in ingenic_nand_exec_op() 401 mtd = nand_to_mtd(chip); in ingenic_nand_init_chip() 439 ret = mtd_device_unregister(nand_to_mtd(chip)); in ingenic_nand_cleanup_chips()
|
/Linux-v5.10/drivers/mtd/nand/raw/bcm47xxnflash/ |
D | main.c | 34 mtd = nand_to_mtd(&b47n->nand_chip); in bcm47xxnflash_probe() 66 ret = mtd_device_unregister(nand_to_mtd(chip)); in bcm47xxnflash_remove()
|
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()
|