Lines Matching refs:msg_dout
122 uint8_t *msg_dout;
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[i] = 0xff;
173 free(msg_dout, M_DEVBUF);
182 free(msg_dout, M_DEVBUF);