Lines Matching refs:pe_hdl
114 pcix_ecc_regs->pcix_ecc_ctlstat = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
117 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_ecc_regs_gather()
121 pcix_ecc_regs->pcix_ecc_fstaddr = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
124 pcix_ecc_regs->pcix_ecc_secaddr = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
128 ddi_acc_handle_t)erpt_p->pe_hdl, in pcix_ecc_regs_gather()
143 erpt_p->pe_hdl, (pcix_bdg_cap_ptr + PCI_PCIX_SEC_STATUS)); in pcix_regs_gather()
144 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
149 pcix_bdg_regs->pcix_bdg_stat = pci_config_get32(erpt_p->pe_hdl, in pcix_regs_gather()
151 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
161 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_gather()
175 pcix_regs->pcix_command = pci_config_get16(erpt_p->pe_hdl, in pcix_regs_gather()
177 pcix_regs->pcix_status = pci_config_get32(erpt_p->pe_hdl, in pcix_regs_gather()
179 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
203 pci_regs->pci_err_status = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather()
205 if (pci_config_check(erpt_p->pe_hdl, fme_flag) != DDI_FM_OK) in pci_regs_gather()
208 pci_regs->pci_cfg_comm = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather()
210 if (pci_config_check(erpt_p->pe_hdl, fme_flag) != DDI_FM_OK) in pci_regs_gather()
218 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS); in pci_regs_gather()
219 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pci_regs_gather()
223 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL); in pci_regs_gather()
224 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pci_regs_gather()
247 pci_config_put16(erpt_p->pe_hdl, in pcix_regs_clear()
252 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
266 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
271 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
288 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
300 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
319 pci_config_put16(erpt_p->pe_hdl, PCI_CONF_STAT, in pci_regs_clear()
327 pci_config_put16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS, in pci_regs_clear()
332 pci_config_put16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL, in pci_regs_clear()
368 pcix_bdg_regs->pcix_bdg_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup()
384 pcix_regs->pcix_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup()
426 if (pci_config_setup(dip, &erpt_p->pe_hdl) != DDI_SUCCESS) in pci_ereport_setup()
431 pci_status = pci_config_get16(erpt_p->pe_hdl, PCI_CONF_STAT); in pci_ereport_setup()
432 if (pci_config_check(erpt_p->pe_hdl, DDI_FM_ERR_UNEXPECTED) != in pci_ereport_setup()
439 pci_hdr_type = pci_config_get8(erpt_p->pe_hdl, PCI_CONF_HEADER); in pci_ereport_setup()
440 if (pci_config_check(erpt_p->pe_hdl, DDI_FM_ERR_UNEXPECTED) != in pci_ereport_setup()
537 pci_config_teardown((ddi_acc_handle_t *)&erpt_p->pe_hdl); in pci_ereport_teardown()