Lines Matching defs:pDeviceOps
46 * @param pDeviceOps Pointer to device ops structure.
51 int VirtioAttach(dev_info_t *pDip, ddi_attach_cmd_t enmCmd, PVIRTIODEVICEOPS pDeviceOps, PVIRTIOHYPEROPS pHyperOps)
53 LogFlowFunc((VIRTIOLOGNAME ":VirtioAttach: pDip=%p enmCmd=%d pDeviceOps=%p pHyperOps=%p\n", pDip, enmCmd, pDeviceOps, pHyperOps));
56 AssertReturn(pDeviceOps, DDI_EINVAL);
70 pDevice->pDeviceOps = pDeviceOps;
73 pDevice->pvDevice = pDevice->pDeviceOps->pfnAlloc(pDevice);
91 rc = pDevice->pDeviceOps->pfnAttach(pDevice);
110 pDevice->pDeviceOps->pfnFree(pDevice);
147 int rc = pDevice->pDeviceOps->pfnDetach(pDevice);
151 pDevice->pDeviceOps->pfnFree(pDevice);