Searched refs:out_preamble (Results 1 – 2 of 2) sorted by relevance
124 static const uint8_t out_preamble[EC_SHI_PREAMBLE_LENGTH] = { variable236 memcpy(data->out_msg, out_preamble, sizeof(out_preamble)); in shi_ite_backend_send()242 memset(&data->out_msg[sizeof(out_preamble) + data->tx->len], EC_SHI_PAST_END, in shi_ite_backend_send()503 tx->buf = data->out_msg + sizeof(out_preamble); in shi_ite_backend_init()
179 static const uint8_t out_preamble[4] = { variable742 hc_spi->tx->buf = (uint8_t *)hc_spi->tx->buf + sizeof(out_preamble); in ec_host_cmd_spi_init()743 hc_spi->tx->len_max = hc_spi->tx->len_max - sizeof(out_preamble) - EC_SPI_PAST_END_LENGTH; in ec_host_cmd_spi_init()788 memcpy(hc_spi->tx_buf, out_preamble, sizeof(out_preamble)); in ec_host_cmd_spi_send()790 hc_spi->tx_buf[sizeof(out_preamble) + hc_spi->tx->len + i] = EC_SPI_PAST_END; in ec_host_cmd_spi_send()792 tx_size = hc_spi->tx->len + sizeof(out_preamble) + EC_SPI_PAST_END_LENGTH; in ec_host_cmd_spi_send()