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

Function mei_sendrecv

util/intelmetool/src/me.c:331–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331static inline int mei_sendrecv(struct mei_header *mei, struct mkhi_header *mkhi,
332 void *req_data, void *rsp_data, uint32_t rsp_bytes)
333{
334 if (mei_send_msg(mei, mkhi, req_data) < 0)
335 return -1;
336 if (mei_recv_msg(mei, mkhi, rsp_data, rsp_bytes) < 0)
337 return -1;
338 return 0;
339}
340
341/* Send END OF POST message to the ME */
342/*

Callers 4

mkhi_get_fw_versionFunction · 0.70
mkhi_get_fwcapsFunction · 0.70
mkhi_global_resetFunction · 0.70
mkhi_debug_me_memoryFunction · 0.70

Calls 2

mei_send_msgFunction · 0.70
mei_recv_msgFunction · 0.70

Tested by

no test coverage detected