Lines Matching refs:mtd_info

159 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * buf);
160 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len,
162 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * …
163 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len, size_t * retlen, const u_char *…
164 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len,
166 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len, size_t * retlen, const u_ch…
167 static int nand_writev (struct mtd_info *mtd, const struct iovec *vecs,
169 static int nand_writev_ecc (struct mtd_info *mtd, const struct iovec *vecs,
171 static int nand_erase (struct mtd_info *mtd, struct erase_info *instr);
172 static void nand_sync (struct mtd_info *mtd);
173 static int nand_write_page (struct mtd_info *mtd, struct nand_chip *this, int page, int col,
178 static void nand_command (struct mtd_info *mtd, unsigned command, int column, int page_addr) in nand_command()
272 static inline void nand_get_chip (struct nand_chip *this, struct mtd_info *mtd, int new_state, int … in nand_get_chip()
316 static int nand_wait(struct mtd_info *mtd, struct nand_chip *this, int state) in nand_wait()
356 static int nand_write_page (struct mtd_info *mtd, struct nand_chip *this, in nand_write_page()
541 static int nand_read (struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * buf) in nand_read()
550 static int nand_read_ecc (struct mtd_info *mtd, loff_t from, size_t len, in nand_read_ecc()
728 static int nand_read_oob (struct mtd_info *mtd, loff_t from, size_t len, size_t * retlen, u_char * … in nand_read_oob()
786 static int nand_write (struct mtd_info *mtd, loff_t to, size_t len, size_t * retlen, const u_char *… in nand_write()
793 static int nand_write_ecc (struct mtd_info *mtd, loff_t to, size_t len, in nand_write_ecc()
879 static int nand_write_oob (struct mtd_info *mtd, loff_t to, size_t len, size_t * retlen, const u_ch… in nand_write_oob()
972 static int nand_writev (struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, in nand_writev()
978 static int nand_writev_ecc (struct mtd_info *mtd, const struct iovec *vecs, unsigned long count, in nand_writev_ecc()
1091 static int nand_erase (struct mtd_info *mtd, struct erase_info *instr) in nand_erase()
1217 static void nand_sync (struct mtd_info *mtd) in nand_sync()
1262 int nand_scan (struct mtd_info *mtd) in nand_scan()