| /openbmc/u-boot/drivers/misc/ |
| H A D | cros_ec_i2c.c | 51 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_i2c_packet() argument 68 i2c_msg[0].len = out_bytes + 1; in cros_ec_i2c_packet() 72 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes); in cros_ec_i2c_packet() 117 int out_bytes = dout_len + 4; in cros_ec_i2c_command() local 129 if (out_bytes > sizeof(dev->dout)) { in cros_ec_i2c_command() 141 i2c_msg[0].len = out_bytes; in cros_ec_i2c_command() 183 cros_ec_dump_data("out", -1, dev->dout, out_bytes); in cros_ec_i2c_command()
|
| H A D | cros_ec_lpc.c | 43 int cros_ec_lpc_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_lpc_packet() argument 49 if (out_bytes > EC_LPC_HOST_PACKET_SIZE) in cros_ec_lpc_packet() 59 for (i = 0, d = (uint8_t *)dev->dout; i < out_bytes; i++, d++) in cros_ec_lpc_packet()
|
| H A D | cros_ec_spi.c | 21 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_spi_packet() argument 35 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
|
| H A D | cros_ec.c | 141 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request() local 144 if (out_bytes > (int)sizeof(cdev->dout)) { in create_proto3_request() 161 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(cdev->dout, out_bytes)); in create_proto3_request() 163 cros_ec_dump_data("out", cmd, cdev->dout, out_bytes); in create_proto3_request() 166 return out_bytes; in create_proto3_request() 256 int out_bytes, in_bytes; in send_command_proto3() local 260 out_bytes = create_proto3_request(cdev, cmd, cmd_version, in send_command_proto3() 262 if (out_bytes < 0) in send_command_proto3() 263 return out_bytes; in send_command_proto3() 271 rv = ops->packet ? ops->packet(cdev->dev, out_bytes, in_bytes) : in send_command_proto3()
|
| H A D | cros_ec_sandbox.c | 470 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_sandbox_packet() argument
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | bcmstb_spi.c | 269 const u8 *out_bytes = (u8 *)dout; in bcmstb_spi_xfer() local 307 if (out_bytes && len > NUM_CDRAM) { in bcmstb_spi_xfer() 312 if (out_bytes && !(flags & SPI_XFER_END)) { in bcmstb_spi_xfer() 320 out_bytes[0], len); in bcmstb_spi_xfer() 322 memcpy(priv->saved_cmd, out_bytes, priv->saved_cmd_len); in bcmstb_spi_xfer() 354 out_bytes ? out_bytes[len - tx_len] : 0xff); in bcmstb_spi_xfer() 355 writel(out_bytes ? out_bytes[len - tx_len] : 0xff, in bcmstb_spi_xfer()
|
| H A D | exynos_spi.c | 102 uint out_bytes, in_bytes; in spi_rx_tx() local 108 out_bytes = in_bytes = todo; in spi_rx_tx() 144 while (tx_lvl < priv->fifo_size/2 && out_bytes) { in spi_rx_tx() 152 out_bytes -= step; in spi_rx_tx() 185 assert(!out_bytes); in spi_rx_tx() 186 out_bytes = in_bytes; in spi_rx_tx() 193 in_bytes, out_bytes); in spi_rx_tx()
|
| /openbmc/u-boot/scripts/ |
| H A D | cleanpatch | 130 $out_bytes = 0; 153 $out_bytes += length($line); 230 $out_bytes += length($l); 245 if ($in_bytes != $out_bytes) {
|
| /openbmc/u-boot/arch/arm/mach-exynos/ |
| H A D | spl_boot.c | 69 uint out_bytes, in_bytes; in spi_rx_tx() local 71 out_bytes = todo; in spi_rx_tx() 84 while (tx_lvl < 32 && out_bytes) { in spi_rx_tx() 87 out_bytes -= 4; in spi_rx_tx()
|
| /openbmc/openbmc/meta-google/recipes-google/networking/network-sh/ |
| H A D | lib.sh | 276 out_bytes=() 278 out_bytes+=($(( pfx_bytes[i] | sfx_bytes[i] )))
|
| /openbmc/qemu/subprojects/libvhost-user/ |
| H A D | libvhost-user.h | 742 unsigned int *out_bytes, 755 unsigned int out_bytes);
|
| H A D | libvhost-user.c | 2451 unsigned int *out_bytes, in vu_queue_get_avail_bytes() argument 2549 if (out_bytes) { in vu_queue_get_avail_bytes() 2550 *out_bytes = out_total; in vu_queue_get_avail_bytes() 2561 unsigned int out_bytes) in vu_queue_avail_bytes() argument 2566 in_bytes, out_bytes); in vu_queue_avail_bytes() 2568 return in_bytes <= in_total && out_bytes <= out_total; in vu_queue_avail_bytes()
|
| /openbmc/u-boot/include/ |
| H A D | cros_ec.h | 230 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);
|
| /openbmc/qemu/include/hw/virtio/ |
| H A D | virtio.h | 284 unsigned int out_bytes); 290 unsigned int *out_bytes, unsigned max_in_bytes,
|
| /openbmc/qemu/hw/virtio/ |
| H A D | virtio.c | 1267 unsigned int *in_bytes, unsigned int *out_bytes, in virtqueue_split_get_avail_bytes() argument 1365 if (out_bytes) { in virtqueue_split_get_avail_bytes() 1366 *out_bytes = out_total; in virtqueue_split_get_avail_bytes() 1404 unsigned int *out_bytes, in virtqueue_packed_get_avail_bytes() argument 1508 if (out_bytes) { in virtqueue_packed_get_avail_bytes() 1509 *out_bytes = out_total; in virtqueue_packed_get_avail_bytes() 1519 unsigned int *out_bytes, unsigned max_in_bytes, in virtqueue_get_avail_bytes() argument 1544 virtqueue_packed_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1548 virtqueue_split_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1558 if (out_bytes) { in virtqueue_get_avail_bytes() [all …]
|