Searched defs: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; local
63 pec_p = kmem_zalloc(sizeof (px_pec_t), KM_SLEEP);
64 px_p->px_pec_p = pec_p;
65 pec_p->pec_px_p = px_p;
67 len = snprintf(pec_p->pec_nameinst_str,
68 sizeof (pec_p->pec_nameinst_str),
70 pec_p->pec_nameaddr_str = pec_p->pec_nameinst_str + ++len;
71 (void) snprintf(pec_p->pec_nameaddr_str,
72 sizeof (pec_p
122 px_pec_t *pec_p = px_p->px_pec_p; local
147 px_pec_t *pec_p = px_p->px_pec_p; local
243 px_pec_t *pec_p = px_p->px_pec_p; local
[all...]
H A Dpx_fm.c237 px_pec_t *pec_p = ((px_t *)DIP_TO_STATE(dip))->px_pec_p; local
247 mutex_enter(&pec_p->pec_pokefault_mutex);
248 pec_p->pec_acc_hdl = handle;
259 px_pec_t *pec_p = px_p->px_pec_p; local
261 pec_p->pec_acc_hdl = NULL;
262 mutex_exit(&pec_p->pec_pokefault_mutex);
527 px_pec_t *pec_p = px_p->px_pec_p; local
528 int acctype = pec_p->pec_safeacc_type;
542 ddi_fm_acc_err_get(pec_p->pec_acc_hdl, derr,
545 derr->fme_acc_handle = pec_p
569 px_pec_t *pec_p = px_p->px_pec_p; local
[all...]
H A Dpx_dma.c390 px_pec_t *pec_p = px_p->px_pec_p; local
436 if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base32_pfn,
437 pec_p->pec_last32_pfn)) {
440 } else if (TGT_PFN_INBETWEEN(pfn0, pec_p->pec_base64_pfn,
441 pec_p->pec_last64_pfn)) {
558 px_pec_t *pec_p = px_p->px_pec_p; local
559 px_iopfn_t pfn_base = peer32 ? pec_p->pec_base32_pfn :
560 pec_p->pec_base64_pfn;
561 px_iopfn_t pfn_last = peer32 ? pec_p->pec_last32_pfn :
562 pec_p
1144 px_pec_t *pec_p = px_p->px_pec_p; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_err.c146 px_pec_err_t *pec_p; local
165 pec_p = (px_pec_err_t *)epkt;
166 dir = pec_p->pec_descr.dir;
170 pec_p->pec_descr.U) {
171 if (pec_p->ue_reg_status & PCIE_AER_UCE_UR)
173 if (pec_p->ue_reg_status & PCIE_AER_UCE_CA)
177 if (pec_p->ue_reg_status & PCIE_AER_UCE_PTLP)
180 if (pec_p->ue_reg_status & PCIE_AER_UCE_CA)
183 if (pec_p->pec_descr.H) {
184 adv_reg.pcie_ue_hdr[0] = (uint32_t)(pec_p
345 px_pec_t *pec_p = px_p->px_pec_p; local
749 px_pec_err_t *pec_p = (px_pec_err_t *)epkt; local
[all...]
H A Dpx_tools_4v.c226 px_pec_t *pec_p = px_p->px_pec_p; local
244 mutex_enter(&pec_p->pec_pokefault_mutex);
245 pec_p->pec_ontrap_data = &otd;
278 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE;
294 pec_p->pec_safeacc_type = DDI_FM_ERR_PEEK;
335 pec_p->pec_ontrap_data = NULL;
336 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED;
337 mutex_exit(&pec_p->pec_pokefault_mutex);
362 px_pec_t *pec_p = px_p->px_pec_p; local
373 mutex_enter(&pec_p
[all...]
H A Dpx_lib4v.c1717 px_pec_t *pec_p = px_p->px_pec_p; local
1763 pec_p->pec_safeacc_type = DDI_FM_ERR_EXPECTED;
1765 mutex_enter(&pec_p->pec_pokefault_mutex);
1766 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE;
1790 pec_p->pec_ontrap_data = NULL;
1791 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED;
1796 mutex_exit(&pec_p->pec_pokefault_mutex);
1801 pec_p->pec_ontrap_data = NULL;
1802 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED;
1807 mutex_exit(&pec_p
1829 px_pec_t *pec_p = px_p->px_pec_p; local
[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; local
103 mutex_enter(&pec_p->pec_pokefault_mutex);
104 pec_p->pec_safeacc_type = DDI_FM_ERR_PEEK;
133 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED;
135 mutex_exit(&pec_p->pec_pokefault_mutex);
173 px_pec_t *pec_p = px_p->px_pec_p; local
194 mutex_enter(&pec_p->pec_pokefault_mutex);
195 pec_p->pec_ontrap_data = &otd;
196 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE;
221 pec_p
[all...]
H A Dpx_err.c839 px_pec_t *pec_p = px_p->px_pec_p; local
840 on_trap_data_t *otd = pec_p->pec_ontrap_data;
1008 px_pec_t *pec_p = px_p->px_pec_p; local
1036 ndi_fm_acc_err_set(pec_p->pec_acc_hdl, derr);
H A Dpx_lib4u.c1512 px_pec_t *pec_p = px_p->px_pec_p; local
1515 int acctype = pec_p->pec_safeacc_type;
1530 ndi_fm_acc_err_set(pec_p->pec_acc_hdl, &derr);
1586 px_pec_t *pec_p = px_p->px_pec_p; local
1590 mutex_enter(&pec_p->pec_pokefault_mutex);
1591 pec_p->pec_ontrap_data = &otd;
1592 pec_p->pec_safeacc_type = DDI_FM_ERR_POKE;
1613 pec_p->pec_ontrap_data = NULL;
1614 pec_p->pec_safeacc_type = DDI_FM_ERR_UNEXPECTED;
1615 mutex_exit(&pec_p
1637 px_pec_t *pec_p = px_p->px_pec_p; local
1716 px_pec_t *pec_p = px_p->px_pec_p; local
1761 px_pec_t *pec_p = px_p->px_pec_p; local
2379 px_pec_t *pec_p = px_p->px_pec_p; local
[all...]

Completed in 65 milliseconds