Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_espi.c55 struct ec_host_cmd_espi_ctx *hc_espi = in espi_handler() local
59 const struct ec_host_cmd_request_header *rx_header = hc_espi->tx->buf; in espi_handler()
60 const size_t shared_size = hc_espi->tx->len_max; in espi_handler()
72 if (hc_espi->state != ESPI_STATE_READY_TO_RECV && hc_espi->state != ESPI_STATE_SENDING) { in espi_handler()
83 memcpy(hc_espi->rx_ctx->buf, (void *)rx_header, RX_HEADER_SIZE); in espi_handler()
84 hc_espi->rx_ctx->len = RX_HEADER_SIZE; in espi_handler()
86 memcpy(hc_espi->rx_ctx->buf, (void *)rx_header, rx_valid_data_size); in espi_handler()
87 hc_espi->rx_ctx->len = rx_valid_data_size; in espi_handler()
91 hc_espi->state = ESPI_STATE_PROCESSING; in espi_handler()
98 struct ec_host_cmd_espi_ctx *hc_espi = (struct ec_host_cmd_espi_ctx *)backend->ctx; in ec_host_cmd_espi_init() local
[all …]