Lines Matching refs:dip

62 	    dev_info_t *dip, dev_info_t *rdip, ddi_dma_attr_t *attr,
66 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
68 int (*ilops_dma_bindhdl)(iommulib_handle_t handle, dev_info_t *dip,
74 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
76 int (*ilops_dma_sync)(iommulib_handle_t handle, dev_info_t *dip,
80 int (*ilops_dma_win)(iommulib_handle_t handle, dev_info_t *dip,
86 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle,
90 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle,
111 #define IOMMU_USED(dip) \ argument
112 (DEVI(dip)->devi_iommulib_handle != NULL && \
113 DEVI(dip)->devi_iommulib_handle != IOMMU_HANDLE_UNUSED)
114 #define IOMMU_UNUSED(dip) \ argument
115 (DEVI(dip)->devi_iommulib_handle == IOMMU_HANDLE_UNUSED)
116 #define IOMMU_UNITIALIZED(dip) \ argument
117 (DEVI(dip)->devi_iommulib_handle == NULL)
133 int (*nops_dma_allochdl)(dev_info_t *dip, dev_info_t *rdip,
137 int (*nops_dma_freehdl)(dev_info_t *dip, dev_info_t *rdip,
140 int (*nops_dma_bindhdl)(dev_info_t *dip, dev_info_t *rdip,
144 int (*nops_dma_unbindhdl)(dev_info_t *dip, dev_info_t *rdip,
147 void (*nops_dma_reset_cookies)(dev_info_t *dip,
150 int (*nops_dma_get_cookies)(dev_info_t *dip, ddi_dma_handle_t handle,
153 int (*nops_dma_set_cookies)(dev_info_t *dip, ddi_dma_handle_t handle,
156 int (*nops_dma_clear_cookies)(dev_info_t *dip, ddi_dma_handle_t handle);
160 int (*nops_dma_sync)(dev_info_t *dip, dev_info_t *rdip,
163 int (*nops_dma_win)(dev_info_t *dip, dev_info_t *rdip,
167 int (*nops_dmahdl_setprivate)(dev_info_t *dip, dev_info_t *rdip,
170 void * (*nops_dmahdl_getprivate)(dev_info_t *dip, dev_info_t *rdip,
211 int iommulib_nexus_register(dev_info_t *dip, iommulib_nexops_t *nexops,
216 int iommulib_nex_open(dev_info_t *dip, dev_info_t *rdip);
219 int iommulib_nexdma_allochdl(dev_info_t *dip, dev_info_t *rdip,
223 int iommulib_nexdma_freehdl(dev_info_t *dip, dev_info_t *rdip,
226 int iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
230 int iommulib_nexdma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
233 int iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip,
237 int iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip,
241 int iommulib_nexdma_mapobject(dev_info_t *dip, dev_info_t *rdip,
244 int iommulib_nexdma_unmapobject(dev_info_t *dip, dev_info_t *rdip,
251 int iommulib_iommu_register(dev_info_t *dip, iommulib_ops_t *ops,
267 int iommulib_iommu_dma_allochdl(dev_info_t *dip, dev_info_t *rdip,
271 int iommulib_iommu_dma_freehdl(dev_info_t *dip, dev_info_t *rdip,
274 int iommulib_iommu_dma_bindhdl(dev_info_t *dip, dev_info_t *rdip,
278 int iommulib_iommu_dma_unbindhdl(dev_info_t *dip, dev_info_t *rdip,
281 void iommulib_iommu_dma_reset_cookies(dev_info_t *dip, ddi_dma_handle_t handle);
283 int iommulib_iommu_dma_get_cookies(dev_info_t *dip, ddi_dma_handle_t handle,
286 int iommulib_iommu_dma_set_cookies(dev_info_t *dip, ddi_dma_handle_t handle,
289 int iommulib_iommu_dma_clear_cookies(dev_info_t *dip, ddi_dma_handle_t handle);
291 int iommulib_iommu_dma_get_sleep_flags(dev_info_t *dip,
294 int iommulib_iommu_dma_sync(dev_info_t *dip, dev_info_t *rdip,
297 int iommulib_iommu_dma_win(dev_info_t *dip, dev_info_t *rdip,
301 int iommulib_iommu_dmahdl_setprivate(dev_info_t *dip, dev_info_t *rdip,
304 void *iommulib_iommu_dmahdl_getprivate(dev_info_t *dip, dev_info_t *rdip,