Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_espi.c17 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header)) macro
61 const uint16_t rx_valid_data_size = rx_header->data_len + RX_HEADER_SIZE; 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()
Dec_host_cmd_backend_spi_stm32.c44 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header)) macro
695 if (wait_for_rx_bytes(hc_spi, RX_HEADER_SIZE)) { in gpio_cb_nss()
701 if (exp_size > RX_HEADER_SIZE) { in gpio_cb_nss()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c33 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header)) macro
215 if (rx->len < RX_HEADER_SIZE) { in verify_rx()
227 const uint16_t rx_valid_data_size = rx_header->data_len + RX_HEADER_SIZE; in verify_rx()
362 const uint8_t *rx_data = rx_buf + RX_HEADER_SIZE; in ec_host_cmd_log_request()
402 .input_buf = rx->buf + RX_HEADER_SIZE, in ec_host_cmd_thread()