Home
last modified time | relevance | path

Searched refs:dma_map (Results 1 – 22 of 22) sorted by relevance

/Linux-v4.19/drivers/misc/genwqe/
Dcard_dev.c128 struct dma_mapping *dma_map) in __genwqe_add_mapping() argument
133 list_add(&dma_map->card_list, &cfile->map_list); in __genwqe_add_mapping()
138 struct dma_mapping *dma_map) in __genwqe_del_mapping() argument
143 list_del(&dma_map->card_list); in __genwqe_del_mapping()
199 struct dma_mapping *dma_map; in genwqe_remove_mappings() local
204 dma_map = list_entry(node, struct dma_mapping, card_list); in genwqe_remove_mappings()
206 list_del_init(&dma_map->card_list); in genwqe_remove_mappings()
217 __func__, i++, dma_map->u_vaddr, in genwqe_remove_mappings()
218 (unsigned long)dma_map->k_vaddr, in genwqe_remove_mappings()
219 (unsigned long)dma_map->dma_addr); in genwqe_remove_mappings()
[all …]
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c172 int dma_map, int ext_desc) in srp_direct_data() argument
178 if (dma_map) { in srp_direct_data()
195 if (dma_map) in srp_direct_data()
204 int dma_map, int ext_desc) in srp_indirect_data() argument
213 if (dma_map || ext_desc) { in srp_indirect_data()
226 if (ext_desc && dma_map) { in srp_indirect_data()
251 if (dma_map) { in srp_indirect_data()
267 if (dma_map) in srp_indirect_data()
271 if (token && dma_map) { in srp_indirect_data()
305 srp_rdma_t rdma_io, int dma_map, int ext_desc) in srp_transfer_data() argument
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_dmabuf.c101 void *obj_map, *dma_map; in igt_dmabuf_import() local
130 dma_map = dma_buf_vmap(dmabuf); in igt_dmabuf_import()
131 if (!dma_map) { in igt_dmabuf_import()
146 memset(dma_map, pattern[i], PAGE_SIZE); in igt_dmabuf_import()
157 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
170 dma_buf_vunmap(dmabuf, dma_map); in igt_dmabuf_import()
/Linux-v4.19/Documentation/
Dvfio.txt173 struct vfio_iommu_type1_dma_map dma_map = { .argsz = sizeof(dma_map) };
204 dma_map.vaddr = mmap(0, 1024 * 1024, PROT_READ | PROT_WRITE,
206 dma_map.size = 1024 * 1024;
207 dma_map.iova = 0; /* 1MB starting at 0x0 from device view */
208 dma_map.flags = VFIO_DMA_MAP_FLAG_READ | VFIO_DMA_MAP_FLAG_WRITE;
210 ioctl(container, VFIO_IOMMU_MAP_DMA, &dma_map);
356 dma_map.vaddr = mmap(0, 1024 * 1024, PROT_READ | PROT_WRITE,
359 dma_map.size = 1024 * 1024;
360 dma_map.iova = 0; /* 1MB starting at 0x0 from device view */
361 dma_map.flags = VFIO_DMA_MAP_FLAG_READ | VFIO_DMA_MAP_FLAG_WRITE;
[all …]
/Linux-v4.19/arch/ia64/include/asm/sn/
Dpcibus_provider_defs.h48 dma_addr_t (*dma_map)(struct pci_dev *, unsigned long, size_t, int flags); member
/Linux-v4.19/drivers/usb/host/
Dr8a66597.h80 unsigned char dma_map; member
121 unsigned char dma_map; member
Dr8a66597-hcd.c770 if ((r8a66597->dma_map & (1 << i)) != 0) in enable_r8a66597_pipe_dma()
780 r8a66597->dma_map |= 1 << i; in enable_r8a66597_pipe_dma()
781 dev->dma_map |= 1 << i; in enable_r8a66597_pipe_dma()
885 r8a66597->dma_map &= ~(dev->dma_map); in disable_r8a66597_pipe_all()
886 dev->dma_map = 0; in disable_r8a66597_pipe_all()
/Linux-v4.19/arch/ia64/sn/pci/
Dpci_dma.c194 dma_addr = provider->dma_map(pdev, phys_addr, size, in sn_dma_map_page()
295 dma_addr = provider->dma_map(pdev, phys_addr, in sn_dma_map_sg()
Dtioca_provider.c661 .dma_map = tioca_dma_map,
Dtioce_provider.c1046 .dma_map = tioce_dma,
/Linux-v4.19/drivers/isdn/hardware/eicon/
Dio.c220 if (!IoAdapter->dma_map) { in request()
228 (struct _diva_dma_map_entry *)IoAdapter->dma_map); in request()
233 (struct _diva_dma_map_entry *)IoAdapter->dma_map, in request()
244 diva_free_dma_map_entry((struct _diva_dma_map_entry *)IoAdapter->dma_map, in request()
Dos_pri.c238 (struct _diva_dma_map_entry **) &a->xdi_adapter.dma_map, 32); in diva_pri_init_card()
320 dma_map); in diva_pri_cleanup_adapter()
321 a->xdi_adapter.dma_map = NULL; in diva_pri_cleanup_adapter()
Dio.h221 void *dma_map; member
Ddi.c608 (struct _diva_dma_map_entry *)IoAdapter->dma_map, in isdn_ind()
/Linux-v4.19/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h143 dma_addr_t dma_map; member
Dqplib_res.c755 stats->dma, stats->dma_map); in bnxt_qplib_free_stats_ctx()
768 &stats->dma_map, GFP_KERNEL); in bnxt_qplib_alloc_stats_ctx()
Dmain.c436 dma_addr_t dma_map, in bnxt_re_net_stats_ctx_alloc() argument
454 req.stats_dma_addr = cpu_to_le64(dma_map); in bnxt_re_net_stats_ctx_alloc()
1313 rdev->qplib_ctx.stats.dma_map, in bnxt_re_ib_reg()
/Linux-v4.19/arch/ia64/sn/pci/pcibr/
Dpcibr_provider.c246 .dma_map = pcibr_dma_map,
/Linux-v4.19/arch/ia64/sn/kernel/
Dio_common.c76 .dma_map = sn_default_pci_map,
/Linux-v4.19/drivers/atm/
Dfore200e.c198 …chunk->dma_addr = fore200e->bus->dma_map(fore200e, chunk->align_addr, chunk->align_size, direction… in fore200e_chunk_alloc()
626 prom_dma = fore200e->bus->dma_map(fore200e, prom, sizeof(struct prom_data), DMA_FROM_DEVICE); in fore200e_pca_prom_read()
1682 tpd->tsd[ 0 ].buffer = fore200e->bus->dma_map(fore200e, data, tx_len, DMA_TO_DEVICE); in fore200e_send()
1755 stats_dma_addr = fore200e->bus->dma_map(fore200e, fore200e->stats, in fore200e_getstats()
1818 …oc3_regs_dma_addr = fore200e->bus->dma_map(fore200e, regs, sizeof(struct oc3_regs), DMA_FROM_DEVIC…
Dfore200e.h808 u32 (*dma_map)(struct fore200e*, void*, int, int); member
/Linux-v4.19/drivers/net/ethernet/sun/
Dsunhme.c256 ((__hp)->dma_map((__hp)->dma_dev, (__ptr), (__size), (__dir)))