| /linux/include/linux/ |
| H A D | dma-buf.h | 293 struct dma_buf { struct 305 * See dma_buf_get() and dma_buf_put(). argument 312 * List of dma_buf_attachment that denotes all devices attached, argument 317 /** @ops: dma_buf_ops associated with this buffer object. */ argument 318 const struct dma_buf_ops *ops; argument 326 unsigned vmapping_counter; 332 struct iosys_map vmap_ptr; 339 const char *exp_name; 364 /** @list_node: node for dma_buf accounting and debugging. */ argument 365 struct list_head list_node; [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_prime.c | 89 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() 242 struct dma_buf *dma_buf; in drm_gem_dmabuf_export() local 265 void drm_gem_dmabuf_release(struct dma_buf *dma_buf) in drm_gem_dmabuf_release() 295 struct dma_buf *dma_buf; in drm_gem_prime_fd_to_handle() local 600 int drm_gem_map_attach(struct dma_buf *dma_buf, in drm_gem_map_attach() 636 void drm_gem_map_detach(struct dma_buf *dma_buf, in drm_gem_map_detach() 726 int drm_gem_dmabuf_vmap(struct dma_buf *dma_buf, struct iosys_map *map) in drm_gem_dmabuf_vmap() 742 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 D | i915_gem_dmabuf.c | 69 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/amd/amdgpu/ |
| H A D | amdgpu_dma_buf.c | 165 struct dma_buf *dma_buf = attach->dmabuf; in amdgpu_dma_buf_map() local 259 static int amdgpu_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, in amdgpu_dma_buf_begin_cpu_access() 288 static int amdgpu_dma_buf_vmap(struct dma_buf *dma_buf, struct iosys_map *map) in amdgpu_dma_buf_vmap() 309 static void amdgpu_dma_buf_vunmap(struct dma_buf *dma_buf, struct iosys_map *map) in amdgpu_dma_buf_vunmap() 383 amdgpu_dma_buf_create_obj(struct drm_device *dev, struct dma_buf *dma_buf) in amdgpu_dma_buf_create_obj() 507 struct dma_buf *dma_buf) in amdgpu_gem_prime_import() 559 struct dma_buf *dma_buf = obj->import_attach->dmabuf; in amdgpu_dmabuf_is_xgmi_accessible() local
|
| H A D | amdgpu_object.c | 384 struct dma_buf *dma_buf, u32 domain, struct amdgpu_bo **bo, in amdgpu_bo_create_isp_user() 1608 struct dma_buf *dma_buf; in amdgpu_bo_print_info() local
|
| /linux/drivers/gpu/drm/i915/gem/selftests/ |
| H A D | mock_dmabuf.c | 54 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 D | virtio_dma_buf.c | 42 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/gpu/drm/xe/ |
| H A D | xe_dma_buf.c | 93 struct dma_buf *dma_buf = attach->dmabuf; in xe_dma_buf_map() local 159 static int xe_dma_buf_begin_cpu_access(struct dma_buf *dma_buf, in xe_dma_buf_begin_cpu_access() 232 struct dma_buf *dma_buf) in xe_dma_buf_init_obj() 296 struct dma_buf *dma_buf) in xe_gem_prime_import()
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_scsi.c | 206 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 D | vmwgfx_prime.c | 44 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 D | ttm_object.c | 510 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 D | ttm_object.h | 132 struct dma_buf *dma_buf; member
|
| /linux/drivers/xen/ |
| H A D | gntdev-dmabuf.c | 220 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() 562 struct dma_buf *dma_buf; in dmabuf_imp_to_refs() local 689 struct dma_buf *dma_buf; in dmabuf_imp_release() local
|
| /linux/drivers/net/wireless/mediatek/mt7601u/ |
| H A D | mcu.c | 284 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 D | lpfc_mem.c | 564 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 D | i2c-stm32.h | 40 dma_addr_t dma_buf; member
|
| H A D | i2c-qcom-geni.c | 95 void *dma_buf; member 423 void *dma_buf; in geni_i2c_rx_one_msg() local 462 void *dma_buf; in geni_i2c_tx_one_msg() local 534 void *dma_buf; in geni_i2c_gpi() local
|
| /linux/drivers/accel/amdxdna/ |
| H A D | amdxdna_gem.c | 353 static int amdxdna_gem_dmabuf_mmap(struct dma_buf *dma_buf, struct vm_area_struct *vma) in amdxdna_gem_dmabuf_mmap() 554 struct dma_buf *dma_buf; in amdxdna_gem_create_ubuf_object() local 598 amdxdna_gem_prime_import(struct drm_device *dev, struct dma_buf *dma_buf) in amdxdna_gem_prime_import()
|
| H A D | amdxdna_gem.h | 46 struct dma_buf *dma_buf; member
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gem_prime.c | 46 static void msm_gem_dmabuf_release(struct dma_buf *dma_buf) in msm_gem_dmabuf_release()
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_gem_dmabuf.c | 98 struct dma_buf *dma_buf) in omap_gem_prime_import()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | gem.h | 62 struct dma_buf *dma_buf; member
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | lpc32xx_mlc.c | 201 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 D | zynqmp_nvmem.c | 66 dma_addr_t dma_buf; in zynqmp_efuse_access() local
|
| /linux/drivers/mfd/ |
| H A D | stm32-timers.c | 65 dma_addr_t dma_buf; in stm32_timers_dma_burst_read() local
|