Searched refs:pci_read (Results 1 – 2 of 2) sorted by relevance
| /libpciaccess/src/ |
| H A D | netbsd_pci.c | 44 pci_read(int bus, int dev, int func, uint32_t reg, uint32_t *val) in pci_read() function 84 if (pci_read(bus, dev, 0, PCI_BHLC_REG, &hdr) != 0) in pci_nfuncs() 246 err = pci_read(bus, dev, func, PCI_BHLC_REG, ®); in pci_device_netbsd_probe() 257 err = pci_read(bus, dev, func, bar, ®); in pci_device_netbsd_probe() 265 pci_read(bus, dev, func, bar, &size); in pci_device_netbsd_probe() 289 err = pci_read(bus, dev, func, bar, ®); in pci_device_netbsd_probe() 297 pci_read(bus, dev, func, bar, &size); in pci_device_netbsd_probe() 348 if (pci_read(bus, dev, func, PCI_ID_REG, in pci_system_netbsd_create() 373 if (pci_read(bus, dev, func, PCI_ID_REG, in pci_system_netbsd_create() 387 if (pci_read(bus, dev, func, PCI_CLASS_REG, in pci_system_netbsd_create() [all …]
|
| H A D | openbsd_pci.c | 128 pci_read(domain, bus, dev, func, PCI_ROM_REG, &rom); in pci_device_openbsd_read_rom() 157 if (pci_read(domain, bus, dev, 0, PCI_BHLC_REG, &hdr) != 0) in pci_nfuncs() 326 err = pci_read(domain, bus, dev, func, bar, ®); in pci_device_openbsd_probe() 334 pci_read(domain, bus, dev, func, bar, &size); in pci_device_openbsd_probe() 358 err = pci_read(domain, bus, dev, func, bar, ®); in pci_device_openbsd_probe() 366 pci_read(domain, bus, dev, func, bar, &size); in pci_device_openbsd_probe() 386 pci_read(domain, bus, dev, func, PCI_ROM_REG, &size); in pci_device_openbsd_probe() 447 if (pci_read(domain, bus, dev, func, in pci_system_openbsd_create() 477 if (pci_read(domain, bus, dev, func, in pci_system_openbsd_create() 491 if (pci_read(domain, bus, dev, func, in pci_system_openbsd_create() [all …]
|