/external/grub/netboot/ |
pci.c | 401 unsigned int devfn, l, bus, buses; local 416 for (devfn = 0; devfn < 0xff; ++devfn) { 417 if (PCI_FUNC (devfn) == 0) 418 pcibios_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); 421 pcibios_read_config_dword(bus, devfn, PCI_VENDOR_ID, &l); 432 bus, devfn, vendor, device); 438 pcidev[i].devfn = devfn; [all...] |
pci.h | 66 #define PCI_FUNC(devfn) ((devfn) & 0x07) 179 unsigned char devfn; member in struct:pci_device
|
/external/qemu/hw/ |
pci.c | 241 /* -1 for devfn means auto assign */ 243 const char *name, int devfn, 247 if (devfn < 0) { 248 for(devfn = bus->devfn_min ; devfn < 256; devfn += 8) { 249 if (!bus->devices[devfn]) 256 pci_dev->devfn = devfn; 267 bus->devices[devfn] = pci_dev 769 int devfn; local 912 int devfn; local [all...] |
pci.h | 16 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) 17 #define PCI_FUNC(devfn) ((devfn) & 0x07) 147 int devfn; member in struct:PCIDevice 164 int instance_size, int devfn, 186 PCIDevice *pci_nic_init(PCIBus *bus, NICInfo *nd, int devfn, 199 PCIBus *pci_bridge_init(PCIBus *bus, int devfn, uint16_t vid, uint16_t did, 223 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name); 233 void usb_uhci_piix3_init(PCIBus *bus, int devfn); [all...] |
/external/kernel-headers/original/linux/ |
pci.h | 35 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) 36 #define PCI_FUNC(devfn) ((devfn) & 0x07) 120 unsigned int devfn; /* encoded device & function index */ member in struct:pci_dev 269 int (*read)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val); 270 int (*write)(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val); 274 int (*read)(unsigned int domain, unsigned int bus, unsigned int devfn, 276 int (*write)(unsigned int domain, unsigned int bus, unsigned int devfn, 427 int pci_scan_slot(struct pci_bus *bus, int devfn); [all...] |
/external/qemu/android/config/linux-x86/linux/ |
kvm.h | 664 __u32 devfn; member in struct:kvm_assigned_pci_dev
|
/external/qemu/android/config/linux-x86_64/linux/ |
kvm.h | 664 __u32 devfn; member in struct:kvm_assigned_pci_dev
|
/external/qemu-pc-bios/bochs/bios/ |
rombios32.c | 708 int devfn; member in struct:PCIDevice 720 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 726 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 732 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 738 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 744 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 750 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); 787 slot_addend = (pci_dev->devfn >> 3) - 1; 940 BX_INFO("PCI: bus=%d devfn=0x%02x: vendor_id=0x%04x device_id=0x%04x class=0x%04x\n", 941 d->bus, d->devfn, vendor_id, device_id, class) 1035 int bus, devfn; local [all...] |