Searched refs:ec_host_cmd_request_header (Results 1 – 9 of 9) sorted by relevance
18 #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()
33 #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()
79 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()
17 #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()
270 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()
39 #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()
44 #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()
218 struct ec_host_cmd_request_header { struct
48 struct ec_host_cmd_request_header header;