Home
last modified time | relevance | path

Searched refs:out_bytes (Results 1 – 22 of 22) sorted by relevance

/openbmc/u-boot/drivers/misc/
H A Dcros_ec_i2c.c51 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 Dcros_ec_lpc.c43 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 Dcros_ec.c141 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 Dcros_ec_spi.c21 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 Dcros_ec_sandbox.c470 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_sandbox_packet() argument
/openbmc/linux/scripts/
H A Dcleanfile132 $out_bytes = 0;
150 $out_bytes += $blank_bytes;
152 $out_bytes += length($line);
166 if ($in_bytes != $out_bytes) {
H A Dcleanpatch132 $out_bytes = 0;
155 $out_bytes += length($line);
232 $out_bytes += length($l);
247 if ($in_bytes != $out_bytes) {
/openbmc/u-boot/drivers/spi/
H A Dbcmstb_spi.c269 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 Dexynos_spi.c102 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 Dcleanpatch130 $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 Dspl_boot.c69 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 Dlib.sh276 out_bytes=()
278 out_bytes+=($(( pfx_bytes[i] | sfx_bytes[i] )))
/openbmc/qemu/subprojects/libvhost-user/
H A Dlibvhost-user.h746 unsigned int *out_bytes,
759 unsigned int out_bytes);
H A Dlibvhost-user.c2451 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 Dcros_ec.h230 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);
/openbmc/linux/drivers/spi/
H A Dspi-fsi.c230 u8 *out_bytes = (u8 *)out; in fsi_spi_data_out() local
236 out_bytes[8 - (i + 1)] = tx[i]; in fsi_spi_data_out()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio.h275 unsigned int out_bytes);
281 unsigned int *out_bytes, unsigned max_in_bytes,
/openbmc/qemu/hw/virtio/
H A Dvirtio.c1346 if (out_bytes) { in virtqueue_split_get_avail_bytes()
1347 *out_bytes = out_total; in virtqueue_split_get_avail_bytes()
1385 unsigned int *out_bytes, in virtqueue_packed_get_avail_bytes() argument
1489 if (out_bytes) { in virtqueue_packed_get_avail_bytes()
1490 *out_bytes = out_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()
1539 if (out_bytes) { in virtqueue_get_avail_bytes()
1540 *out_bytes = 0; in virtqueue_get_avail_bytes()
1547 unsigned int out_bytes) in virtqueue_avail_bytes() argument
[all …]
/openbmc/linux/arch/s390/crypto/
H A Daes_s390.c836 unsigned int n, len, in_bytes, out_bytes, in gcm_aes_crypt() local
880 out_bytes = gcm_out_walk_go(&gw_out, min_bytes); in gcm_aes_crypt()
881 bytes = min(in_bytes, out_bytes); in gcm_aes_crypt()
/openbmc/linux/drivers/char/xillybus/
H A Dxillyusb.c133 u32 out_bytes; member
1180 chan->out_bytes >> in flush_downstream()
1314 chan->out_bytes = 0; in xillyusb_open()
1686 chan->out_bytes += rc; in xillyusb_write()
/openbmc/linux/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h294 unsigned long out_bytes; member
H A Dpxa27x_udc.c196 ep->stats.out_bytes, ep->stats.out_ops, in eps_dbg_show()
521 ep->stats.out_bytes += count; in inc_ep_stats_bytes()