HomeSort by: relevance | last modified time | path
    Searched defs:dmabuf (Results 1 - 25 of 54) sorted by relevancy

1 2 3

  /src/sys/arch/macppc/stand/ofwboot/
ofdev.h 43 void *dmabuf; member in struct:of_dev
ofdev.h 43 void *dmabuf; member in struct:of_dev
ofdev.h 43 void *dmabuf; member in struct:of_dev
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/selftests/
mock_dmabuf.c 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf);
102 struct dma_buf *dmabuf; local in function:mock_dmabuf
122 dmabuf = dma_buf_export(&exp_info);
123 if (IS_ERR(dmabuf))
126 return dmabuf;
mock_dmabuf.c 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf);
102 struct dma_buf *dmabuf; local in function:mock_dmabuf
122 dmabuf = dma_buf_export(&exp_info);
123 if (IS_ERR(dmabuf))
126 return dmabuf;
mock_dmabuf.c 17 struct mock_dmabuf *mock = to_mock(attachment->dmabuf);
102 struct dma_buf *dmabuf; local in function:mock_dmabuf
122 dmabuf = dma_buf_export(&exp_info);
123 if (IS_ERR(dmabuf))
126 return dmabuf;
i915_gem_dmabuf.c 22 struct dma_buf *dmabuf; local in function:igt_dmabuf_export
28 dmabuf = i915_gem_prime_export(&obj->base, 0);
30 if (IS_ERR(dmabuf)) {
32 (int)PTR_ERR(dmabuf));
33 return PTR_ERR(dmabuf);
36 dma_buf_put(dmabuf);
45 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_self
52 dmabuf = i915_gem_prime_export(&obj->base, 0);
53 if (IS_ERR(dmabuf)) {
55 (int)PTR_ERR(dmabuf));
88 struct dma_buf *dmabuf; local in function:igt_dmabuf_import
170 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_ownership
219 struct dma_buf *dmabuf; local in function:igt_dmabuf_export_vmap
    [all...]
i915_gem_dmabuf.c 22 struct dma_buf *dmabuf; local in function:igt_dmabuf_export
28 dmabuf = i915_gem_prime_export(&obj->base, 0);
30 if (IS_ERR(dmabuf)) {
32 (int)PTR_ERR(dmabuf));
33 return PTR_ERR(dmabuf);
36 dma_buf_put(dmabuf);
45 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_self
52 dmabuf = i915_gem_prime_export(&obj->base, 0);
53 if (IS_ERR(dmabuf)) {
55 (int)PTR_ERR(dmabuf));
88 struct dma_buf *dmabuf; local in function:igt_dmabuf_import
170 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_ownership
219 struct dma_buf *dmabuf; local in function:igt_dmabuf_export_vmap
    [all...]
i915_gem_dmabuf.c 22 struct dma_buf *dmabuf; local in function:igt_dmabuf_export
28 dmabuf = i915_gem_prime_export(&obj->base, 0);
30 if (IS_ERR(dmabuf)) {
32 (int)PTR_ERR(dmabuf));
33 return PTR_ERR(dmabuf);
36 dma_buf_put(dmabuf);
45 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_self
52 dmabuf = i915_gem_prime_export(&obj->base, 0);
53 if (IS_ERR(dmabuf)) {
55 (int)PTR_ERR(dmabuf));
88 struct dma_buf *dmabuf; local in function:igt_dmabuf_import
170 struct dma_buf *dmabuf; local in function:igt_dmabuf_import_ownership
219 struct dma_buf *dmabuf; local in function:igt_dmabuf_export_vmap
    [all...]
  /src/sys/arch/sun68k/stand/libsa/
dev_disk.c 119 char *dmabuf; local in function:disk_strategy
130 dmabuf = dvma_mapin(buf, size);
140 si->si_ma = dmabuf;
145 dvma_mapout(dmabuf, size);
dev_disk.c 119 char *dmabuf; local in function:disk_strategy
130 dmabuf = dvma_mapin(buf, size);
140 si->si_ma = dmabuf;
145 dvma_mapout(dmabuf, size);
dev_disk.c 119 char *dmabuf; local in function:disk_strategy
130 dmabuf = dvma_mapin(buf, size);
140 si->si_ma = dmabuf;
145 dvma_mapout(dmabuf, size);
  /src/sys/arch/sun68k/stand/tapeboot/
dev_tape.c 145 char *dmabuf; local in function:tape_strategy
156 dmabuf = dvma_mapin(buf, size);
159 si->si_ma = dmabuf;
164 dvma_mapout(dmabuf, size);
dev_tape.c 145 char *dmabuf; local in function:tape_strategy
156 dmabuf = dvma_mapin(buf, size);
159 si->si_ma = dmabuf;
164 dvma_mapout(dmabuf, size);
dev_tape.c 145 char *dmabuf; local in function:tape_strategy
156 dmabuf = dvma_mapin(buf, size);
159 si->si_ma = dmabuf;
164 dvma_mapout(dmabuf, size);
  /src/sys/external/bsd/drm2/linux/
