/linux/drivers/mtd/nand/raw/ |
H A D | ndfc.c | 45 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()
|
H A D | diskonchip.c | 294 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 …]
|
H A D | mxc_nand.c | 252 struct mxc_nand_host *host = nand_get_controller_data(this); in copy_spare() 357 struct mxc_nand_host *host = nand_get_controller_data(chip); in get_ecc_status_v1() 388 struct mxc_nand_host *host = nand_get_controller_data(chip); in get_ecc_status_v2_v3() 415 struct mxc_nand_host *host = nand_get_controller_data(chip); in get_ecc_status_v2() 424 struct mxc_nand_host *host = nand_get_controller_data(chip); in get_ecc_status_v3() 562 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v3() 578 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v2() 592 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v1() 673 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v1_v2() 691 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v3() [all …]
|
H A D | mpc5121_nfc.c | 125 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() 294 struct mpc5121_nfc_prv *prv = nand_get_controller_data(nand); in ads5121_select_chip() 324 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_command() 397 struct mpc5121_nfc_prv *prv = nand_get_controller_data(nand); in mpc5121_nfc_copy_spare() 449 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_buf_copy() 517 struct mpc5121_nfc_prv *prv = nand_get_controller_data(chip); in mpc5121_nfc_read_hw_config() [all …]
|
H A D | mtk_nand.c | 216 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_data_ptr() 223 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_oob_ptr() 322 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_hw_runtime_config() 402 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_read_byte() 438 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_write_byte() 468 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_exec_instr() 501 struct mtk_nfc *nfc = nand_get_controller_data(nand); in mtk_nfc_select_target() 513 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_exec_op() 536 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_setup_interface() 643 struct mtk_nfc *nfc = nand_get_controller_data(chip); in mtk_nfc_sector_encode() [all …]
|
H A D | socrates_nand.c | 42 struct socrates_nand_host *host = nand_get_controller_data(this); in socrates_nand_write_buf() 61 struct socrates_nand_host *host = nand_get_controller_data(this); in socrates_nand_read_buf() 90 struct socrates_nand_host *host = nand_get_controller_data(nand_chip); in socrates_nand_cmd_ctrl() 114 struct socrates_nand_host *host = nand_get_controller_data(nand_chip); in socrates_nand_device_ready()
|
H A D | cafe_nand.c | 106 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 …]
|
H A D | fsl_elbc_nand.c | 72 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_ooblayout_ecc() 90 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_ooblayout_free() 154 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in set_addr() 205 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_run_command() 277 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_do_read() 310 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_cmdfunc() 543 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_write_buf() 580 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_read_byte() 596 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_read_buf() 620 struct fsl_elbc_mtd *priv = nand_get_controller_data(chip); in fsl_elbc_wait() [all …]
|
H A D | lpc32xx_mlc.c | 281 struct lpc32xx_nand_host *host = nand_get_controller_data(nand_chip); in lpc32xx_nand_cmd_ctrl() 296 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() 650 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_attach_chip()
|
H A D | hisi504_nand.c | 349 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()
|
H A D | lpc32xx_slc.c | 274 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_cmd_ctrl() 297 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_device_ready() 351 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_byte() 361 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_buf() 374 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_write_buf() 429 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_xmit_dma() 489 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_xfer() 604 struct lpc32xx_nand_host *host = nand_get_controller_data(chip); in lpc32xx_nand_read_page_syndrome() 672 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()
|
H A D | fsl_ifc_nand.c | 142 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 …]
|
H A D | intel-nand-controller.c | 144 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_readb() 155 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_writeb() 180 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_disable() 187 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_select_chip() 389 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_read_page_hwecc() 412 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_write_page_hwecc() 448 struct ebu_nand_controller *ebu_host = nand_get_controller_data(chip); in ebu_nand_attach_chip()
|
H A D | xway_nand.c | 74 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()
|
H A D | rockchip-nand-controller.c | 226 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_data_ptr() 233 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_oob_ptr() 240 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_hw_ecc_setup() 263 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_select_chip() 334 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_cmd() 418 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_setup_interface() 510 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_write_page_raw() 592 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_write_page_hwecc() 704 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_read_page_raw() 758 struct rk_nfc *nfc = nand_get_controller_data(chip); in rk_nfc_read_page_hwecc() [all …]
|
H A D | meson_nand.c | 266 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_select_chip() 319 struct meson_nfc *nfc = nand_get_controller_data(mtd_to_nand(mtd)); in meson_nfc_cmd_access() 455 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_wait_no_rb_pin() 514 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_queue_rb() 593 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_setup() 633 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_dma_buffer_release() 644 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_read_buf() 673 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_buf() 698 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_rw_cmd_prepare_and_execute() 752 struct meson_nfc *nfc = nand_get_controller_data(nand); in meson_nfc_write_page_sub() [all …]
|
H A D | txx9ndfmc.c | 78 struct txx9ndfmc_priv *txx9_priv = nand_get_controller_data(chip); in mtd_to_platdev() 133 struct txx9ndfmc_priv *txx9_priv = nand_get_controller_data(chip); in txx9ndfmc_cmd_ctrl() 385 txx9_priv = nand_get_controller_data(chip); in txx9ndfmc_remove()
|
H A D | mxic_nand.c | 326 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()
|
H A D | ams-delta.c | 142 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()
|
H A D | nandsim.c | 643 struct nandsim *ns = nand_get_controller_data(chip); in ns_init() 1865 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_read_byte() 1926 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_write_byte() 2084 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_write_buf() 2111 struct nandsim *ns = nand_get_controller_data(chip); in ns_nand_read_buf() 2161 struct nandsim *ns = nand_get_controller_data(chip); in ns_exec_op() 2429 struct nandsim *ns = nand_get_controller_data(chip); in ns_cleanup_module()
|
H A D | orion_nand.c | 33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl()
|
H A D | r852.c | 66 return nand_get_controller_data(chip); in r852_get_dev() 362 struct r852_device *dev = nand_get_controller_data(chip); in r852_wait()
|
/linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
H A D | ops_bcm4706.c | 89 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/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 976 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_setup_interface() 1093 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_ecc() 1109 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ooblayout_free() 1427 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_count_bitflips() 1545 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_page() 1587 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_subpage() 1684 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_write_page() 1771 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_oob() 1831 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_read_page_raw() 1916 struct gpmi_nand_data *this = nand_get_controller_data(chip); in gpmi_ecc_write_page_raw() [all …]
|
/linux/include/linux/mtd/ |
H A D | rawnand.h | 1358 static inline void *nand_get_controller_data(struct nand_chip *chip) in nand_get_controller_data() function
|