Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/mtd/nand/raw/bcm47xxnflash/
Dmain.c38 mtd = nand_to_mtd(&b47n->nand_chip); in bcm47xxnflash_probe()
68 nand_release(nand_to_mtd(&nflash->nand_chip)); in bcm47xxnflash_remove()
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_samsung.c22 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_decode_id()
118 struct mtd_info *mtd = nand_to_mtd(chip); in samsung_nand_init()
Dtango_nand.c182 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page()
210 struct mtd_info *mtd = nand_to_mtd(chip); in decode_error_report()
326 struct mtd_info *mtd = nand_to_mtd(chip); in aux_read()
341 struct mtd_info *mtd = nand_to_mtd(chip); in aux_write()
375 struct mtd_info *mtd = nand_to_mtd(chip); in raw_read()
402 struct mtd_info *mtd = nand_to_mtd(chip); in raw_write()
572 mtd = nand_to_mtd(chip); in chip_init()
620 nand_release(nand_to_mtd(&nfc->chips[cs]->nand_chip)); in tango_nand_remove()
Dplat_nand.c60 mtd = nand_to_mtd(&data->chip); in plat_nand_probe()
115 nand_release(nand_to_mtd(&data->chip)); in plat_nand_remove()
Dnand_base.c1191 struct mtd_info *mtd = nand_to_mtd(chip); in nand_get_features()
1212 struct mtd_info *mtd = nand_to_mtd(chip); in nand_set_features()
1232 struct mtd_info *mtd = nand_to_mtd(chip); in nand_reset_data_interface()
1275 struct mtd_info *mtd = nand_to_mtd(chip); in nand_setup_data_interface()
1348 struct mtd_info *mtd = nand_to_mtd(chip); in nand_init_data_interface()
1404 struct mtd_info *mtd = nand_to_mtd(chip); in nand_fill_column_cycles()
1447 struct mtd_info *mtd = nand_to_mtd(chip); in nand_sp_exec_read_page_op()
1539 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_page_op()
1580 struct mtd_info *mtd = nand_to_mtd(chip); in nand_read_param_page_op()
1630 struct mtd_info *mtd = nand_to_mtd(chip); in nand_change_read_column_op()
[all …]
Dnand_hynix.c82 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_cmd_op()
100 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_reg_write_op()
423 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_extract_oobsize()
614 struct mtd_info *mtd = nand_to_mtd(chip); in hynix_nand_decode_id()
Dsharpsl.c144 mtd = nand_to_mtd(this); in sharpsl_nand_probe()
208 nand_release(nand_to_mtd(&sharpsl->chip)); in sharpsl_nand_remove()
Dsocrates_nand.c160 mtd = nand_to_mtd(nand_chip); in socrates_nand_probe()
209 struct mtd_info *mtd = nand_to_mtd(&host->nand_chip); in socrates_nand_remove()
Doxnas_nand.c134 mtd = nand_to_mtd(chip); in oxnas_nand_probe()
179 nand_release(nand_to_mtd(oxnas->chips[0])); in oxnas_nand_remove()
Dhisi504_nand.c191 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_dma_transfer()
263 struct mtd_info *mtd = nand_to_mtd(&host->chip); in hisi_nfc_send_cmd_readstart()
661 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_ecc_probe()
714 struct mtd_info *mtd = nand_to_mtd(chip); in hisi_nfc_attach_chip()
770 mtd = nand_to_mtd(chip); in hisi_nfc_probe()
831 struct mtd_info *mtd = nand_to_mtd(&host->chip); in hisi_nfc_remove()
Dnand_amd.c22 struct mtd_info *mtd = nand_to_mtd(chip); in amd_nand_decode_id()
Dnand_toshiba.c22 struct mtd_info *mtd = nand_to_mtd(chip); in toshiba_nand_decode_id()
Djz4740_nand.c316 struct mtd_info *mtd = nand_to_mtd(chip); in jz_nand_detect_bank()
373 struct mtd_info *mtd = nand_to_mtd(chip); in jz_nand_attach_chip()
416 mtd = nand_to_mtd(chip); in jz_nand_probe()
510 nand_release(nand_to_mtd(&nand->chip)); in jz_nand_remove()
Dfsl_upm.c69 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_wait_rnb()
161 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_chip_init()
326 struct mtd_info *mtd = nand_to_mtd(&fun->chip); in fun_remove()
Dxway_nand.c173 mtd = nand_to_mtd(&data->chip); in xway_nand_probe()
226 nand_release(nand_to_mtd(&data->chip)); in xway_nand_remove()
Dorion_nand.c103 mtd = nand_to_mtd(nc); in orion_nand_probe()
199 struct mtd_info *mtd = nand_to_mtd(chip); in orion_nand_remove()
Djz4780_nand.c163 struct mtd_info *mtd = nand_to_mtd(chip); in jz4780_nand_attach_chip()
271 mtd = nand_to_mtd(chip); in jz4780_nand_init_chip()
310 nand_release(nand_to_mtd(&chip->chip)); in jz4780_nand_cleanup_chips()
Dnand_micron.c202 struct mtd_info *mtd = nand_to_mtd(chip); in micron_nand_on_die_ecc_status_4()
266 struct mtd_info *mtd = nand_to_mtd(chip); in micron_nand_on_die_ecc_status_8()
436 struct mtd_info *mtd = nand_to_mtd(chip); in micron_nand_init()
Dfsl_elbc_nand.c642 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_attach_chip()
761 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_elbc_chip_init()
818 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_elbc_chip_remove()
906 mtd = nand_to_mtd(&priv->chip); in fsl_elbc_nand_probe()
908 if (!nand_to_mtd(&priv->chip)->name) { in fsl_elbc_nand_probe()
945 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_elbc_nand_remove()
Dnuc900_nand.c246 mtd = nand_to_mtd(chip); in nuc900_nand_probe()
287 nand_release(nand_to_mtd(&nuc900_nand->chip)); in nuc900_nand_remove()
Dfsl_ifc_nand.c654 struct mtd_info *mtd = nand_to_mtd(chip); in check_erased_page()
719 struct mtd_info *mtd = nand_to_mtd(chip); in fsl_ifc_attach_chip()
822 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_init()
932 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_chip_remove()
1042 mtd = nand_to_mtd(&priv->chip); in fsl_ifc_nand_probe()
1080 struct mtd_info *mtd = nand_to_mtd(&priv->chip); in fsl_ifc_nand_remove()
Dgpio.c197 nand_release(nand_to_mtd(&gpiomtd->nand_chip)); in gpio_nand_remove()
283 mtd = nand_to_mtd(chip); in gpio_nand_probe()
Dndfc.c149 struct mtd_info *mtd = nand_to_mtd(chip); in ndfc_chip_init()
259 struct mtd_info *mtd = nand_to_mtd(&ndfc->chip); in ndfc_remove()
/Linux-v4.19/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.c159 struct mtd_info *mtd = nand_to_mtd(&this->nand); in get_ecc_strength()
194 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_by_ecc_info()
301 struct mtd_info *mtd = nand_to_mtd(&this->nand); in legacy_set_geometry()
736 struct mtd_info *mtd = nand_to_mtd(&this->nand); in gpmi_alloc_dma_buffer()
946 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page_data()
1610 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_check_transcription_stamp()
1665 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_write_transcription_stamp()
1733 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_boot_init()
1830 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_init_last()
1899 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_nand_init()
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/atmel/
Dnand-controller.c662 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nfc_copy_to_sram()
685 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nfc_copy_from_sram()
706 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nfc_set_op_addr()
760 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nand_pmecc_generate_eccbytes()
795 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nand_pmecc_correct_data()
844 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nand_pmecc_write_pg()
887 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nand_pmecc_read_pg()
924 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_hsmc_nand_pmecc_write_pg()
998 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_hsmc_nand_pmecc_read_pg()
1067 struct mtd_info *mtd = nand_to_mtd(chip); in atmel_nand_pmecc_init()
[all …]

123