Lines Matching refs:msi_handle
75 if (pdev->msi_handle) {
78 ret = ddi_intr_add_handler(pdev->msi_handle[i],
88 (void) ddi_intr_block_enable(pdev->msi_handle, pdev->msi_actual);
92 (void) ddi_intr_enable(pdev->msi_handle[i]);
114 if (pdev->msi_handle) {
118 (void) ddi_intr_block_disable(pdev->msi_handle, pdev->msi_actual);
121 (void) ddi_intr_disable(pdev->msi_handle[i]);
126 (void) ddi_intr_remove_handler(pdev->msi_handle[i]);
173 pdev->msi_handle = kmem_alloc(pdev->msi_size, KM_SLEEP);
175 ret = ddi_intr_alloc(devinfo, pdev->msi_handle, DDI_INTR_TYPE_MSI, 0,
180 kmem_free(pdev->msi_handle, pdev->msi_size);
188 ret = ddi_intr_get_pri(pdev->msi_handle[0], &pdev->msi_pri);
192 (void) ddi_intr_free(pdev->msi_handle[i]);
193 kmem_free(pdev->msi_handle, pdev->msi_size);
197 ret = ddi_intr_get_cap(pdev->msi_handle[0], &pdev->msi_flag);
201 (void) ddi_intr_free(pdev->msi_handle[i]);
202 kmem_free(pdev->msi_handle, pdev->msi_size);
215 (void) ddi_intr_free(pdev->msi_handle[i]);
216 kmem_free(pdev->msi_handle, pdev->msi_size);
217 pdev->msi_handle = NULL;