Home
last modified time | relevance | path

Searched refs:fd_pipe (Results 1 – 25 of 33) sorted by relevance

12

/external/libdrm/freedreno/
Dfreedreno_drmif.h45 struct fd_pipe;
105 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
106 struct fd_pipe * fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio);
107 struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe);
108 void fd_pipe_del(struct fd_pipe *pipe);
109 int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param,
111 int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp);
113 int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp,
122 struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe,
137 int fd_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
Dfreedreno_pipe.c36 drm_public struct fd_pipe *
39 struct fd_pipe *pipe; in fd_pipe_new2()
68 drm_public struct fd_pipe *
74 drm_public struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe) in fd_pipe_ref()
80 drm_public void fd_pipe_del(struct fd_pipe *pipe) in fd_pipe_del()
87 drm_public int fd_pipe_get_param(struct fd_pipe *pipe, in fd_pipe_get_param()
93 drm_public int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) in fd_pipe_wait()
98 drm_public int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp, in fd_pipe_wait_timeout()
Dfreedreno_priv.h66 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
119 struct fd_ringbuffer * (*ringbuffer_new)(struct fd_pipe *pipe, uint32_t size,
121 int (*get_param)(struct fd_pipe *pipe, enum fd_param_id param, uint64_t *value);
122 int (*wait)(struct fd_pipe *pipe, uint32_t timestamp, uint64_t timeout);
123 void (*destroy)(struct fd_pipe *pipe);
126 struct fd_pipe { struct
150 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op); argument
Dfreedreno_ringbuffer.h67 struct fd_pipe *pipe;
93 struct fd_ringbuffer * fd_ringbuffer_new(struct fd_pipe *pipe,
96 struct fd_ringbuffer * fd_ringbuffer_new_object(struct fd_pipe *pipe,
98 struct fd_ringbuffer * fd_ringbuffer_new_flags(struct fd_pipe *pipe,
Dfreedreno_ringbuffer.c36 fd_ringbuffer_new_flags(struct fd_pipe *pipe, uint32_t size, in fd_ringbuffer_new_flags()
63 fd_ringbuffer_new(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new()
69 fd_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new_object()
Dfreedreno_bo.c350 drm_public int fd_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in fd_bo_cpu_prep()
361 drm_public struct fd_bo * fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size) in fd_bo_from_fbdev()
/external/mesa3d/src/freedreno/drm/
Dfreedreno_pipe.c34 struct fd_pipe *
37 struct fd_pipe *pipe; in fd_pipe_new2()
66 struct fd_pipe *
72 struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe) in fd_pipe_ref()
78 void fd_pipe_del(struct fd_pipe *pipe) in fd_pipe_del()
85 int fd_pipe_get_param(struct fd_pipe *pipe, in fd_pipe_get_param()
91 int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp) in fd_pipe_wait()
96 int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp, in fd_pipe_wait_timeout()
Dfreedreno_drmif.h35 struct fd_pipe;
106 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
107 struct fd_pipe * fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id, uint32_t prio);
108 struct fd_pipe * fd_pipe_ref(struct fd_pipe *pipe);
109 void fd_pipe_del(struct fd_pipe *pipe);
110 int fd_pipe_get_param(struct fd_pipe *pipe, enum fd_param_id param,
112 int fd_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp);
114 int fd_pipe_wait_timeout(struct fd_pipe *pipe, uint32_t timestamp,
172 int fd_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
Dfreedreno_priv.h60 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id,
113 struct fd_ringbuffer * (*ringbuffer_new_object)(struct fd_pipe *pipe, uint32_t size);
114 struct fd_submit * (*submit_new)(struct fd_pipe *pipe);
115 int (*get_param)(struct fd_pipe *pipe, enum fd_param_id param, uint64_t *value);
116 int (*wait)(struct fd_pipe *pipe, uint32_t timestamp, uint64_t timeout);
117 void (*destroy)(struct fd_pipe *pipe);
120 struct fd_pipe { struct
137 struct fd_pipe *pipe; argument
143 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
Dmsm_pipe.c31 static int query_param(struct fd_pipe *pipe, uint32_t param, in query_param()
51 static int query_queue_param(struct fd_pipe *pipe, uint32_t param, in query_queue_param()
71 static int msm_pipe_get_param(struct fd_pipe *pipe, in msm_pipe_get_param()
107 static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in msm_pipe_wait()
128 static int open_submitqueue(struct fd_pipe *pipe, uint32_t prio) in open_submitqueue()
157 static void close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue()
166 static void msm_pipe_destroy(struct fd_pipe *pipe) in msm_pipe_destroy()
190 static uint64_t get_param(struct fd_pipe *pipe, uint32_t param) in get_param()
201 struct fd_pipe * msm_pipe_new(struct fd_device *dev, in msm_pipe_new()
209 struct fd_pipe *pipe = NULL; in msm_pipe_new()
Dmsm_priv.h49 struct fd_pipe base;
58 FD_DEFINE_CAST(fd_pipe, msm_pipe);
60 struct fd_pipe * msm_pipe_new(struct fd_device *dev,
63 struct fd_ringbuffer * msm_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size);
64 struct fd_ringbuffer * msm_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size);
66 struct fd_submit * msm_submit_new(struct fd_pipe *pipe);
67 struct fd_submit * msm_submit_sp_new(struct fd_pipe *pipe);
Dfreedreno_ringbuffer.c34 fd_submit_new(struct fd_pipe *pipe) in fd_submit_new()
65 fd_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in fd_ringbuffer_new_object()
Dmsm_ringbuffer_sp.c88 struct fd_pipe *pipe;
318 msm_submit_sp_new(struct fd_pipe *pipe) in msm_submit_sp_new()
365 struct fd_pipe *pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_sp_grow()
385 struct fd_pipe *pipe; in msm_ringbuffer_sp_emit_reloc()
559 msm_ringbuffer_sp_new_object(struct fd_pipe *pipe, uint32_t size) in msm_ringbuffer_sp_new_object()
Dmsm_ringbuffer.c109 struct fd_pipe *pipe;
435 msm_submit_new(struct fd_pipe *pipe) in msm_submit_new()
479 struct fd_pipe *pipe = msm_ring->u.submit->pipe; in msm_ringbuffer_grow()
500 struct fd_pipe *pipe; in msm_ringbuffer_emit_reloc()
686 msm_ringbuffer_new_object(struct fd_pipe *pipe, uint32_t size) in msm_ringbuffer_new_object()
Dfreedreno_ringbuffer.h76 struct fd_submit * fd_submit_new(struct fd_pipe *pipe);
124 struct fd_ringbuffer * fd_ringbuffer_new_object(struct fd_pipe *pipe,
Dmsm_bo.c66 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep()
/external/libdrm/freedreno/msm/
Dmsm_pipe.c31 static int query_param(struct fd_pipe *pipe, uint32_t param, in query_param()
51 static int msm_pipe_get_param(struct fd_pipe *pipe, in msm_pipe_get_param()
78 static int msm_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in msm_pipe_wait()
99 static int open_submitqueue(struct fd_pipe *pipe, uint32_t prio) in open_submitqueue()
128 static void close_submitqueue(struct fd_pipe *pipe, uint32_t queue_id) in close_submitqueue()
137 static void msm_pipe_destroy(struct fd_pipe *pipe) in msm_pipe_destroy()
157 static uint64_t get_param(struct fd_pipe *pipe, uint32_t param) in get_param()
168 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev, in msm_pipe_new()
176 struct fd_pipe *pipe = NULL; in msm_pipe_new()
Dmsm_priv.h54 struct fd_pipe base;
73 static inline struct msm_pipe * to_msm_pipe(struct fd_pipe *x) in to_msm_pipe()
78 drm_private struct fd_pipe * msm_pipe_new(struct fd_device *dev,
81 drm_private struct fd_ringbuffer * msm_ringbuffer_new(struct fd_pipe *pipe,
Dmsm_bo.c67 static int msm_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in msm_bo_cpu_prep()
/external/libdrm/freedreno/kgsl/
Dkgsl_priv.h46 struct fd_pipe base;
68 struct fd_pipe *p3d;
71 static inline struct kgsl_pipe * to_kgsl_pipe(struct fd_pipe *x) in to_kgsl_pipe()
76 drm_private int is_kgsl_pipe(struct fd_pipe *pipe);
105 drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev,
108 drm_private struct fd_ringbuffer * kgsl_ringbuffer_new(struct fd_pipe *pipe,
Dkgsl_pipe.c32 static int kgsl_pipe_get_param(struct fd_pipe *pipe, in kgsl_pipe_get_param()
60 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait()
96 static void kgsl_pipe_destroy(struct fd_pipe *pipe) in kgsl_pipe_destroy()
119 drm_private int is_kgsl_pipe(struct fd_pipe *pipe) in is_kgsl_pipe()
128 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_add_submit()
142 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_pre_submit()
159 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_post_submit()
178 struct fd_pipe *pipe = &kgsl_pipe->base; in kgsl_pipe_process_pending()
209 drm_private struct fd_pipe * kgsl_pipe_new(struct fd_device *dev, in kgsl_pipe_new()
220 struct fd_pipe *pipe = NULL; in kgsl_pipe_new()
Dkgsl_bo.c80 static int kgsl_bo_cpu_prep(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op) in kgsl_bo_cpu_prep()
181 fd_bo_from_fbdev(struct fd_pipe *pipe, int fbfd, uint32_t size) in fd_bo_from_fbdev()
/external/ltp/testcases/kernel/syscalls/copy_file_range/
Dcopy_file_range02.c52 static int fd_pipe[2]; variable
80 {&fd_pipe[0], 0, EINVAL, CONTSIZE, "pipe", 0},
177 if (fd_pipe[0] > 0) { in cleanup()
178 SAFE_CLOSE(fd_pipe[0]); in cleanup()
179 SAFE_CLOSE(fd_pipe[1]); in cleanup()
217 SAFE_PIPE(fd_pipe); in setup()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.h97 struct fd_pipe *pipe;
Dfreedreno_fence.c43 struct fd_pipe *pipe;

12