Searched refs:exp_info (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_gem_dmabuf.c174 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); omap_gem_prime_export()
176 exp_info.ops = &omap_dmabuf_ops; omap_gem_prime_export()
177 exp_info.size = obj->size; omap_gem_prime_export()
178 exp_info.flags = flags; omap_gem_prime_export()
179 exp_info.priv = obj; omap_gem_prime_export()
181 return dma_buf_export(&exp_info); omap_gem_prime_export()
/linux-4.1.27/drivers/dma-buf/
H A Ddma-buf.c273 * @exp_info: [in] holds all the export related information provided
282 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info) dma_buf_export() argument
285 struct reservation_object *resv = exp_info->resv; dma_buf_export()
288 if (!exp_info->resv) dma_buf_export()
294 if (WARN_ON(!exp_info->priv dma_buf_export()
295 || !exp_info->ops dma_buf_export()
296 || !exp_info->ops->map_dma_buf dma_buf_export()
297 || !exp_info->ops->unmap_dma_buf dma_buf_export()
298 || !exp_info->ops->release dma_buf_export()
299 || !exp_info->ops->kmap_atomic dma_buf_export()
300 || !exp_info->ops->kmap dma_buf_export()
301 || !exp_info->ops->mmap)) { dma_buf_export()
309 dmabuf->priv = exp_info->priv; dma_buf_export()
310 dmabuf->ops = exp_info->ops; dma_buf_export()
311 dmabuf->size = exp_info->size; dma_buf_export()
312 dmabuf->exp_name = exp_info->exp_name; dma_buf_export()
324 exp_info->flags); dma_buf_export()
/linux-4.1.27/drivers/gpu/drm/exynos/
H A Dexynos_drm_dmabuf.c188 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); exynos_dmabuf_prime_export()
190 exp_info.ops = &exynos_dmabuf_ops; exynos_dmabuf_prime_export()
191 exp_info.size = exynos_gem_obj->base.size; exynos_dmabuf_prime_export()
192 exp_info.flags = flags; exynos_dmabuf_prime_export()
193 exp_info.priv = obj; exynos_dmabuf_prime_export()
195 return dma_buf_export(&exp_info); exynos_dmabuf_prime_export()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_gem_dmabuf.c233 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); i915_gem_prime_export()
235 exp_info.ops = &i915_dmabuf_ops; i915_gem_prime_export()
236 exp_info.size = gem_obj->size; i915_gem_prime_export()
237 exp_info.flags = flags; i915_gem_prime_export()
238 exp_info.priv = gem_obj; i915_gem_prime_export()
247 return dma_buf_export(&exp_info); i915_gem_prime_export()
/linux-4.1.27/drivers/gpu/drm/udl/
H A Dudl_dmabuf.c205 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); udl_gem_prime_export()
207 exp_info.ops = &udl_dmabuf_ops; udl_gem_prime_export()
208 exp_info.size = obj->size; udl_gem_prime_export()
209 exp_info.flags = flags; udl_gem_prime_export()
210 exp_info.priv = obj; udl_gem_prime_export()
212 return dma_buf_export(&exp_info); udl_gem_prime_export()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dvideobuf2-vmalloc.c371 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); vb2_vmalloc_get_dmabuf()
373 exp_info.ops = &vb2_vmalloc_dmabuf_ops; vb2_vmalloc_get_dmabuf()
374 exp_info.size = buf->size; vb2_vmalloc_get_dmabuf()
375 exp_info.flags = flags; vb2_vmalloc_get_dmabuf()
376 exp_info.priv = buf; vb2_vmalloc_get_dmabuf()
381 dbuf = dma_buf_export(&exp_info); vb2_vmalloc_get_dmabuf()
H A Dvideobuf2-dma-contig.c405 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); vb2_dc_get_dmabuf()
407 exp_info.ops = &vb2_dc_dmabuf_ops; vb2_dc_get_dmabuf()
408 exp_info.size = buf->size; vb2_dc_get_dmabuf()
409 exp_info.flags = flags; vb2_dc_get_dmabuf()
410 exp_info.priv = buf; vb2_dc_get_dmabuf()
418 dbuf = dma_buf_export(&exp_info); vb2_dc_get_dmabuf()
H A Dvideobuf2-dma-sg.c586 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); vb2_dma_sg_get_dmabuf()
588 exp_info.ops = &vb2_dma_sg_dmabuf_ops; vb2_dma_sg_get_dmabuf()
589 exp_info.size = buf->size; vb2_dma_sg_get_dmabuf()
590 exp_info.flags = flags; vb2_dma_sg_get_dmabuf()
591 exp_info.priv = buf; vb2_dma_sg_get_dmabuf()
596 dbuf = dma_buf_export(&exp_info); vb2_dma_sg_get_dmabuf()
/linux-4.1.27/drivers/gpu/drm/armada/
H A Darmada_gem.c541 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); armada_gem_prime_export()
543 exp_info.ops = &armada_gem_prime_dmabuf_ops; armada_gem_prime_export()
544 exp_info.size = obj->size; armada_gem_prime_export()
545 exp_info.flags = O_RDWR; armada_gem_prime_export()
546 exp_info.priv = obj; armada_gem_prime_export()
548 return dma_buf_export(&exp_info); armada_gem_prime_export()
/linux-4.1.27/drivers/gpu/drm/tegra/
H A Dgem.c630 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); tegra_gem_prime_export()
632 exp_info.ops = &tegra_gem_prime_dmabuf_ops; tegra_gem_prime_export()
633 exp_info.size = gem->size; tegra_gem_prime_export()
634 exp_info.flags = flags; tegra_gem_prime_export()
635 exp_info.priv = gem; tegra_gem_prime_export()
637 return dma_buf_export(&exp_info); tegra_gem_prime_export()
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_prime.c342 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); drm_gem_prime_export()
344 exp_info.ops = &drm_gem_prime_dmabuf_ops; drm_gem_prime_export()
345 exp_info.size = obj->size; drm_gem_prime_export()
346 exp_info.flags = flags; drm_gem_prime_export()
347 exp_info.priv = obj; drm_gem_prime_export()
350 exp_info.resv = dev->driver->gem_prime_res_obj(obj); drm_gem_prime_export()
352 return dma_buf_export(&exp_info); drm_gem_prime_export()
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_object.c686 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); ttm_prime_handle_to_fd()
688 exp_info.ops = &tdev->ops; ttm_prime_handle_to_fd()
689 exp_info.size = prime->size; ttm_prime_handle_to_fd()
690 exp_info.flags = flags; ttm_prime_handle_to_fd()
691 exp_info.priv = prime; ttm_prime_handle_to_fd()
703 dma_buf = dma_buf_export(&exp_info); ttm_prime_handle_to_fd()
/linux-4.1.27/drivers/staging/android/ion/
H A Dion.c1109 DEFINE_DMA_BUF_EXPORT_INFO(exp_info); ion_share_dma_buf()
1122 exp_info.ops = &dma_buf_ops; ion_share_dma_buf()
1123 exp_info.size = buffer->size; ion_share_dma_buf()
1124 exp_info.flags = O_RDWR; ion_share_dma_buf()
1125 exp_info.priv = buffer; ion_share_dma_buf()
1127 dmabuf = dma_buf_export(&exp_info); ion_share_dma_buf()
/linux-4.1.27/include/linux/
H A Ddma-buf.h211 struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info);

Completed in 518 milliseconds