/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | dma-mapping.h | 60 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 D | lio_network.h | 194 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 D | mthca_mr.c | 334 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 D | mthca_memfree.h | 91 void *mthca_table_find(struct mthca_icm_table *table, int obj, dma_addr_t *dma_handle);
|
H A D | mthca_memfree.c | 277 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 D | mthca_provider.h | 94 dma_addr_t dma_handle; member
|
/freebsd/sys/dev/mana/ |
H A D | hw_channel.c | 250 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 D | gdma_main.c | 217 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 D | mana.h | 198 bus_addr_t dma_handle[MAX_MBUF_FRAGS + 1]; member
|
H A D | gdma.h | 247 bus_addr_t dma_handle; /* Physical address */ member
|
/freebsd/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mr.c | 702 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 D | mlx4_icm.c | 308 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 D | icm.h | 84 void *mlx4_table_find(struct mlx4_icm_table *table, u32 obj, dma_addr_t *dma_handle);
|
/freebsd/sys/dev/enic/ |
H A D | vnic_dev.h | 57 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 D | enic.h | 156 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 D | if_enic.c | 1367 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 D | vnic_dev.c | 27 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 D | ib_verbs.h | 2031 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 D | linux_pci.c | 1533 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 D | main.c | 2741 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 D | xgbe-common.h | 1555 bus_space_read_4((_channel)->dma_tag, (_channel)->dma_handle, _reg) 1563 bus_space_write_4((_channel)->dma_tag, (_channel)->dma_handle, \
|
H A D | xgbe.h | 529 bus_space_handle_t dma_handle; member
|
H A D | if_axgbe_pci.c | 807 &channel->dma_handle); in axgbe_alloc_channels()
|
/freebsd/sys/dev/mlx4/ |
H A D | device.h | 707 dma_addr_t dma_handle; member
|