Searched refs:cmn_p (Results 1 – 9 of 9) sorted by relevance
70 pci_common_t *cmn_p; in pci_obj_setup() local74 cmn_p = get_pci_common_soft_state(pci_p->pci_id); in pci_obj_setup()75 if (cmn_p == NULL) { in pci_obj_setup()81 cmn_p = get_pci_common_soft_state(id); in pci_obj_setup()82 cmn_p->pci_common_id = id; in pci_obj_setup()86 if (cmn_p->pci_p[pci_p->pci_side]) { in pci_obj_setup()89 ASSERT(cmn_p->pci_p[pci_p->pci_side] == NULL); in pci_obj_setup()92 cmn_p->pci_p[pci_p->pci_side] = pci_p; in pci_obj_setup()93 pci_p->pci_common_p = cmn_p; in pci_obj_setup()95 if (cmn_p->pci_common_refcnt == 0) { in pci_obj_setup()[all …]
203 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_err_callback() local204 ecc_t *ecc_p = cmn_p->pci_common_ecc_p; in pci_err_callback()212 mutex_enter(&cmn_p->pci_fm_mutex); in pci_err_callback()238 mutex_exit(&cmn_p->pci_fm_mutex); in pci_err_callback()253 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_fm_create() local295 if (cmn_p->pci_common_refcnt == 0) { in pci_fm_create()296 mutex_init(&cmn_p->pci_fm_mutex, NULL, MUTEX_DRIVER, in pci_fm_create()310 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_fm_destroy() local316 if (cmn_p->pci_common_refcnt != 0) in pci_fm_destroy()319 mutex_destroy(&cmn_p->pci_fm_mutex); in pci_fm_destroy()
44 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_kstat_create() local46 if (cmn_p->pci_common_attachcnt == 0) in pci_kstat_create()55 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_kstat_destroy() local59 if (cmn_p->pci_common_attachcnt == 0) in pci_kstat_destroy()266 pci_common_t *cmn_p = pci_p->pci_common_p; in pci_rem_upstream_kstat() local268 if (cmn_p->pci_common_uksp != NULL) in pci_rem_upstream_kstat()269 kstat_delete(cmn_p->pci_common_uksp); in pci_rem_upstream_kstat()270 cmn_p->pci_common_uksp = NULL; in pci_rem_upstream_kstat()
93 pci_common_t *cmn_p; in pci_obj_setup() local103 cmn_p = get_pci_common_soft_state(cmn_id); in pci_obj_setup()104 if (cmn_p == NULL) { in pci_obj_setup()110 cmn_p = get_pci_common_soft_state(cmn_id); in pci_obj_setup()111 cmn_p->pci_common_id = cmn_id; in pci_obj_setup()112 cmn_p->pci_common_tsb_cookie = IOMMU_TSB_COOKIE_NONE; in pci_obj_setup()116 if (cmn_p->pci_p[pci_p->pci_side]) { in pci_obj_setup()119 ASSERT(cmn_p->pci_p[pci_p->pci_side] == NULL); in pci_obj_setup()122 cmn_p->pci_p[pci_p->pci_side] = pci_p; in pci_obj_setup()123 pci_p->pci_common_p = cmn_p; in pci_obj_setup()[all …]
292 pci_common_t *cmn_p = ecc_p->ecc_pci_cmn_p; in ecc_intr() local302 mutex_enter(&cmn_p->pci_fm_mutex); in ecc_intr()304 mutex_exit(&cmn_p->pci_fm_mutex); in ecc_intr()627 pci_common_t *cmn_p; in ecc_delayed_ce() local632 cmn_p = ecc_p->ecc_pci_cmn_p; in ecc_delayed_ce()633 cb_p = cmn_p->pci_common_cb_p; in ecc_delayed_ce()652 mutex_enter(&cmn_p->pci_fm_mutex); in ecc_delayed_ce()654 mutex_exit(&cmn_p->pci_fm_mutex); in ecc_delayed_ce()
320 pci_common_t *cmn_p = pci_p->pci_common_p; in pbm_afsr_report() local322 ASSERT(MUTEX_HELD(&cmn_p->pci_fm_mutex)); in pbm_afsr_report()
544 #define PCI_BRIDGE_TYPE(cmn_p) \ argument545 (((cmn_p->pci_chip_id >> 16) == PCI_CHIP_SCHIZO) ? PCI_SCHIZO : \546 ((cmn_p->pci_chip_id >> 16) == PCI_CHIP_TOMATILLO) ? PCI_TOMATILLO : \547 ((cmn_p->pci_chip_id >> 16) == PCI_CHIP_XMITS) ? PCI_XMITS : "")
167 #define PCI_BRIDGE_TYPE(cmn_p) PCI_PSYCHO argument
209 extern void pci_fmri_create(dev_info_t *dip, pci_common_t *cmn_p);