Home
last modified time | relevance | path

Searched refs:nand_to_mtd (Results 1 – 25 of 65) sorted by relevance

123

/linux/drivers/mtd/nand/raw/
A Ds3c2410.c450 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_hwcontrol()
467 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2440_nand_hwcontrol()
486 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_devready()
493 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2440_nand_devready()
500 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2412_nand_devready()
510 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_correct_data()
622 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2410_nand_calculate_ecc()
637 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2412_nand_calculate_ecc()
653 struct mtd_info *mtd = nand_to_mtd(chip); in s3c2440_nand_calculate_ecc()
677 struct mtd_info *mtd = nand_to_mtd(this); in s3c2440_nand_read_buf()
[all …]
A Dsharpsl.c61 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()
163 mtd = nand_to_mtd(this); in sharpsl_nand_probe()
221 ret = mtd_device_unregister(nand_to_mtd(chip)); in sharpsl_nand_remove()
A Dtmio_nand.c133 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()
403 mtd = nand_to_mtd(nand_chip); in tmio_probe()
478 ret = mtd_device_unregister(nand_to_mtd(chip)); in tmio_remove()
A Dxway_nand.c109 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()
184 mtd = nand_to_mtd(&data->chip); in xway_nand_probe()
247 ret = mtd_device_unregister(nand_to_mtd(chip)); in xway_nand_remove()
A Dtxx9ndfmc.c103 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_read_byte()
111 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_write_buf()
123 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_read_buf()
162 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_dev_ready()
170 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_calculate_ecc()
210 struct platform_device *dev = mtd_to_platdev(nand_to_mtd(chip)); in txx9ndfmc_enable_hwecc()
253 struct mtd_info *mtd = nand_to_mtd(chip); in txx9ndfmc_attach_chip()
327 mtd = nand_to_mtd(chip); in txx9ndfmc_probe()
389 ret = mtd_device_unregister(nand_to_mtd(chip)); in txx9ndfmc_remove()
A Dr852.c232 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()
520 struct mtd_info *mtd = nand_to_mtd(chip); in r852_read_oob()
631 struct mtd_info *mtd = nand_to_mtd(dev->chip); in r852_register_nand_device()
653 WARN_ON(mtd_device_unregister(nand_to_mtd(dev->chip))); in r852_register_nand_device()
[all …]
A Ddavinci_nand.c102 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 …]
A Dnand_bbt.c169 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()
494 struct mtd_info *mtd = nand_to_mtd(this); in create_bbt()
556 struct mtd_info *mtd = nand_to_mtd(this); in search_bbt()
[all …]
A Dhisi504_nand.c182 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()
750 mtd = nand_to_mtd(chip); in hisi_nfc_probe()
807 ret = mtd_device_unregister(nand_to_mtd(chip)); in hisi_nfc_remove()
A Dnand_base.c228 struct mtd_info *mtd = nand_to_mtd(chip); in nand_bbm_get_next_page()
315 struct mtd_info *mtd = nand_to_mtd(chip); in nand_isbad_bbm()
384 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_oob()
423 struct mtd_info *mtd = nand_to_mtd(chip); in nand_do_write_oob()
497 struct mtd_info *mtd = nand_to_mtd(chip); in nand_default_block_markbad()
563 struct mtd_info *mtd = nand_to_mtd(chip); in nand_block_markbad_lowlevel()
1090 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_column_cycles()
1135 struct mtd_info *mtd = nand_to_mtd(chip); in nand_sp_exec_read_page_op()
1225 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_page_op()
1316 struct mtd_info *mtd = nand_to_mtd(chip); in nand_change_read_column_op()
[all …]
A Dnand_toshiba.c52 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()
A Dfsl_elbc_nand.c309 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_cmdfunc()
542 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_buf()
635 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_read_page()
656 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_page()
671 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_write_subpage()
685 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_chip_init()
723 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_attach_chip()
831 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_elbc_chip_remove()
919 mtd = nand_to_mtd(&priv->chip); in fsl_elbc_nand_probe()
921 if (!nand_to_mtd(&priv->chip)->name) { in fsl_elbc_nand_probe()
[all …]
A Dlpc32xx_slc.c387 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_oob_syndrome()
397 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_oob_syndrome()
604 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_page_syndrome()
652 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_read_page_raw_syndrome()
672 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_page_syndrome()
710 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_write_page_raw_syndrome()
722 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in lpc32xx_nand_dma_setup()
774 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_attach_chip()
867 mtd = nand_to_mtd(chip); in lpc32xx_nand_probe()
955 ret = mtd_device_unregister(nand_to_mtd(chip)); in lpc32xx_nand_remove()
A Doxnas_nand.c126 mtd = nand_to_mtd(chip); in oxnas_nand_probe()
165 WARN_ON(mtd_device_unregister(nand_to_mtd(chip))); in oxnas_nand_probe()
182 WARN_ON(mtd_device_unregister(nand_to_mtd(chip))); in oxnas_nand_remove()
A Dnand_legacy.c195 struct mtd_info *mtd = nand_to_mtd(chip); in nand_wait_ready()
253 struct mtd_info *mtd = nand_to_mtd(chip); in nand_command()
392 struct mtd_info *mtd = nand_to_mtd(chip); in nand_command_lp()
535 struct mtd_info *mtd = nand_to_mtd(chip); in nand_wait()
616 struct mtd_info *mtd = nand_to_mtd(chip); in nand_legacy_adjust_cmdfunc()
A Dfsl_ifc_nand.c292 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_cmdfunc()
510 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_write_buf()
605 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_wait()
639 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page()
669 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_read_page()
697 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_write_page()
707 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_attach_chip()
859 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_init()
952 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_remove()
1062 mtd = nand_to_mtd(&priv->chip); in fsl_ifc_nand_probe()
[all …]
A Domap2.c348 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_pref()
396 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_pref()
542 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_dma_pref()
560 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_dma_pref()
624 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_irq_pref()
672 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_irq_pref()
1531 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_page_bch()
1585 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_subpage_bch()
1666 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_page_bch()
1970 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_attach_chip()
[all …]
A Dfsl_upm.c45 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init()
80 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in func_exec_instr()
134 struct fsl_upm_nand *fun = to_fsl_upm_nand(nand_to_mtd(chip)); in fun_exec_op()
242 struct mtd_info *mtd = nand_to_mtd(chip); in fun_remove()
A Dlpc32xx_mlc.c322 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_nand()
342 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_waitfunc_controller()
436 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_read_page()
503 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_write_page_lowlevel()
573 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in lpc32xx_dma_setup()
646 struct mtd_info *mtd = nand_to_mtd(chip); in lpc32xx_nand_attach_chip()
708 mtd = nand_to_mtd(nand_chip); in lpc32xx_nand_probe()
834 ret = mtd_device_unregister(nand_to_mtd(chip)); in lpc32xx_nand_remove()
A Dnand_samsung.c15 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()
A Dvf610_nfc.c511 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()
823 mtd = nand_to_mtd(chip); in vf610_nfc_probe()
918 ret = mtd_device_unregister(nand_to_mtd(chip)); in vf610_nfc_remove()
A Ddenali.c196 struct mtd_info *mtd = nand_to_mtd(chip); in denali_select_target()
245 struct mtd_info *mtd = nand_to_mtd(chip); in denali_payload_xfer()
282 struct mtd_info *mtd = nand_to_mtd(chip); in denali_oob_xfer()
412 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_check_erased_page()
442 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; in denali_hw_ecc_fixup()
727 struct mtd_info *mtd = nand_to_mtd(chip); in denali_read_page()
759 struct mtd_info *mtd = nand_to_mtd(chip); in denali_write_page()
960 struct mtd_info *mtd = nand_to_mtd(chip); in denali_multidev_fixup()
1015 struct mtd_info *mtd = nand_to_mtd(chip); in denali_attach_chip()
1183 struct mtd_info *mtd = nand_to_mtd(chip); in denali_chip_init()
[all …]
/linux/drivers/mtd/nand/raw/ingenic/
A Dingenic_nand_drv.c143 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/drivers/mtd/nand/raw/bcm47xxnflash/
A Dmain.c34 mtd = nand_to_mtd(&b47n->nand_chip); in bcm47xxnflash_probe()
66 ret = mtd_device_unregister(nand_to_mtd(chip)); in bcm47xxnflash_remove()
/linux/drivers/mtd/nand/raw/gpmi-nand/
A Dgpmi-nand.c266 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_by_ecc_info()
1192 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_count_bitflips()
1308 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page()
1425 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page()
1515 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_oob()
1545 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_oob()
1575 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page_raw()
1660 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page_raw()
1740 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_block_markbad()
1852 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_write_transcription_stamp()
[all …]

Completed in 64 milliseconds

123