Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coreboot/coreboot
/ ec_read
Function
ec_read
util/ectool/ec.c:106–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
}
105
106
uint8_t ec_read(uint8_t addr)
107
{
108
send_ec_command(RD_EC);
109
send_ec_data(addr);
110
111
return recv_ec_data();
112
}
113
114
uint8_t ec_ext_read(uint16_t addr)
115
{
Callers
1
main
Function · 0.70
Calls
3
send_ec_command
Function · 0.70
send_ec_data
Function · 0.70
recv_ec_data
Function · 0.70
Tested by
no test coverage detected