Home
last modified time | relevance | path

Searched refs:in_bytes (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/misc/
H A Dcros_ec_spi.c24 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 Dcros_ec_i2c.c52 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 Dcros_ec.c131 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 Dcros_ec_sandbox.c471 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()
/OK3568_Linux_fs/u-boot/drivers/spi/
H A Dexynos_spi.c103 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 Dbcmstb_spi.c270 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()
/OK3568_Linux_fs/u-boot/arch/arm/mach-exynos/
H A Dspl_boot.c70 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()
/OK3568_Linux_fs/kernel/scripts/
H A Dcleanfile131 $in_bytes = 0;
141 $in_bytes += length($line);
166 if ($in_bytes != $out_bytes) {
H A Dcleanpatch131 $in_bytes = 0;
142 $in_bytes += length($line);
247 if ($in_bytes != $out_bytes) {
/OK3568_Linux_fs/u-boot/scripts/
H A Dcleanpatch129 $in_bytes = 0;
140 $in_bytes += length($line);
245 if ($in_bytes != $out_bytes) {
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bs4/
H A Ddammit.py771 def detwingle(cls, in_bytes, main_encoding="utf8", argument
799 while pos < len(in_bytes):
800 byte = in_bytes[pos]
815 byte_chunks.append(in_bytes[chunk_start:pos])
827 return in_bytes
830 byte_chunks.append(in_bytes[chunk_start:])
/OK3568_Linux_fs/u-boot/include/
H A Dcros_ec.h226 int (*packet)(struct udevice *dev, int out_bytes, int in_bytes);
/OK3568_Linux_fs/kernel/arch/s390/crypto/
H A Daes_s390.c838 unsigned int n, len, in_bytes, out_bytes, in gcm_aes_crypt() local
881 in_bytes = gcm_in_walk_go(&gw_in, min_bytes); in gcm_aes_crypt()
883 bytes = min(in_bytes, out_bytes); in gcm_aes_crypt()
/OK3568_Linux_fs/kernel/drivers/usb/gadget/udc/
H A Dpxa27x_udc.h293 unsigned long in_bytes; member
H A Dpxa27x_udc.c195 ep->stats.in_bytes, ep->stats.in_ops, in eps_dbg_show()
521 ep->stats.in_bytes += count; in inc_ep_stats_bytes()