Searched refs:pci_host_read_config (Results 1 – 5 of 5) sorted by relevance
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | pci_gvt-d.c | 52 vendor = pci_host_read_config(passthru_get_sel(sc), PCIR_VENDOR, 0x02); in gvt_d_probe() 56 class = pci_host_read_config(passthru_get_sel(sc), PCIR_CLASS, 0x01); in gvt_d_probe() 172 bdsm = pci_host_read_config(passthru_get_sel(sc), PCIR_BDSM, 4); in gvt_d_setup_gsm() 204 asls = pci_host_read_config(passthru_get_sel(sc), PCIR_ASLS_CTL, 4); in gvt_d_setup_opregion()
|
H A D | pci_lpc.c | 490 if (pci_host_read_config(sel, PCIR_HDRTYPE, 1) & PCIM_MFDEV) in pci_lpc_get_sel() 496 if (pci_host_read_config(sel, PCIR_CLASS, 1) == in pci_lpc_get_sel() 498 pci_host_read_config(sel, PCIR_SUBCLASS, 1) == in pci_lpc_get_sel()
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 147 pci_host_read_config(const struct pcisel *sel, long reg, int width) in pci_host_read_config() function 227 sts = pci_host_read_config(&sel, PCIR_STATUS, 2); in cfginitmsi() 229 ptr = pci_host_read_config(&sel, PCIR_CAP_PTR, 1); in cfginitmsi() 231 cap = pci_host_read_config(&sel, ptr + PCICAP_ID, 1); in cfginitmsi() 238 sc->psc_msi.msgctrl = pci_host_read_config(&sel, in cfginitmsi() 244 u32 = pci_host_read_config(&sel, capptr, in cfginitmsi() 259 u32 = pci_host_read_config(&sel, capptr, in cfginitmsi() 268 ptr = pci_host_read_config(&sel, ptr + PCICAP_NEXTPTR, in cfginitmsi() 304 origptr = pci_host_read_config(&sel, PCIR_CAP_PTR, 1); in cfginitmsi() 629 pci_host_read_config(&sc->psc_sel, i, 4)); in cfginit() [all …]
|
H A D | pci_passthru.h | 39 uint32_t pci_host_read_config(const struct pcisel *sel, long reg, int width);
|
H A D | pci_emul.c | 391 return pci_host_read_config(host_sel, reg, size); in pci_config_read_reg()
|