Lines Matching refs:loff_t
47 static inline int nand_read(struct mtd_info *info, loff_t ofs, size_t *len, in nand_read()
53 static inline int nand_write(struct mtd_info *info, loff_t ofs, size_t *len, in nand_write()
59 static inline int nand_block_isbad(struct mtd_info *info, loff_t ofs) in nand_block_isbad()
64 static inline int nand_erase(struct mtd_info *info, loff_t off, size_t size) in nand_erase()
84 loff_t length; /* number of bytes to erase */
85 loff_t offset; /* first address in NAND to erase */
95 loff_t lim;
100 int nand_read_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length,
101 size_t *actual, loff_t lim, u_char *buffer);
106 int nand_write_skip_bad(struct mtd_info *mtd, loff_t offset, size_t *length,
107 size_t *actual, loff_t lim, u_char *buffer, int flags);
110 int nand_torture(struct mtd_info *mtd, loff_t offset);
112 loff_t ofs);
113 int nand_verify(struct mtd_info *mtd, loff_t ofs, size_t len, u_char *buf);
119 int nand_unlock(struct mtd_info *mtd, loff_t start, size_t length,
121 int nand_get_lock_status(struct mtd_info *mtd, loff_t offset);