Home
last modified time | relevance | path

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

123

/linux/include/linux/
H A Ddma-buf.h302 struct dma_buf { struct
314 * See dma_buf_get() and dma_buf_put(). argument
321 * List of dma_buf_attachment that denotes all devices attached, argument
326 /** @ops: dma_buf_ops associated with this buffer object. */ argument
327 const struct dma_buf_ops *ops; argument
335 unsigned vmapping_counter;
341 struct iosys_map vmap_ptr;
348 const char *exp_name;
374 /** @list_node: node for dma_buf accounting and debugging. */ argument
375 struct list_head list_node;
[all …]
H A Dparport_pc.h43 char *dma_buf; member
/linux/drivers/gpu/drm/
H A Ddrm_prime.c89 struct dma_buf *dma_buf; member
97 struct dma_buf *dma_buf, uint32_t handle) in drm_prime_add_buf_handle()
165 struct dma_buf *dma_buf, in drm_prime_lookup_buf_handle()
246 struct dma_buf *dma_buf; in drm_gem_dmabuf_export() local
269 void drm_gem_dmabuf_release(struct dma_buf *dma_buf) in drm_gem_dmabuf_release()
299 struct dma_buf *dma_buf; in drm_gem_prime_fd_to_handle() local
604 int drm_gem_map_attach(struct dma_buf *dma_buf, in drm_gem_map_attach()
630 void drm_gem_map_detach(struct dma_buf *dma_buf, in drm_gem_map_detach()
712 int drm_gem_dmabuf_vmap(struct dma_buf *dma_buf, struct iosys_map *map) in drm_gem_dmabuf_vmap()
728 void drm_gem_dmabuf_vunmap(struct dma_buf *dma_buf, struct iosys_map *map) in drm_gem_dmabuf_vunmap()
[all …]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_dmabuf.c70 static int i915_gem_dmabuf_vmap(struct dma_buf *dma_buf, in i915_gem_dmabuf_vmap()
85 static void i915_gem_dmabuf_vunmap(struct dma_buf *dma_buf, in i915_gem_dmabuf_vunmap()
94 static int i915_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) in i915_gem_dmabuf_mmap()
118 static int i915_gem_begin_cpu_access(struct dma_buf *dma_buf, enum dma_data_direction direction) in i915_gem_begin_cpu_access()
143 static int i915_gem_end_cpu_access(struct dma_buf *dma_buf, enum dma_data_direction direction) in i915_gem_end_cpu_access()
283 struct dma_buf *dma_buf) in i915_gem_prime_import()
/linux/drivers/virtio/
H A Dvirtio_dma_buf.c40 int virtio_dma_buf_attach(struct dma_buf *dma_buf, in virtio_dma_buf_attach()
61 bool is_virtio_dma_buf(struct dma_buf *dma_buf) in is_virtio_dma_buf()
74 int virtio_dma_buf_get_uuid(struct dma_buf *dma_buf, in virtio_dma_buf_get_uuid()
/linux/drivers/gpu/drm/xe/
H A Dxe_dma_buf.c92 struct dma_buf *dma_buf = attach->dmabuf; in xe_dma_buf_map() local
148 struct dma_buf *dma_buf = attach->dmabuf; in xe_dma_buf_unmap() local
160 static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, in xe_dma_buf_begin_cpu_access()
210 struct dma_buf *dma_buf) in xe_dma_buf_init_obj()
261 struct dma_buf *dma_buf) in xe_gem_prime_import()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c113 struct dma_buf *dma_buf = attach->dmabuf; in amdgpu_dma_buf_map() local
205 static int amdgpu_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, in amdgpu_dma_buf_begin_cpu_access()
287 amdgpu_dma_buf_create_obj(struct drm_device *dev, struct dma_buf *dma_buf) in amdgpu_dma_buf_create_obj()
411 struct dma_buf *dma_buf) in amdgpu_gem_prime_import()
460 struct dma_buf *dma_buf = obj->import_attach->dmabuf; in amdgpu_dmabuf_is_xgmi_accessible() local
/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
2422 struct csio_dma_buf *dma_buf; in csio_scsim_init() local
2509 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()
235 static void dmabuf_exp_ops_detach(struct dma_buf *dma_buf, in dmabuf_exp_ops_detach()
327 static void dmabuf_exp_ops_release(struct dma_buf *dma_buf) in dmabuf_exp_ops_release()
570 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local
697 struct dma_buf *dma_buf; in dmabuf_imp_release() local
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dmcu.c284 const struct mt7601u_dma_buf *dma_buf, in __mt7601u_dma_fw()
336 mt7601u_dma_fw(struct mt7601u_dev *dev, struct mt7601u_dma_buf *dma_buf, in mt7601u_dma_fw()
358 struct mt7601u_dma_buf dma_buf; in mt7601u_upload_firmware() local
/linux/drivers/scsi/lpfc/
H A Dlpfc_mem.c564 struct hbq_dmabuf *dma_buf; in lpfc_sli4_rb_alloc() local
622 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-qcom-geni.c96 void *dma_buf; member
424 void *dma_buf; in geni_i2c_rx_one_msg() local
463 void *dma_buf; in geni_i2c_tx_one_msg() local
535 void *dma_buf; in geni_i2c_gpi() local
H A Di2c-tegra.c289 void *dma_buf; member
439 u32 *dma_buf; in tegra_i2c_init_dma() local
1140 u32 *dma_buf = i2c_dev->dma_buf; in tegra_i2c_push_packet_header() local
/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/mfd/
H A Dstm32-timers.c63 dma_addr_t dma_buf; in stm32_timers_dma_burst_read() 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.c424 struct hwc_dma_buf *dma_buf; in mana_hwc_alloc_dma_buf() local
467 struct hwc_dma_buf *dma_buf) in mana_hwc_dealloc_dma_buf()
/linux/drivers/net/can/esd/
H A Desd_402_pci-core.c46 void *dma_buf; member
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.c400 struct dma_buf *dma_buf) in exynos_drm_gem_prime_import()
/linux/include/drm/
H A Ddrm_gem.h353 struct dma_buf *dma_buf; member

123