| 98 | } |
| 99 | |
| 100 | static 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 | |
| 108 | int print_espi(struct pci_dev *sb, struct pci_dev *nb) |
| 109 | { |
no test coverage detected