Searched refs:rx_header (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/mgmt/ec_host_cmd/ |
D | ec_host_cmd_handler.c | 219 const struct ec_host_cmd_request_header *rx_header = in verify_rx() local 223 if (rx_header->prtcl_ver != 3) { in verify_rx() 227 const uint16_t rx_valid_data_size = rx_header->data_len + RX_HEADER_SIZE; in verify_rx() 238 if (cal_checksum((uint8_t *)rx_header, rx_valid_data_size) != 0) { in verify_rx() 309 const struct ec_host_cmd_request_header *const rx_header = in ec_host_cmd_send_response() local 312 LOG_INF("HC 0x%04x err %d", rx_header->cmd_id, status); in ec_host_cmd_send_response() 349 const struct ec_host_cmd_request_header *const rx_header = in ec_host_cmd_log_request() local 353 if (ec_host_cmd_is_suppressed(rx_header->cmd_id)) { in ec_host_cmd_log_request() 361 if (rx_header->data_len) { in ec_host_cmd_log_request() 369 snprintf(dbg_raw, sizeof(dbg_raw), dbg_fmt, rx_header->cmd_id, in ec_host_cmd_log_request() [all …]
|
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/ |
D | ec_host_cmd_backend_espi.c | 59 const struct ec_host_cmd_request_header *rx_header = hc_espi->tx->buf; in espi_handler() local 61 const uint16_t rx_valid_data_size = rx_header->data_len + RX_HEADER_SIZE; in espi_handler() 80 if (rx_header->prtcl_ver != 3 || in espi_handler() 83 memcpy(hc_espi->rx_ctx->buf, (void *)rx_header, RX_HEADER_SIZE); in espi_handler() 86 memcpy(hc_espi->rx_ctx->buf, (void *)rx_header, rx_valid_data_size); in espi_handler()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_stm32_hal.c | 558 struct eth_stm32_rx_buffer_header *rx_header; in eth_rx() local 589 for (rx_header = (struct eth_stm32_rx_buffer_header *)appbuf; in eth_rx() 590 rx_header; rx_header = rx_header->next) { in eth_rx() 591 total_len += rx_header->size; in eth_rx() 631 for (rx_header = (struct eth_stm32_rx_buffer_header *)appbuf; in eth_rx() 632 rx_header; rx_header = rx_header->next) { in eth_rx() 633 const size_t index = rx_header - &dma_rx_buffer_header[0]; in eth_rx() 636 if (net_pkt_write(pkt, dma_rx_buffer[index], rx_header->size)) { in eth_rx() 654 for (rx_header = (struct eth_stm32_rx_buffer_header *)appbuf; in eth_rx() 655 rx_header; rx_header = rx_header->next) { in eth_rx() [all …]
|
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ucpd_stm32.c | 921 union pd_header rx_header) in ucpd_send_good_crc() argument 935 if (ucpd_msg_is_good_crc(rx_header)) { in ucpd_send_good_crc() 965 tx_header.message_id = rx_header.message_id; in ucpd_send_good_crc() 967 tx_header.specification_revision = rx_header.specification_revision; in ucpd_send_good_crc() 1198 union pd_header rx_header; in ucpd_isr() local 1202 rx_header.raw_value = in ucpd_isr() 1204 good_crc = ucpd_msg_is_good_crc(rx_header); in ucpd_isr() 1226 ucpd_send_good_crc(dev, rx_header); in ucpd_isr() 1229 data->ucpd_crc_id = rx_header.message_id; in ucpd_isr()
|