Home
last modified time | relevance | path

Searched refs:dout_len (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/drivers/misc/
Dcros_ec_spi.c80 const uint8_t *dout, int dout_len, in cros_ec_spi_command() argument
107 if (dout_len > 0xff) { in cros_ec_spi_command()
108 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_spi_command()
125 out[2] = (uint8_t)dout_len; in cros_ec_spi_command()
126 memcpy(out + 3, dout, dout_len); in cros_ec_spi_command()
128 + cros_ec_calc_checksum(dout, dout_len); in cros_ec_spi_command()
129 out[3 + dout_len] = (uint8_t)csum; in cros_ec_spi_command()
136 len = dout_len + 4; in cros_ec_spi_command()
Dcros_ec_i2c.c111 int dout_len, uint8_t **dinp, int din_len) in cros_ec_i2c_command() argument
117 int out_bytes = dout_len + 4; in cros_ec_i2c_command()
130 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_i2c_command()
137 assert(dout_len >= 0); in cros_ec_i2c_command()
168 *ptr++ = dout_len; in cros_ec_i2c_command()
171 memcpy(ptr, dout, dout_len); in cros_ec_i2c_command()
172 ptr += dout_len; in cros_ec_i2c_command()
175 cros_ec_calc_checksum(dev->dout, dout_len + 3); in cros_ec_i2c_command()
Dcros_ec_lpc.c44 const uint8_t *dout, int dout_len, in cros_ec_lpc_command() argument
58 if (dout_len > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_lpc_command()
59 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_lpc_command()
66 args.data_size = dout_len; in cros_ec_lpc_command()
70 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) in cros_ec_lpc_command()
86 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) { in cros_ec_lpc_command()
Dcros_ec.c88 const void *dout, int dout_len) in create_proto3_request() argument
91 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request()
95 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in create_proto3_request()
105 rq->data_len = dout_len; in create_proto3_request()
108 memcpy(rq + 1, dout, dout_len); in create_proto3_request()
202 const void *dout, int dout_len, in send_command_proto3() argument
211 dout, dout_len); in send_command_proto3()
230 const void *dout, int dout_len, in send_command() argument
239 dout, dout_len, dinp, din_len); in send_command()
244 (const uint8_t *)dout, dout_len, dinp, din_len); in send_command()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c722 uint32_t alloc_len, n, dout_len, dpg_len, nvme_dst; in sntl_senddiag() local
768 dout_len = ptp->io_hdr.dout_xfer_len; in sntl_senddiag()
784 if (dout_len > 0) { in sntl_senddiag()
790 if (dout_len < 4) { in sntl_senddiag()
793 dout_len); in sntl_senddiag()
796 n = dout_len; in sntl_senddiag()
/external/u-boot/include/
Dcros_ec.h223 const uint8_t *dout, int dout_len,