Home
last modified time | relevance | path

Searched defs:dma_buf (Results 1 – 25 of 62) sorted by relevance

123

/linux/include/linux/
H A Ddma-buf.h294 struct dma_buf { struct
306 * See dma_buf_get() and dma_buf_put(). argument
313 * List of dma_buf_attachment that denotes all devices attached, argument
318 /** @ops: dma_buf_ops associated with this buffer object. */ argument
319 const struct dma_buf_ops *ops; argument
327 unsigned vmapping_counter;
333 struct iosys_map vmap_ptr;
340 const char *exp_name;
365 /** @list_node: node for dma_buf accounting and debugging. */ argument
366 struct list_head list_node;
[all …]
H A Dparport_pc.h43 char *dma_buf; member
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c69 static int i915_gem_dmabuf_vmap(struct dma_buf *dma_buf, in i915_gem_dmabuf_vmap()
84 static void i915_gem_dmabuf_vunmap(struct dma_buf *dma_buf, in i915_gem_dmabuf_vunmap()
93 static int i915_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) in i915_gem_dmabuf_mmap()
117 static int i915_gem_begin_cpu_access(struct dma_buf *dma_buf, enum dma_data_direction direction) in i915_gem_begin_cpu_access()
142 static int i915_gem_end_cpu_access(struct dma_buf *dma_buf, enum dma_data_direction direction) in i915_gem_end_cpu_access()
282 struct dma_buf *dma_buf) in i915_gem_prime_import()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_dmabuf.c54 static void mock_dmabuf_release(struct dma_buf *dma_buf) in mock_dmabuf_release()
65 static int mock_dmabuf_vmap(struct dma_buf *dma_buf, struct iosys_map *map) in mock_dmabuf_vmap()
78 static void mock_dmabuf_vunmap(struct dma_buf *dma_buf, struct iosys_map *map) in mock_dmabuf_vunmap()
85 static int mock_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) in mock_dmabuf_mmap()
/linux/drivers/virtio/
H A Dvirtio_dma_buf.c42 int virtio_dma_buf_attach(struct dma_buf *dma_buf, in virtio_dma_buf_attach()
63 bool is_virtio_dma_buf(struct dma_buf *dma_buf) in is_virtio_dma_buf()
76 int virtio_dma_buf_get_uuid(struct dma_buf *dma_buf, in virtio_dma_buf_get_uuid()
/linux/drivers/accel/ivpu/
H A Divpu_gem_userptr.c43 static void ivpu_gem_userptr_dmabuf_release(struct dma_buf *dma_buf) in ivpu_gem_userptr_dmabuf_release()
69 struct dma_buf *dma_buf; in ivpu_create_userptr_dmabuf() local
142 struct dma_buf *dma_buf; in ivpu_bo_create_from_userptr() local
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c100 struct dma_buf *dma_buf = attach->dmabuf; in xe_dma_buf_map() local
166 static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, in xe_dma_buf_begin_cpu_access()
270 struct dma_buf *dma_buf) in xe_dma_buf_init_obj()
337 struct dma_buf *dma_buf) in xe_gem_prime_import()
/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c206 struct csio_dma_buf *dma_buf; in csio_scsi_init_cmd_wr() local
298 struct csio_dma_buf *dma_buf; in csio_scsi_init_ultptx_dsgl() local
366 struct csio_dma_buf *dma_buf; in csio_scsi_init_read_wr() local
419 struct csio_dma_buf *dma_buf; in csio_scsi_init_write_wr() local
563 struct csio_dma_buf *dma_buf = NULL; in csio_setup_ddp() local
1504 struct csio_dma_buf *dma_buf; in csio_scsi_copy_to_sgl() local
1568 struct csio_dma_buf *dma_buf; in csio_scsi_err_handler() local
2020 struct csio_dma_buf *dma_buf; in csio_tm_cbfn() local
2423 struct csio_dma_buf *dma_buf; in csio_scsim_init() local
2510 struct csio_dma_buf *dma_buf; in csio_scsim_exit() local
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_prime.c44 static int vmw_prime_map_attach(struct dma_buf *dma_buf, in vmw_prime_map_attach()
50 static void vmw_prime_map_detach(struct dma_buf *dma_buf, in vmw_prime_map_detach()
H A Dttm_object.c510 static void ttm_prime_dmabuf_release(struct dma_buf *dma_buf) in ttm_prime_dmabuf_release()
541 struct dma_buf *dma_buf; in ttm_prime_fd_to_handle() local
578 struct dma_buf *dma_buf; in ttm_prime_handle_to_fd() local
H A Dttm_object.h132 struct dma_buf *dma_buf; member
/linux/drivers/xen/
H A Dgntdev-dmabuf.c220 static int dmabuf_exp_ops_attach(struct dma_buf *dma_buf, in dmabuf_exp_ops_attach()
234 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach()
326 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release()
560 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local
687 struct dma_buf *dma_buf; in dmabuf_imp_release() local
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_gem.c261 panthor_gem_prime_begin_cpu_access(struct dma_buf *dma_buf, in panthor_gem_prime_begin_cpu_access()
288 panthor_gem_prime_end_cpu_access(struct dma_buf *dma_buf, in panthor_gem_prime_end_cpu_access()
350 struct dma_buf *dma_buf) in panthor_gem_prime_import()
/linux/drivers/scsi/lpfc/
H A Dlpfc_mem.c562 struct hbq_dmabuf *dma_buf; in lpfc_sli4_rb_alloc() local
620 struct rqb_dmabuf *dma_buf; in lpfc_sli4_nvmet_alloc() local
/linux/drivers/i2c/busses/
H A Di2c-stm32.h40 dma_addr_t dma_buf; member
H A Di2c-at91-master.c658 u8 *dma_buf = NULL; in at91_twi_xfer() local
H A Di2c-tegra.c476 void *dma_buf; member
682 u32 *dma_buf; in tegra_i2c_init_dma() local
1440 u32 *dma_buf = i2c_dev->dma_buf; in tegra_i2c_push_packet_header() local
/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.c446 static int amdxdna_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) in amdxdna_gem_dmabuf_mmap()
689 struct dma_buf *dma_buf; in amdxdna_gem_create_ubuf_object() local
718 amdxdna_gem_prime_import(struct drm_device *dev, struct dma_buf *dma_buf) in amdxdna_gem_prime_import()
/linux/drivers/gpu/drm/omapdrm/
H A Domap_gem_dmabuf.c98 struct dma_buf *dma_buf) in omap_gem_prime_import()
/linux/drivers/mtd/nand/raw/
H A Dlpc32xx_mlc.c201 uint8_t *dma_buf; member
443 uint8_t *dma_buf; in lpc32xx_read_page() local
507 uint8_t *dma_buf = (uint8_t *)buf; in lpc32xx_write_page_lowlevel() local
/linux/drivers/nvmem/
H A Dzynqmp_nvmem.c66 dma_addr_t dma_buf; in zynqmp_efuse_access() local
/linux/drivers/net/ethernet/microsoft/mana/
H A Dhw_channel.c456 struct hwc_dma_buf *dma_buf; in mana_hwc_alloc_dma_buf() local
500 struct hwc_dma_buf *dma_buf) in mana_hwc_dealloc_dma_buf()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.c402 struct dma_buf *dma_buf) in exynos_drm_gem_prime_import()
/linux/drivers/vfio/pci/
H A Dvfio_pci_dmabuf.c192 static int validate_dmabuf_input(struct vfio_device_feature_dma_buf *dma_buf, in validate_dmabuf_input()
/linux/drivers/iio/adc/
H A Dnxp-sar-adc.c141 struct circ_buf dma_buf; member
585 struct circ_buf *dma_buf; in nxp_sar_adc_dma_cb() local

123