MCPcopy Create free account
hub / github.com/coreboot/coreboot / ec_write

Function ec_write

util/ectool/ec.c:136–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136int ec_write(uint8_t addr, uint8_t data)
137{
138 send_ec_command(WR_EC);
139 send_ec_data(addr);
140
141 return send_ec_data(data);
142}
143
144uint8_t ec_idx_read(uint16_t addr)
145{

Callers 1

mainFunction · 0.70

Calls 2

send_ec_commandFunction · 0.70
send_ec_dataFunction · 0.70

Tested by

no test coverage detected