/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() 44 pcie_bus_t *parent_bus_p = PCIE_DIP2BUS(pdip); in pcie_init_plat() 60 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat()
|
H A D | pcieb_sparc.c | 201 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_attach_plx_workarounds() 312 if (PCIE_IS_PCIE_BDG(PCIE_DIP2BUS(pcieb->pcieb_dip))) in pcieb_init_plx_workarounds() 336 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in plx_ro_disable() 480 uint16_t vendorid = (PCIE_DIP2BUS(dip)->bus_dev_ven_id) & 0xFFFF; in pcieb_print_plx_seeprom_crc_data()
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pciev.c | 69 bus_p = PCIE_DIP2BUS(dip); in pcie_find_dip_by_bdf() 141 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_cache_domain_info() 143 pbus_p = PCIE_DIP2BUS(pdip); in pcie_cache_domain_info() 191 for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip); in pcie_uncache_domain_info() 193 pbus_p = PCIE_DIP2BUS(pdip); in pcie_uncache_domain_info() 221 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_dom() 260 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_dom() 420 return (PCIE_DIP2BUS(bus_p->bus_rp_dip)); in pciev_get_affected_dev() 424 return (PCIE_DIP2BUS(ddi_get_parent(PCIE_BUS2DIP(bus_p)))); in pciev_get_affected_dev()
|
H A D | pcie.c | 776 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_enable() 796 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_disable() 827 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_open() 856 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_close() 945 bus_p = PCIE_DIP2BUS(cdip); in pcie_init_cfghdl() 963 pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip); in pcie_fini_cfghdl() 971 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_determine_serial() 1017 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_determine_aspm() 1083 bus_p = PCIE_DIP2BUS(cdip); in pcie_initchild() 1185 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_pfd() [all …]
|
H A D | pcieb.c | 413 pcie_bus_t *cdip_bus_p = PCIE_DIP2BUS(cdip); in pcieb_41210_mps_wkrnd() 678 if (PCIE_IS_RP(PCIE_DIP2BUS(dip)) && mp->map_handlep != NULL) { in pcieb_bus_map() 1047 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_is_pcie_device_type() 1497 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_retrain() 1518 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_get_speed() 1577 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_ioctl_set_speed() 1718 pf_eh_enter(PCIE_DIP2BUS(dip)); in pcieb_intr_handler() 1724 pf_eh_exit(PCIE_DIP2BUS(dip)); in pcieb_intr_handler() 2040 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in pcieb_id_props()
|
H A D | pcie_fault.c | 177 pcie_bus_t *rbus_p = PCIE_DIP2BUS(bus_p->bus_rp_dip); in pf_eh_exit() 260 if (PCIE_IS_RP(PCIE_DIP2BUS(rdip)) && pf_is_ready(rdip) && in pf_scan_fabric() 517 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_is_ready() 868 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_clear_errors() 973 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_default_hdl() 1064 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_set_passthru() 1085 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_init() 1148 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pf_fini() 2212 if (PCIE_IS_PCIE_BDG(PCIE_DIP2BUS(dip))) in pf_get_parent_pcie_bridge() 2509 if ((bus_p = PCIE_DIP2BUS(cdip)) == NULL) in pf_hdl_child_lookup()
|
H A D | pcie_pwr.c | 842 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_pcie()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pcie_impl.h | 39 PCIE_DIP2BUS(dip)->bus_bdf 41 PCIE_DIP2BUS(dip)->bus_bdg_secbus 43 PCIE_DIP2BUS(dip)->bus_pcie2pci_secbus 49 #define PCIE_DIP2BUS(dip) \ macro 59 #define PCIE_DIP2PFD(dip) (PCIE_DIP2BUS(dip))->bus_pfd 65 #define PCIE_DIP2DOM(dip) PCIE_BUS2DOM(PCIE_DIP2BUS(dip)) 78 (PCIE_DIP2BUS(dip)->bus_hp_sup_modes) 81 ((PCIE_DIP2BUS(dip)->bus_hp_curr_mode == PCIE_PCI_HP_MODE) || \ 82 (PCIE_DIP2BUS(dip)->bus_hp_curr_mode == PCIE_NATIVE_HP_MODE)) 585 if (PCIE_IS_PCIE(PCIE_DIP2BUS(dip))) { \ [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_fm.c | 99 bus_p = PCIE_DIP2BUS(dip); in px_fm_attach() 620 if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS) in px_err_check_pcie() 624 if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS) { in px_err_check_pcie() 686 tlp_sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg); in px_pcie_ptlp() 709 lookup = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg); in px_pcie_ptlp() 816 bus_p = PCIE_DIP2BUS(dip); in px_err_cfg_hdl_check() 858 px_dip = PCIE_DIP2BUS(dip)->bus_rp_dip; in px_err_pio_hdl_check() 860 if (!PCIE_IS_RC(PCIE_DIP2BUS(px_dip))) in px_err_pio_hdl_check() 863 ASSERT(PCIE_IS_RC(PCIE_DIP2BUS(px_dip))); in px_err_pio_hdl_check() 894 (bdf == PCIE_DIP2BUS(dip)->bus_bdf)))) in px_err_pio_hdl_check() [all …]
|
H A D | px.c | 317 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_attach() 363 bus_p = PCIE_DIP2BUS(dip); in px_attach() 455 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_detach() 1453 bus_p = PCIE_DIP2BUS(dip); in px_set_mps()
|
/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() 52 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat()
|
H A D | npe_misc.c | 87 pcie_bus_t *bus_p = PCIE_DIP2BUS(child); in npe_disable_empty_bridges_workaround()
|
H A D | npe.c | 1062 bus_p = PCIE_DIP2BUS(child); in npe_initchild()
|
/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() 980 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_get_slot_state() 1061 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_set_slot_name() 1138 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get8() 1151 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get16() 1164 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_get32() 1177 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put8() 1190 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put16() 1203 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_reg_put32() 1266 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_sync_leds_to_hw() [all …]
|
H A D | pcie_hp.c | 217 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_init() 264 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_uninit() 306 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_intr() 472 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_create_occupant_props() 671 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_find_physical_slot() 697 pcie_bus_t *bus_p = PCIE_DIP2BUS(pdip); in pcie_hp_create_port_name_num() 907 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_common_ops()
|
H A D | pcishpc.c | 137 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_init() 841 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_create_controller() 939 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_destroy_controller() 1887 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_set_slot_name() 2363 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_read_reg() 2391 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_write_reg()
|
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 49 pf_eh_enter(PCIE_DIP2BUS(dip)); in pcieb_peekpoke_cb() 51 pf_eh_exit(PCIE_DIP2BUS(dip)); in pcieb_peekpoke_cb() 73 if (!PCIE_IS_RP(PCIE_DIP2BUS(dip))) in pcieb_plat_peekpoke() 620 if (!PCIE_IS_SW(PCIE_DIP2BUS(dip))) in pcieb_intel_sw_workaround()
|
H A D | pcie_acpi.c | 58 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_acpi_osc() 222 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_osc()
|
/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() 233 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slotinfo_init() 326 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweron() 398 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweroff()
|
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcie_hp.h | 90 (pcie_hp_ctrl_t *)PCIE_DIP2BUS(dip)->bus_hp_ctrl 93 (PCIE_DIP2BUS(dip)->bus_hp_ctrl) = (pcie_hp_ctrl_t *)ctrl_p
|
/illumos-gate/usr/src/uts/sun4v/io/px/ |
H A D | px_err.c | 189 if (pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg) == in px_err_fill_pfd() 705 sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg); in px_port_handle_errors() 770 sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg); in px_pcie_epkt_severity()
|
H A D | px_lib4v.c | 1310 busp = PCIE_DIP2BUS(cdip); in px_pci_config_get() 2248 if (PCIE_DIP2BUS(rcdip) && PCIE_IS_RC(PCIE_DIP2BUS(rcdip))) in px_lib_fabric_sync()
|
/illumos-gate/usr/src/uts/sun4u/io/px/ |
H A D | px_err.c | 1894 (void) pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg); in px_err_wuc_ruc_handle() 2236 sts = pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg); in PX_ERPT_SEND_DEC()
|
H A D | px_lib4u.c | 2614 pcie_bus_t *bus_p = PCIE_DIP2BUS(px_p->px_dip); in px_hp_intr_redist()
|