/u-boot/net/ |
A D | nfs.c | 620 int rlen; in nfs_readlink_reply() local 656 rlen); in nfs_readlink_reply() 661 rlen); in nfs_readlink_reply() 662 nfs_path[rlen] = 0; in nfs_readlink_reply() 670 int rlen; in nfs_read_reply() local 722 return rlen; in nfs_read_reply() 745 int rlen; in nfs_handler() local 846 if (rlen > 0) { in nfs_handler() 849 } else if ((rlen == -NFSERR_ISDIR) || (rlen == -NFSERR_INVAL)) { in nfs_handler() 854 if (!rlen) in nfs_handler() [all …]
|
/u-boot/examples/api/ |
A D | glue.c | 275 lbasize_t *rlen) in ub_dev_read() argument 288 if (!err && rlen) in ub_dev_read() 289 *rlen = act_len; in ub_dev_read() 305 int ub_dev_recv(int handle, void *buf, int len, int *rlen) in ub_dev_recv() argument 317 if (!err && rlen) in ub_dev_recv() 318 *rlen = act_len; in ub_dev_recv()
|
A D | glue.h | 57 lbastart_t start, lbasize_t *rlen); 59 int ub_dev_recv(int handle, void *buf, int len, int *rlen);
|
A D | demo.c | 33 lbasize_t rlen; in main() local 118 else if ((rv = ub_dev_read(i, buf, 1, 0, &rlen)) != 0) in main()
|
/u-boot/drivers/core/ |
A D | of_addr.c | 172 int rlen; in of_translate_one() local 193 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one() 194 if (ranges == NULL || rlen == 0) { in of_translate_one() 204 rlen /= 4; in of_translate_one() 206 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
|
/u-boot/lib/rsa/ |
A D | rsa-keyprop.c | 657 int rlen, i, ret = 0; in rsa_gen_key_prop() local 705 rlen = (*prop)->num_bits * 2; /* #bits of R^2 = (2^num_bits)^2 */ in rsa_gen_key_prop() 707 *(uint8_t *)&rr[0] = (1 << (rlen % 8)); in rsa_gen_key_prop() 708 for (i = 1; i < (((rlen + 31) >> 5) + 1); i++) in rsa_gen_key_prop() 710 br_i32_decode(rrtmp, rr, ((rlen + 7) >> 3) + 1); in rsa_gen_key_prop() 713 rlen = ((*prop)->num_bits + 7) >> 3; /* #bytes of R^2 mod n */ in rsa_gen_key_prop() 714 (*prop)->rr = malloc(rlen); in rsa_gen_key_prop() 719 br_i32_encode((void *)(*prop)->rr, rlen, rr); in rsa_gen_key_prop()
|
/u-boot/drivers/mmc/ |
A D | ftsdc010_mci.c | 260 int rlen; in ftsdc010_request() local 268 for (rlen = 0; rlen < len && rlen < chip->fifo; ) { in ftsdc010_request() 271 rlen += 4; in ftsdc010_request() 274 len -= rlen; in ftsdc010_request()
|
/u-boot/fs/ubifs/ |
A D | io.c | 912 int err, rlen, overlap; in ubifs_read_node_wbuf() local 930 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf() 931 if (rlen < 0) in ubifs_read_node_wbuf() 932 rlen = 0; in ubifs_read_node_wbuf() 935 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in ubifs_read_node_wbuf() 938 if (rlen > 0) { in ubifs_read_node_wbuf() 940 err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in ubifs_read_node_wbuf() 957 rlen = le32_to_cpu(ch->len); in ubifs_read_node_wbuf() 958 if (rlen != len) { in ubifs_read_node_wbuf() 959 ubifs_err(c, "bad node length %d, expected %d", rlen, len); in ubifs_read_node_wbuf()
|
A D | tnc.c | 1643 int rlen, overlap; in read_wbuf() local 1659 rlen = wbuf->offs - offs; in read_wbuf() 1660 if (rlen < 0) in read_wbuf() 1661 rlen = 0; in read_wbuf() 1664 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in read_wbuf() 1667 if (rlen > 0) in read_wbuf() 1669 return ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in read_wbuf()
|
/u-boot/drivers/spi/ |
A D | renesas_rpc_spi.c | 249 u32 rlen = din ? (bitlen / 8) : 0; in rpc_spi_xfer() local 255 if (!wlen || rlen) in rpc_spi_xfer() 272 if (wlen || (!rlen && !wlen) || flags == SPI_XFER_ONCE) { in rpc_spi_xfer() 357 if (rlen) in rpc_spi_xfer() 358 memcpy_fromio(din, (void *)(priv->extr + offset), rlen); in rpc_spi_xfer()
|
/u-boot/drivers/net/ |
A D | ftmac110.c | 331 uint32_t len, rlen = 0; in ftmac110_recv() local 352 rlen += len; in ftmac110_recv() 363 return rlen; in ftmac110_recv()
|
/u-boot/drivers/pci/ |
A D | pci_mvebu.c | 377 int rlen, nranges, rangesz, pna, i; in mvebu_get_tgt_attr() local 382 range = ofnode_get_property(node, "ranges", &rlen); in mvebu_get_tgt_attr() 394 nranges = rlen / sizeof(__be32) / rangesz; in mvebu_get_tgt_attr()
|
/u-boot/common/ |
A D | fdt_support.c | 1197 int rlen; in of_translate_one() local 1213 ranges = fdt_getprop(blob, parent, rprop, &rlen); in of_translate_one() 1214 if (ranges == NULL || rlen == 0) { in of_translate_one() 1224 rlen /= 4; in of_translate_one() 1226 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
|
/u-boot/tools/ |
A D | mxsimage.c | 1594 ssize_t rlen; in sb_load_cmdfile() local 1601 while ((rlen = getline(&line, &len, fp)) > 0) { in sb_load_cmdfile() 1605 line[rlen - 1] = '\0'; in sb_load_cmdfile() 1608 cmd.len = rlen; in sb_load_cmdfile()
|