Home
last modified time | relevance | path

Searched refs:fd_device (Results 1 – 14 of 14) sorted by relevance

/external/libdrm/freedreno/
Dfreedreno_device.c42 struct fd_device * kgsl_device_new(int fd);
43 struct fd_device * msm_device_new(int fd);
46 add_bucket(struct fd_device *dev, int size) in add_bucket()
58 init_cache_buckets(struct fd_device *dev) in init_cache_buckets()
83 drm_public struct fd_device * fd_device_new(int fd) in fd_device_new()
85 struct fd_device *dev; in fd_device_new()
124 drm_public struct fd_device * fd_device_new_dup(int fd) in fd_device_new_dup()
126 struct fd_device *dev = fd_device_new(dup(fd)); in fd_device_new_dup()
132 drm_public struct fd_device * fd_device_ref(struct fd_device *dev) in fd_device_ref()
138 static void fd_device_del_impl(struct fd_device *dev) in fd_device_del_impl()
[all …]
Dfreedreno_drmif.h37 struct fd_device;
75 struct fd_device * fd_device_new(int fd);
76 struct fd_device * fd_device_new_dup(int fd);
77 struct fd_device * fd_device_ref(struct fd_device *dev);
78 void fd_device_del(struct fd_device *dev);
84 struct fd_pipe * fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
94 struct fd_bo * fd_bo_new(struct fd_device *dev,
98 struct fd_bo *fd_bo_from_handle(struct fd_device *dev,
100 struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name);
101 struct fd_bo * fd_bo_from_dmabuf(struct fd_device *dev, int fd);
Dfreedreno_priv.h58 int (*bo_new_handle)(struct fd_device *dev, uint32_t size,
60 struct fd_bo * (*bo_from_handle)(struct fd_device *dev,
62 struct fd_pipe * (*pipe_new)(struct fd_device *dev, enum fd_pipe_id id);
63 void (*destroy)(struct fd_device *dev);
71 struct fd_device { struct
95 void fd_cleanup_bo_cache(struct fd_device *dev, time_t time); argument
98 void fd_device_del_locked(struct fd_device *dev);
108 struct fd_device *dev;
137 struct fd_device *dev;
Dfreedreno_bo.c60 static struct fd_bo * bo_from_handle(struct fd_device *dev, in bo_from_handle()
84 void fd_cleanup_bo_cache(struct fd_device *dev, time_t time) in fd_cleanup_bo_cache()
110 static struct fd_bo_bucket * get_bucket(struct fd_device *dev, uint32_t size) in get_bucket()
135 static struct fd_bo *find_in_bucket(struct fd_device *dev, in find_in_bucket()
171 fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in fd_bo_new()
205 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) in fd_bo_from_handle()
224 fd_bo_from_dmabuf(struct fd_device *dev, int fd) in fd_bo_from_dmabuf()
242 drm_public struct fd_bo * fd_bo_from_name(struct fd_device *dev, uint32_t name) in fd_bo_from_name()
283 struct fd_device *dev = bo->dev; in fd_bo_del()
Dfreedreno_pipe.c37 fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in fd_pipe_new()
/external/libdrm/freedreno/msm/
Dmsm_priv.h41 struct fd_device base;
44 static inline struct msm_device * to_msm_device(struct fd_device *x) in to_msm_device()
49 struct fd_device * msm_device_new(int fd);
64 struct fd_pipe * msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
82 int msm_bo_new_handle(struct fd_device *dev,
84 struct fd_bo * msm_bo_from_handle(struct fd_device *dev,
Dmsm_device.c39 static void msm_device_destroy(struct fd_device *dev) in msm_device_destroy()
52 struct fd_device * msm_device_new(int fd) in msm_device_new()
55 struct fd_device *dev; in msm_device_new()
Dmsm_pipe.c59 struct fd_device *dev = pipe->dev; in msm_pipe_wait()
89 static uint64_t get_param(struct fd_device *dev, uint32_t pipe, uint32_t param) in get_param()
106 struct fd_pipe * msm_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in msm_pipe_new()
Dmsm_bo.c107 int msm_bo_new_handle(struct fd_device *dev, in msm_bo_new_handle()
127 struct fd_bo * msm_bo_from_handle(struct fd_device *dev, in msm_bo_from_handle()
/external/libdrm/freedreno/kgsl/
Dkgsl_priv.h37 struct fd_device base;
40 static inline struct kgsl_device * to_kgsl_device(struct fd_device *x) in to_kgsl_device()
94 struct fd_device * kgsl_device_new(int fd);
101 struct fd_pipe * kgsl_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
106 int kgsl_bo_new_handle(struct fd_device *dev,
108 struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev,
Dkgsl_device.c39 static void kgsl_device_destroy(struct fd_device *dev) in kgsl_device_destroy()
52 struct fd_device * kgsl_device_new(int fd) in kgsl_device_new()
55 struct fd_device *dev; in kgsl_device_new()
Dkgsl_bo.c37 static int set_memtype(struct fd_device *dev, uint32_t handle, uint32_t flags) in set_memtype()
134 int kgsl_bo_new_handle(struct fd_device *dev, in kgsl_bo_new_handle()
158 struct fd_bo * kgsl_bo_from_handle(struct fd_device *dev, in kgsl_bo_from_handle()
Dkgsl_pipe.c204 struct fd_pipe * kgsl_pipe_new(struct fd_device *dev, enum fd_pipe_id id) in kgsl_pipe_new()
/external/kernel-headers/original/uapi/linux/
Dfd.h227 int fd_device; member