Home
last modified time | relevance | path

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

/freebsd/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,
96 dma_addr_t *dma_handle, gfp_t flag);
98 dma_addr_t *dma_handle, gfp_t flag);
149 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() argument
[all …]
/freebsd/sys/dev/liquidio/
H A Dlio_network.h194 lio_dma_alloc(size_t size, vm_paddr_t *dma_handle) in lio_dma_alloc() argument
203 *dma_handle = vtophys(mem); in lio_dma_alloc()
205 *dma_handle = 0; in lio_dma_alloc()
/freebsd/sys/dev/mthca/
H A Dmthca_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()
782 dma_sync_single_for_cpu(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
789 dma_sync_single_for_device(&dev->pdev->dev, fmr->mem.arbel.dma_handle, in mthca_arbel_map_phys_fmr()
H A Dmthca_memfree.h91 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle);
H A Dmthca_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()
H A Dmthca_provider.h94 dma_addr_t dma_handle; member
/freebsd/sys/dev/mana/
H A Dhw_channel.c250 rq_base_addr = hwc_rxq->msg_buf->mem_info.dma_handle; in mana_hwc_rx_event_handler()
487 base_pa = (uint8_t *)dma_buf->mem_info.dma_handle; in mana_hwc_alloc_dma_buf()
686 eq->mem_info.dma_handle, in mana_hwc_establish_channel()
687 cq->mem_info.dma_handle, in mana_hwc_establish_channel()
688 rq->mem_info.dma_handle, in mana_hwc_establish_channel()
689 sq->mem_info.dma_handle, in mana_hwc_establish_channel()
H A Dgdma_main.c217 bus_addr_t dma_handle; in mana_gd_alloc_memory() local
259 length, mana_gd_dma_map_paddr, &dma_handle, BUS_DMA_NOWAIT); in mana_gd_alloc_memory()
269 gmi->dma_handle = dma_handle; in mana_gd_alloc_memory()
971 req->page_addr_list[i] = gmi->dma_handle + i * PAGE_SIZE; in mana_gd_create_dma_region()
H A Dmana.h198 bus_addr_t dma_handle[MAX_MBUF_FRAGS + 1]; member
H A Dgdma.h247 bus_addr_t dma_handle; /* Physical address */ member
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_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()
H A Dmlx4_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()
H A Dicm.h84 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle);
/freebsd/sys/dev/enic/
H A Dvnic_dev.h57 bus_addr_t *dma_handle, struct iflib_dma_info *res, u8 *name),
60 bus_addr_t dma_handle, struct iflib_dma_info *res));
H A Denic.h156 bus_addr_t *dma_handle, struct iflib_dma_info *res, u8 *name);
158 bus_addr_t dma_handle, struct iflib_dma_info *res);
H A Dif_enic.c1367 enic_alloc_consistent(void *priv, size_t size, bus_addr_t * dma_handle, in enic_alloc_consistent() argument
1371 *dma_handle = 0; in enic_alloc_consistent()
1383 *dma_handle = res->idi_paddr; in enic_alloc_consistent()
1390 bus_addr_t dma_handle, struct iflib_dma_info *res) in enic_free_consistent() argument
H A Dvnic_dev.c27 bus_addr_t *dma_handle, struct iflib_dma_info *res,u8 *name), in vnic_register_cbacks() argument
30 bus_addr_t dma_handle,struct iflib_dma_info *res)) in vnic_register_cbacks() argument
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h2031 u64 dma_handle,
2035 u64 dma_handle,
2040 u64 *dma_handle,
2044 u64 dma_handle);
3721 u64 *dma_handle, in ib_dma_alloc_coherent() argument
3725 return dev->dma_ops->alloc_coherent(dev, size, dma_handle, flag); in ib_dma_alloc_coherent()
3731 *dma_handle = handle; in ib_dma_alloc_coherent()
3745 u64 dma_handle) in ib_dma_free_coherent() argument
3748 dev->dma_ops->free_coherent(dev, size, cpu_addr, dma_handle); in ib_dma_free_coherent()
3750 dma_free_coherent(dev->dma_device, size, cpu_addr, dma_handle); in ib_dma_free_coherent()
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_pci.c1533 dma_addr_t *dma_handle, gfp_t flag) in linux_dma_alloc_coherent() argument
1541 *dma_handle = 0; in linux_dma_alloc_coherent()
1556 *dma_handle = linux_dma_map_phys_common(dev, vtophys(mem), size, in linux_dma_alloc_coherent()
1558 if (*dma_handle == 0) { in linux_dma_alloc_coherent()
1563 *dma_handle = 0; in linux_dma_alloc_coherent()
1584 linuxkpi_dmam_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in linuxkpi_dmam_alloc_coherent() argument
1596 dr->mem = linux_dma_alloc_coherent(dev, size, dma_handle, flag); in linuxkpi_dmam_alloc_coherent()
1597 dr->handle = dma_handle; in linuxkpi_dmam_alloc_coherent()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dmain.c2741 dma_addr_t dma_handle; in bnxt_re_query_hwrm_dscp2pri() local
2753 kmem = dma_zalloc_coherent(&en_dev->pdev->dev, data_len, &dma_handle, in bnxt_re_query_hwrm_dscp2pri()
2761 req.dest_data_addr = cpu_to_le64(dma_handle); in bnxt_re_query_hwrm_dscp2pri()
2779 dma_free_coherent(&en_dev->pdev->dev, data_len, kmem, dma_handle); in bnxt_re_query_hwrm_dscp2pri()
2804 dma_addr_t dma_handle; in bnxt_re_set_hwrm_dscp2pri() local
2813 kmem = dma_alloc_coherent(&en_dev->pdev->dev, data_len, &dma_handle, in bnxt_re_set_hwrm_dscp2pri()
2821 req.src_data_addr = cpu_to_le64(dma_handle); in bnxt_re_set_hwrm_dscp2pri()
2836 dma_free_coherent(&en_dev->pdev->dev, data_len, kmem, dma_handle); in bnxt_re_set_hwrm_dscp2pri()
/freebsd/sys/dev/axgbe/
H A Dxgbe-common.h1555 bus_space_read_4((_channel)->dma_tag, (_channel)->dma_handle, _reg)
1563 bus_space_write_4((_channel)->dma_tag, (_channel)->dma_handle, \
H A Dxgbe.h529 bus_space_handle_t dma_handle; member
H A Dif_axgbe_pci.c807 &channel->dma_handle); in axgbe_alloc_channels()
/freebsd/sys/dev/mlx4/
H A Ddevice.h707 dma_addr_t dma_handle; member