Home
last modified time | relevance | path

Searched refs:pcio (Results 1 – 1 of 1) sorted by relevance

/src/usr.sbin/bhyve/amd64/
H A Dpci_lpc.c466 struct pci_conf_io pcio; in pci_lpc_get_conf() local
477 memset(&pcio, 0, sizeof(pcio)); in pci_lpc_get_conf()
482 pcio.pat_buf_len = sizeof(pmc); in pci_lpc_get_conf()
483 pcio.num_patterns = 1; in pci_lpc_get_conf()
484 pcio.patterns = &pmc; in pci_lpc_get_conf()
485 pcio.match_buf_len = sizeof(*conf); in pci_lpc_get_conf()
486 pcio.matches = conf; in pci_lpc_get_conf()
487 if (ioctl(pcifd, PCIOCGETCONF, &pcio) == -1) { in pci_lpc_get_conf()
491 if (pcio.num_matches == 0) in pci_lpc_get_conf()
493 if (pcio.status == PCI_GETCONF_LIST_CHANGED) in pci_lpc_get_conf()
[all …]