Lines Matching defs:pDip
141 static int VirtioPciSetupIRQ(dev_info_t *pDip);
142 static void VirtioPciRemoveIRQ(dev_info_t *pDip);
209 int rc = ddi_regs_map_setup(pDevice->pDip,
226 VirtioPciSetupIRQ(pDevice->pDip);
250 VirtioPciRemoveIRQ(pDevice->pDip);
438 int rc = ddi_dma_alloc_handle(pDevice->pDip, &g_VirtioPciDmaAttrRing, DDI_DMA_SLEEP, 0 /* addr */, &pPciQueue->hDMA);
508 * @param pDip Pointer to the device info structure.
512 static int VirtioPciSetupIRQ(dev_info_t *pDip)
514 LogFlow((VIRTIOLOGNAME ":VirtioPciSetupIRQ: pDip=%p\n", pDip));
518 int rc = ddi_intr_get_supported_types(pDip, &IntrType);
525 rc = ddi_intr_get_nintrs(pDip, IntrType, &IntrCount);
530 rc = ddi_intr_get_navail(pDip, IntrType, &IntrAvail);
539 rc = ddi_intr_alloc(pDip, g_pIntr, IntrType, 0, IntrCount, &IntrAllocated, DDI_INTR_ALLOC_NORMAL);
614 * @param pDip Pointer to the device info structure.
616 static void VirtioPciRemoveIRQ(dev_info_t *pDip)
618 LogFlow((VIRTIOLOGNAME ":VirtioPciRemoveIRQ pDip=%p:\n", pDip));