Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_pec.c53 px_pec_t *pec_p; in px_pec_attach() local
64 px_p->px_pec_p = pec_p; in px_pec_attach()
65 pec_p->pec_px_p = px_p; in px_pec_attach()
70 pec_p->pec_nameaddr_str = pec_p->pec_nameinst_str + ++len; in px_pec_attach()
85 pfnbp = &pec_p->pec_base32_pfn; in px_pec_attach()
86 pfnlp = &pec_p->pec_last32_pfn; in px_pec_attach()
90 pfnbp = &pec_p->pec_base64_pfn; in px_pec_attach()
91 pfnlp = &pec_p->pec_last64_pfn; in px_pec_attach()
122 px_pec_t *pec_p = px_p->px_pec_p; in px_pec_detach() local
147 px_pec_t *pec_p = px_p->px_pec_p; in px_pec_msg_add_intr() local
[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.c392 px_pec_t *pec_p = px_p->px_pec_p; in px_dma_type() local
438 if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base32_pfn, in px_dma_type()
439 pec_p->pec_last32_pfn)) { in px_dma_type()
443 pec_p->pec_last64_pfn)) { in px_dma_type()
560 px_pec_t *pec_p = px_p->px_pec_p; in px_dma_pfn() local
561 px_iopfn_t pfn_base = peer32 ? pec_p->pec_base32_pfn : in px_dma_pfn()
562 pec_p->pec_base64_pfn; in px_dma_pfn()
564 pec_p->pec_last64_pfn; in px_dma_pfn()
1146 px_pec_t *pec_p = px_p->px_pec_p; in px_dma_physwin() local
1148 pec_p->pec_last32_pfn - pec_p->pec_base32_pfn : in px_dma_physwin()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_err.c146 px_pec_err_t *pec_p; in px_err_fill_pfd() local
166 dir = pec_p->pec_descr.dir; in px_err_fill_pfd()
170 pec_p->pec_descr.U) { in px_err_fill_pfd()
183 if (pec_p->pec_descr.H) { in px_err_fill_pfd()
763 pec_p->pec_descr.U && (pec_p->ue_reg_status & temp)) { in px_pcie_epkt_severity()
782 if (!pec_p->pec_descr.C) in px_pcie_epkt_severity()
784 if (!pec_p->pec_descr.U) in px_pcie_epkt_severity()
786 if (!pec_p->pec_descr.H) in px_pcie_epkt_severity()
787 pec_p->hdr[0] = 0; in px_pcie_epkt_severity()
788 if (!pec_p->pec_descr.I) in px_pcie_epkt_severity()
[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()
335 pec_p->pec_ontrap_data = NULL; 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()
374 pec_p->pec_ontrap_data = &otd; in pxtool_pciiomem_access()
428 pec_p->pec_ontrap_data = NULL; in pxtool_pciiomem_access()
[all …]
H A Dpx_lib4v.c1721 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_ctlops_poke() local
1769 mutex_enter(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
1794 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_poke()
1800 mutex_exit(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
1805 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_poke()
1811 mutex_exit(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_poke()
1833 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_ctlops_peek() local
1857 mutex_enter(&pec_p->pec_pokefault_mutex); in px_lib_ctlops_peek()
1885 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_peek()
1896 pec_p->pec_ontrap_data = NULL; in px_lib_ctlops_peek()
[all …]
/illumos-gate/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.c1508 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_clr_errs() local
1511 int acctype = pec_p->pec_safeacc_type; in px_lib_clr_errs()
1582 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_do_poke() local
1587 pec_p->pec_ontrap_data = &otd; in px_lib_do_poke()
1609 pec_p->pec_ontrap_data = NULL; in px_lib_do_poke()
1633 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_do_caut_put() local
1689 pec_p->pec_ontrap_data = NULL; in px_lib_do_caut_put()
1712 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_do_peek() local
1757 px_pec_t *pec_p = px_p->px_pec_p; in px_lib_do_caut_get() local
1805 pec_p->pec_ontrap_data = NULL; in px_lib_do_caut_get()
[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()