Lines Matching refs:omap_nand_info
144 struct omap_nand_info { struct
185 static inline struct omap_nand_info *mtd_to_omap(struct mtd_info *mtd) in mtd_to_omap() argument
187 return container_of(mtd_to_nand(mtd), struct omap_nand_info, nand); in mtd_to_omap()
207 unsigned int u32_count, int is_write, struct omap_nand_info *info) in omap_prefetch_enable()
237 static int omap_prefetch_reset(int cs, struct omap_nand_info *info) in omap_prefetch_reset()
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()
489 struct omap_nand_info *info = (struct omap_nand_info *) dev; in omap_nand_irq()
534 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); 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()
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()
1004 struct omap_nand_info *info = mtd_to_omap(mtd); in _omap_calculate_ecc_bch()
1146 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_calculate_ecc_bch_multi()
1174 struct omap_nand_info *info) in erased_sector_bitflips()
1216 struct omap_nand_info *info = mtd_to_omap(nand_to_mtd(chip)); in omap_elm_correct_data()
1388 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_write_page_bch()
1442 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_write_subpage_bch()
1523 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_read_page_bch()
1587 static bool is_elm_present(struct omap_nand_info *info, in is_elm_present()
1608 static bool omap2_nand_ecc_check(struct omap_nand_info *info) in omap2_nand_ecc_check()
1658 static int omap_get_dt_info(struct device *dev, struct omap_nand_info *info) in omap_get_dt_info()
1727 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_ooblayout_ecc()
1747 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_ooblayout_free()
1827 struct omap_nand_info *info = mtd_to_omap(mtd); 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()
2183 struct omap_nand_info *info; in omap_nand_probe()
2191 info = devm_kzalloc(&pdev->dev, sizeof(struct omap_nand_info), in omap_nand_probe()
2279 struct omap_nand_info *info = mtd_to_omap(mtd); in omap_nand_remove()