Home | History | Annotate | Download | only in mtd

Lines Matching refs:mtd

17 #include <linux/mtd/mtd.h>
149 void (*hwctl)(struct mtd_info *mtd, int mode);
150 int (*calculate)(struct mtd_info *mtd,
153 int (*correct)(struct mtd_info *mtd, uint8_t *dat,
156 int (*read_page)(struct mtd_info *mtd,
159 void (*write_page)(struct mtd_info *mtd,
162 int (*read_oob)(struct mtd_info *mtd,
166 int (*write_oob)(struct mtd_info *mtd,
183 uint8_t (*read_byte)(struct mtd_info *mtd);
184 u16 (*read_word)(struct mtd_info *mtd);
185 void (*write_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
186 void (*read_buf)(struct mtd_info *mtd, uint8_t *buf, int len);
187 int (*verify_buf)(struct mtd_info *mtd, const uint8_t *buf, int len);
188 void (*select_chip)(struct mtd_info *mtd, int chip);
189 int (*block_bad)(struct mtd_info *mtd, loff_t ofs, int getchip);
190 int (*block_markbad)(struct mtd_info *mtd, loff_t ofs);
191 void (*cmd_ctrl)(struct mtd_info *mtd, int dat,
193 int (*dev_ready)(struct mtd_info *mtd);
194 void (*cmdfunc)(struct mtd_info *mtd, unsigned command, int column, int page_addr);
195 int (*waitfunc)(struct mtd_info *mtd, struct nand_chip *this);
196 void (*erase_cmd)(struct mtd_info *mtd, int page);
197 int (*scan_bbt)(struct mtd_info *mtd);
198 int (*errstat)(struct mtd_info *mtd, struct nand_chip *this, int state, int status, int page);
313 void (*hwcontrol)(struct mtd_info *mtd, int cmd);
314 int (*dev_ready)(struct mtd_info *mtd);
315 void (*select_chip)(struct mtd_info *mtd, int chip);