Lines Matching refs:mxc_nand_host

123 struct mxc_nand_host;
129 void (*send_cmd)(struct mxc_nand_host *, uint16_t, int);
130 void (*send_addr)(struct mxc_nand_host *, uint16_t, int);
132 void (*send_read_id)(struct mxc_nand_host *);
133 uint16_t (*get_dev_status)(struct mxc_nand_host *);
134 int (*check_int)(struct mxc_nand_host *);
135 void (*irq_control)(struct mxc_nand_host *, int);
136 u32 (*get_ecc_status)(struct mxc_nand_host *);
161 struct mxc_nand_host { struct
251 struct mxc_nand_host *host = nand_get_controller_data(this); in copy_spare()
294 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_do_addr_cycle()
342 static int check_int_v3(struct mxc_nand_host *host) in check_int_v3()
356 static int check_int_v1_v2(struct mxc_nand_host *host) in check_int_v1_v2()
370 static void irq_control_v1_v2(struct mxc_nand_host *host, int activate) in irq_control_v1_v2()
384 static void irq_control_v3(struct mxc_nand_host *host, int activate) in irq_control_v3()
398 static void irq_control(struct mxc_nand_host *host, int activate) in irq_control()
410 static u32 get_ecc_status_v1(struct mxc_nand_host *host) in get_ecc_status_v1()
415 static u32 get_ecc_status_v2(struct mxc_nand_host *host) in get_ecc_status_v2()
420 static u32 get_ecc_status_v3(struct mxc_nand_host *host) in get_ecc_status_v3()
427 struct mxc_nand_host *host = dev_id; in mxc_nfc_irq()
442 static int wait_op_done(struct mxc_nand_host *host, int useirq) in wait_op_done()
489 static void send_cmd_v3(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v3()
503 static void send_cmd_v1_v2(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v1_v2()
528 static void send_addr_v3(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v3()
542 static void send_addr_v1_v2(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v1_v2()
556 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v3()
572 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v2()
586 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v1()
606 static void send_read_id_v3(struct mxc_nand_host *host) in send_read_id_v3()
617 static void send_read_id_v1_v2(struct mxc_nand_host *host) in send_read_id_v1_v2()
630 static uint16_t get_dev_status_v3(struct mxc_nand_host *host) in get_dev_status_v3()
640 static uint16_t get_dev_status_v1_v2(struct mxc_nand_host *host) in get_dev_status_v1_v2()
667 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v1_v2()
685 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v3()
715 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v1()
773 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v2_v3()
820 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page()
834 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_raw()
847 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_oob()
857 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_write_page()
889 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_write_oob()
898 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_read_byte()
926 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_write_buf()
945 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_read_buf()
960 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_select_chip_v1_v3()
980 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_select_chip_v2()
1115 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in preset_v1()
1144 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_v2_setup_interface()
1218 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in preset_v2()
1267 struct mxc_nand_host *host = nand_get_controller_data(chip); in preset_v3()
1338 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_command()
1398 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_set_features()
1418 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_get_features()
1587 static inline int is_imx21_nfc(struct mxc_nand_host *host) in is_imx21_nfc()
1592 static inline int is_imx27_nfc(struct mxc_nand_host *host) in is_imx27_nfc()
1597 static inline int is_imx25_nfc(struct mxc_nand_host *host) in is_imx25_nfc()
1602 static inline int is_imx51_nfc(struct mxc_nand_host *host) in is_imx51_nfc()
1607 static inline int is_imx53_nfc(struct mxc_nand_host *host) in is_imx53_nfc()
1625 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxcnd_attach_chip()
1694 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxcnd_setup_interface()
1708 struct mxc_nand_host *host; in mxcnd_probe()
1713 host = devm_kzalloc(&pdev->dev, sizeof(struct mxc_nand_host), in mxcnd_probe()
1836 struct mxc_nand_host *host = platform_get_drvdata(pdev); in mxcnd_remove()