Lines Matching refs:uint16_t
144 void (*send_cmd)(struct mxc_nand_host *, uint16_t, int);
145 void (*send_addr)(struct mxc_nand_host *, uint16_t, int);
148 uint16_t (*get_dev_status)(struct mxc_nand_host *);
319 uint16_t tmp; in irq_control_v1_v2()
436 static void send_cmd_v3(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v3()
450 static void send_cmd_v1_v2(struct mxc_nand_host *host, uint16_t cmd, int useirq) in send_cmd_v1_v2()
475 static void send_addr_v3(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v3()
489 static void send_addr_v1_v2(struct mxc_nand_host *host, uint16_t addr, int islast) in send_addr_v1_v2()
577 static uint16_t get_dev_status_v3(struct mxc_nand_host *host) in get_dev_status_v3()
587 static uint16_t get_dev_status_v1_v2(struct mxc_nand_host *host) in get_dev_status_v1_v2()
591 uint16_t ret; in get_dev_status_v1_v2()
641 uint16_t ecc_status = get_ecc_status_v1(host); in mxc_nand_correct_data_v1()
702 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
714 static uint16_t mxc_nand_read_word(struct mtd_info *mtd) in mxc_nand_read_word()
718 uint16_t ret; in mxc_nand_read_word()
720 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
918 uint16_t config1 = 0; in preset_v1()
946 uint16_t config1 = 0; in preset_v2()
954 uint16_t pages_per_block = mtd->erasesize / mtd->writesize; in preset_v2()