Searched refs:in_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
77 i2c_msg[1].len = in_bytes + 2;
105 memmove(dev->din, &ec_response_i2c->ec_response, in_bytes);
107 return in_bytes;
120 int in_bytes = din_len + 3; local
134 if (in_bytes > sizeof(dev->din)) {
179 i2c_msg[1].len = in_bytes;
H A Dcros_ec_spi.c22 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
52 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0);
62 return in_bytes;
86 int in_bytes = din_len + 4; /* status, length, checksum, trailer */ local
102 if (in_bytes > sizeof(dev->din)) {
116 memset(dev->din, '\0', in_bytes);
139 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p,
H A Dcros_ec_lpc.c47 int cros_ec_lpc_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
56 if (in_bytes > EC_LPC_HOST_PACKET_SIZE)
73 for (i = 0, d = dev->din; i < in_bytes; i++, d++)
76 return in_bytes;
H A Dcros_ec.c184 int in_bytes = din_len + sizeof(struct ec_host_response); local
187 if (in_bytes > (int)sizeof(cdev->din)) {
193 return in_bytes;
212 int in_bytes; local
235 /* Update in_bytes to actual data size */
236 in_bytes = sizeof(*rs) + rs->data_len;
239 csum = cros_ec_calc_checksum(dev->din, in_bytes);
262 int out_bytes, in_bytes; local
272 in_bytes = prepare_proto3_response_buffer(cdev, din_len);
273 if (in_bytes <
[all...]
H A Dcros_ec_sandbox.c600 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) argument
623 return in_bytes;
/u-boot/drivers/spi/
H A Dexynos_spi.c106 uint out_bytes, in_bytes; local
112 out_bytes = in_bytes = todo;
136 toread = in_bytes;
138 while (in_bytes) {
177 in_bytes -= step;
190 out_bytes = in_bytes;
191 toread = in_bytes;
196 debug("SPI timeout: in_bytes=%d, out_bytes=%d, ",
197 in_bytes, out_bytes);
H A Dbcmstb_spi.c271 u8 *in_bytes = (u8 *)din; local
362 if (!in_bytes)
368 !in_bytes,
372 !in_bytes &&
385 if (in_bytes) {
387 in_bytes[len - rx_len] =
392 priv->rx_slot, in_bytes[len - rx_len]);
/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c103 uint out_bytes, in_bytes; local
106 in_bytes = todo;
111 while (in_bytes) {
124 while (rx_lvl >= 4 && in_bytes) {
128 in_bytes -= 4;
/u-boot/scripts/
H A Dcleanpatch129 $in_bytes = 0;
140 $in_bytes += length($line);
245 if ($in_bytes != $out_bytes) {
/u-boot/include/
H A Dcros_ec.h269 * @in_bytes: Maximum number of bytes to expect in response
272 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);

Completed in 72 milliseconds