Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/
Dmain.c18 #define CMD_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header))
83 struct ec_host_cmd_request_header *cmd = (struct ec_host_cmd_request_header *)buf; in prepare_hello_cmd()
99 struct ec_host_cmd_request_header *cmd = (struct ec_host_cmd_request_header *)data->rx_buf; in test_hello()
140 struct ec_host_cmd_request_header *cmd = (struct ec_host_cmd_request_header *)data->rx_buf; in ZTEST()
171 struct ec_host_cmd_request_header *cmd = (struct ec_host_cmd_request_header *)data->rx_buf; in ZTEST()
173 struct ec_host_cmd_request_header cmds[] = { in ZTEST()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/
Dec_host_cmd_handler.c33 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header))
219 const struct ec_host_cmd_request_header *rx_header = in verify_rx()
220 (struct ec_host_cmd_request_header *)rx->buf; in verify_rx()
309 const struct ec_host_cmd_request_header *const rx_header = in ec_host_cmd_send_response()
310 (const struct ec_host_cmd_request_header *const)hc->rx_ctx.buf; in ec_host_cmd_send_response()
349 const struct ec_host_cmd_request_header *const rx_header = in ec_host_cmd_log_request()
350 (const struct ec_host_cmd_request_header *const)rx_buf; in ec_host_cmd_log_request()
398 const struct ec_host_cmd_request_header *const rx_header = (void *)rx->buf; in ec_host_cmd_thread()
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_uart.c79 static int request_expected_size(const struct ec_host_cmd_request_header *r) in request_expected_size()
183 if (hc_uart->rx_ctx->len >= sizeof(struct ec_host_cmd_request_header)) { in uart_callback()
186 (struct ec_host_cmd_request_header *)hc_uart->rx_ctx->buf); in uart_callback()
Dec_host_cmd_backend_espi.c17 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header))
59 const struct ec_host_cmd_request_header *rx_header = hc_espi->tx->buf; in espi_handler()
Dec_host_cmd_backend_shi_ite.c270 static int shi_ite_host_request_expected_size(const struct ec_host_cmd_request_header *r) in shi_ite_host_request_expected_size()
289 struct ec_host_cmd_request_header *r = (struct ec_host_cmd_request_header *)data->in_msg; in shi_ite_parse_header()
373 struct ec_host_cmd_request_header cmd_head; in shi_ite_init_registers()
Dec_host_cmd_backend_shi_npcx.c39 #define SHI_IBUFLVL2_THRESHOLD (sizeof(struct ec_host_cmd_request_header))
440 static int shi_npcx_host_request_expected_size(const struct ec_host_cmd_request_header *r) in shi_npcx_host_request_expected_size()
474 struct ec_host_cmd_request_header *r = in shi_npcx_parse_header()
475 (struct ec_host_cmd_request_header *)data->in_msg; in shi_npcx_parse_header()
Dec_host_cmd_backend_spi_stm32.c44 #define RX_HEADER_SIZE (sizeof(struct ec_host_cmd_request_header))
265 static int expected_size(const struct ec_host_cmd_request_header *header) in expected_size()
699 exp_size = expected_size((struct ec_host_cmd_request_header *)hc_spi->rx_ctx->buf); in gpio_cb_nss()
/Zephyr-latest/include/zephyr/mgmt/ec_host_cmd/
Dec_host_cmd.h218 struct ec_host_cmd_request_header { struct
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/simulator/src/
Dmain.c48 struct ec_host_cmd_request_header header;