Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
HDdma-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, in dma_alloc_coherent() argument
151 *dma_handle = vtophys(mem); in dma_alloc_coherent()
153 *dma_handle = 0; in dma_alloc_coherent()
[all …]
/freebsd-11-stable/sys/dev/vxge/vxgehal/
HDvxgehal-blockpool.c60 pci_dma_h dma_handle; in __hal_blockpool_create() local
65 vxge_os_memzero(&dma_handle, sizeof(pci_dma_h)); in __hal_blockpool_create()
133 &dma_handle, in __hal_blockpool_create()
147 dma_handle, in __hal_blockpool_create()
158 &dma_handle, in __hal_blockpool_create()
184 entry->dma_handle = dma_handle; in __hal_blockpool_create()
245 ((__hal_blockpool_entry_t *) p)->dma_handle, in __hal_blockpool_destroy()
254 &((__hal_blockpool_entry_t *) p)->dma_handle, in __hal_blockpool_destroy()
373 ((__hal_blockpool_entry_t *) p)->dma_handle, in __hal_blockpool_blocks_remove()
383 &((__hal_blockpool_entry_t *) p)->dma_handle, in __hal_blockpool_blocks_remove()
[all …]
HDvxgehal-blockpool.h55 pci_dma_h dma_handle; member
116 pci_dma_h *dma_handle,
124 pci_dma_h *dma_handle,
HDvxgehal-ring.c139 (dma_handle != NULL)); in __hal_ring_item_dma_offset()
175 pci_dma_h *dma_handle) in __hal_ring_item_dma_addr() argument
185 (dma_handle != NULL)); in __hal_ring_item_dma_addr()
195 (ptr_t) item, (ptr_t) dma_handle); in __hal_ring_item_dma_addr()
212 *dma_handle = memblock_dma_object->handle; in __hal_ring_item_dma_addr()
380 rxd_priv->dma_handle = dma_object->handle; in __hal_ring_mempool_item_alloc()
1133 priv->dma_handle, in vxge_hal_ring_rxd_post_post()
1203 rxdp_temp1->dma_handle, in vxge_hal_ring_rxd_post()
1501 priv->dma_handle, in vxge_hal_ring_rxd_next_completed()
HDvxgehal-ring.h67 pci_dma_h dma_handle; member
HDvxgehal-fifo.h142 pci_dma_h dma_handle; member
HDvxgehal-fifo.c123 txdl_priv->dma_handle = dma_object->handle; in __hal_fifo_mempool_item_alloc()
1409 txdl_priv->dma_handle, in vxge_hal_fifo_txdl_post()
1606 priv->dma_handle, in vxge_hal_fifo_txdl_next_completed()
/freebsd-11-stable/sys/dev/liquidio/
HDlio_network.h195 lio_dma_alloc(size_t size, vm_paddr_t *dma_handle) in lio_dma_alloc() argument
204 *dma_handle = vtophys(mem); in lio_dma_alloc()
206 *dma_handle = 0; in lio_dma_alloc()
/freebsd-11-stable/sys/dev/nxge/xgehal/
HDxgehal-ring.c52 pci_dma_h *dma_handle) in __hal_ring_item_dma_addr() argument
74 *dma_handle = memblock_dma_object->handle; in __hal_ring_item_dma_addr()
167 rxd_priv->dma_handle = dma_object->handle; in __hal_ring_mempool_item_alloc()
396 pci_dma_h dma_handle; in __hal_ring_prc_enable() local
414 first_block, &dma_handle); in __hal_ring_prc_enable()
HDxgehal-ring-fp.c65 xge_assert(rxd_priv->dma_object->handle == rxd_priv->dma_handle); in __hal_ring_rxd_priv()
560 priv->dma_handle, priv->dma_addr, in xge_hal_ring_dtr_post_post()
597 priv->dma_handle, priv->dma_addr, in xge_hal_ring_dtr_post_post_wmb()
690 priv->dma_handle, priv->dma_addr, in xge_hal_ring_dtr_next_completed()
HDxgehal-fifo-fp.c47 xge_assert(txdl_priv->dma_object->handle == txdl_priv->dma_handle); in __hal_fifo_txdl_priv()
74 txdl_priv->dma_handle, in __hal_fifo_dtr_post_single()
674 txdl_priv->dma_handle, in xge_hal_fifo_dtr_next_completed()
HDxgehal-fifo.c58 txdl_priv->dma_handle = dma_object->handle; in __hal_fifo_mempool_item_alloc()
/freebsd-11-stable/sys/dev/mthca/
HDmthca_mr.c334 dma_addr_t dma_handle; in mthca_arbel_write_mtt_seg() local
344 s / dev->limits.mtt_seg_size, &dma_handle); in mthca_arbel_write_mtt_seg()
348 dma_sync_single_for_cpu(&dev->pdev->dev, dma_handle, in mthca_arbel_write_mtt_seg()
354 dma_sync_single_for_device(&dev->pdev->dev, dma_handle, in mthca_arbel_write_mtt_seg()
618 &mr->mem.arbel.dma_handle); in mthca_fmr_alloc()
783 dma_sync_single_for_cpu(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
790 dma_sync_single_for_device(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
HDmthca_memfree.c277 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle) in mthca_table_find() argument
298 if (dma_handle && dma_offset >= 0) { in mthca_table_find()
300 *dma_handle = sg_dma_address(&chunk->mem[i]) + in mthca_table_find()
HDmthca_memfree.h93 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle);
HDmthca_provider.h94 dma_addr_t dma_handle; member
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
HDmlx4_mr.c702 dma_addr_t dma_handle; in mlx4_write_mtt_chunk() local
706 start_index, &dma_handle); in mlx4_write_mtt_chunk()
711 dma_sync_single_for_cpu(&dev->persist->pdev->dev, dma_handle, in mlx4_write_mtt_chunk()
717 dma_sync_single_for_device(&dev->persist->pdev->dev, dma_handle, in mlx4_write_mtt_chunk()
1023 dma_sync_single_for_cpu(&dev->persist->pdev->dev, fmr->dma_handle, in mlx4_map_phys_fmr()
1029 dma_sync_single_for_device(&dev->persist->pdev->dev, fmr->dma_handle, in mlx4_map_phys_fmr()
1077 &fmr->dma_handle); in mlx4_fmr_alloc()
HDmlx4_icm.c308 dma_addr_t *dma_handle) in mlx4_table_find() argument
330 if (dma_handle && dma_offset >= 0) { in mlx4_table_find()
332 *dma_handle = sg_dma_address(&chunk->mem[i]) + in mlx4_table_find()
HDicm.h86 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle);
/freebsd-11-stable/sys/ofed/include/rdma/
HDib_verbs.h1811 u64 dma_handle,
1815 u64 dma_handle,
1820 u64 *dma_handle,
1824 u64 dma_handle);
3179 u64 *dma_handle, in ib_dma_alloc_coherent() argument
3183 return dev->dma_ops->alloc_coherent(dev, size, dma_handle, flag); in ib_dma_alloc_coherent()
3189 *dma_handle = handle; in ib_dma_alloc_coherent()
3203 u64 dma_handle) in ib_dma_free_coherent() argument
3206 dev->dma_ops->free_coherent(dev, size, cpu_addr, dma_handle); in ib_dma_free_coherent()
3208 dma_free_coherent(dev->dma_device, size, cpu_addr, dma_handle); in ib_dma_free_coherent()
/freebsd-11-stable/sys/dev/nxge/include/
HDxgehal-fifo.h224 pci_dma_h dma_handle; member
HDxgehal-ring.h270 pci_dma_h dma_handle; member
/freebsd-11-stable/sys/dev/mlx4/
HDdevice.h706 dma_addr_t dma_handle; member