Lines Matching refs:mxc_nand_host

122 struct mxc_nand_host;
128 void (*send_cmd)(struct mxc_nand_host *, uint16_t, int);
129 void (*send_addr)(struct mxc_nand_host *, uint16_t, int);
131 void (*send_read_id)(struct mxc_nand_host *);
132 uint16_t (*get_dev_status)(struct mxc_nand_host *);
133 int (*check_int)(struct mxc_nand_host *);
134 void (*irq_control)(struct mxc_nand_host *, int);
135 u32 (*get_ecc_status)(struct mxc_nand_host *);
160 struct mxc_nand_host { struct
250 struct mxc_nand_host *host = nand_get_controller_data(this); in copy_spare()
293 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_do_addr_cycle()
341 static int check_int_v3(struct mxc_nand_host *host) in check_int_v3()
355 static int check_int_v1_v2(struct mxc_nand_host *host) in check_int_v1_v2()
369 static void irq_control_v1_v2(struct mxc_nand_host *host, int activate) in irq_control_v1_v2()
383 static void irq_control_v3(struct mxc_nand_host *host, int activate) in irq_control_v3()
397 static void irq_control(struct mxc_nand_host *host, int activate) in irq_control()
409 static u32 get_ecc_status_v1(struct mxc_nand_host *host) in get_ecc_status_v1()
414 static u32 get_ecc_status_v2(struct mxc_nand_host *host) in get_ecc_status_v2()
419 static u32 get_ecc_status_v3(struct mxc_nand_host *host) in get_ecc_status_v3()
426 struct mxc_nand_host *host = dev_id; in mxc_nfc_irq()
441 static int wait_op_done(struct mxc_nand_host *host, int useirq) in wait_op_done()
488 static void send_cmd_v3(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v3()
502 static void send_cmd_v1_v2(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v1_v2()
527 static void send_addr_v3(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v3()
541 static void send_addr_v1_v2(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v1_v2()
555 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v3()
571 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v2()
585 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in send_page_v1()
605 static void send_read_id_v3(struct mxc_nand_host *host) in send_read_id_v3()
616 static void send_read_id_v1_v2(struct mxc_nand_host *host) in send_read_id_v1_v2()
629 static uint16_t get_dev_status_v3(struct mxc_nand_host *host) in get_dev_status_v3()
639 static uint16_t get_dev_status_v1_v2(struct mxc_nand_host *host) in get_dev_status_v1_v2()
666 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v1_v2()
684 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_enable_hwecc_v3()
714 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v1()
772 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_v2_v3()
819 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page()
833 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_page_raw()
846 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_read_oob()
856 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_write_page()
888 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_write_oob()
897 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_read_byte()
925 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_write_buf()
944 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_read_buf()
959 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_select_chip_v1_v3()
979 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_select_chip_v2()
1114 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in preset_v1()
1143 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_v2_setup_interface()
1217 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in preset_v2()
1266 struct mxc_nand_host *host = nand_get_controller_data(chip); in preset_v3()
1337 struct mxc_nand_host *host = nand_get_controller_data(nand_chip); in mxc_nand_command()
1397 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_set_features()
1417 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxc_nand_get_features()
1586 static inline int is_imx21_nfc(struct mxc_nand_host *host) in is_imx21_nfc()
1591 static inline int is_imx27_nfc(struct mxc_nand_host *host) in is_imx27_nfc()
1596 static inline int is_imx25_nfc(struct mxc_nand_host *host) in is_imx25_nfc()
1614 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxcnd_attach_chip()
1683 struct mxc_nand_host *host = nand_get_controller_data(chip); in mxcnd_setup_interface()
1697 struct mxc_nand_host *host; in mxcnd_probe()
1701 host = devm_kzalloc(&pdev->dev, sizeof(struct mxc_nand_host), in mxcnd_probe()
1822 struct mxc_nand_host *host = platform_get_drvdata(pdev); in mxcnd_remove()