| /illumos-gate/usr/src/uts/intel/io/amdnbtemp/ |
| H A D | amdnbtemp.c | 253 at->at_dev = PCI_REG_DEV_G(regs[0]); in amdnbtemp_attach() 254 at->at_func = PCI_REG_DEV_G(regs[0]); in amdnbtemp_attach()
|
| /illumos-gate/usr/src/cmd/pcieadm/ |
| H A D | pcieadm.c | 259 PCI_REG_DEV_G(regs[0]), PCI_REG_FUNC_G(regs[0])); in pcieadm_find_dip_cb() 261 PCI_REG_BUS_G(regs[0]), PCI_REG_DEV_G(regs[0]), in pcieadm_find_dip_cb() 598 pck->pck_dev = PCI_REG_DEV_G(regs[0]); in pcieadm_init_ops_kernel()
|
| /illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
| H A D | pcmu_util.c | 319 PCI_REG_DEV_G(pcmu_rp[0].pci_phys_hi), func); in name_child() 322 PCI_REG_DEV_G(pcmu_rp[0].pci_phys_hi)); in name_child()
|
| /illumos-gate/usr/src/uts/sun4/io/px/ |
| H A D | px_util.c | 352 PCI_REG_DEV_G(pci_rp[0].pci_phys_hi), func); in px_name_child() 355 PCI_REG_DEV_G(pci_rp[0].pci_phys_hi)); in px_name_child()
|
| /illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
| H A D | pcie_hp.c | 1059 pci_dev = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in pcie_hp_match_dev_func() 1096 pci_dev = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in pcie_hp_match_dev() 1143 pci_dev = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in pcie_hp_list_occupants()
|
| /illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
| H A D | did.c | 368 np->dp_dev = PCI_REG_DEV_G(reg); in did_create() 370 np->dp_bdf = (PCI_REG_BUS_G(reg) << 8) | (PCI_REG_DEV_G(reg) << 3) | in did_create()
|
| /illumos-gate/usr/src/uts/sun4u/io/pci/ |
| H A D | pci_util.c | 351 PCI_REG_DEV_G(pci_rp[0].pci_phys_hi), func); in name_child() 354 PCI_REG_DEV_G(pci_rp[0].pci_phys_hi)); in name_child()
|
| H A D | pci_pci.c | 694 d = PCI_REG_DEV_G(pci_rp[0].pci_phys_hi); in ppb_intr_ops() 773 slot = PCI_REG_DEV_G(pci_rp[0].pci_phys_hi); in ppb_name_child()
|
| /illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
| H A D | gfxp_pci.c | 99 *dev = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in gfxp_pci_get_bsf()
|
| /illumos-gate/usr/src/uts/sparc/io/pciex/ |
| H A D | pcieb_sparc.c | 105 PCI_REG_DEV_G(pci_rp[0].pci_phys_hi); in pcieb_plat_intr_ops()
|
| /illumos-gate/usr/src/uts/common/io/sfxge/ |
| H A D | sfxge_mcdi.c | 254 PCI_REG_DEV_G(sp->s_bus_addr), in sfxge_mcdi_logger()
|
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
| H A D | oce_hw.c | 205 dev->pci_device = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in oce_get_bdf()
|
| /illumos-gate/usr/src/uts/common/io/cardbus/ |
| H A D | cardbus_hp.c | 898 device = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in cbus_configure() 1001 device = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in cbus_unconfigure()
|
| H A D | cardbus_cfg.c | 3196 PCI_REG_DEV_G(reg->pci_phys_hi), 3205 PCI_REG_DEV_G(reg->pci_phys_hi), 3232 PCI_REG_DEV_G(reg->pci_phys_hi), 3382 PCI_REG_DEV_G(reg->pci_phys_hi), 3526 PCI_REG_DEV_G(reg->pci_phys_hi),
|
| /illumos-gate/usr/src/cmd/biosdev/ |
| H A D | biosdev.c | 243 devicenum = PCI_REG_DEV_G(regval); in i_match_pcibdf()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | ksensor.c | 592 dev = PCI_REG_DEV_G(regs[0]); in ksensor_create_scalar_pcidev()
|
| /illumos-gate/usr/src/uts/common/sys/ |
| H A D | pci.h | 1200 #define PCI_REG_DEV_G(x) (((x) & PCI_REG_DEV_M) >> PCI_REG_DEV_SHIFT) macro
|
| /illumos-gate/usr/src/lib/fm/topo/modules/common/pciebus/ |
| H A D | topo_pcie_prop.c | 328 TOPO_PCIE_PCI_DEVICE, PCI_REG_DEV_G(val[0])) && in set_bdf()
|
| /illumos-gate/usr/src/uts/i86pc/io/pci/ |
| H A D | pci.c | 480 cfp->c_devnum = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in pci_bus_map()
|
| /illumos-gate/usr/src/uts/common/io/cpqary3/ |
| H A D | cpqary3.c | 800 cpqary3p->dev = PCI_REG_DEV_G(*regp); in cpqary3_update_ctlrdetails()
|
| /illumos-gate/usr/src/uts/common/io/ena/ |
| H A D | ena_admin.c | 324 ehi->ehi_bdf |= PCI_REG_DEV_G(regs[0]) << 3; in ena_init_host_info()
|
| /illumos-gate/usr/src/uts/intel/io/imc/ |
| H A D | imc.c | 2344 imc_stub_table[i].imcs_pcidev == PCI_REG_DEV_G(regs[0]) && in imc_stub_scan_cb() 2520 imc_stub_table[i].imcs_pcidev == PCI_REG_DEV_G(regs[0]) && in imc_attach_stub() 2555 stub->istub_dev = PCI_REG_DEV_G(regs[0]); in imc_attach_stub()
|
| /illumos-gate/usr/src/uts/intel/io/amdzen/ |
| H A D | amdzen.c | 2167 PCI_REG_DEV_G(regs[0]) >= AMDZEN_DF_FIRST_DEVICE) { in amdzen_stub_scan_cb() 2288 PCI_REG_DEV_G(reg) >= AMDZEN_DF_FIRST_DEVICE) { in amdzen_attach_stub() 2310 stub->azns_dev = PCI_REG_DEV_G(reg); in amdzen_attach_stub()
|
| /illumos-gate/usr/src/uts/i86pc/io/psm/ |
| H A D | psm_common.c | 246 *device = (int)PCI_REG_DEV_G(pci_rp->pci_phys_hi); in get_bdf()
|
| /illumos-gate/usr/src/uts/common/io/aac/ |
| H A D | aac_ioctl.c | 657 resp->slot = PCI_REG_DEV_G(pci_rp->pci_phys_hi); in aac_get_pci_info()
|