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

Function espi_read8

util/amdtool/espi.c:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static uint32_t espi_read8(const io_register_t *reg, size_t espi_cntrlr)
101{
102 if (use_smn)
103 return smn_read8(espi_smn_addr[espi_cntrlr] + reg->addr);
104 else
105 return read8(espibar + (espi_cntrlr * ESPI_MMIO_SIZE) + reg->addr);
106}
107
108int print_espi(struct pci_dev *sb, struct pci_dev *nb)
109{

Callers 1

print_espiFunction · 0.70

Calls 2

smn_read8Function · 0.85
read8Function · 0.50

Tested by

no test coverage detected