Home
last modified time | relevance | path

Searched refs:out_preamble (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_ite.c124 static const uint8_t out_preamble[EC_SHI_PREAMBLE_LENGTH] = { variable
236 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()
Dec_host_cmd_backend_spi_stm32.c179 static const uint8_t out_preamble[4] = { variable
742 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()