Home
last modified time | relevance | path

Searched refs:pec_p (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/sun4/io/px/
H A Dpx_pec.c53 px_pec_t *pec_p; in px_pec_attach() local
63 pec_p = kmem_zalloc(sizeof (px_pec_t), KM_SLEEP); in px_pec_attach()
64 px_p->px_pec_p = pec_p; in px_pec_attach()
65 pec_p->pec_px_p = px_p; in px_pec_attach()
67 len = snprintf(pec_p->pec_nameinst_str, in px_pec_attach()
68 sizeof (pec_p->pec_nameinst_str), in px_pec_attach()
70 pec_p->pec_nameaddr_str = pec_p->pec_nameinst_str + ++len; in px_pec_attach()
71 (void) snprintf(pec_p->pec_nameaddr_str, in px_pec_attach()
72 sizeof (pec_p->pec_nameinst_str) - len, in px_pec_attach()
85 pfnbp = &pec_p->pec_base32_pfn; in px_pec_attach()
[all …]
H A Dpx_fm.c237 px_pec_t *pec_p = ((px_t *)DIP_TO_STATE(dip))->px_pec_p; in px_bus_enter() local
247 mutex_enter(&pec_p->pec_pokefault_mutex); in px_bus_enter()
248 pec_p->pec_acc_hdl = handle; in px_bus_enter()
259 px_pec_t *pec_p = px_p->px_pec_p; in px_bus_exit() local
261 pec_p->pec_acc_hdl = NULL; in px_bus_exit()
262 mutex_exit(&pec_p->pec_pokefault_mutex); in px_bus_exit()
527 px_pec_t *pec_p = px_p->px_pec_p; in px_err_safeacc_check() local
528 int acctype = pec_p->pec_safeacc_type; in px_err_safeacc_check()
542 ddi_fm_acc_err_get(pec_p->pec_acc_hdl, derr, in px_err_safeacc_check()
545 derr->fme_acc_handle = pec_p->pec_acc_hdl; in px_err_safeacc_check()
[all …]
H A Dpx_dma.c390 px_pec_t *pec_p = px_p->px_pec_p; in px_dma_type() local
436 if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base32_pfn, in px_dma_type()
437 pec_p->pec_last32_pfn)) { in px_dma_type()
440 } else if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base64_pfn, in px_dma_type()
441 pec_p->pec_last64_pfn)) { in px_dma_type()
558 px_pec_t *pec_p = px_p->px_pec_p; in px_dma_pfn() local
559 px_iopfn_t pfn_base = peer32 ? pec_p->pec_base32_pfn : in px_dma_pfn()
560 pec_p->pec_base64_pfn; in px_dma_pfn()
561 px_iopfn_t pfn_last = peer32 ? pec_p->pec_last32_pfn : in px_dma_pfn()
562 pec_p->pec_last64_pfn; in px_dma_pfn()
[all …]
/titanic_44/usr/src/uts/sun4v/io/px/
H A Dpx_err.c146 px_pec_err_t *pec_p; in px_err_fill_pfd() local
165 pec_p = (px_pec_err_t *)epkt; in px_err_fill_pfd()
166 dir = pec_p->pec_descr.dir; in px_err_fill_pfd()
170 pec_p->pec_descr.U) { in px_err_fill_pfd()
171 if (pec_p->ue_reg_status & PCIE_AER_UCE_UR) in px_err_fill_pfd()
173 if (pec_p->ue_reg_status & PCIE_AER_UCE_CA) in px_err_fill_pfd()
177 if (pec_p->ue_reg_status & PCIE_AER_UCE_PTLP) in px_err_fill_pfd()
180 if (pec_p->ue_reg_status & PCIE_AER_UCE_CA) in px_err_fill_pfd()
183 if (pec_p->pec_descr.H) { in px_err_fill_pfd()
184 adv_reg.pcie_ue_hdr[0] = (uint32_t)(pec_p->hdr[0] >>32); in px_err_fill_pfd()
[all …]
H A Dpx_tools_4v.c226 px_pec_t *pec_p = px_p->px_pec_p; in pxtool_pcicfg_access() local
244 mutex_enter(&pec_p->pec_pokefault_mutex); in pxtool_pcicfg_access()
245 pec_p->pec_ontrap_data = &otd; in pxtool_pcicfg_access()
278 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE; in pxtool_pcicfg_access()
294 pec_p->pec_safeacc_type = DDI_FM_ERR_PEEK; in pxtool_pcicfg_access()
335 pec_p->pec_ontrap_data = NULL; in pxtool_pcicfg_access()
336 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED; in pxtool_pcicfg_access()
337 mutex_exit(&pec_p->pec_pokefault_mutex); in pxtool_pcicfg_access()
362 px_pec_t *pec_p = px_p->px_pec_p; in pxtool_pciiomem_access() local
373 mutex_enter(&pec_p->pec_pokefault_mutex); in pxtool_pciiomem_access()
[all …]
H A Dpx_lib4v.c1717 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_ctlops_poke() local
1763 pec_p->pec_safeacc_type = DDI_FM_ERR_EXPECTED; in px_lib_ctlops_poke()
1765 mutex_enter(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
1766 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE; in px_lib_ctlops_poke()
1790 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_poke()
1791 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED; in px_lib_ctlops_poke()
1796 mutex_exit(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
1801 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_poke()
1802 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED; in px_lib_ctlops_poke()
1807 mutex_exit(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
[all …]
/titanic_44/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c97 px_pec_t *pec_p = px_p->px_pec_p; in pxtool_safe_phys_peek() local
103 mutex_enter(&pec_p->pec_pokefault_mutex); in pxtool_safe_phys_peek()
104 pec_p->pec_safeacc_type = DDI_FM_ERR_PEEK; in pxtool_safe_phys_peek()
133 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED; in pxtool_safe_phys_peek()
135 mutex_exit(&pec_p->pec_pokefault_mutex); in pxtool_safe_phys_peek()
173 px_pec_t *pec_p = px_p->px_pec_p; in pxtool_safe_phys_poke() local
194 mutex_enter(&pec_p->pec_pokefault_mutex); in pxtool_safe_phys_poke()
195 pec_p->pec_ontrap_data = &otd; in pxtool_safe_phys_poke()
196 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE; in pxtool_safe_phys_poke()
221 pec_p->pec_ontrap_data = NULL; in pxtool_safe_phys_poke()
[all …]
H A Dpx_lib4u.c1512 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_clr_errs() local
1515 int acctype = pec_p->pec_safeacc_type; in px_lib_clr_errs()
1530 ndi_fm_acc_err_set(pec_p->pec_acc_hdl, &derr); in px_lib_clr_errs()
1586 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_do_poke() local
1590 mutex_enter(&pec_p->pec_pokefault_mutex); in px_lib_do_poke()
1591 pec_p->pec_ontrap_data = &otd; in px_lib_do_poke()
1592 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE; in px_lib_do_poke()
1613 pec_p->pec_ontrap_data = NULL; in px_lib_do_poke()
1614 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED; in px_lib_do_poke()
1615 mutex_exit(&pec_p->pec_pokefault_mutex); in px_lib_do_poke()
[all …]
H A Dpx_err.c839 px_pec_t *pec_p = px_p->px_pec_p; in px_err_cmn_intr() local
840 on_trap_data_t *otd = pec_p->pec_ontrap_data; in px_err_cmn_intr()
1008 px_pec_t *pec_p = px_p->px_pec_p; in px_err_check_severity() local
1036 ndi_fm_acc_err_set(pec_p->pec_acc_hdl, derr); in px_err_check_severity()