Searched refs:dma_handle (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Ddma-mapping.h60 dma_addr_t *dma_handle, gfp_t gfp);
62 void *vaddr, dma_addr_t dma_handle);
66 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
72 void (*sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle,
75 dma_addr_t dma_handle, size_t size, enum dma_data_direction dir);
77 dma_addr_t dma_handle, unsigned long offset, size_t size,
80 dma_addr_t dma_handle, unsigned long offset, size_t size,
134 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, argument
151 *dma_handle = vtophys(mem);
153 *dma_handle
158 dma_zalloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flag) argument
166 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle) argument
230 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument
243 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument
261 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, int direction) argument
267 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, int direction) argument
[all...]
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-blockpool.h44 * @dma_handle: DMA handle of the block.
55 pci_dma_h dma_handle; member in struct:__hal_blockpool_entry_t
116 pci_dma_h *dma_handle,
124 pci_dma_h *dma_handle,
H A Dvxgehal-blockpool.c60 pci_dma_h dma_handle; local
65 vxge_os_memzero(&dma_handle, sizeof(pci_dma_h));
133 &dma_handle,
147 dma_handle,
158 &dma_handle,
184 entry->dma_handle = dma_handle;
245 ((__hal_blockpool_entry_t *) p)->dma_handle,
254 &((__hal_blockpool_entry_t *) p)->dma_handle,
373 ((__hal_blockpool_entry_t *) p)->dma_handle,
552 __hal_blockpool_malloc(vxge_hal_device_h devh, u32 size, dma_addr_t *dma_addr, pci_dma_h *dma_handle, pci_dma_acc_h *acc_handle) argument
673 __hal_blockpool_free(vxge_hal_device_h devh, void *memblock, u32 size, dma_addr_t *dma_addr, pci_dma_h *dma_handle, pci_dma_acc_h *acc_handle) argument
[all...]
H A Dvxgehal-fifo.h96 * @dma_handle: DMA handle used to map the descriptor onto device.
142 pci_dma_h dma_handle; member in struct:__hal_fifo_txdl_priv_t
H A Dvxgehal-ring.h46 * @dma_handle: DMA handle used to map the descriptor onto device.
67 pci_dma_h dma_handle; member in struct:__hal_ring_rxd_priv_t
H A Dvxgehal-ring.c139 (dma_handle != NULL));
167 * @dma_handle: dma handle
175 pci_dma_h *dma_handle)
185 (dma_handle != NULL));
194 "dma_handle = 0x"VXGE_OS_STXFMT, (ptr_t) mempoolh,
195 (ptr_t) item, (ptr_t) dma_handle);
212 *dma_handle = memblock_dma_object->handle;
380 rxd_priv->dma_handle = dma_object->handle;
1133 priv->dma_handle,
1203 rxdp_temp1->dma_handle,
172 __hal_ring_item_dma_addr( vxge_hal_mempool_h mempoolh, void *item, pci_dma_h *dma_handle) argument
[all...]
H A Dvxgehal-fifo.c123 txdl_priv->dma_handle = dma_object->handle;
1409 txdl_priv->dma_handle,
1606 priv->dma_handle,
/freebsd-11-stable/sys/dev/liquidio/
H A Dlio_network.h195 lio_dma_alloc(size_t size, vm_paddr_t *dma_handle) argument
204 *dma_handle = vtophys(mem);
206 *dma_handle = 0;
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dicm.h86 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle);
H A Dmlx4_icm.c308 dma_addr_t *dma_handle)
330 if (dma_handle && dma_offset >= 0) {
332 *dma_handle = sg_dma_address(&chunk->mem[i]) +
338 * so if we found the page, dma_handle has already
307 mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle) argument
H A Dmlx4_mr.c702 dma_addr_t dma_handle; local
706 start_index, &dma_handle);
711 dma_sync_single_for_cpu(&dev->persist->pdev->dev, dma_handle,
717 dma_sync_single_for_device(&dev->persist->pdev->dev, dma_handle,
1023 dma_sync_single_for_cpu(&dev->persist->pdev->dev, fmr->dma_handle,
1029 dma_sync_single_for_device(&dev->persist->pdev->dev, fmr->dma_handle,
1077 &fmr->dma_handle);
/freebsd-11-stable/sys/dev/nxge/xgehal/
H A Dxgehal-ring.c52 pci_dma_h *dma_handle)
74 *dma_handle = memblock_dma_object->handle;
167 rxd_priv->dma_handle = dma_object->handle;
396 pci_dma_h dma_handle; local
414 first_block, &dma_handle);
51 __hal_ring_item_dma_addr(xge_hal_mempool_h mempoolh, void *item, pci_dma_h *dma_handle) argument
H A Dxgehal-ring-fp.c65 xge_assert(rxd_priv->dma_object->handle == rxd_priv->dma_handle);
560 priv->dma_handle, priv->dma_addr,
597 priv->dma_handle, priv->dma_addr,
690 priv->dma_handle, priv->dma_addr,
H A Dxgehal-fifo-fp.c47 xge_assert(txdl_priv->dma_object->handle == txdl_priv->dma_handle);
74 txdl_priv->dma_handle,
674 txdl_priv->dma_handle,
H A Dxgehal-fifo.c58 txdl_priv->dma_handle = dma_object->handle;
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_mr.c334 dma_addr_t dma_handle; local
344 s / dev->limits.mtt_seg_size, &dma_handle);
348 dma_sync_single_for_cpu(&dev->pdev->dev, dma_handle,
354 dma_sync_single_for_device(&dev->pdev->dev, dma_handle,
618 &mr->mem.arbel.dma_handle);
783 dma_sync_single_for_cpu(&dev->pdev->dev, fmr->mem.arbel.dma_handle,
790 dma_sync_single_for_device(&dev->pdev->dev, fmr->mem.arbel.dma_handle,
H A Dmthca_memfree.h93 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle);
H A Dmthca_provider.h94 dma_addr_t dma_handle; member in struct:mthca_fmr::__anon7283::__anon7285
H A Dmthca_memfree.c277 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle) argument
298 if (dma_handle && dma_offset >= 0) {
300 *dma_handle = sg_dma_address(&chunk->mem[i]) +
305 * so if we found the page, dma_handle has already
/freebsd-11-stable/sys/dev/nxge/include/
H A Dxgehal-fifo.h177 * @dma_handle: DMA handle used to map the descriptor onto device.
224 pci_dma_h dma_handle; member in struct:xge_hal_fifo_txdl_priv_t
H A Dxgehal-ring.h250 * @dma_handle: DMA handle used to map the descriptor onto device.
270 pci_dma_h dma_handle; member in struct:xge_hal_ring_rxd_priv_t
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_verbs.h1811 u64 dma_handle,
1815 u64 dma_handle,
1820 u64 *dma_handle,
1824 u64 dma_handle);
3174 * @dma_handle: A pointer for returning the DMA address of the region
3179 u64 *dma_handle,
3183 return dev->dma_ops->alloc_coherent(dev, size, dma_handle, flag);
3189 *dma_handle = handle;
3199 * @dma_handle: the DMA address returned by ib_dma_alloc_coherent()
3203 u64 dma_handle)
3177 ib_dma_alloc_coherent(struct ib_device *dev, size_t size, u64 *dma_handle, gfp_t flag) argument
3201 ib_dma_free_coherent(struct ib_device *dev, size_t size, void *cpu_addr, u64 dma_handle) argument
[all...]
/freebsd-11-stable/sys/dev/mlx4/
H A Ddevice.h706 dma_addr_t dma_handle; member in struct:mlx4_fmr

Completed in 168 milliseconds