Home
last modified time | relevance | path

Searched refs:PCIE_DIP2BUS (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcie_sparc.c35 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 Dpcieb_sparc.c201 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 Dpciev.c69 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 Dpcie.c769 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_enable()
789 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_disable()
820 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_open()
849 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_close()
938 bus_p = PCIE_DIP2BUS(cdip); in pcie_init_cfghdl()
1077 bus_p = PCIE_DIP2BUS(cdip); in pcie_initchild()
2095 bus_p = PCIE_DIP2BUS(dip); in pcie_init_bus()
2230 rc_bus_p = PCIE_DIP2BUS(rcdip); in pcie_get_rc_dip()
3447 bus_p = PCIE_DIP2BUS(dip); in pcie_fabric_feature_scan()
3573 bus_p = PCIE_DIP2BUS(dip); in pcie_fabric_feature_set()
[all …]
H A Dpcieb.c413 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 Dpcie_fault.c177 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 Dpcie_pwr.c842 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_pcie()
/illumos-gate/usr/src/uts/common/sys/
H A Dpcie_impl.h39 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/i86pc/io/pciex/
H A Dpcie_x86.c44 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 Dnpe_misc.c87 pcie_bus_t *bus_p = PCIE_DIP2BUS(child); in npe_disable_empty_bridges_workaround()
H A Dnpe.c1062 bus_p = PCIE_DIP2BUS(child); in npe_initchild()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_fm.c99 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()
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()
968 pf_eh_enter(PCIE_DIP2BUS(px_p->px_dip)); in px_fm_enter()
[all …]
H A Dpx.c317 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/common/io/pciex/hotplug/
H A Dpciehpc.c711 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()
1306 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_hpc_init()
1489 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_slotinfo_init()
1766 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_enable_state_sync()
1904 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_enable_intr()
1966 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_disable_intr()
1994 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pciehpc_create_controller()
2025 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pciehpc_destroy_controller()
[all …]
H A Dpcie_hp.c217 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 Dpcishpc.c137 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 Dpcieb_x86.c49 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 Dpcie_acpi.c58 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 Dpciehpc_acpi.c98 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 Dpcie_hp.h90 (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 Dpx_err.c189 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 Dpx_lib4v.c1310 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 Dpx_err.c1894 (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 Dpx_lib4u.c2614 pcie_bus_t *bus_p = PCIE_DIP2BUS(px_p->px_dip); in px_hp_intr_redist()