Searched refs:out_bytes (Results 1 - 10 of 10) sorted by relevance

/u-boot/drivers/misc/
H A Dcros_ec_i2c.c52 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
69 i2c_msg[0].len = out_bytes + 1;
73 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes);
118 int out_bytes = dout_len + 4; local
130 if (out_bytes > sizeof(dev->dout)) {
142 i2c_msg[0].len = out_bytes;
184 cros_ec_dump_data("out", -1, dev->dout, out_bytes);
H A Dcros_ec_spi.c22 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
36 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN);
H A Dcros_ec_lpc.c47 int cros_ec_lpc_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
53 if (out_bytes > EC_LPC_HOST_PACKET_SIZE)
63 for (i = 0, d = (uint8_t *)dev->dout; i < out_bytes; i++, d++)
H A Dcros_ec.c147 int out_bytes = dout_len + sizeof(*rq); local
150 if (out_bytes > (int)sizeof(cdev->dout)) {
167 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(cdev->dout, out_bytes));
169 cros_ec_dump_data("out", cmd, cdev->dout, out_bytes);
172 return out_bytes;
262 int out_bytes, in_bytes; local
266 out_bytes = create_proto3_request(cdev, cmd, cmd_version,
268 if (out_bytes < 0)
269 return out_bytes;
277 rv = ops->packet ? ops->packet(cdev->dev, out_bytes, in_byte
[all...]
H A Dcros_ec_sandbox.c600 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
/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) {
/u-boot/drivers/spi/
H A Dexynos_spi.c106 uint out_bytes, in_bytes; local
112 out_bytes = in_bytes = todo;
148 while (tx_lvl < priv->fifo_size/2 && out_bytes) {
156 out_bytes -= step;
189 assert(!out_bytes);
190 out_bytes = in_bytes;
196 debug("SPI timeout: in_bytes=%d, out_bytes=%d, ",
197 in_bytes, out_bytes);
H A Dbcmstb_spi.c270 const u8 *out_bytes = (u8 *)dout; local
308 if (out_bytes && len > NUM_CDRAM) {
313 if (out_bytes && !(flags & SPI_XFER_END)) {
321 out_bytes[0], len);
323 memcpy(priv->saved_cmd, out_bytes, priv->saved_cmd_len);
355 out_bytes ? out_bytes[len - tx_len] : 0xff);
356 writel(out_bytes ? out_bytes[len - tx_len] : 0xff,
/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c103 uint out_bytes, in_bytes; local
105 out_bytes = todo;
118 while (tx_lvl < 32 && out_bytes) {
121 out_bytes -= 4;
/u-boot/include/
H A Dcros_ec.h268 * @out_bytes: Number of bytes to send (from struct cros_ec_dev->dout)
272 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);

Completed in 75 milliseconds