Lines Matching defs:mxc_nand_devtype_data
124 struct mxc_nand_devtype_data { struct
125 void (*preset)(struct mtd_info *);
126 int (*read_page)(struct nand_chip *chip, void *buf, void *oob, bool ecc,
128 void (*send_cmd)(struct mxc_nand_host *, uint16_t, int);
129 void (*send_addr)(struct mxc_nand_host *, uint16_t, int);
130 void (*send_page)(struct mtd_info *, unsigned 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 *);
136 const struct mtd_ooblayout_ops *ooblayout;
137 void (*select_chip)(struct nand_chip *chip, int cs);
138 int (*setup_interface)(struct nand_chip *chip, int csline,
140 void (*enable_hwecc)(struct nand_chip *chip, bool enable);
147 int irqpending_quirk;
148 int needs_ip;
150 size_t regs_offset;
151 size_t spare0_offset;
152 size_t axi_offset;
154 int spare_len;
155 int eccbytes;
156 int eccsize;
157 int ppb_shift;