Home
last modified time | relevance | path

Searched refs:mtd_to_nand (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.1.9/drivers/mtd/nand/raw/
Dmpc5121_nfc.c124 struct nand_chip *chip = mtd_to_nand(mtd); in nfc_read()
133 struct nand_chip *chip = mtd_to_nand(mtd); in nfc_write()
203 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_irq()
215 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_done()
235 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_addr_cycle()
272 struct nand_chip *chip = mtd_to_nand(mtd); in ads5121_chipselect_init()
396 struct nand_chip *nand = mtd_to_nand(mtd); in mpc5121_nfc_copy_spare()
448 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_buf_copy()
516 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_read_hw_config()
595 struct nand_chip *chip = mtd_to_nand(mtd); in mpc5121_nfc_free()
[all …]
Ddiskonchip.c364 struct nand_chip *this = mtd_to_nand(mtd); in doc200x_ident_chip()
395 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_count_chips()
864 struct nand_chip *this = mtd_to_nand(mtd); in find_media_headers()
907 struct nand_chip *this = mtd_to_nand(mtd); in nftl_partscan()
1013 struct nand_chip *this = mtd_to_nand(mtd); in inftl_partscan()
1133 struct nand_chip *this = mtd_to_nand(mtd); in nftl_scan_bbt()
1168 struct nand_chip *this = mtd_to_nand(mtd); in inftl_scan_bbt()
1221 struct nand_chip *this = mtd_to_nand(mtd); in doc2000_init()
1234 struct nand_chip *this = mtd_to_nand(mtd); in doc2001_init()
1260 struct nand_chip *this = mtd_to_nand(mtd); in doc2001plus_init()
[all …]
Dmxc_nand.c250 struct nand_chip *this = mtd_to_nand(mtd); in copy_spare()
293 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_do_addr_cycle()
555 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v3()
571 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v2()
585 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v1()
1006 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_ecc()
1020 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_free()
1053 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_ecc()
1068 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_free()
1114 struct nand_chip *nand_chip = mtd_to_nand(mtd); in preset_v1()
[all …]
Dxway_nand.c73 struct nand_chip *chip = mtd_to_nand(mtd); in xway_readb()
81 struct nand_chip *chip = mtd_to_nand(mtd); in xway_writeb()
Dmtk_nand.c321 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_hw_runtime_config()
661 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_bad_mark_swap()
676 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_format_subpage()
710 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_format_page()
918 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_update_ecc_stats()
1151 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_ooblayout_free()
1170 struct nand_chip *chip = mtd_to_nand(mtd); in mtk_nfc_ooblayout_ecc()
1191 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_fdm()
1210 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_bad_mark_ctl()
1223 struct nand_chip *nand = mtd_to_nand(mtd); in mtk_nfc_set_spare_per_sector()
[all …]
Dcafe_nand.c334 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_nand_interrupt()
453 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_ooblayout_ecc()
467 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_ooblayout_free()
815 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_nand_remove()
844 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_nand_resume()
Dfsl_elbc_nand.c71 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_ooblayout_ecc()
89 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_ooblayout_free()
153 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr()
204 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_run_command()
Dsm_common.c187 struct nand_chip *chip = mtd_to_nand(mtd); in sm_register_device()
Dnand_micron.c135 struct nand_chip *chip = mtd_to_nand(mtd); in micron_nand_on_die_8_ooblayout_ecc()
150 struct nand_chip *chip = mtd_to_nand(mtd); in micron_nand_on_die_8_ooblayout_free()
Dtxx9ndfmc.c77 struct nand_chip *chip = mtd_to_nand(mtd); in mtd_to_platdev()
386 chip = mtd_to_nand(mtd); in txx9ndfmc_remove()
Dpasemi_nand.c199 chip = mtd_to_nand(pasemi_nand_mtd); in pasemi_nand_remove()
Dlpc32xx_mlc.c133 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_ecc()
147 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_free()
394 struct nand_chip *chip = mtd_to_nand(mtd); in lpc32xx_xmit_dma()
Dfsmc_nand.c170 struct nand_chip *chip = mtd_to_nand(mtd); in fsmc_ecc1_ooblayout_ecc()
184 struct nand_chip *chip = mtd_to_nand(mtd); in fsmc_ecc1_ooblayout_free()
213 struct nand_chip *chip = mtd_to_nand(mtd); in fsmc_ecc4_ooblayout_ecc()
231 struct nand_chip *chip = mtd_to_nand(mtd); in fsmc_ecc4_ooblayout_free()
Dfsl_ifc_nand.c86 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_ecc()
100 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_free()
140 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr()
173 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command()
Dsharpsl.c29 return container_of(mtd_to_nand(mtd), struct sharpsl_nand, chip); in mtd_to_sharpsl()
Dintel-nand-controller.c239 struct nand_chip *chip = mtd_to_nand(mtd); in ebu_nand_ooblayout_ecc()
253 struct nand_chip *chip = mtd_to_nand(mtd); in ebu_nand_ooblayout_free()
Dnand_base.c608 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved()
3818 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_oob()
4394 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write()
4424 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_oob()
4460 return nand_erase_nand(mtd_to_nand(mtd), instr, 0); in nand_erase()
4572 struct nand_chip *chip = mtd_to_nand(mtd); in nand_sync()
4589 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad()
4623 return nand_block_markbad_lowlevel(mtd_to_nand(mtd), ofs); in nand_block_markbad()
4634 struct nand_chip *chip = mtd_to_nand(mtd); in nand_suspend()
4653 struct nand_chip *chip = mtd_to_nand(mtd); in nand_resume()
[all …]
Dsh_flctl.c35 struct nand_chip *chip = mtd_to_nand(mtd); in flctl_4secc_ooblayout_sp_ecc()
66 struct nand_chip *chip = mtd_to_nand(mtd); in flctl_4secc_ooblayout_lp_ecc()
80 struct nand_chip *chip = mtd_to_nand(mtd); in flctl_4secc_ooblayout_lp_free()
Dfsl_upm.c37 return container_of(mtd_to_nand(mtdinfo), struct fsl_upm_nand, in to_fsl_upm_nand()
Dgpio.c45 return container_of(mtd_to_nand(mtd), struct gpiomtd, nand_chip); in gpio_nand_getpriv()
Drockchip-nand-controller.c930 struct nand_chip *chip = mtd_to_nand(mtd); in rk_nfc_ooblayout_free()
949 struct nand_chip *chip = mtd_to_nand(mtd); in rk_nfc_ooblayout_ecc()
968 struct nand_chip *chip = mtd_to_nand(mtd); in rk_nfc_ecc_init()
/linux-6.1.9/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c64 return container_of(mtd_to_nand(mtd), struct ingenic_nand, chip); in to_ingenic_nand()
75 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_ecc()
90 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_free()
110 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_ecc()
125 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_free()
/linux-6.1.9/drivers/mtd/nand/raw/bcm47xxnflash/
Dops_bcm4706.c88 struct nand_chip *nand_chip = mtd_to_nand(mtd); in bcm47xxnflash_ops_bcm4706_read()
138 struct nand_chip *nand_chip = mtd_to_nand(mtd); in bcm47xxnflash_ops_bcm4706_write()
/linux-6.1.9/include/linux/mtd/
Dsh_flctl.h177 return container_of(mtd_to_nand(mtdinfo), struct sh_flctl, chip); in mtd_to_flctl()
/linux-6.1.9/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c853 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_set_cmd_addr()
1175 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_hamming_ooblayout_ecc()
1193 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_hamming_ooblayout_free()
1233 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_ecc()
1251 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_free_lp()
1277 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_free_sp()
1349 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_wp()

12