Lines Matching refs:nand_to_mtd

261 	struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip));  in omap_nand_data_in_pref()
305 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_data_out_pref()
373 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_dma_transfer()
447 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_data_in_dma_pref()
468 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_data_out_dma_pref()
534 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_data_in_irq_pref()
535 struct mtd_info *mtd = nand_to_mtd(&info->nand); in omap_nand_data_in_irq_pref()
576 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_data_out_irq_pref()
577 struct mtd_info *mtd = nand_to_mtd(&info->nand); in omap_nand_data_out_irq_pref()
787 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_correct_data()
828 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_calculate_ecc()
852 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc()
900 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_enable_hwecc_bch()
1132 return _omap_calculate_ecc_bch(nand_to_mtd(chip), dat, ecc_calc, 0); in omap_calculate_ecc_bch_sw()
1216 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_elm_correct_data()
1387 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_page_bch()
1441 struct mtd_info *mtd = nand_to_mtd(chip); in omap_write_subpage_bch()
1522 struct mtd_info *mtd = nand_to_mtd(chip); in omap_read_page_bch()
1826 struct mtd_info *mtd = nand_to_mtd(chip); in omap_nand_attach_chip()
2079 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_data_in()
2094 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_data_out()
2108 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_nand_exec_instr()
2209 mtd = nand_to_mtd(nand_chip); in omap_nand_probe()