Searched defs:dma_handle (Results 1 - 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_sgl.h67 ddi_dma_handle_t dma_handle; member in struct:pmcs_dmachunk
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_fm.c115 * dma_handle - dma handle to the resources on which to check for errors
120 oce_fm_check_dma_handle(struct oce_dev *dev, ddi_dma_handle_t dma_handle) argument
128 (void) ddi_fm_dma_err_get(dma_handle, &fme, DDI_FME_VERSION);
H A Doce_mbx.c1242 ddi_dma_handle_t dma_handle; local
1302 &dma_handle);
1311 ret = ddi_dma_mem_alloc(dma_handle, alloc_len,
1330 dma_handle,
1356 (void) ddi_dma_nextcookie(dma_handle, &cookie);
1388 (void) ddi_dma_sync(dma_handle, 0, 0,
1391 if (oce_fm_check_dma_handle(dev, dma_handle) !=
1421 (void) ddi_dma_sync(dma_handle, 0, 0,
1423 if (oce_fm_check_dma_handle(dev, dma_handle) != DDI_FM_OK) {
1434 (void) ddi_dma_unbind_handle(dma_handle);
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.h55 ddi_dma_handle_t dma_handle; member in struct:qlt_dma_handle
/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring.c47 pci_dma_h *dma_handle)
69 *dma_handle = memblock_dma_object->handle;
162 rxd_priv->dma_handle = dma_object->handle;
391 pci_dma_h dma_handle; local
409 first_block, &dma_handle);
46 __hal_ring_item_dma_addr(xge_hal_mempool_h mempoolh, void *item, pci_dma_h *dma_handle) argument
/illumos-gate/usr/src/uts/common/sys/
H A Dbofi_impl.h82 ddi_dma_handle_t dma_handle; member in union:bofi_shadow::__anon7045
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_send.c117 hxge_os_dma_handle_t dma_handle; local
329 dma_handle = tx_msg_p->buf_dma_handle;
332 (void) ddi_dma_sync(dma_handle,
424 dma_handle = tx_msg_p->buf_dma_handle;
427 (void) ddi_dma_sync(dma_handle,
450 dma_handle = tx_msg_p->dma_handle;
451 dma_status = ddi_dma_addr_bind_handle(dma_handle, NULL,
491 ddi_dma_nextcookie(dma_handle,
826 tx_msg_p->dma_handle)) {
[all...]
H A Dhxge_impl.h80 #define DMA_COMMON_HANDLE(area) ((area.dma_handle))
83 #define DMA_COMMON_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_handle,\
87 ((void) ddi_dma_sync((area).dma_handle,\
196 ddi_dma_handle_t dma_handle; member in struct:_hxge_dma_common_t
H A Dhxge_txdma.h69 hxge_os_dma_handle_t dma_handle; /* DMA handle for normal send */ member in struct:_tx_msg_t
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h66 ddi_dma_handle_t dma_handle; member in struct:oce_dma_buf_s
76 #define DBUF_DHDL(obj) (((oce_dma_buf_t *)(obj))->dma_handle)
107 ddi_dma_handle_t dma_handle; member in struct:oce_wq_mdesc_s
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h78 ddi_dma_handle_t dma_handle; /* bind handle */ member in struct:buff_info_s
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-fifo.h172 * @dma_handle: DMA handle used to map the descriptor onto device.
219 pci_dma_h dma_handle; member in struct:xge_hal_fifo_txdl_priv_t
H A Dxgehal-ring.h245 * @dma_handle: DMA handle used to map the descriptor onto device.
265 pci_dma_h dma_handle; member in struct:xge_hal_ring_rxd_priv_t
/illumos-gate/usr/src/uts/intel/io/
H A Diommulib.c657 ddi_dma_handle_t dma_handle)
667 rdip, dma_handle);
674 ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq,
683 return (unitp->ilu_ops->ilops_dma_bindhdl(handle, dip, rdip, dma_handle,
689 ddi_dma_handle_t dma_handle)
698 dma_handle));
703 ddi_dma_handle_t dma_handle, off_t off, size_t len,
712 return (unitp->ilu_ops->ilops_dma_sync(handle, dip, rdip, dma_handle,
718 ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp,
727 return (unitp->ilu_ops->ilops_dma_win(handle, dip, rdip, dma_handle,
656 iommulib_nexdma_freehdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
673 iommulib_nexdma_bindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
688 iommulib_nexdma_unbindhdl(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
702 iommulib_nexdma_sync(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument
717 iommulib_nexdma_win(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
732 iommulib_nexdma_mapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument
744 iommulib_nexdma_unmapobject(dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument
[all...]
/illumos-gate/usr/src/uts/common/io/virtio/
H A Dvirtio.c665 virtio_ve_add_cookie(struct vq_entry *qe, ddi_dma_handle_t dma_handle, argument
673 ddi_dma_nextcookie(dma_handle, &dma_cookie);
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnf.h51 ddi_dma_handle_t dma_handle; member in struct:xnf_buf
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c48 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
50 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
54 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
56 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off,
59 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win,
63 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
66 dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao);
1487 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle)
1489 return (iommulib_iommu_dma_freehdl(dip, rdip, dma_handle));
1616 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
1486 amd_iommu_freehdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
1615 amd_iommu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1704 amd_iommu_unbindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
1756 amd_iommu_sync(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cache_flags) argument
1804 amd_iommu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
1893 amd_iommu_mapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument
1902 amd_iommu_unmapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_send.c166 nxge_os_dma_handle_t dma_handle; local
501 dma_handle = tx_msg_p->buf_dma_handle;
503 (void) ddi_dma_sync(dma_handle,
609 dma_handle = tx_msg_p->buf_dma_handle;
611 (void) ddi_dma_sync(dma_handle,
642 dma_handle = tx_msg_p->dma_handle;
643 dma_status = ddi_dma_addr_bind_handle(dma_handle, NULL,
692 ddi_dma_nextcookie(dma_handle,
1157 tx_msg_p->dma_handle)) {
[all...]
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_txdma.h78 nxge_os_dma_handle_t dma_handle; /* DMA handle for normal send */ member in struct:_tx_msg_t
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi_var.h20 ddi_dma_handle_t dma_handle; member in struct:pvscsi_dma_buf
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohci.h463 ddi_dma_handle_t dma_handle; /* DMA handle */ member in struct:ohci_isoc_buf
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhci.h283 ddi_dma_handle_t dma_handle; /* DMA handle */ member in struct:uhci_bulk_isoc_td_pool
305 ddi_dma_handle_t dma_handle; /* DMA handle */ member in struct:uhci_isoc_buf
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c94 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
96 dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req,
99 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle);
101 dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len,
104 dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win,
107 dev_info_t *rdip, ddi_dma_handle_t dma_handle,
110 dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao);
3090 dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle)
3094 ihp = iommulib_iommu_dmahdl_getprivate(dip, rdip, dma_handle);
3101 return (iommulib_iommu_dma_freehdl(dip, rdip, dma_handle));
3089 immu_freehdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
3107 immu_bindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dma_req, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
3128 immu_unbindhdl(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle) argument
3136 immu_sync(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, off_t off, size_t len, uint_t cachefl) argument
3146 immu_win(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, uint_t win, off_t *offp, size_t *lenp, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument
3157 immu_mapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, struct ddi_dma_req *dmareq, ddi_dma_obj_t *dmao) argument
3170 immu_unmapobject(iommulib_handle_t handle, dev_info_t *dip, dev_info_t *rdip, ddi_dma_handle_t dma_handle, ddi_dma_obj_t *dmao) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c127 ddi_dma_handle_t *dma_handle, ddi_acc_handle_t *handlep)
134 *dma_handle = NULL;
141 DDI_DMA_DONTWAIT, NULL, dma_handle);
148 err = ddi_dma_mem_alloc(*dma_handle,
157 ddi_dma_free_handle(dma_handle);
166 ddi_dma_free_handle(dma_handle);
172 if (((err = ddi_dma_addr_bind_handle(*dma_handle,
182 ddi_dma_free_handle(dma_handle);
193 unm_pci_free_consistent(ddi_dma_handle_t *dma_handle, argument
198 err = ddi_dma_unbind_handle(*dma_handle);
125 unm_pci_alloc_consistent(unm_adapter *adapter, int size, caddr_t *address, ddi_dma_cookie_t *cookie, ddi_dma_handle_t *dma_handle, ddi_acc_handle_t *handlep) argument
[all...]
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c313 ddi_dma_handle_t dma_handle; local
325 0, &dma_handle) != DDI_SUCCESS) {
332 if (ddi_dma_mem_alloc(dma_handle, HEADROOM + bf_pool->size +
348 if (ddi_dma_addr_bind_handle(dma_handle, NULL, (char *)vaddr + HEADROOM,
369 rx_buffer->dma_handle = dma_handle;
378 (void) ddi_dma_unbind_handle(dma_handle);
383 ddi_dma_free_handle(&dma_handle);
401 ddi_dma_handle_t dma_handle; local
444 dma_handle
1037 ddi_dma_handle_t dma_handle; local
[all...]

Completed in 135 milliseconds

12