Home | History | Annotate | Download | only in mtd

Lines Matching full:len

40 	u_int32_t len;
78 * @len: number of bytes to write/read. When a data buffer is given
94 size_t len;
154 int (*point) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char **mtdbuf);
157 void (*unpoint) (struct mtd_info *mtd, u_char * addr, loff_t from, size_t len);
160 int (*read) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
161 int (*write) (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char *buf);
173 int (*get_fact_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len);
174 int (*read_fact_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
175 int (*get_user_prot_info) (struct mtd_info *mtd, struct otp_info *buf, size_t len);
176 int (*read_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
177 int (*write_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf);
178 int (*lock_user_prot_reg) (struct mtd_info *mtd, loff_t from, size_t len);
182 which contains an (ofs, len) tuple.
190 int (*lock) (struct mtd_info *mtd, loff_t ofs, size_t len);
191 int (*unlock) (struct mtd_info *mtd, loff_t ofs, size_t len);