Lines Matching refs:nand_to_mtd
273 struct mtd_info *mtd = nand_to_mtd(chip); in bbm_in_data_chunk()
312 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_by_ecc_info()
439 struct mtd_info *mtd = nand_to_mtd(&this->nand); in get_ecc_strength()
453 struct mtd_info *mtd = nand_to_mtd(chip); in set_geometry_for_large_oob()
580 struct mtd_info *mtd = nand_to_mtd(&this->nand); in legacy_set_geometry()
694 struct mtd_info *mtd = nand_to_mtd(&this->nand); in common_nfc_set_geometry()
1328 struct mtd_info *mtd = nand_to_mtd(&this->nand); in gpmi_alloc_dma_buffer()
1412 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_count_bitflips()
1529 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page()
1666 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page()
1753 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_oob()
1783 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_oob()
1813 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_read_page_raw()
1898 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_ecc_write_page_raw()
1978 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_block_markbad()
2090 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_write_transcription_stamp()
2155 struct mtd_info *mtd = nand_to_mtd(chip); in mx23_boot_init()
2255 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_init_last()
2664 struct mtd_info *mtd = nand_to_mtd(chip); in gpmi_nand_init()
2789 ret = mtd_device_unregister(nand_to_mtd(chip)); in gpmi_nand_remove()