Searched refs:in_bytes (Results 1 – 9 of 9) sorted by relevance
| /rk3399_rockchip-uboot/drivers/misc/ |
| H A D | cros_ec_spi.c | 24 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_spi_packet() argument 54 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); in cros_ec_spi_packet() 64 return in_bytes; in cros_ec_spi_packet() 88 int in_bytes = din_len + 4; /* status, length, checksum, trailer */ in cros_ec_spi_command() local 104 if (in_bytes > sizeof(dev->din)) { in cros_ec_spi_command() 118 memset(dev->din, '\0', in_bytes); in cros_ec_spi_command() 141 rv = spi_xfer(slave, max(len, in_bytes) * 8, out, p, in cros_ec_spi_command()
|
| H A D | cros_ec_i2c.c | 52 static int cros_ec_i2c_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_i2c_packet() argument 77 i2c_msg[1].len = in_bytes + 2; in cros_ec_i2c_packet() 105 memmove(dev->din, &ec_response_i2c->ec_response, in_bytes); in cros_ec_i2c_packet() 107 return in_bytes; in cros_ec_i2c_packet() 120 int in_bytes = din_len + 3; in cros_ec_i2c_command() local 134 if (in_bytes > sizeof(dev->din)) { in cros_ec_i2c_command() 179 i2c_msg[1].len = in_bytes; in cros_ec_i2c_command()
|
| H A D | cros_ec.c | 131 int in_bytes = din_len + sizeof(struct ec_host_response); in prepare_proto3_response_buffer() local 134 if (in_bytes > (int)sizeof(dev->din)) { in prepare_proto3_response_buffer() 140 return in_bytes; in prepare_proto3_response_buffer() 159 int in_bytes; in handle_proto3_response() local 183 in_bytes = sizeof(*rs) + rs->data_len; in handle_proto3_response() 186 csum = cros_ec_calc_checksum(dev->din, in_bytes); in handle_proto3_response() 209 int out_bytes, in_bytes; in send_command_proto3() local 219 in_bytes = prepare_proto3_response_buffer(dev, din_len); in send_command_proto3() 220 if (in_bytes < 0) in send_command_proto3() 221 return in_bytes; in send_command_proto3() [all …]
|
| H A D | cros_ec_sandbox.c | 471 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_sandbox_packet() argument 494 return in_bytes; in cros_ec_sandbox_packet()
|
| /rk3399_rockchip-uboot/drivers/spi/ |
| H A D | exynos_spi.c | 103 uint out_bytes, in_bytes; in spi_rx_tx() local 109 out_bytes = in_bytes = todo; in spi_rx_tx() 133 toread = in_bytes; in spi_rx_tx() 135 while (in_bytes) { in spi_rx_tx() 174 in_bytes -= step; in spi_rx_tx() 187 out_bytes = in_bytes; in spi_rx_tx() 188 toread = in_bytes; in spi_rx_tx() 194 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()
|
| /rk3399_rockchip-uboot/arch/arm/mach-exynos/ |
| H A D | spl_boot.c | 70 uint out_bytes, in_bytes; in spi_rx_tx() local 73 in_bytes = todo; in spi_rx_tx() 78 while (in_bytes) { in spi_rx_tx() 91 while (rx_lvl >= 4 && in_bytes) { in spi_rx_tx() 95 in_bytes -= 4; in spi_rx_tx()
|
| /rk3399_rockchip-uboot/scripts/ |
| H A D | cleanpatch | 129 $in_bytes = 0; 140 $in_bytes += length($line); 245 if ($in_bytes != $out_bytes) {
|
| /rk3399_rockchip-uboot/include/ |
| H A D | cros_ec.h | 226 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);
|