Lines Matching refs:loff_t

317 	int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
319 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
320 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
322 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len,
324 int (*_panic_write) (struct mtd_info *mtd, loff_t to, size_t len,
326 int (*_read_oob) (struct mtd_info *mtd, loff_t from,
328 int (*_write_oob) (struct mtd_info *mtd, loff_t to,
332 int (*_read_fact_prot_reg) (struct mtd_info *mtd, loff_t from,
336 int (*_read_user_prot_reg) (struct mtd_info *mtd, loff_t from,
338 int (*_write_user_prot_reg) (struct mtd_info *mtd, loff_t to,
341 int (*_lock_user_prot_reg) (struct mtd_info *mtd, loff_t from,
343 int (*_erase_user_prot_reg) (struct mtd_info *mtd, loff_t from,
346 unsigned long count, loff_t to, size_t *retlen);
348 int (*_lock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
349 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
350 int (*_is_locked) (struct mtd_info *mtd, loff_t ofs, uint64_t len);
351 int (*_block_isreserved) (struct mtd_info *mtd, loff_t ofs);
352 int (*_block_isbad) (struct mtd_info *mtd, loff_t ofs);
353 int (*_block_markbad) (struct mtd_info *mtd, loff_t ofs);
354 int (*_max_bad_blocks) (struct mtd_info *mtd, loff_t ofs, size_t len);
480 loff_t ofs, size_t len) in mtd_max_bad_blocks()
500 int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
502 int mtd_unpoint(struct mtd_info *mtd, loff_t from, size_t len);
505 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,
507 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
509 int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen,
512 int mtd_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops);
513 int mtd_write_oob(struct mtd_info *mtd, loff_t to, struct mtd_oob_ops *ops);
517 int mtd_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
521 int mtd_read_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len,
523 int mtd_write_user_prot_reg(struct mtd_info *mtd, loff_t to, size_t len,
525 int mtd_lock_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len);
526 int mtd_erase_user_prot_reg(struct mtd_info *mtd, loff_t from, size_t len);
529 unsigned long count, loff_t to, size_t *retlen);
539 int mtd_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
540 int mtd_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len);
541 int mtd_is_locked(struct mtd_info *mtd, loff_t ofs, uint64_t len);
542 int mtd_block_isreserved(struct mtd_info *mtd, loff_t ofs);
543 int mtd_block_isbad(struct mtd_info *mtd, loff_t ofs);
544 int mtd_block_markbad(struct mtd_info *mtd, loff_t ofs);
640 static inline int mtd_offset_to_wunit(struct mtd_info *mtd, loff_t offs) in mtd_offset_to_wunit()
645 static inline loff_t mtd_wunit_to_offset(struct mtd_info *mtd, loff_t base, in mtd_wunit_to_offset()