Searched refs:out_bytes (Results 1 – 10 of 10) sorted by relevance
/u-boot/drivers/misc/ |
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 69 i2c_msg[0].len = out_bytes + 1; in cros_ec_i2c_packet() 73 memmove(&ec_request_i2c->ec_request, dev->dout, out_bytes); in cros_ec_i2c_packet() 118 int out_bytes = dout_len + 4; in cros_ec_i2c_command() local 130 if (out_bytes > sizeof(dev->dout)) { in cros_ec_i2c_command() 142 i2c_msg[0].len = out_bytes; in cros_ec_i2c_command() 184 cros_ec_dump_data("out", -1, dev->dout, out_bytes); in cros_ec_i2c_command()
|
A D | cros_ec_lpc.c | 47 int cros_ec_lpc_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_lpc_packet() argument 53 if (out_bytes > EC_LPC_HOST_PACKET_SIZE) in cros_ec_lpc_packet() 63 for (i = 0, d = (uint8_t *)dev->dout; i < out_bytes; i++, d++) in cros_ec_lpc_packet()
|
A D | cros_ec_spi.c | 22 int cros_ec_spi_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_spi_packet() argument 36 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); in cros_ec_spi_packet()
|
A D | cros_ec.c | 148 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request() local 151 if (out_bytes > (int)sizeof(cdev->dout)) { in create_proto3_request() 168 rq->checksum = (uint8_t)(-cros_ec_calc_checksum(cdev->dout, out_bytes)); in create_proto3_request() 170 cros_ec_dump_data("out", cmd, cdev->dout, out_bytes); in create_proto3_request() 173 return out_bytes; in create_proto3_request() 263 int out_bytes, in_bytes; in send_command_proto3() local 267 out_bytes = create_proto3_request(cdev, cmd, cmd_version, in send_command_proto3() 269 if (out_bytes < 0) in send_command_proto3() 270 return out_bytes; in send_command_proto3() 278 rv = ops->packet ? ops->packet(cdev->dev, out_bytes, in_bytes) : in send_command_proto3()
|
A D | cros_ec_sandbox.c | 561 int cros_ec_sandbox_packet(struct udevice *udev, int out_bytes, int in_bytes) in cros_ec_sandbox_packet() argument
|
/u-boot/drivers/spi/ |
A D | bcmstb_spi.c | 270 const u8 *out_bytes = (u8 *)dout; in bcmstb_spi_xfer() local 308 if (out_bytes && len > NUM_CDRAM) { in bcmstb_spi_xfer() 313 if (out_bytes && !(flags & SPI_XFER_END)) { in bcmstb_spi_xfer() 321 out_bytes[0], len); in bcmstb_spi_xfer() 323 memcpy(priv->saved_cmd, out_bytes, priv->saved_cmd_len); in bcmstb_spi_xfer() 355 out_bytes ? out_bytes[len - tx_len] : 0xff); in bcmstb_spi_xfer() 356 writel(out_bytes ? out_bytes[len - tx_len] : 0xff, in bcmstb_spi_xfer()
|
A D | exynos_spi.c | 106 uint out_bytes, in_bytes; in spi_rx_tx() local 112 out_bytes = in_bytes = todo; in spi_rx_tx() 148 while (tx_lvl < priv->fifo_size/2 && out_bytes) { in spi_rx_tx() 156 out_bytes -= step; in spi_rx_tx() 189 assert(!out_bytes); in spi_rx_tx() 190 out_bytes = in_bytes; in spi_rx_tx() 197 in_bytes, out_bytes); in spi_rx_tx()
|
/u-boot/scripts/ |
A D | cleanpatch | 130 $out_bytes = 0; 153 $out_bytes += length($line); 230 $out_bytes += length($l); 245 if ($in_bytes != $out_bytes) {
|
/u-boot/arch/arm/mach-exynos/ |
A D | spl_boot.c | 73 uint out_bytes, in_bytes; in spi_rx_tx() local 75 out_bytes = todo; in spi_rx_tx() 88 while (tx_lvl < 32 && out_bytes) { in spi_rx_tx() 91 out_bytes -= 4; in spi_rx_tx()
|
/u-boot/include/ |
A D | cros_ec.h | 281 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);
|
Completed in 15 milliseconds