Lines Matching refs:pe_hdl
118 pcix_ecc_regs->pcix_ecc_ctlstat = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
121 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_ecc_regs_gather()
125 pcix_ecc_regs->pcix_ecc_fstaddr = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
128 pcix_ecc_regs->pcix_ecc_secaddr = pci_config_get32(erpt_p->pe_hdl, in pcix_ecc_regs_gather()
132 ddi_acc_handle_t)erpt_p->pe_hdl, in pcix_ecc_regs_gather()
147 erpt_p->pe_hdl, (pcix_bdg_cap_ptr + PCI_PCIX_SEC_STATUS)); in pcix_regs_gather()
148 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
153 pcix_bdg_regs->pcix_bdg_stat = pci_config_get32(erpt_p->pe_hdl, in pcix_regs_gather()
155 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
165 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_gather()
179 pcix_regs->pcix_command = pci_config_get16(erpt_p->pe_hdl, in pcix_regs_gather()
181 pcix_regs->pcix_status = pci_config_get32(erpt_p->pe_hdl, in pcix_regs_gather()
183 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pcix_regs_gather()
207 pci_regs->pci_err_status = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather()
209 if (pci_config_check(erpt_p->pe_hdl, fme_flag) != DDI_FM_OK) in pci_regs_gather()
212 pci_regs->pci_cfg_comm = pci_config_get16(erpt_p->pe_hdl, in pci_regs_gather()
214 if (pci_config_check(erpt_p->pe_hdl, fme_flag) != DDI_FM_OK) in pci_regs_gather()
222 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS); in pci_regs_gather()
223 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pci_regs_gather()
227 pci_config_get16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL); in pci_regs_gather()
228 if (pci_config_check(erpt_p->pe_hdl, fme_flag) == DDI_FM_OK) in pci_regs_gather()
251 pci_config_put16(erpt_p->pe_hdl, in pcix_regs_clear()
256 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
270 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
275 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
292 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
304 pci_config_put32(erpt_p->pe_hdl, in pcix_regs_clear()
323 pci_config_put16(erpt_p->pe_hdl, PCI_CONF_STAT, in pci_regs_clear()
331 pci_config_put16(erpt_p->pe_hdl, PCI_BCNF_SEC_STATUS, in pci_regs_clear()
336 pci_config_put16(erpt_p->pe_hdl, PCI_BCNF_BCNTRL, in pci_regs_clear()
372 pcix_bdg_regs->pcix_bdg_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup()
388 pcix_regs->pcix_ver = pci_config_get16(erpt_p->pe_hdl, in pcix_ereport_setup()
430 if (pci_config_setup(dip, &erpt_p->pe_hdl) != DDI_SUCCESS) in pci_ereport_setup()
435 pci_status = pci_config_get16(erpt_p->pe_hdl, PCI_CONF_STAT); in pci_ereport_setup()
436 if (pci_config_check(erpt_p->pe_hdl, DDI_FM_ERR_UNEXPECTED) != in pci_ereport_setup()
443 pci_hdr_type = pci_config_get8(erpt_p->pe_hdl, PCI_CONF_HEADER); in pci_ereport_setup()
444 if (pci_config_check(erpt_p->pe_hdl, DDI_FM_ERR_UNEXPECTED) != in pci_ereport_setup()
541 pci_config_teardown((ddi_acc_handle_t *)&erpt_p->pe_hdl); in pci_ereport_teardown()