Lines Matching refs:nand_to_mtd
275 struct mtd_info *mtd = nand_to_mtd(chip); in bbm_in_data_chunk()
314 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_by_ecc_info()
441 struct mtd_info *mtd = nand_to_mtd(&this->nand); in get_ecc_strength()
455 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_for_large_oob()
582 struct mtd_info *mtd = nand_to_mtd(&this->nand); in legacy_set_geometry()
696 struct mtd_info *mtd = nand_to_mtd(&this->nand); in common_nfc_set_geometry()
1330 struct mtd_info *mtd = nand_to_mtd(&this->nand); in gpmi_alloc_dma_buffer()
1414 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_count_bitflips()
1531 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page()
1668 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page()
1755 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_oob()
1785 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_oob()
1815 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page_raw()
1900 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page_raw()
1980 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_block_markbad()
2092 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_write_transcription_stamp()
2157 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_boot_init()
2257 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_init_last()
2668 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_nand_init()
2793 ret = mtd_device_unregister(nand_to_mtd(chip)); in gpmi_nand_remove()