Searched refs:msg_dout (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/sys/arm/samsung/exynos/
H A Dchrome_ec_spi.c122 uint8_t *msg_dout; local
129 msg_dout = malloc(dout_len + 4, M_DEVBUF, M_NOWAIT | M_ZERO);
132 spi_cmd.tx_cmd = msg_dout;
140 msg_dout[0] = EC_CMD_VERSION0;
141 msg_dout[1] = cmd;
142 msg_dout[2] = dout_len;
145 msg_dout[i + 3] = dout[i];
148 fill_checksum(msg_dout, dout_len + 3);
157 msg_dout[0] = 0xff;
166 msg_dout[
[all...]
H A Dchrome_ec.c160 uint8_t *msg_dout; local
165 msg_dout = malloc(dout_len + 4, M_DEVBUF, M_NOWAIT);
173 msg_dout[0] = EC_CMD_VERSION0;
174 msg_dout[1] = cmd;
175 msg_dout[2] = dout_len;
178 msg_dout[i + 3] = dout[i];
181 fill_checksum(msg_dout, dout_len + 3);
184 { 0x1e, IIC_M_WR, dout_len + 4, msg_dout, },
191 free(msg_dout, M_DEVBUF);
200 free(msg_dout, M_DEVBU
[all...]

Completed in 47 milliseconds