Home
last modified time | relevance | path

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

/external/qemu/include/hw/pci/
Dpci.h16 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument
17 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
147 int devfn; member
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,
271 PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);
281 void usb_uhci_piix3_init(PCIBus *bus, int devfn);
282 void usb_uhci_piix4_init(PCIBus *bus, int devfn);
285 void usb_ohci_init_pci(struct PCIBus *bus, int num_ports, int devfn);
/external/qemu/hw/pci/
Dpci.c244 const char *name, int devfn, in do_pci_register_device() argument
248 if (devfn < 0) { in do_pci_register_device()
249 for(devfn = bus->devfn_min ; devfn < 256; devfn += 8) { in do_pci_register_device()
250 if (!bus->devices[devfn]) in do_pci_register_device()
257 pci_dev->devfn = devfn; in do_pci_register_device()
268 bus->devices[devfn] = pci_dev; in do_pci_register_device()
274 int instance_size, int devfn, in pci_register_device() argument
281 pci_dev = do_pci_register_device(pci_dev, bus, name, devfn, in pci_register_device()
321 pci_dev->bus->devices[pci_dev->devfn] = NULL; in pci_unregister_device()
729 d->bus->bus_num, d->devfn >> 3, d->devfn & 7); in pci_info_device()
[all …]
/external/kernel-headers/original/uapi/linux/
Dpci.h31 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument
32 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument
Dvfio.h338 __u8 devfn; /* Use PCI_SLOT/PCI_FUNC */ member
Dkvm.h1037 __u32 devfn; member
/external/qemu/hw/pci-host/
Dpiix.c54 slot_addend = (pci_dev->devfn >> 3) - 1; in pci_slot_get_pirq()
329 int piix3_init(PCIBus *bus, int devfn) in piix3_init() argument
335 devfn, NULL, NULL); in piix3_init()
349 return d->devfn; in piix3_init()
352 int piix4_init(PCIBus *bus, int devfn) in piix4_init() argument
358 devfn, NULL, NULL); in piix4_init()
373 return d->devfn; in piix4_init()
/external/qemu/include/hw/i386/
Dpc.h113 i2c_bus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
129 int piix3_init(PCIBus *bus, int devfn);
133 int piix4_init(PCIBus *bus, int devfn);
158 void pci_piix3_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
160 void pci_piix4_ide_init(PCIBus *bus, BlockDriverState **hd_table, int devfn,
/external/qemu-pc-bios/bochs/bios/
Drombios32.c708 int devfn; member
720 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_writel()
726 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_writew()
732 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_writeb()
738 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_readl()
744 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_readw()
750 outl(0xcf8, 0x80000000 | (d->bus << 16) | (d->devfn << 8) | (addr & 0xfc)); in pci_config_readb()
787 slot_addend = (pci_dev->devfn >> 3) - 1; in pci_slot_get_pirq()
941 d->bus, d->devfn, vendor_id, device_id, class); in pci_bios_init_device()
1035 int bus, devfn; in pci_for_each_device() local
[all …]
/external/qemu/include/hw/arm/
Dpxa.h219 void usb_ohci_init_pxa(hwaddr base, int num_ports, int devfn,
/external/qemu/android/config/linux-x86/linux/
Dkvm.h664 __u32 devfn; member
/external/qemu/android/config/linux-x86_64/linux/
Dkvm.h664 __u32 devfn; member
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1399 #define __sanitizer_syscall_pre_pciconfig_iobase(which, bus, devfn) \ argument
1401 (long)(devfn))
1402 #define __sanitizer_syscall_post_pciconfig_iobase(res, which, bus, devfn) \ argument
1404 (long)(bus), (long)(devfn))
2794 long devfn);
2796 long bus, long devfn);
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2219 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {}
2221 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}