Lines Matching refs:mxs_nand_info
59 static void mxs_nand_flush_data_buf(struct mxs_nand_info *info) in mxs_nand_flush_data_buf()
66 static void mxs_nand_inval_data_buf(struct mxs_nand_info *info) in mxs_nand_inval_data_buf()
73 static void mxs_nand_flush_cmd_buf(struct mxs_nand_info *info) in mxs_nand_flush_cmd_buf()
80 static inline void mxs_nand_flush_data_buf(struct mxs_nand_info *info) {} in mxs_nand_flush_data_buf()
81 static inline void mxs_nand_inval_data_buf(struct mxs_nand_info *info) {} in mxs_nand_inval_data_buf()
82 static inline void mxs_nand_flush_cmd_buf(struct mxs_nand_info *info) {} in mxs_nand_flush_cmd_buf()
85 static struct mxs_dma_desc *mxs_nand_get_dma_desc(struct mxs_nand_info *info) in mxs_nand_get_dma_desc()
100 static void mxs_nand_return_dma_descs(struct mxs_nand_info *info) in mxs_nand_return_dma_descs()
154 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_calc_ecc_layout_by_info()
196 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_legacy_calc_ecc_layout()
242 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_calc_ecc_for_large_oob()
312 static int mxs_nand_wait_for_bch_complete(struct mxs_nand_info *nand_info) in mxs_nand_wait_for_bch_complete()
338 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_cmd_ctrl()
417 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_device_ready()
432 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_select_chip()
479 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_read_buf()
563 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_write_buf()
623 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_erased_page()
666 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_ecc_read_page()
838 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_ecc_write_page()
919 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_hook_read_oob()
944 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_hook_write_oob()
968 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_hook_block_markbad()
1027 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_ecc_read_oob()
1062 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_ecc_write_oob()
1113 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_set_geometry()
1148 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_setup_ecc()
1218 int mxs_nand_alloc_buffers(struct mxs_nand_info *nand_info) in mxs_nand_alloc_buffers()
1253 static int mxs_nand_init_dma(struct mxs_nand_info *info) in mxs_nand_init_dma()
1312 struct mxs_nand_info *nand_info; in mxs_nand_init_spl()
1315 nand_info = malloc(sizeof(struct mxs_nand_info)); in mxs_nand_init_spl()
1320 memset(nand_info, 0, sizeof(struct mxs_nand_info)); in mxs_nand_init_spl()
1356 int mxs_nand_init_ctrl(struct mxs_nand_info *nand_info) in mxs_nand_init_ctrl()
1433 struct mxs_nand_info *nand_info; in board_nand_init()
1435 nand_info = malloc(sizeof(struct mxs_nand_info)); in board_nand_init()
1440 memset(nand_info, 0, sizeof(struct mxs_nand_info)); in board_nand_init()
1500 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_mode_fcb_62bit()
1536 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_mode_fcb_40bit()
1572 struct mxs_nand_info *nand_info = nand_get_controller_data(nand); in mxs_nand_mode_normal()
1586 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_mark_byte_offset()
1595 struct mxs_nand_info *nand_info = nand_get_controller_data(chip); in mxs_nand_mark_bit_offset()