Home
last modified time | relevance | path

Searched refs:din_len (Results 1 – 8 of 8) sorted by relevance

/external/u-boot/drivers/misc/
Dcros_ec_i2c.c111 int dout_len, uint8_t **dinp, int din_len) in cros_ec_i2c_command() argument
119 int in_bytes = din_len + 3; in cros_ec_i2c_command()
134 debug("%s: Cannot receive %d bytes\n", __func__, din_len); in cros_ec_i2c_command()
206 __func__, in_ptr[2 + din_len], csum); in cros_ec_i2c_command()
209 din_len = min(din_len, len); in cros_ec_i2c_command()
210 cros_ec_dump_data("in", -1, in_ptr, din_len + 3); in cros_ec_i2c_command()
215 return din_len; in cros_ec_i2c_command()
Dcros_ec.c126 static int prepare_proto3_response_buffer(struct cros_ec_dev *dev, int din_len) in prepare_proto3_response_buffer() argument
128 int in_bytes = din_len + sizeof(struct ec_host_response); in prepare_proto3_response_buffer()
132 debug("%s: Cannot receive %d bytes\n", __func__, din_len); in prepare_proto3_response_buffer()
153 uint8_t **dinp, int din_len) in handle_proto3_response() argument
172 if (rs->data_len > din_len) { in handle_proto3_response()
203 uint8_t **dinp, int din_len) in send_command_proto3() argument
216 in_bytes = prepare_proto3_response_buffer(dev, din_len); in send_command_proto3()
226 return handle_proto3_response(dev, dinp, din_len); in send_command_proto3()
231 uint8_t **dinp, int din_len) in send_command() argument
239 dout, dout_len, dinp, din_len); in send_command()
[all …]
Dcros_ec_spi.c81 uint8_t **dinp, int din_len) in cros_ec_spi_command() argument
85 int in_bytes = din_len + 4; /* status, length, checksum, trailer */ in cros_ec_spi_command()
102 debug("%s: Cannot receive %d bytes\n", __func__, din_len); in cros_ec_spi_command()
148 len = min((int)p[1], din_len); in cros_ec_spi_command()
Dcros_ec_lpc.c45 uint8_t **dinp, int din_len) in cros_ec_lpc_command() argument
120 if (args.data_size > din_len) { in cros_ec_lpc_command()
122 __func__, args.data_size, din_len); in cros_ec_lpc_command()
/external/strace/
Dsg_io_v3.c130 uint32_t din_len = sg_io.dxfer_len; in decode_response() local
133 if (sg_io.resid > 0 && (unsigned int) sg_io.resid <= din_len) in decode_response()
134 din_len -= sg_io.resid; in decode_response()
138 else if (din_len) in decode_response()
143 PRINT_FIELD_SG_IO_BUFFER("", sg_io, dxferp, din_len, in decode_response()
Dsg_io_v4.c108 uint32_t din_len; in decode_response() local
125 din_len = sg_io.din_xfer_len; in decode_response()
126 if (sg_io.din_resid > 0 && (unsigned int) sg_io.din_resid <= din_len) in decode_response()
127 din_len -= sg_io.din_resid; in decode_response()
128 PRINT_FIELD_SG_IO_BUFFER(", ", sg_io, din_xferp, din_len, in decode_response()
/external/u-boot/include/
Dcros_ec.h224 uint8_t **dinp, int din_len);
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c843 uint32_t alloc_len, n, din_len; in sntl_recvdiag() local
854 din_len = ptp->io_hdr.din_xfer_len; in sntl_recvdiag()
855 n = din_len; in sntl_recvdiag()
885 ptp->io_hdr.din_resid = din_len - n; in sntl_recvdiag()