/openbmc/u-boot/drivers/misc/ |
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 51 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); in cros_ec_spi_packet() 61 return in_bytes; in cros_ec_spi_packet() 85 int in_bytes = din_len + 4; /* status, length, checksum, trailer */ in cros_ec_spi_command() local 101 if (in_bytes > sizeof(dev->din)) { in cros_ec_spi_command() 115 memset(dev->din, '\0', in_bytes); in cros_ec_spi_command() 138 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p, in cros_ec_spi_command()
|
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 76 i2c_msg[1].len = in_bytes + 2; in cros_ec_i2c_packet() 104 memmove(dev->din, &ec_response_i2c->ec_response, in_bytes); in cros_ec_i2c_packet() 106 return in_bytes; in cros_ec_i2c_packet() 119 int in_bytes = din_len + 3; in cros_ec_i2c_command() local 133 if (in_bytes > sizeof(dev->din)) { in cros_ec_i2c_command() 178 i2c_msg[1].len = in_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 52 if (in_bytes > EC_LPC_HOST_PACKET_SIZE) in cros_ec_lpc_packet() 69 for (i = 0, d = dev->din; i < in_bytes; i++, d++) in cros_ec_lpc_packet() 72 return in_bytes; in cros_ec_lpc_packet()
|
H A D | cros_ec.c | 178 int in_bytes = din_len + sizeof(struct ec_host_response); in prepare_proto3_response_buffer() local 181 if (in_bytes > (int)sizeof(cdev->din)) { in prepare_proto3_response_buffer() 187 return in_bytes; in prepare_proto3_response_buffer() 206 int in_bytes; in handle_proto3_response() local 230 in_bytes = sizeof(*rs) + rs->data_len; in handle_proto3_response() 233 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response() 256 int out_bytes, in_bytes; in send_command_proto3() local 266 in_bytes = prepare_proto3_response_buffer(cdev, din_len); in send_command_proto3() 267 if (in_bytes < 0) in send_command_proto3() 268 return in_bytes; in send_command_proto3() [all …]
|
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 493 return in_bytes; in cros_ec_sandbox_packet()
|
/openbmc/u-boot/drivers/spi/ |
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() 132 toread = in_bytes; in spi_rx_tx() 134 while (in_bytes) { in spi_rx_tx() 173 in_bytes -= step; in spi_rx_tx() 186 out_bytes = in_bytes; in spi_rx_tx() 187 toread = in_bytes; in spi_rx_tx() 193 in_bytes, out_bytes); in spi_rx_tx()
|
H A D | bcmstb_spi.c | 270 u8 *in_bytes = (u8 *)din; in bcmstb_spi_xfer() local 361 if (!in_bytes) in bcmstb_spi_xfer() 367 !in_bytes, in bcmstb_spi_xfer() 371 !in_bytes && in bcmstb_spi_xfer() 384 if (in_bytes) { in bcmstb_spi_xfer() 386 in_bytes[len - rx_len] = in bcmstb_spi_xfer() 391 priv->rx_slot, in_bytes[len - rx_len]); in bcmstb_spi_xfer()
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | spl_boot.c | 69 uint out_bytes, in_bytes; in spi_rx_tx() local 72 in_bytes = todo; in spi_rx_tx() 77 while (in_bytes) { in spi_rx_tx() 90 while (rx_lvl >= 4 && in_bytes) { in spi_rx_tx() 94 in_bytes -= 4; in spi_rx_tx()
|
/openbmc/linux/scripts/ |
H A D | cleanfile | 131 $in_bytes = 0; 141 $in_bytes += length($line); 166 if ($in_bytes != $out_bytes) {
|
H A D | cleanpatch | 131 $in_bytes = 0; 142 $in_bytes += length($line); 247 if ($in_bytes != $out_bytes) {
|
/openbmc/u-boot/scripts/ |
H A D | cleanpatch | 129 $in_bytes = 0; 140 $in_bytes += length($line); 245 if ($in_bytes != $out_bytes) {
|
/openbmc/openbmc/poky/bitbake/lib/bs4/ |
H A D | dammit.py | 771 def detwingle(cls, in_bytes, main_encoding="utf8", argument 799 while pos < len(in_bytes): 800 byte = in_bytes[pos] 815 byte_chunks.append(in_bytes[chunk_start:pos]) 827 return in_bytes 830 byte_chunks.append(in_bytes[chunk_start:])
|
/openbmc/qemu/subprojects/libvhost-user/ |
H A D | libvhost-user.h | 745 void vu_queue_get_avail_bytes(VuDev *vdev, VuVirtq *vq, unsigned int *in_bytes, 758 bool vu_queue_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int in_bytes,
|
H A D | libvhost-user.c | 2450 vu_queue_get_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int *in_bytes, in vu_queue_get_avail_bytes() argument 2546 if (in_bytes) { in vu_queue_get_avail_bytes() 2547 *in_bytes = in_total; in vu_queue_get_avail_bytes() 2560 vu_queue_avail_bytes(VuDev *dev, VuVirtq *vq, unsigned int in_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 | 274 int virtqueue_avail_bytes(VirtQueue *vq, unsigned int in_bytes, 280 int virtqueue_get_avail_bytes(VirtQueue *vq, unsigned int *in_bytes,
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio.c | 1343 if (in_bytes) { in virtqueue_split_get_avail_bytes() 1344 *in_bytes = in_total; in virtqueue_split_get_avail_bytes() 1384 unsigned int *in_bytes, in virtqueue_packed_get_avail_bytes() argument 1486 if (in_bytes) { in virtqueue_packed_get_avail_bytes() 1487 *in_bytes = in_total; in virtqueue_packed_get_avail_bytes() 1525 virtqueue_packed_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1529 virtqueue_split_get_avail_bytes(vq, in_bytes, out_bytes, in virtqueue_get_avail_bytes() 1536 if (in_bytes) { in virtqueue_get_avail_bytes() 1537 *in_bytes = 0; in virtqueue_get_avail_bytes() 1546 int virtqueue_avail_bytes(VirtQueue *vq, unsigned int in_bytes, in virtqueue_avail_bytes() argument [all …]
|
/openbmc/linux/arch/s390/crypto/ |
H A D | aes_s390.c | 836 unsigned int n, len, in_bytes, out_bytes, in gcm_aes_crypt() local 879 in_bytes = gcm_in_walk_go(&gw_in, min_bytes); in gcm_aes_crypt() 881 bytes = min(in_bytes, out_bytes); in gcm_aes_crypt()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | pxa27x_udc.h | 293 unsigned long in_bytes; member
|
H A D | pxa27x_udc.c | 195 ep->stats.in_bytes, ep->stats.in_ops, in eps_dbg_show() 519 ep->stats.in_bytes += count; in inc_ep_stats_bytes()
|
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | 1646 unsigned int in_bytes; in virtio_net_has_buffers() local 1650 opaque = virtqueue_get_avail_bytes(q->rx_vq, &in_bytes, NULL, in virtio_net_has_buffers() 1653 if (bufsize <= in_bytes) { in virtio_net_has_buffers()
|