Searched refs:dout_len (Results 1 – 5 of 5) sorted by relevance
/u-boot/drivers/misc/ |
A D | cros_ec_spi.c | 81 const uint8_t *dout, int dout_len, in cros_ec_spi_command() argument 108 if (dout_len > 0xff) { in cros_ec_spi_command() 109 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_spi_command() 126 out[2] = (uint8_t)dout_len; in cros_ec_spi_command() 127 memcpy(out + 3, dout, dout_len); in cros_ec_spi_command() 129 + cros_ec_calc_checksum(dout, dout_len); in cros_ec_spi_command() 130 out[3 + dout_len] = (uint8_t)csum; in cros_ec_spi_command() 137 len = dout_len + 4; in cros_ec_spi_command()
|
A D | cros_ec_i2c.c | 112 int dout_len, uint8_t **dinp, int din_len) in cros_ec_i2c_command() argument 118 int out_bytes = dout_len + 4; in cros_ec_i2c_command() 131 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_i2c_command() 138 assert(dout_len >= 0); in cros_ec_i2c_command() 169 *ptr++ = dout_len; in cros_ec_i2c_command() 172 memcpy(ptr, dout, dout_len); in cros_ec_i2c_command() 173 ptr += dout_len; in cros_ec_i2c_command() 176 cros_ec_calc_checksum(dev->dout, dout_len + 3); in cros_ec_i2c_command()
|
A D | cros_ec_lpc.c | 80 const uint8_t *dout, int dout_len, in cros_ec_lpc_command() argument 94 if (dout_len > EC_PROTO2_MAX_PARAM_SIZE) { in cros_ec_lpc_command() 95 debug("%s: Cannot send %d bytes\n", __func__, dout_len); in cros_ec_lpc_command() 102 args.data_size = dout_len; in cros_ec_lpc_command() 106 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) in cros_ec_lpc_command() 122 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) { in cros_ec_lpc_command()
|
A D | cros_ec.c | 145 const void *dout, int dout_len) in create_proto3_request() argument 148 int out_bytes = dout_len + sizeof(*rq); in create_proto3_request() 162 rq->data_len = dout_len; in create_proto3_request() 165 memcpy(rq + 1, dout, dout_len); in create_proto3_request() 259 const void *dout, int dout_len, in send_command_proto3() argument 268 dout, dout_len); in send_command_proto3() 288 const void *dout, int dout_len, in send_command() argument 297 dout, dout_len, dinp, din_len); in send_command() 302 (const uint8_t *)dout, dout_len, dinp, din_len); in send_command() 324 int cmd_version, const void *dout, int dout_len, in ec_command_inptr() argument [all …]
|
/u-boot/include/ |
A D | cros_ec.h | 267 const uint8_t *dout, int dout_len,
|
Completed in 9 milliseconds