Home
last modified time | relevance | path

Searched refs:nand_get_controller_data (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v5.10/drivers/mtd/nand/raw/
Dndfc.c45 struct ndfc_controller *ndfc = nand_get_controller_data(nchip); in ndfc_select_chip()
58 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_hwcontrol()
71 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_ready()
79 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_enable_hwecc()
90 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_calculate_ecc()
113 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_read_buf()
122 struct ndfc_controller *ndfc = nand_get_controller_data(chip); in ndfc_write_buf()
Ddiskonchip.c294 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_write_byte()
306 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_writebuf()
322 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_readbuf()
365 struct doc_priv *doc = nand_get_controller_data(this); in doc200x_ident_chip()
396 struct doc_priv *doc = nand_get_controller_data(this); in doc2000_count_chips()
417 struct doc_priv *doc = nand_get_controller_data(this); in doc2001_write_byte()
427 struct doc_priv *doc = nand_get_controller_data(this); in doc2001_writebuf()
439 struct doc_priv *doc = nand_get_controller_data(this); in doc2001_readbuf()
455 struct doc_priv *doc = nand_get_controller_data(this); in doc2001plus_writebuf()
472 struct doc_priv *doc = nand_get_controller_data(this); in doc2001plus_readbuf()
[all …]
Dmxc_nand.c253 struct mxc_nand_host *host = nand_get_controller_data(this); in copy_spare()
296 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_do_addr_cycle()
558 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v3()
574 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v2()
588 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v1()
669 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v1_v2()
687 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v3()
717 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v1()
775 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v2_v3()
822 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page()
[all …]
Dmpc5121_nfc.c125 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in nfc_read()
134 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in nfc_write()
204 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_irq()
216 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_done()
273 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in ads5121_chipselect_init()
295 struct mpc5121_nfc_prv *prv = nand_get_controller_data(nand); in ads5121_select_chip()
325 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_command()
398 struct mpc5121_nfc_prv *prv = nand_get_controller_data(nand); in mpc5121_nfc_copy_spare()
450 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_buf_copy()
518 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_read_hw_config()
[all …]
Doxnas_nand.c40 struct oxnas_nand_ctrl *oxnas = nand_get_controller_data(chip); in oxnas_nand_read_byte()
47 struct oxnas_nand_ctrl *oxnas = nand_get_controller_data(chip); in oxnas_nand_read_buf()
55 struct oxnas_nand_ctrl *oxnas = nand_get_controller_data(chip); in oxnas_nand_write_buf()
64 struct oxnas_nand_ctrl *oxnas = nand_get_controller_data(chip); in oxnas_nand_cmd_ctrl()
Dsocrates_nand.c41 struct socrates_nand_host *host = nand_get_controller_data(this); in socrates_nand_write_buf()
60 struct socrates_nand_host *host = nand_get_controller_data(this); in socrates_nand_read_buf()
89 struct socrates_nand_host *host = nand_get_controller_data(nand_chip); in socrates_nand_cmd_ctrl()
113 struct socrates_nand_host *host = nand_get_controller_data(nand_chip); in socrates_nand_device_ready()
Dmtk_nand.c217 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_data_ptr()
224 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_oob_ptr()
323 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_hw_runtime_config()
403 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_read_byte()
439 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_write_byte()
469 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_exec_instr()
502 struct mtk_nfc *nfc = nand_get_controller_data(nand); in mtk_nfc_select_target()
514 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_exec_op()
537 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_setup_interface()
644 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_sector_encode()
[all …]
Dcafe_nand.c106 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_device_ready()
122 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_write_buf()
137 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_read_buf()
151 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_read_byte()
164 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_nand_cmdfunc()
319 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_select_chip()
335 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_nand_interrupt()
374 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_nand_read_page()
538 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_nand_write_page_lowlevel()
594 struct cafe_priv *cafe = nand_get_controller_data(chip); in cafe_nand_attach_chip()
[all …]
Dfsl_elbc_nand.c73 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_ooblayout_ecc()
91 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_ooblayout_free()
155 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in set_addr()
206 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_run_command()
278 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_do_read()
311 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_cmdfunc()
544 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_write_buf()
581 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_read_byte()
597 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_read_buf()
621 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_wait()
[all …]
Dhisi504_nand.c349 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_select_chip()
359 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_read_byte()
375 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_write_buf()
383 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_read_buf()
392 struct hinfc_host *host = nand_get_controller_data(chip); in set_addr()
427 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_cmdfunc()
522 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nand_read_page_hwecc()
554 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nand_read_oob()
696 struct hinfc_host *host = nand_get_controller_data(chip); in hisi_nfc_attach_chip()
Dlpc32xx_mlc.c282 struct lpc32xx_nand_host *host = nand_get_controller_data(nand_chip); in lpc32xx_nand_cmd_ctrl()
297 struct lpc32xx_nand_host *host = nand_get_controller_data(nand_chip); in lpc32xx_nand_device_ready()
324 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_waitfunc_nand()
344 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_waitfunc_controller()
396 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_xmit_dma()
438 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_read_page()
505 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_write_page_lowlevel()
552 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_read_oob()
648 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_attach_chip()
Dlpc32xx_slc.c276 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_cmd_ctrl()
299 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_device_ready()
353 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_byte()
363 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_buf()
376 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_write_buf()
431 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_xmit_dma()
491 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_xfer()
606 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_page_syndrome()
674 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_write_page_syndrome()
776 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_attach_chip()
Dfsl_ifc_nand.c142 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in set_addr()
175 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_run_command()
254 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_do_read()
294 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_cmdfunc()
512 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_write_buf()
537 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_read_byte()
559 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_read_byte16()
581 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_read_buf()
607 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_wait()
671 struct fsl_ifc_mtd *priv = nand_get_controller_data(chip); in fsl_ifc_read_page()
[all …]
Dxway_nand.c74 struct xway_nand_data *data = nand_get_controller_data(chip); in xway_readb()
82 struct xway_nand_data *data = nand_get_controller_data(chip); in xway_writeb()
89 struct xway_nand_data *data = nand_get_controller_data(chip); in xway_select_chip()
Dmeson_nand.c225 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip()
269 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access()
477 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup()
516 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release()
525 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_buf()
554 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_buf()
579 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_rw_cmd_prepare_and_execute()
633 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_page_sub()
717 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_page_sub()
896 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_exec_op()
[all …]
Dtxx9ndfmc.c79 struct txx9ndfmc_priv *txx9_priv = nand_get_controller_data(chip); in mtd_to_platdev()
134 struct txx9ndfmc_priv *txx9_priv = nand_get_controller_data(chip); in txx9ndfmc_cmd_ctrl()
390 txx9_priv = nand_get_controller_data(chip); in txx9ndfmc_remove()
Dmxic_nand.c326 struct mxic_nand_ctlr *nfc = nand_get_controller_data(chip); in mxic_nfc_wait_ready()
391 struct mxic_nand_ctlr *nfc = nand_get_controller_data(chip); in mxic_nfc_exec_op()
457 struct mxic_nand_ctlr *nfc = nand_get_controller_data(chip); in mxic_nfc_setup_interface()
Dams-delta.c142 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_exec_op()
197 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_setup_interface()
Dnandsim.c641 struct nandsim *ns = nand_get_controller_data(chip); in ns_init()
1877 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_read_byte()
1938 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_write_byte()
2096 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_write_buf()
2123 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_read_buf()
2173 struct nandsim *ns = nand_get_controller_data(chip); in ns_exec_op()
2427 struct nandsim *ns = nand_get_controller_data(chip); in ns_cleanup_module()
Dorion_nand.c33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl()
Dr852.c66 return nand_get_controller_data(chip); in r852_get_dev()
362 struct r852_device *dev = nand_get_controller_data(chip); in r852_wait()
/Linux-v5.10/drivers/mtd/nand/raw/bcm47xxnflash/
Dops_bcm4706.c89 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_read()
139 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_write()
172 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_cmd_ctrl()
197 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_dev_ready()
214 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_cmdfunc()
310 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_read_byte()
338 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_read_buf()
354 struct bcm47xxnflash *b47n = nand_get_controller_data(nand_chip); in bcm47xxnflash_ops_bcm4706_write_buf()
/Linux-v5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c828 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_set_cmd_addr()
1144 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_hamming_ooblayout_ecc()
1162 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_hamming_ooblayout_free()
1202 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_ecc()
1220 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_free_lp()
1246 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_bch_ooblayout_free_sp()
1318 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_wp()
1569 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmstb_nand_wait_for_completion()
1594 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_waitfunc()
1669 struct brcmnand_host *host = nand_get_controller_data(chip); in brcmnand_cmdfunc()
[all …]
/Linux-v5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c743 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_setup_interface()
857 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_ecc()
873 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_free()
1188 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_count_bitflips()
1305 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_page()
1347 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_subpage()
1424 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_write_page()
1514 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_oob()
1574 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_page_raw()
1659 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_write_page_raw()
[all …]
/Linux-v5.10/arch/arm/mach-ixp4xx/
Dixdp425-setup.c83 int offset = (int)nand_get_controller_data(this); in ixdp425_flash_nand_cmd_ctrl()

12