coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ec_host_response Struct Reference

struct ec_host_response - Version 3 response from EC. More...

#include <ec_commands.h>

Collaboration diagram for ec_host_response:
Collaboration graph

Data Fields

uint8_t struct_version
 
uint8_t checksum
 
uint16_t result
 
uint16_t data_len
 
uint16_t reserved
 

Detailed Description

struct ec_host_response - Version 3 response from EC.

@struct_version: Struct version (=3). @checksum: Checksum of response and data; sum of all bytes including checksum should total to 0.

Returns
: EC's response to the command (separate from communication failure) @data_len: Length of data which follows this header. @reserved: Unused bytes in current protocol version; set to 0.

Definition at line 937 of file ec_commands.h.

Field Documentation

◆ checksum

uint8_t ec_host_response::checksum

Definition at line 939 of file ec_commands.h.

◆ data_len

uint16_t ec_host_response::data_len

Definition at line 941 of file ec_commands.h.

Referenced by google_chromeec_command_v3(), and handle_proto3_response().

◆ reserved

uint16_t ec_host_response::reserved

Definition at line 942 of file ec_commands.h.

Referenced by google_chromeec_command_v3(), and handle_proto3_response().

◆ result

uint16_t ec_host_response::result

Definition at line 940 of file ec_commands.h.

Referenced by handle_proto3_response().

◆ struct_version

uint8_t ec_host_response::struct_version

Definition at line 938 of file ec_commands.h.

Referenced by google_chromeec_command_v3(), and handle_proto3_response().


The documentation for this struct was generated from the following file: