| /freebsd-13.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 320 uint8_t devfn; member
|
| H A D | platform.h | 296 uint8_t devfn; member
|
| /freebsd-13.1/sys/compat/linuxkpi/common/include/linux/ |
| H A D | pci.h | 97 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument 98 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument 99 #define PCI_BUS_NUM(devfn) (((devfn) >> 8) & 0xff) argument 311 unsigned int devfn; member 1340 unsigned int bus, unsigned int devfn); 1341 #define pci_get_domain_bus_and_slot(domain, bus, devfn) \ argument 1342 lkpi_pci_get_domain_bus_and_slot(domain, bus, devfn) 1366 ret = pci_bus_read_config(bus, devfn, pos, &tmp, 2); in pci_bus_read_config_word() 1377 ret = pci_bus_read_config(bus, devfn, pos, &tmp, 1); in pci_bus_read_config_byte() 1395 return (pci_bus_write_config(bus, devfn, pos, val, 1)); in pci_bus_write_config_byte() [all …]
|
| /freebsd-13.1/sys/dev/hyperv/pcib/ |
| H A D | vmbus_pcib.c | 406 #define PCI_SLOT(devfn) (((devfn) >> 3) & 0x1f) argument 407 #define PCI_FUNC(devfn) ((devfn) & 0x07) argument 410 devfn_to_wslot(unsigned int devfn) in devfn_to_wslot() argument 415 wslot.bits.slot = PCI_SLOT(devfn); in devfn_to_wslot() 416 wslot.bits.func = PCI_FUNC(devfn); in devfn_to_wslot() 559 int devfn; in hv_pci_delete_device() local 566 0, PCI_SLOT(devfn), PCI_FUNC(devfn)); in hv_pci_delete_device() 1631 unsigned int devfn; in vmbus_pcib_alloc_resource() local 1642 devfn = PCI_DEVFN(pci_get_slot(child), in vmbus_pcib_alloc_resource() 1700 unsigned int devfn = PCI_DEVFN(slot, func); in vmbus_pcib_read_config() local [all …]
|
| /freebsd-13.1/sys/xen/interface/io/ |
| H A D | pciif.h | 80 uint32_t devfn; member 106 uint32_t devfn; member
|
| /freebsd-13.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 | 1464 msi_irq.devfn = (pci_get_slot(dev) << 3) | pci_get_function(dev); in xen_register_msi()
|
| /freebsd-13.1/sys/arm/mv/ |
| H A D | mv_pci.c | 445 int err, bus, devfn, port_id; in mv_pcib_attach() local 532 for (devfn = 0; devfn < mv_pcib_maxslots(self); devfn++) { in mv_pcib_attach() 533 reg0 = mv_pcib_read_config(self, bus, devfn, devfn & 0x7, 0x0, 4); in mv_pcib_attach()
|
| /freebsd-13.1/sys/compat/linuxkpi/common/src/ |
| H A D | linux_pci.c | 279 pdev->devfn = PCI_DEVFN(pci_get_slot(dev), pci_get_function(dev)); in lkpifill_pci_dev() 353 unsigned int devfn) in lkpi_pci_get_domain_bus_and_slot() argument 358 dev = pci_find_dbsf(domain, bus, PCI_SLOT(devfn), PCI_FUNC(devfn)); in lkpi_pci_get_domain_bus_and_slot() 428 pdev->devfn = rid; in linux_pci_attach_device()
|
| /freebsd-13.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-13.1/sys/dev/xen/pcifront/ |
| H A D | pcifront.c | 596 .devfn = PCI_DEVFN(slot, func), in xpcib_read_config() 623 .devfn = PCI_DEVFN(slot, func), in xpcib_write_config()
|
| /freebsd-13.1/sys/powerpc/mpc85xx/ |
| H A D | pci_mpc85xx.c | 553 u_int devfn; in fsl_pcib_read_config() local 557 devfn = DEVFN(bus, slot, func); in fsl_pcib_read_config()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| H A D | linux_syscall_hooks.h | 1398 #define __sanitizer_syscall_pre_pciconfig_iobase(which, bus, devfn) \ argument 1400 (long)(devfn)) 1401 #define __sanitizer_syscall_post_pciconfig_iobase(res, which, bus, devfn) \ argument 1403 (long)(bus), (long)(devfn)) 2802 long devfn); 2804 long bus, long devfn);
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_main.c | 3056 return PCI_SLOT(pdev->devfn) * 8 + PCI_FUNC(pdev->devfn); in extended_func_num()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_syscalls.inc | 2216 PRE_SYSCALL(pciconfig_iobase)(long which, long bus, long devfn) {} 2218 POST_SYSCALL(pciconfig_iobase)(long res, long which, long bus, long devfn) {}
|