| /rk3399_rockchip-uboot/net/ |
| H A D | nfs.c | 611 int rlen; in nfs_readlink_reply() local 635 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_readlink_reply() 644 rlen); in nfs_readlink_reply() 645 nfs_path[pathlen + rlen] = 0; in nfs_readlink_reply() 649 rlen); in nfs_readlink_reply() 650 nfs_path[rlen] = 0; in nfs_readlink_reply() 658 int rlen; in nfs_read_reply() local 688 rlen = ntohl(rpc_pkt.u.reply.data[18]); in nfs_read_reply() 695 rlen = ntohl(rpc_pkt.u.reply.data[1 + nfsv3_data_offset]); in nfs_read_reply() 704 if (store_block(data_ptr, nfs_offset, rlen)) in nfs_read_reply() [all …]
|
| /rk3399_rockchip-uboot/examples/api/ |
| H A D | glue.c | 274 lbasize_t *rlen) in ub_dev_read() argument 287 if (!err && rlen) in ub_dev_read() 288 *rlen = act_len; in ub_dev_read() 304 int ub_dev_recv(int handle, void *buf, int len, int *rlen) in ub_dev_recv() argument 316 if (!err && rlen) in ub_dev_recv() 317 *rlen = act_len; in ub_dev_recv()
|
| H A D | glue.h | 58 lbastart_t start, lbasize_t *rlen); 60 int ub_dev_recv(int handle, void *buf, int len, int *rlen);
|
| H 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()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | ftsdc010_mci.c | 227 int rlen; in ftsdc010_request() local 235 for (rlen = 0; rlen < len && rlen < chip->fifo; ) { in ftsdc010_request() 238 rlen += 4; in ftsdc010_request() 241 len -= rlen; in ftsdc010_request()
|
| /rk3399_rockchip-uboot/drivers/core/ |
| H A D | of_addr.c | 175 int rlen; in of_translate_one() local 195 ranges = of_get_property(parent, rprop, &rlen); in of_translate_one() 200 if (ranges == NULL || rlen == 0) { in of_translate_one() 210 rlen /= 4; in of_translate_one() 212 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
|
| /rk3399_rockchip-uboot/fs/ubifs/ |
| H A D | io.c | 909 int err, rlen, overlap; in ubifs_read_node_wbuf() local 927 rlen = wbuf->offs - offs; in ubifs_read_node_wbuf() 928 if (rlen < 0) in ubifs_read_node_wbuf() 929 rlen = 0; in ubifs_read_node_wbuf() 932 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in ubifs_read_node_wbuf() 935 if (rlen > 0) { in ubifs_read_node_wbuf() 937 err = ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in ubifs_read_node_wbuf() 954 rlen = le32_to_cpu(ch->len); in ubifs_read_node_wbuf() 955 if (rlen != len) { in ubifs_read_node_wbuf() 956 ubifs_err(c, "bad node length %d, expected %d", rlen, len); in ubifs_read_node_wbuf()
|
| H A D | tnc.c | 1656 int rlen, overlap; in read_wbuf() local 1672 rlen = wbuf->offs - offs; in read_wbuf() 1673 if (rlen < 0) in read_wbuf() 1674 rlen = 0; in read_wbuf() 1677 memcpy(buf + rlen, wbuf->buf + offs + rlen - wbuf->offs, len - rlen); in read_wbuf() 1680 if (rlen > 0) in read_wbuf() 1682 return ubifs_leb_read(c, lnum, buf, offs, rlen, 0); in read_wbuf()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | renesas_rpc_spi.c | 247 u32 rlen = din ? (bitlen / 8) : 0; in rpc_spi_xfer() local 253 if (!wlen || rlen) in rpc_spi_xfer() 270 if (wlen || (!rlen && !wlen) || flags == SPI_XFER_ONCE) { in rpc_spi_xfer() 355 if (rlen) in rpc_spi_xfer() 356 memcpy_fromio(din, (void *)(priv->extr + offset), rlen); in rpc_spi_xfer()
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | ftmac110.c | 330 uint32_t len, rlen = 0; in ftmac110_recv() local 351 rlen += len; in ftmac110_recv() 362 return rlen; in ftmac110_recv()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | fdt_support.c | 1259 int rlen; in of_translate_one() local 1275 ranges = fdt_getprop(blob, parent, rprop, &rlen); in of_translate_one() 1276 if (ranges == NULL || rlen == 0) { in of_translate_one() 1286 rlen /= 4; in of_translate_one() 1288 for (; rlen >= rone; rlen -= rone, ranges += rone) { in of_translate_one()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | mxsimage.c | 1593 ssize_t rlen; in sb_load_cmdfile() local 1600 while ((rlen = getline(&line, &len, fp)) > 0) { in sb_load_cmdfile() 1604 line[rlen - 1] = '\0'; in sb_load_cmdfile() 1607 cmd.len = rlen; in sb_load_cmdfile()
|