linux_dma_buf.c 55 .fo_name = "dmabuf",
72 struct dma_buf *dmabuf; local in function:dma_buf_export
75 dmabuf = kmem_zalloc(offsetof(struct dma_buf, db_resv_int[1]),
78 dmabuf = kmem_zalloc(sizeof(*dmabuf), KM_SLEEP);
81 dmabuf->priv = info->priv;
82 dmabuf->ops = info->ops;
83 dmabuf->size = info->size;
84 dmabuf->resv = info->resv;
86 mutex_init(&dmabuf->db_lock, MUTEX_DEFAULT, IPL_NONE)
129 struct dma_buf *dmabuf; local in function:dma_buf_get
258 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_close
267 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_poll
276 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_kqfilter
286 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_mmap
305 struct dma_buf *dmabuf = fp->f_data; local in function:dmabuf_fop_seek
    [all...]
linux_dma_buf.c 55 .fo_name = "dmabuf",
72 struct dma_buf *dmabuf; local in function:dma_buf_export
75 dmabuf = kmem_zalloc(offsetof(struct dma_buf, db_resv_int[1]),
78 dmabuf = kmem_zalloc(sizeof(*dmabuf), KM_SLEEP);
81 dmabuf->priv = info->priv;
82 dmabuf->ops = info->ops;
83 dmabuf->size = info->size;
84 dmabuf->resv = info->resv;
86 mutex_init(&dmabuf->db_lock, MUTEX_DEFAULT, IPL_NONE)
129 struct dma_buf *dmabuf; local in function:dma_buf_get
258 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_close
267 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_poll
276 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_kqfilter
286 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_mmap
305 struct dma_buf *dmabuf = fp->f_data; local in function:dmabuf_fop_seek
    [all...]
linux_dma_buf.c 55 .fo_name = "dmabuf",
72 struct dma_buf *dmabuf; local in function:dma_buf_export
75 dmabuf = kmem_zalloc(offsetof(struct dma_buf, db_resv_int[1]),
78 dmabuf = kmem_zalloc(sizeof(*dmabuf), KM_SLEEP);
81 dmabuf->priv = info->priv;
82 dmabuf->ops = info->ops;
83 dmabuf->size = info->size;
84 dmabuf->resv = info->resv;
86 mutex_init(&dmabuf->db_lock, MUTEX_DEFAULT, IPL_NONE)
129 struct dma_buf *dmabuf; local in function:dma_buf_get
258 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_close
267 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_poll
276 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_kqfilter
286 struct dma_buf *dmabuf = file->f_data; local in function:dmabuf_fop_mmap
305 struct dma_buf *dmabuf = fp->f_data; local in function:dmabuf_fop_seek
    [all...]
  /src/sys/external/bsd/drm2/include/linux/
dma-buf.h 88 struct dma_buf *dmabuf; member in struct:dma_buf_attachment
dma-buf.h 88 struct dma_buf *dmabuf; member in struct:dma_buf_attachment
dma-buf.h 88 struct dma_buf *dmabuf; member in struct:dma_buf_attachment
  /src/sys/external/bsd/drm/dist/shared-core/
savage_state.c 278 const struct drm_buf *dmabuf)
288 if (!dmabuf) {
341 if (start + n > dmabuf->total / 32) {
343 start, start + n - 1, dmabuf->total / 32);
352 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) {
355 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type);
356 dev_priv->state.common.vbaddr = dmabuf->bus_address;
539 const struct drm_buf *dmabuf)
548 if (!dmabuf) {
604 if (dmabuf->bus_address != dev_priv->state.common.vbaddr)
963 struct drm_buf *dmabuf; local in function:savage_bci_cmdbuf
    [all...]
savage_state.c 278 const struct drm_buf *dmabuf)
288 if (!dmabuf) {
341 if (start + n > dmabuf->total / 32) {
343 start, start + n - 1, dmabuf->total / 32);
352 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) {
355 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type);
356 dev_priv->state.common.vbaddr = dmabuf->bus_address;
539 const struct drm_buf *dmabuf)
548 if (!dmabuf) {
604 if (dmabuf->bus_address != dev_priv->state.common.vbaddr)
963 struct drm_buf *dmabuf; local in function:savage_bci_cmdbuf
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gvt/
dmabuf.c 1 /* $NetBSD: dmabuf.c,v 1.3 2021/12/19 11:06:55 riastradh Exp $ */
34 __KERNEL_RCSID(0, "$NetBSD: dmabuf.c,v 1.3 2021/12/19 11:06:55 riastradh Exp $");
530 /* To associate an exposed dmabuf with the dmabuf_obj */
536 struct dma_buf *dmabuf; local in function:intel_vgpu_get_dmabuf
544 gvt_vgpu_err("invalid dmabuf id:%d\n", dmabuf_id);
558 dmabuf = i915_gem_prime_export(&obj->base, DRM_CLOEXEC | DRM_RDWR);
559 if (IS_ERR(dmabuf)) {
561 ret = PTR_ERR(dmabuf);
565 ret = dma_buf_fd(dmabuf, DRM_CLOEXEC | DRM_RDWR);
581 gvt_dbg_dpy("vgpu%d: dmabuf:%d, dmabuf ref %d, fd:%d\n
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/savage/
savage_state.c 292 const struct drm_buf * dmabuf)
302 if (!dmabuf) {
355 if (start + n > dmabuf->total / 32) {
357 start, start + n - 1, dmabuf->total / 32);
366 if (dmabuf->bus_address != dev_priv->state.common.vbaddr) {
369 BCI_WRITE(dmabuf->bus_address | dev_priv->dma_type);
370 dev_priv->state.common.vbaddr = dmabuf->bus_address;
553 const struct drm_buf * dmabuf)
562 if (!dmabuf) {
618 if (dmabuf->bus_address != dev_priv->state.common.vbaddr)
976 struct drm_buf *dmabuf; local in function:savage_bci_cmdbuf
    [all...]

Completed in 38 milliseconds

1 2 3