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

/freebsd-9.3-release/sys/ofed/include/linux/
H A Ddma-mapping.h58 dma_addr_t *dma_handle, gfp_t gfp);
60 void *vaddr, dma_addr_t dma_handle);
64 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
70 void (*sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle,
73 dma_addr_t dma_handle, size_t size, enum dma_data_direction dir);
75 dma_addr_t dma_handle, unsigned long offset, size_t size,
78 dma_addr_t dma_handle, unsigned long offset, size_t size,
121 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, argument
136 *dma_handle = vtophys(mem);
138 *dma_handle
143 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, dma_addr_t dma_handle) argument
199 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument
212 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) argument
230 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, int direction) argument
236 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-9.3-release/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-9.3-release/sys/ofed/drivers/net/mlx4/
H A Dicm.h80 void *mlx4_table_find(struct mlx4_icm_table *table, int obj, dma_addr_t *dma_handle);
H A Dicm.c307 void *mlx4_table_find(struct mlx4_icm_table *table, int obj, dma_addr_t *dma_handle) argument
328 if (dma_handle && dma_offset >= 0) {
330 *dma_handle = sg_dma_address(&chunk->mem[i]) +
336 * so if we found the page, dma_handle has already
H A Dmr.c426 dma_addr_t dma_handle; local
439 s / dev->caps.mtt_entry_sz, &dma_handle);
446 dma_sync_single(&dev->pdev->dev, dma_handle, npages * sizeof (u64), DMA_TO_DEVICE);
598 dma_sync_single(&dev->pdev->dev, fmr->dma_handle,
658 &fmr->dma_handle);
701 &fmr->dma_handle);
/freebsd-9.3-release/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-9.3-release/sys/contrib/rdma/
H A Dib_verbs.h879 u64 dma_handle,
883 u64 dma_handle,
888 u64 *dma_handle,
892 u64 dma_handle);
1665 * @dma_handle: A pointer for returning the DMA address of the region
1670 u64 *dma_handle,
1674 return dev->dma_ops->alloc_coherent(dev, size, dma_handle, flag);
1680 *dma_handle = handle;
1690 * @dma_handle: the DMA address returned by ib_dma_alloc_coherent()
1694 u64 dma_handle)
1668 ib_dma_alloc_coherent(struct ib_device *dev, size_t size, u64 *dma_handle, gfp_t flag) argument
1692 ib_dma_free_coherent(struct ib_device *dev, size_t size, void *cpu_addr, u64 dma_handle) argument
[all...]
/freebsd-9.3-release/sys/ofed/include/rdma/
H A Dib_verbs.h1014 u64 dma_handle,
1018 u64 dma_handle,
1023 u64 *dma_handle,
1027 u64 dma_handle);
1920 * @dma_handle: A pointer for returning the DMA address of the region
1925 u64 *dma_handle,
1929 return dev->dma_ops->alloc_coherent(dev, size, dma_handle, flag);
1935 *dma_handle = handle;
1945 * @dma_handle: the DMA address returned by ib_dma_alloc_coherent()
1949 u64 dma_handle)
1923 ib_dma_alloc_coherent(struct ib_device *dev, size_t size, u64 *dma_handle, gfp_t flag) argument
1947 ib_dma_free_coherent(struct ib_device *dev, size_t size, void *cpu_addr, u64 dma_handle) argument
[all...]
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/
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.h92 dma_addr_t dma_handle; member in struct:mthca_fmr::__anon10125::__anon10127
H A Dmthca_mr.c341 dma_addr_t dma_handle; local
351 s / dev->limits.mtt_seg_size, &dma_handle);
358 dma_sync_single(&dev->pdev->dev, dma_handle, list_len * sizeof (u64), DMA_TO_DEVICE);
634 &mr->mem.arbel.dma_handle);
810 dma_sync_single(&dev->pdev->dev, fmr->mem.arbel.dma_handle,
H A Dmthca_memfree.c280 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle) argument
301 if (dma_handle && dma_offset >= 0) {
303 *dma_handle = sg_dma_address(&chunk->mem[i]) +
308 * so if we found the page, dma_handle has already
/freebsd-9.3-release/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-9.3-release/sys/ofed/include/linux/mlx4/
H A Ddevice.h338 dma_addr_t dma_handle; member in struct:mlx4_fmr

Completed in 288 milliseconds