Lines Matching refs:nand_to_mtd
251 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_hwcontrol()
343 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_pref()
391 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_pref()
537 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_dma_pref()
555 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_dma_pref()
619 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_irq_pref()
667 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_irq_pref()
882 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_correct_data()
923 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_calculate_ecc()
947 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc()
992 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(this)); in omap_wait()
1018 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_dev_ready()
1039 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc_bch()
1271 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0); in omap_calculate_ecc_bch_sw()
1355 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_elm_correct_data()
1526 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_page_bch()
1567 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_subpage_bch()
1635 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_page_bch()
1914 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_attach_chip()
2200 mtd = nand_to_mtd(nand_chip); in omap_nand_probe()