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

struct ec_host_request - Version 3 request from host. More...

#include <ec_commands.h>

Collaboration diagram for ec_host_request:
Collaboration graph

Data Fields

uint8_t struct_version
 
uint8_t checksum
 
uint16_t command
 
uint8_t command_version
 
uint8_t reserved
 
uint16_t data_len
 

Detailed Description

struct ec_host_request - Version 3 request from host.

@struct_version: Should be 3. The EC will return EC_RES_INVALID_HEADER if it receives a header with a version it doesn't know how to parse. @checksum: Checksum of request and data; sum of all bytes including checksum should total to 0. @command: Command to send (EC_CMD_...) @command_version: Command version. @reserved: Unused byte in current protocol version; set to 0. @data_len: Length of data which follows this header.

Definition at line 917 of file ec_commands.h.

Field Documentation

◆ checksum

uint8_t ec_host_request::checksum

Definition at line 919 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().

◆ command

uint16_t ec_host_request::command

Definition at line 920 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().

◆ command_version

uint8_t ec_host_request::command_version

Definition at line 921 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().

◆ data_len

uint16_t ec_host_request::data_len

Definition at line 923 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().

◆ reserved

uint8_t ec_host_request::reserved

Definition at line 922 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().

◆ struct_version

uint8_t ec_host_request::struct_version

Definition at line 918 of file ec_commands.h.

Referenced by create_proto3_request(), and google_chromeec_command_v3().


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