/illumos-gate/usr/src/uts/common/sys/ |
H A D | pciev.h | 132 #define PCIE_ASSIGNED_TO_FMA_DOM(bus_p) \ argument 134 #define PCIE_ASSIGNED_TO_NFMA_DOM(bus_p) \ argument 136 #define PCIE_ASSIGNED_TO_ROOT_DOM(bus_p) \ argument 138 #define PCIE_BDG_HAS_CHILDREN_FMA_DOM(bus_p) \ argument 140 #define PCIE_BDG_HAS_CHILDREN_NFMA_DOM(bus_p) \ argument 142 #define PCIE_BDG_HAS_CHILDREN_ROOT_DOM(bus_p) \ argument 144 #define PCIE_IS_ASSIGNED(bus_p) \ argument 146 #define PCIE_BDG_IS_UNASSIGNED(bus_p) \ argument 152 #define PCIE_IN_DOMAIN(bus_p, id) (pcie_in_domain((bus_p), (id))) argument 155 #define PCIE_DOMAIN_ID_GET(bus_p) \ argument [all …]
|
H A D | pcie_impl.h | 62 #define PCIE_BUS2DIP(bus_p) bus_p->bus_dip argument 63 #define PCIE_BUS2PFD(bus_p) PCIE_DIP2PFD(PCIE_BUS2DIP(bus_p)) argument 64 #define PCIE_BUS2DOM(bus_p) bus_p->bus_dom argument 70 #define PCIE_IS_PCIE(bus_p) (bus_p->bus_pcie_off) argument 71 #define PCIE_IS_PCIX(bus_p) (bus_p->bus_pcix_off) argument 72 #define PCIE_IS_PCI(bus_p) (!PCIE_IS_PCIE(bus_p)) argument 73 #define PCIE_HAS_AER(bus_p) (bus_p->bus_aer_off) argument 75 #define PCIE_IS_ROOT(bus_p) (PCIE_IS_RC(bus_p) || PCIE_IS_RP(bus_p)) argument 89 #define PCIE_IS_RC(bus_p) \ argument 91 #define PCIE_IS_RP(bus_p) \ argument [all …]
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie.c | 776 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_enable() local 796 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_disable() local 827 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_open() local 856 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_close() local 942 pcie_bus_t *bus_p; in pcie_init_cfghdl() local 963 pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip); in pcie_fini_cfghdl() local 971 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_determine_serial() local 1017 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_determine_aspm() local 1081 pcie_bus_t *bus_p; in pcie_initchild() local 1185 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_pfd() local [all …]
|
H A D | pcie_fault.c | 169 pf_eh_enter(pcie_bus_t *bus_p) in pf_eh_enter() 175 pf_eh_exit(pcie_bus_t *bus_p) in pf_eh_exit() 357 pcie_bus_t *bus_p; in pf_dispatch() local 437 pf_in_bus_range(pcie_bus_t *bus_p, pcie_req_id_t bdf) in pf_in_bus_range() 455 pf_in_assigned_addr(pcie_bus_t *bus_p, uint64_t addr) in pf_in_assigned_addr() 475 pf_in_addr_range(pcie_bus_t *bus_p, uint64_t addr) in pf_in_addr_range() 517 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_is_ready() local 528 pcie_bus_t *bus_p, boolean_t bdg) in pf_pcix_ecc_regs_gather() 553 pf_pcix_regs_gather(pf_data_t *pfd_p, pcie_bus_t *bus_p) in pf_pcix_regs_gather() 601 pf_pcie_regs_gather(pf_data_t *pfd_p, pcie_bus_t *bus_p) in pf_pcie_regs_gather() [all …]
|
H A D | pciev.c | 64 pcie_bus_t *bus_p; in pcie_find_dip_by_bdf() local 129 pcie_cache_domain_info(pcie_bus_t *bus_p) in pcie_cache_domain_info() 168 pcie_uncache_domain_info(pcie_bus_t *bus_p) in pcie_uncache_domain_info() 221 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_dom() local 260 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_dom() local 408 pcie_bus_t *bus_p = PCIE_PFD2BUS(pfd_p); in pciev_get_affected_dev() local 487 pcie_in_domain(pcie_bus_t *bus_p, uint_t domain_id) in pcie_in_domain()
|
H A D | pcieb.c | 485 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(devi); in pcieb_attach() local 1047 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_is_pcie_device_type() local 1128 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intr_init() local 1497 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_retrain() local 1518 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_get_speed() local 1577 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_set_speed() local 2040 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_id_props() local
|
H A D | pcie_pwr.c | 842 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_pcie() local
|
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pciehpc.c | 711 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pciehpc_intr() local 980 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_get_slot_state() local 1061 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_set_slot_name() local 1138 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get8() local 1151 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get16() local 1164 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get32() local 1177 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put8() local 1190 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put16() local 1203 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put32() local 1266 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_sync_leds_to_hw() local [all …]
|
H A D | pcie_hp.c | 217 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_init() local 264 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_uninit() local 306 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_intr() local 472 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_create_occupant_props() local 671 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_find_physical_slot() local 697 pcie_bus_t *bus_p = PCIE_DIP2BUS(pdip); in pcie_hp_create_port_name_num() local 907 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_common_ops() local
|
H A D | pcishpc.c | 137 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_init() local 841 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_create_controller() local 939 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_destroy_controller() local 1887 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_set_slot_name() local 2363 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_read_reg() local 2391 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_write_reg() local
|
/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | pcie_x86.c | 44 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_plat() local 52 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat() local
|
H A D | npe_misc.c | 87 pcie_bus_t *bus_p = PCIE_DIP2BUS(child); in npe_disable_empty_bridges_workaround() local
|
H A D | npe.c | 964 pcie_bus_t *bus_p; in npe_initchild() local
|
/illumos-gate/usr/src/uts/sparc/io/pciex/ |
H A D | pcie_sparc.c | 35 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_plat() local 60 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat() local
|
H A D | pcieb_sparc.c | 201 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_attach_plx_workarounds() local 336 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in plx_ro_disable() local
|
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 155 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_plat_msi_supported() local 208 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(devi); in pcieb_init_osc() local 468 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intel_serr_workaround() local 555 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intel_rber_workaround() local 587 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intel_mps_workaround() local 614 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intel_sw_workaround() local
|
H A D | pcie_acpi.c | 58 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_acpi_osc() local 222 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_osc() local
|
/illumos-gate/usr/src/uts/intel/io/pciex/hotplug/ |
H A D | pciehpc_acpi.c | 98 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_update_ops() local 233 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slotinfo_init() local 326 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweron() local 398 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweroff() local
|
/illumos-gate/usr/src/uts/sun4v/io/pciex/ |
H A D | pci_cfgacc_4v.c | 68 pcie_bus_t *bus_p; in pci_cfgacc_get() local 89 pcie_bus_t *bus_p; in pci_cfgacc_set() local
|
/illumos-gate/usr/src/uts/sun4u/io/pciex/ |
H A D | pci_cfgacc_4u.c | 63 pcie_bus_t *bus_p; in pci_cfgacc_get() local 97 pcie_bus_t *bus_p; in pci_cfgacc_set() local
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | pci.c | 26 pcie_bus_match(const struct dev_info *devi, uintptr_t *bus_p) in pcie_bus_match()
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px.c | 229 pcie_bus_t *bus_p; in px_attach() local 317 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_attach() local 455 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_detach() local 1449 pcie_bus_t *bus_p; in px_set_mps() local
|
H A D | px_fm.c | 72 pcie_bus_t *bus_p; in px_fm_attach() local 811 pcie_bus_t *bus_p; in px_err_cfg_hdl_check() local 978 pcie_bus_t *bus_p, *root_bus_p; in px_guest_panic() local
|
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcie_hp.h | 95 #define PCIE_IS_PCIE_HOTPLUG_CAPABLE(bus_p) \ argument 99 #define PCIE_IS_PCI_HOTPLUG_CAPABLE(bus_p) \ argument 102 #define PCIE_IS_PCIE_HOTPLUG_ENABLED(bus_p) \ argument 106 #define PCIE_IS_PCI_HOTPLUG_ENABLED(bus_p) \ argument
|
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_lib4u.c | 2614 pcie_bus_t *bus_p = PCIE_DIP2BUS(px_p->px_dip); in px_hp_intr_redist() local
|