| /freebsd-12.1/sys/xen/interface/ |
| H A D | physdev.h | 170 int devfn; member 194 uint8_t devfn; member 204 uint8_t devfn; member 213 uint8_t devfn; member 218 uint8_t devfn; member 292 uint8_t devfn; member 296 uint8_t devfn; member 324 uint8_t devfn; member
|
| H A D | platform.h | 295 uint8_t devfn; member
|
| /freebsd-12.1/sys/dev/hyperv/pcib/ |
| H A D | vmbus_pcib.c | 381 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument 382 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument 385 devfn_to_wslot(unsigned int devfn) in devfn_to_wslot() argument 390 wslot.bits.slot = PCI_SLOT(devfn); in devfn_to_wslot() 391 wslot.bits.func = PCI_FUNC(devfn); in devfn_to_wslot() 515 int devfn; in hv_pci_delete_device() local 522 0, PCI_SLOT(devfn), PCI_FUNC(devfn)); in hv_pci_delete_device() 1534 unsigned int devfn; in vmbus_pcib_alloc_resource() local 1545 devfn = PCI_DEVFN(pci_get_slot(child), in vmbus_pcib_alloc_resource() 1603 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_read_config() local [all …]
|
| /freebsd-12.1/sys/xen/interface/io/ |
| H A D | pciif.h | 80 uint32_t devfn; member 106 uint32_t devfn; member
|
| /freebsd-12.1/sys/x86/xen/ |
| H A D | xen_pci_bus.c | 85 add_pci.devfn = (dinfo->cfg.slot << 3) | dinfo->cfg.func; in xen_pci_child_added_method() 89 add_pci.bus, add_pci.devfn, error); in xen_pci_child_added_method()
|
| H A D | xen_intr.c | 1460 msi_irq.devfn = (pci_get_slot(dev) << 3) | pci_get_function(dev); in xen_register_msi()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | pci.h | 99 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument 100 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument 101 #define PCI_BUS_NUM(devfn) (((devfn) >> 8) & 0xff) argument 228 unsigned int devfn; member
|
| /freebsd-12.1/sys/arm/mv/ |
| H A D | mv_pci.c | 445 int err, bus, devfn, port_id; in mv_pcib_attach() local 534 for (devfn = 0; devfn < mv_pcib_maxslots(self); devfn++) { in mv_pcib_attach() 535 reg0 = mv_pcib_read_config(self, bus, devfn, devfn & 0x7, 0x0, 4); in mv_pcib_attach()
|
| /freebsd-12.1/sys/powerpc/mpc85xx/ |
| H A D | pci_mpc85xx.c | 518 u_int devfn; in fsl_pcib_read_config() local 522 devfn = DEVFN(bus, slot, func); in fsl_pcib_read_config() 523 if (devfn == sc->sc_devfn_tundra) in fsl_pcib_read_config() 525 if (devfn == sc->sc_devfn_via_ide && reg == PCIR_INTPIN) in fsl_pcib_read_config()
|
| /freebsd-12.1/sys/dev/pms/freebsd/driver/common/ |
| H A D | lxcommon.h | 583 pdev->vendor, pdev->device, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)) \
|
| /freebsd-12.1/sys/dev/xen/pcifront/ |
| H A D | pcifront.c | 599 .devfn = PCI_DEVFN(slot, func), in xpcib_read_config() 626 .devfn = PCI_DEVFN(slot, func), in xpcib_write_config()
|
| /freebsd-12.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_pci.c | 154 pdev->devfn = PCI_DEVFN(pci_get_slot(dev), pci_get_function(dev)); in linux_pci_attach()
|
| /freebsd-12.1/contrib/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1399 #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)) 2801 long devfn); 2803 long bus, long devfn);
|
| /freebsd-12.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_main.c | 3050 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
|
| /freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2217 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {} 2219 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}
|