PCIE_DIP2BUS
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(pdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(cdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *parent_bus_p = PCIE_DIP2BUS(pdip);
bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip);
rc_bus_p = PCIE_DIP2BUS(rcdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *cbus_p = PCIE_DIP2BUS(cdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(cdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *rbus_p = PCIE_DIP2BUS(bus_p->bus_rp_dip);
if (PCIE_IS_PCIE_BDG(PCIE_DIP2BUS(dip)))
if ((bus_p = PCIE_DIP2BUS(cdip)) == NULL)
if (PCIE_IS_RP(PCIE_DIP2BUS(rdip)) && pf_is_ready(rdip) &&
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip);
pf_eh_enter(PCIE_DIP2BUS(dip));
pf_eh_exit(PCIE_DIP2BUS(dip));
pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip);
pcie_bus_t *cdip_bus_p = PCIE_DIP2BUS(cdip);
if (PCIE_IS_RP(PCIE_DIP2BUS(dip)) && mp->map_handlep != NULL) {
for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip);
pbus_p = PCIE_DIP2BUS(pdip);
for (pdip = ddi_get_parent(PCIE_BUS2DIP(bus_p)); PCIE_DIP2BUS(pdip);
pbus_p = PCIE_DIP2BUS(pdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
return (PCIE_DIP2BUS(bus_p->bus_rp_dip));
return (PCIE_DIP2BUS(ddi_get_parent(PCIE_BUS2DIP(bus_p))));
bus_p = PCIE_DIP2BUS(dip);
(pcie_hp_ctrl_t *)PCIE_DIP2BUS(dip)->bus_hp_ctrl
(PCIE_DIP2BUS(dip)->bus_hp_ctrl) = (pcie_hp_ctrl_t *)ctrl_p
PCIE_DIP2BUS(dip)->bus_bdf
PCIE_DIP2BUS(dip)->bus_bdg_secbus
PCIE_DIP2BUS(dip)->bus_pcie2pci_secbus
if (PCIE_IS_PCIE(PCIE_DIP2BUS(dip))) { \
#define PCIE_DIP2PFD(dip) (PCIE_DIP2BUS(dip))->bus_pfd
if (PCIE_IS_PCIE(PCIE_DIP2BUS(dip))) { \
#define PCIE_DIP2DOM(dip) PCIE_BUS2DOM(PCIE_DIP2BUS(dip))
(PCIE_DIP2BUS(dip)->bus_hp_sup_modes)
((PCIE_DIP2BUS(dip)->bus_hp_curr_mode == PCIE_PCI_HP_MODE) || \
(PCIE_DIP2BUS(dip)->bus_hp_curr_mode == PCIE_NATIVE_HP_MODE))
bus_p = PCIE_DIP2BUS(child);
pcie_bus_t *bus_p = PCIE_DIP2BUS(child);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pf_eh_enter(PCIE_DIP2BUS(dip));
pf_eh_exit(PCIE_DIP2BUS(dip));
if (!PCIE_IS_SW(PCIE_DIP2BUS(dip)))
if (!PCIE_IS_RP(PCIE_DIP2BUS(dip)))
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *parent_bus_p = PCIE_DIP2BUS(pdip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
if (PCIE_IS_PCIE_BDG(PCIE_DIP2BUS(pcieb->pcieb_dip)))
pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip);
uint16_t vendorid = (PCIE_DIP2BUS(dip)->bus_dev_ven_id) & 0xFFFF;
bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
bus_p = PCIE_DIP2BUS(dip);
pcie_bus_t *bus_p = PCIE_DIP2BUS(dip);
pf_eh_exit(PCIE_DIP2BUS(px_p->px_dip));
if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS)
if (pf_tlp_decode(PCIE_DIP2BUS(dip), adv_reg) == DDI_SUCCESS) {
tlp_sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg);
lookup = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg);
bus_p = PCIE_DIP2BUS(dip);
px_dip = PCIE_DIP2BUS(dip)->bus_rp_dip;
if (!PCIE_IS_RC(PCIE_DIP2BUS(px_dip)))
ASSERT(PCIE_IS_RC(PCIE_DIP2BUS(px_dip)));
(bdf == PCIE_DIP2BUS(dip)->bus_bdf))))
pf_eh_enter(PCIE_DIP2BUS(px_p->px_dip));
bus_p = PCIE_DIP2BUS(dip);
(void) pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg);
sts = pf_tlp_decode(PCIE_DIP2BUS(rpdip), &adv_reg);
pcie_bus_t *bus_p = PCIE_DIP2BUS(px_p->px_dip);
if (pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg) ==
sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg);
sts = pf_tlp_decode(PCIE_DIP2BUS(dip), &adv_reg);
busp = PCIE_DIP2BUS(cdip);
if (PCIE_DIP2BUS(rcdip) && PCIE_IS_RC(PCIE_DIP2BUS(rcdip)))