Searched refs:tx_header (Results 1 – 2 of 2) sorted by relevance
156 struct ec_host_cmd_response_header *const tx_header = (void *)tx->buf; in send_status_response() local158 tx_header->prtcl_ver = 3; in send_status_response()159 tx_header->result = status; in send_status_response()160 tx_header->data_len = 0; in send_status_response()161 tx_header->reserved = 0; in send_status_response()162 tx_header->checksum = 0; in send_status_response()163 tx_header->checksum = cal_checksum((uint8_t *)tx_header, TX_HEADER_SIZE); in send_status_response()224 struct ec_host_cmd_response_header *const tx_header = (void *)tx->buf; in prepare_response() local226 tx_header->prtcl_ver = 3; in prepare_response()227 tx_header->result = EC_HOST_CMD_SUCCESS; in prepare_response()[all …]
925 union pd_header tx_header; in ucpd_send_good_crc() local957 tx_header.message_type = PD_CTRL_GOOD_CRC; in ucpd_send_good_crc()959 tx_header.port_power_role = data->msg_header.pr; in ucpd_send_good_crc()960 tx_header.port_data_role = data->msg_header.dr; in ucpd_send_good_crc()962 tx_header.port_power_role = 0; in ucpd_send_good_crc()963 tx_header.port_data_role = 0; in ucpd_send_good_crc()965 tx_header.message_id = rx_header.message_id; in ucpd_send_good_crc()966 tx_header.number_of_data_objects = 0; in ucpd_send_good_crc()967 tx_header.specification_revision = rx_header.specification_revision; in ucpd_send_good_crc()968 tx_header.extended = 0; in ucpd_send_good_crc()[all …]