Searched refs:hdr (Results 1 – 3 of 3) sorted by relevance
| /libpciaccess/src/ |
| H A D | x86_pci.c | 308 uint8_t hdr; in pci_nfuncs() local 311 err = pci_sys_x86->read(bus, dev, 0, PCI_HDRTYPE, &hdr, sizeof(hdr)); in pci_nfuncs() 316 return hdr & 0x80 ? 8 : 1; in pci_nfuncs()
|
| H A D | netbsd_pci.c | 82 uint32_t hdr; in pci_nfuncs() local 84 if (pci_read(bus, dev, 0, PCI_BHLC_REG, &hdr) != 0) in pci_nfuncs() 87 return (PCI_HDRTYPE_MULTIFN(hdr) ? 8 : 1); in pci_nfuncs()
|
| H A D | openbsd_pci.c | 152 uint32_t hdr; in pci_nfuncs() local 157 if (pci_read(domain, bus, dev, 0, PCI_BHLC_REG, &hdr) != 0) in pci_nfuncs() 160 return (PCI_HDRTYPE_MULTIFN(hdr) ? 8 : 1); in pci_nfuncs()
|