Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c252 struct nand_chip *this = mtd_to_nand(mtd); in copy_spare()
295 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_do_addr_cycle()
557 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v3()
573 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v2()
587 struct nand_chip *nand_chip = mtd_to_nand(mtd); in send_page_v1()
1008 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_ecc()
1022 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v1_ooblayout_free()
1055 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_ecc()
1070 struct nand_chip *nand_chip = mtd_to_nand(mtd); in mxc_v2_ooblayout_free()
1116 struct nand_chip *nand_chip = mtd_to_nand(mtd); in preset_v1()
[all …]
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 …]
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()
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()
811 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_nand_remove()
839 struct nand_chip *chip = mtd_to_nand(mtd); in cafe_nand_resume()
Dfsl_elbc_nand.c72 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_ooblayout_ecc()
90 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_elbc_ooblayout_free()
154 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr()
205 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()
Dtxx9ndfmc.c78 struct nand_chip *chip = mtd_to_nand(mtd); in mtd_to_platdev()
389 chip = mtd_to_nand(mtd); in txx9ndfmc_remove()
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()
Dnand_bch.c108 struct nand_chip *nand = mtd_to_nand(mtd); in nand_bch_init()
Dpasemi_nand.c200 chip = mtd_to_nand(pasemi_nand_mtd); in pasemi_nand_remove()
Dlpc32xx_mlc.c134 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_ecc()
148 struct nand_chip *nand_chip = mtd_to_nand(mtd); in lpc32xx_ooblayout_free()
395 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.c87 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_ecc()
101 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_ooblayout_free()
141 struct nand_chip *chip = mtd_to_nand(mtd); in set_addr()
174 struct nand_chip *chip = mtd_to_nand(mtd); in fsl_ifc_run_command()
Dsharpsl.c31 return container_of(mtd_to_nand(mtd), struct sharpsl_nand, chip); in mtd_to_sharpsl()
Domap2.c178 return container_of(mtd_to_nand(mtd), struct omap_nand_info, nand); in mtd_to_omap()
273 struct nand_chip *nand = mtd_to_nand(mtd); in omap_read_buf8()
307 struct nand_chip *nand = mtd_to_nand(mtd); in omap_read_buf16()
1868 struct nand_chip *chip = mtd_to_nand(mtd); in omap_sw_ooblayout_ecc()
1887 struct nand_chip *chip = mtd_to_nand(mtd); in omap_sw_ooblayout_free()
2284 struct nand_chip *nand_chip = mtd_to_nand(mtd); in omap_nand_remove()
Dnand_base.c564 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved()
3527 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_oob()
4091 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write()
4121 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_oob()
4159 return nand_erase_nand(mtd_to_nand(mtd), instr, 0); in nand_erase()
4268 struct nand_chip *chip = mtd_to_nand(mtd); in nand_sync()
4285 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad()
4321 return nand_block_markbad_lowlevel(mtd_to_nand(mtd), ofs); in nand_block_markbad()
4332 struct nand_chip *chip = mtd_to_nand(mtd); in nand_suspend()
4351 struct nand_chip *chip = mtd_to_nand(mtd); in nand_resume()
[all …]
Dfsl_upm.c38 return container_of(mtd_to_nand(mtdinfo), struct fsl_upm_nand, in to_fsl_upm_nand()
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()
Dgpio.c45 return container_of(mtd_to_nand(mtd), struct gpiomtd, nand_chip); in gpio_nand_getpriv()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c63 return container_of(mtd_to_nand(mtd), struct ingenic_nand, chip); in to_ingenic_nand()
74 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_ecc()
89 struct nand_chip *chip = mtd_to_nand(mtd); in qi_lb60_ooblayout_free()
109 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_ecc()
124 struct nand_chip *chip = mtd_to_nand(mtd); in jz4725b_ooblayout_free()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/linux/mtd/
Dsh_flctl.h177 return container_of(mtd_to_nand(mtdinfo), struct sh_flctl, chip); in mtd_to_flctl()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c827 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_set_cmd_addr()
1143 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_hamming_ooblayout_ecc()
1161 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_hamming_ooblayout_free()
1201 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_ecc()
1219 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_free_lp()
1245 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_bch_ooblayout_free_sp()
1317 struct nand_chip *chip = mtd_to_nand(mtd); in brcmnand_wp()

12