Searched refs:dout_len (Results 1 - 3 of 3) sorted by relevance
/freebsd-11.0-release/sys/arm/samsung/exynos/ |
H A D | chrome_ec.h | 36 int ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
|
H A D | chrome_ec_spi.c | 117 ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len, argument 129 msg_dout = malloc(dout_len + 4, M_DEVBUF, M_NOWAIT | M_ZERO); 142 msg_dout[2] = dout_len; 144 for (i = 0; i < dout_len; i++) { 148 fill_checksum(msg_dout, dout_len + 3); 151 spi_cmd.rx_cmd_sz = spi_cmd.tx_cmd_sz = dout_len + 4; 165 for (i = 0; i < (dout_len + 4); i++) 167 spi_cmd.rx_cmd_sz = spi_cmd.tx_cmd_sz = dout_len + 4 - 1;
|
H A D | chrome_ec.c | 156 ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len, argument 165 msg_dout = malloc(dout_len + 4, M_DEVBUF, M_NOWAIT); 175 msg_dout[2] = dout_len; 177 for (i = 0; i < dout_len; i++) { 181 fill_checksum(msg_dout, dout_len + 3); 184 { 0x1e, IIC_M_WR, dout_len + 4, msg_dout, },
|
Completed in 51 milliseconds