Home
last modified time | relevance | path

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

/external/libpciaccess/src/
Dx86_pci.c804 struct pci_device scratchdev; in pci_system_x86_scan_bus() local
806 scratchdev.bus = bus; in pci_system_x86_scan_bus()
810 scratchdev.dev = dev; in pci_system_x86_scan_bus()
811 scratchdev.func = 0; in pci_system_x86_scan_bus()
812 err = pci_nfuncs (&scratchdev, &nfuncs); in pci_system_x86_scan_bus()
818 scratchdev.func = func; in pci_system_x86_scan_bus()
819 err = pci_device_cfg_read_u32 (&scratchdev, &reg, PCI_VENDOR_ID); in pci_system_x86_scan_bus()
826 err = pci_device_cfg_read_u32 (&scratchdev, &reg, PCI_CLASS); in pci_system_x86_scan_bus()
830 err = pci_device_cfg_read_u8 (&scratchdev, &hdrtype, PCI_HDRTYPE); in pci_system_x86_scan_bus()
861 err = pci_device_cfg_read_u8 (&scratchdev, &secbus, PCI_SECONDARY_BUS); in pci_system_x86_scan_bus()