Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/xdp/
Dxsk_buff_pool.c273 struct xsk_dma_map *dma_map; in xp_find_dma_map() local
275 list_for_each_entry(dma_map, &pool->umem->xsk_dma_list, list) { in xp_find_dma_map()
276 if (dma_map->netdev == pool->netdev) in xp_find_dma_map()
277 return dma_map; in xp_find_dma_map()
286 struct xsk_dma_map *dma_map; in xp_create_dma_map() local
288 dma_map = kzalloc(sizeof(*dma_map), GFP_KERNEL); in xp_create_dma_map()
289 if (!dma_map) in xp_create_dma_map()
292 dma_map->dma_pages = kvcalloc(nr_pages, sizeof(*dma_map->dma_pages), GFP_KERNEL); in xp_create_dma_map()
293 if (!dma_map->dma_pages) { in xp_create_dma_map()
294 kfree(dma_map); in xp_create_dma_map()
[all …]
/kernel/linux/linux-5.10/drivers/misc/genwqe/
Dcard_dev.c121 struct dma_mapping *dma_map) in __genwqe_add_mapping() argument
126 list_add(&dma_map->card_list, &cfile->map_list); in __genwqe_add_mapping()
131 struct dma_mapping *dma_map) in __genwqe_del_mapping() argument
136 list_del(&dma_map->card_list); in __genwqe_del_mapping()
193 struct dma_mapping *dma_map; in genwqe_remove_mappings() local
198 dma_map = list_entry(node, struct dma_mapping, card_list); in genwqe_remove_mappings()
200 list_del_init(&dma_map->card_list); in genwqe_remove_mappings()
211 __func__, i++, dma_map->u_vaddr, in genwqe_remove_mappings()
212 (unsigned long)dma_map->k_vaddr, in genwqe_remove_mappings()
213 (unsigned long)dma_map->dma_addr); in genwqe_remove_mappings()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c163 int dma_map, int ext_desc) in srp_direct_data() argument
169 if (dma_map) { in srp_direct_data()
186 if (dma_map) in srp_direct_data()
195 int dma_map, int ext_desc) in srp_indirect_data() argument
204 if (dma_map || ext_desc) { in srp_indirect_data()
217 if (ext_desc && dma_map) { in srp_indirect_data()
242 if (dma_map) { in srp_indirect_data()
258 if (dma_map) in srp_indirect_data()
262 if (token && dma_map) { in srp_indirect_data()
296 srp_rdma_t rdma_io, int dma_map, int ext_desc) in srp_transfer_data() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_dmabuf.c84 void *obj_map, *dma_map; in igt_dmabuf_import() local
113 dma_map = dma_buf_vmap(dmabuf); in igt_dmabuf_import()
114 if (!dma_map) { in igt_dmabuf_import()
129 memset(dma_map, pattern[i], PAGE_SIZE); in igt_dmabuf_import()
140 if (memchr_inv(dma_map, pattern[i], PAGE_SIZE)) { in igt_dmabuf_import()
153 dma_buf_vunmap(dmabuf, dma_map); in igt_dmabuf_import()
/kernel/linux/linux-5.10/include/trace/events/
Dintel_iommu.h19 DECLARE_EVENT_CLASS(dma_map,
46 DEFINE_EVENT(dma_map, map_single,
52 DEFINE_EVENT(dma_map, bounce_map_single,
/kernel/linux/linux-5.10/Documentation/driver-api/
Dvfio.rst173 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);
361 dma_map.vaddr = mmap(0, 1024 * 1024, PROT_READ | PROT_WRITE,
364 dma_map.size = 1024 * 1024;
365 dma_map.iova = 0; /* 1MB starting at 0x0 from device view */
366 dma_map.flags = VFIO_DMA_MAP_FLAG_READ | VFIO_DMA_MAP_FLAG_WRITE;
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dr8a66597.h80 unsigned char dma_map; member
121 unsigned char dma_map; member
Dr8a66597-hcd.c768 if ((r8a66597->dma_map & (1 << i)) != 0) in enable_r8a66597_pipe_dma()
778 r8a66597->dma_map |= 1 << i; in enable_r8a66597_pipe_dma()
779 dev->dma_map |= 1 << i; in enable_r8a66597_pipe_dma()
883 r8a66597->dma_map &= ~(dev->dma_map); in disable_r8a66597_pipe_all()
884 dev->dma_map = 0; in disable_r8a66597_pipe_all()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c120 entry->dma_map); in qed_chain_free_pbl()
305 addr_tbl[i].dma_map = phys; in qed_chain_alloc_pbl()
/kernel/linux/linux-5.10/drivers/vdpa/
Dvdpa.c84 if (!!config->dma_map != !!config->dma_unmap) in __vdpa_alloc_device()
/kernel/linux/linux-5.10/include/linux/
Dvdpa.h237 int (*dma_map)(struct vdpa_device *vdev, u64 iova, u64 size, member
/kernel/linux/linux-5.10/drivers/vhost/
Dvdpa.c579 if (ops->dma_map) { in vhost_vdpa_map()
580 r = ops->dma_map(vdpa, iova, size, pa, perm); in vhost_vdpa_map()
605 if (ops->dma_map) { in vhost_vdpa_unmap()
806 if (ops->set_map || ops->dma_map) in vhost_vdpa_alloc_domain()
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h215 dma_addr_t dma_map; member
Dqplib_res.c886 stats->dma, stats->dma_map); in bnxt_qplib_free_stats_ctx()
900 &stats->dma_map, GFP_KERNEL); in bnxt_qplib_alloc_stats_ctx()
Dmain.c508 dma_addr_t dma_map, in bnxt_re_net_stats_ctx_alloc() argument
527 req.stats_dma_addr = cpu_to_le64(dma_map); in bnxt_re_net_stats_ctx_alloc()
1490 rdev->qplib_ctx.stats.dma_map, in bnxt_re_dev_init()
/kernel/linux/linux-5.10/include/linux/qed/
Dqed_chain.h72 dma_addr_t dma_map; member
/kernel/linux/linux-5.10/drivers/vdpa/vdpa_sim/
Dvdpa_sim.c710 .dma_map = vdpasim_dma_map,
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c2042 struct xdp_frame *xdpf, bool dma_map) in mvneta_xdp_submit_frame() argument
2054 if (dma_map) { in mvneta_xdp_submit_frame()
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.c1723 …oc3_regs_dma_addr = fore200e->bus->dma_map(fore200e, regs, sizeof(struct oc3_regs), DMA_FROM_DEVIC…
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c3286 struct xdp_frame *xdpf, bool dma_map) in mvpp2_xdp_submit_frame() argument
3315 if (dma_map) { in mvpp2_xdp_submit_frame()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dsunhme.c255 ((__hp)->dma_map((__hp)->dma_dev, (__ptr), (__size), (__dir)))
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch20718 + /* Another call the dma_map is referencing this */