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

Function inw

util/inteltool/inteltool.h:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 return data;
41}
42static inline uint16_t inw(unsigned port)
43{
44 uint16_t data;
45 __asm volatile("inw %w1,%0": "=a" (data) : "d" (port));
46 return data;
47}
48static inline uint32_t inl(unsigned port)
49{
50 uint32_t data;

Callers 3

print_regFunction · 0.70
get_diffFunction · 0.70
print_pmbaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected