• Home
  • Raw
  • Download

Lines Matching refs:retlen

977 int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen,  in mtd_point()  argument
980 *retlen = 0; in mtd_point()
990 return mtd->_point(mtd, from, len, retlen, virt, phys); in mtd_point()
1023 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_read() argument
1027 *retlen = 0; in mtd_read()
1039 ret_code = mtd->_read(mtd, from, len, retlen, buf); in mtd_read()
1048 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() argument
1051 *retlen = 0; in mtd_write()
1059 return mtd->_write(mtd, to, len, retlen, buf); in mtd_write()
1070 int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_panic_write() argument
1073 *retlen = 0; in mtd_panic_write()
1082 return mtd->_panic_write(mtd, to, len, retlen, buf); in mtd_panic_write()
1089 ops->retlen = ops->oobretlen = 0; in mtd_read_oob()
1112 ops->retlen = ops->oobretlen = 0; in mtd_write_oob()
1487 int mtd_get_fact_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, in mtd_get_fact_prot_info() argument
1494 return mtd->_get_fact_prot_info(mtd, len, retlen, buf); in mtd_get_fact_prot_info()
1499 size_t *retlen, u_char *buf) in mtd_read_fact_prot_reg() argument
1501 *retlen = 0; in mtd_read_fact_prot_reg()
1506 return mtd->_read_fact_prot_reg(mtd, from, len, retlen, buf); in mtd_read_fact_prot_reg()
1510 int mtd_get_user_prot_info(struct mtd_info *mtd, size_t len, size_t *retlen, in mtd_get_user_prot_info() argument
1517 return mtd->_get_user_prot_info(mtd, len, retlen, buf); in mtd_get_user_prot_info()
1522 size_t *retlen, u_char *buf) in mtd_read_user_prot_reg() argument
1524 *retlen = 0; in mtd_read_user_prot_reg()
1529 return mtd->_read_user_prot_reg(mtd, from, len, retlen, buf); in mtd_read_user_prot_reg()
1534 size_t *retlen, u_char *buf) in mtd_write_user_prot_reg() argument
1538 *retlen = 0; in mtd_write_user_prot_reg()
1543 ret = mtd->_write_user_prot_reg(mtd, to, len, retlen, buf); in mtd_write_user_prot_reg()
1551 return (*retlen) ? 0 : -ENOSPC; in mtd_write_user_prot_reg()
1646 unsigned long count, loff_t to, size_t *retlen) in default_mtd_writev() argument
1662 *retlen = totlen; in default_mtd_writev()
1678 unsigned long count, loff_t to, size_t *retlen) in mtd_writev() argument
1680 *retlen = 0; in mtd_writev()
1684 return default_mtd_writev(mtd, vecs, count, to, retlen); in mtd_writev()
1685 return mtd->_writev(mtd, vecs, count, to, retlen); in mtd_writev()