Lines Matching refs:nand_to_mtd
256 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_hwcontrol()
348 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_pref()
396 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_pref()
542 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_dma_pref()
560 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_dma_pref()
624 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_buf_irq_pref()
672 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_buf_irq_pref()
887 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_correct_data()
928 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_calculate_ecc()
952 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc()
997 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(this)); in omap_wait()
1023 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_dev_ready()
1044 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc_bch()
1276 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0); in omap_calculate_ecc_bch_sw()
1360 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_elm_correct_data()
1531 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_page_bch()
1585 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_subpage_bch()
1666 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_page_bch()
1970 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_attach_chip()
2255 mtd = nand_to_mtd(nand_chip); in omap_nand_probe()