Lines Matching defs:g_pIntr
117 static ddi_intr_handle_t *g_pIntr;
535 g_pIntr = RTMemAllocZ(IntrCount * sizeof(ddi_intr_handle_t));
536 if (g_pIntr)
539 rc = ddi_intr_alloc(pDip, g_pIntr, IntrType, 0, IntrCount, &IntrAllocated, DDI_INTR_ALLOC_NORMAL);
545 rc = ddi_intr_get_pri(g_pIntr[0], &uIntrPriority);
554 rc = ddi_intr_add_handler(g_pIntr[i], (ddi_intr_handler_t *)VirtioPciISR,
557 rc = ddi_intr_enable(g_pIntr[i]);
574 ddi_intr_remove_handler(g_pIntr[x]);
581 ddi_intr_free(g_pIntr[k]);
585 RTMemFree(g_pIntr);
622 int rc = ddi_intr_disable(g_pIntr[i]);
625 rc = ddi_intr_remove_handler(g_pIntr[i]);
627 ddi_intr_free(g_pIntr[i]);
630 RTMemFree(g_pIntr);