Home
last modified time | relevance | path

Searched refs:retlen (Results 1 – 25 of 25) sorted by relevance

/external/u-boot/include/linux/mtd/
Dmtd.h86 size_t retlen; member
236 size_t *retlen, void **virt, resource_size_t *phys);
244 size_t *retlen, u_char *buf);
246 size_t *retlen, const u_char *buf);
248 size_t *retlen, const u_char *buf);
254 size_t *retlen, struct otp_info *buf);
256 size_t len, size_t *retlen, u_char *buf);
258 size_t *retlen, struct otp_info *buf);
260 size_t len, size_t *retlen, u_char *buf);
262 size_t len, size_t *retlen, u_char *buf);
[all …]
Drawnand.h1096 size_t *retlen, uint8_t *buf);
/external/u-boot/cmd/
Donenand.c62 size_t *retlen, u_char *buf, int oob) in onenand_block_read() argument
69 .retlen = 0, in onenand_block_read()
92 ops.retlen = 0; in onenand_block_read()
102 *retlen += ops.retlen; in onenand_block_read()
109 size_t *retlen) in onenand_write_oneblock_withoob() argument
128 *retlen = (ret) ? 0 : mtd->erasesize; in onenand_write_oneblock_withoob()
133 size_t *retlen, const u_char * buf, int withoob) in onenand_block_write() argument
144 *retlen = 0; in onenand_block_write()
178 *retlen += _retlen; in onenand_block_write()
231 size_t retlen; in onenand_block_test() local
[all …]
/external/u-boot/drivers/mtd/
Dmtdcore.c878 int mtd_point(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_point() argument
881 *retlen = 0; in mtd_point()
891 return mtd->_point(mtd, from, len, retlen, virt, phys); in mtd_point()
925 int mtd_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, in mtd_read() argument
929 *retlen = 0; in mtd_read()
940 ret_code = mtd->_read(mtd, from, len, retlen, buf); in mtd_read()
949 int mtd_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_write() argument
952 *retlen = 0; in mtd_write()
959 return mtd->_write(mtd, to, len, retlen, buf); in mtd_write()
970 int mtd_panic_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, in mtd_panic_write() argument
[all …]
Dmtdpart.c85 size_t *retlen, u_char *buf) in part_read() argument
93 retlen, buf); in part_read()
105 size_t *retlen, void **virt, resource_size_t *phys) in part_point() argument
110 retlen, virt, phys); in part_point()
172 size_t len, size_t *retlen, u_char *buf) in part_read_user_prot_reg() argument
176 retlen, buf); in part_read_user_prot_reg()
180 size_t *retlen, struct otp_info *buf) in part_get_user_prot_info() argument
183 return part->master->_get_user_prot_info(part->master, len, retlen, in part_get_user_prot_info()
188 size_t len, size_t *retlen, u_char *buf) in part_read_fact_prot_reg() argument
192 retlen, buf); in part_read_fact_prot_reg()
[all …]
Dmtdconcat.c62 size_t * retlen, u_char * buf) in concat_read() argument
69 *retlen = 0; in concat_read()
105 *retlen += retsize; in concat_read()
118 size_t * retlen, const u_char * buf) in concat_write() argument
125 *retlen = 0; in concat_write()
146 *retlen += retsize; in concat_write()
161 unsigned long count, loff_t to, size_t * retlen) in concat_writev() argument
220 *retlen += retsize; in concat_writev()
242 ops->retlen = ops->oobretlen = 0; in concat_read_oob()
257 ops->retlen += devops.retlen; in concat_read_oob()
[all …]
Dcfi_mtd.c68 size_t *retlen, u_char *buf) in cfi_mtd_read() argument
74 *retlen = len; in cfi_mtd_read()
80 size_t *retlen, const u_char *buf) in cfi_mtd_write() argument
91 *retlen = len; in cfi_mtd_write()
Daltera_qspi.c110 size_t retlen; in write_buff() local
113 ret = mtd_write(mtd, to, cnt, &retlen, src); in write_buff()
195 size_t *retlen, u_char *buf) in altera_qspi_read() argument
201 *retlen = len; in altera_qspi_read()
207 size_t *retlen, const u_char *buf) in altera_qspi_write() argument
223 *retlen = len; in altera_qspi_write()
/external/u-boot/env/
Donenand.c35 size_t retlen; in env_onenand_load() local
53 &retlen, (u_char *)buf); in env_onenand_load()
74 size_t retlen; in env_onenand_save() local
99 if (mtd_write(mtd, env_addr, ONENAND_MAX_ENV_SIZE, &retlen, in env_onenand_save()
/external/dtc/tests/
Dtestutils.c91 int retlen; in check_property() local
96 prop = fdt_get_property(fdt, nodeoffset, name, &retlen); in check_property()
100 fdt_strerror(retlen)); in check_property()
113 if (proplen != retlen) in check_property()
116 name, retlen, proplen); in check_property()
/external/u-boot/drivers/mtd/spi/
Dsf_mtd.c36 size_t *retlen, u_char *buf) in spi_flash_mtd_read() argument
43 *retlen = len; in spi_flash_mtd_read()
49 size_t *retlen, const u_char *buf) in spi_flash_mtd_write() argument
56 *retlen = len; in spi_flash_mtd_write()
/external/e2fsprogs/debugfs/
Dls.c52 int retlen = 0; in print_filename() local
69 retlen += 2; in print_filename()
75 retlen++; in print_filename()
79 retlen++; in print_filename()
81 return retlen; in print_filename()
/external/u-boot/drivers/mtd/nand/
Dnand_util.c826 size_t retlen; in nand_torture() local
857 err = mtd_read(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
858 if ((err && err != -EUCLEAN) || retlen != mtd->erasesize) { in nand_torture()
874 err = mtd_write(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
875 if (err || retlen != mtd->erasesize) { in nand_torture()
881 err = mtd_read(mtd, offset, mtd->erasesize, &retlen, buf); in nand_torture()
882 if ((err && err != -EUCLEAN) || retlen != mtd->erasesize) { in nand_torture()
Dnand_bbt.c174 size_t retlen, len, totlen; in read_bbt() local
196 res = mtd_read(mtd, from, len, &retlen, buf); in read_bbt()
291 size_t retlen; in scan_read_data() local
298 return mtd_read(mtd, offs, len, &retlen, buf); in scan_read_data()
626 size_t retlen, len = 0; in write_bbt() local
720 res = mtd_read(mtd, to, len, &retlen, buf); in write_bbt()
722 if (retlen != len) { in write_bbt()
Dnand_base.c1853 ops->retlen = ops->len - (size_t) readlen; in nand_do_read_ops()
1877 size_t *retlen, uint8_t *buf) in nand_read() argument
1888 *retlen = ops.retlen; in nand_read()
2137 ops->retlen = 0; in nand_read_oob()
2539 ops->retlen = 0; in nand_do_write_ops()
2633 ops->retlen = ops->len - writelen; in nand_do_write_ops()
2654 size_t *retlen, const uint8_t *buf) in panic_nand_write() argument
2673 *retlen = ops.retlen; in panic_nand_write()
2688 size_t *retlen, const uint8_t *buf) in nand_write() argument
2699 *retlen = ops.retlen; in nand_write()
[all …]
/external/u-boot/include/
Donenand_uboot.h34 size_t * retlen, u_char * buf);
37 size_t * retlen, const u_char * buf);
/external/curl/packages/vms/
Dcurl_crtl_init.c52 unsigned short int *retlen; member
98 itlst[0].retlen = &result; in sys_trnlnm()
144 item_list[0].retlen = NULL; in sys_crelnm()
/external/e2fsprogs/intl/
Ddcigettext.c441 size_t retlen; in DCIGETTEXT() local
621 retval = _nl_find_msg (domain, binding, msgid1, &retlen); in DCIGETTEXT()
630 msgid1, &retlen); in DCIGETTEXT()
663 newp->translation_length = retlen; in DCIGETTEXT()
680 (*foundp)->translation_length = retlen; in DCIGETTEXT()
687 retval = plural_lookup (domain, n, retval, retlen); in DCIGETTEXT()
/external/u-boot/fs/jffs2/
Djffs2_1pass.c180 size_t retlen; in read_nand_cached() local
202 retlen = NAND_CACHE_SIZE; in read_nand_cached()
204 &retlen, nand_cache) < 0 || in read_nand_cached()
205 retlen != NAND_CACHE_SIZE) { in read_nand_cached()
283 size_t retlen; in read_onenand_cached() local
301 retlen = ONENAND_CACHE_SIZE; in read_onenand_cached()
302 if (onenand_read(&onenand_mtd, onenand_cache_off, retlen, in read_onenand_cached()
303 &retlen, onenand_cache) < 0 || in read_onenand_cached()
304 retlen != ONENAND_CACHE_SIZE) { in read_onenand_cached()
/external/pdfium/testing/
Dtest_support.cpp80 size_t* retlen) { in GetFileContents() argument
103 *retlen = bytes_read; in GetFileContents()
Dtest_support.h66 size_t* retlen);
/external/u-boot/drivers/mtd/onenand/
Donenand_base.c874 ops->retlen = 0; in onenand_read_ops_nolock()
977 ops->retlen = read; in onenand_read_ops_nolock()
1102 size_t * retlen, u_char * buf) in onenand_read() argument
1116 *retlen = ops.retlen; in onenand_read()
1427 ops->retlen = 0; in onenand_write_ops_nolock()
1516 ops->retlen = written; in onenand_write_ops_nolock()
1650 size_t * retlen, const u_char * buf) in onenand_write() argument
1664 *retlen = ops.retlen; in onenand_write()
Donenand_bbt.c93 ops.len = ops.ooboffs = ops.retlen = ops.oobretlen = 0; in create_bbt()
/external/libmtp/src/
Dptp-pack.c2652 uint8_t retlen; in ptp_pack_EK_text() local
2677 …ptp_pack_string(params, text->title, curdata, 0, &retlen); curdata+=2*retlen+1;htod16a(curdata,0);… in ptp_pack_EK_text()
2681 …ptp_pack_string(params, text->line[i], curdata, 0, &retlen); curdata+=2*retlen+1;htod16a(curdata,0… in ptp_pack_EK_text()
/external/curl/lib/
Dhttp2.c1745 ssize_t retlen = stream->memlen; in http2_recv() local
1747 retlen, stream->stream_id)); in http2_recv()
1760 return retlen; in http2_recv()