Lines Matching refs:fd_device
41 struct fd_device;
115 struct fd_device *fd_device_new(int fd);
116 struct fd_device *fd_device_new_dup(int fd);
117 struct fd_device *fd_device_ref(struct fd_device *dev);
118 void fd_device_purge(struct fd_device *dev);
119 void fd_device_del(struct fd_device *dev);
120 int fd_device_fd(struct fd_device *dev);
135 enum fd_version fd_device_version(struct fd_device *dev);
137 bool fd_has_syncobj(struct fd_device *dev);
142 struct fd_pipe *fd_pipe_new(struct fd_device *dev, enum fd_pipe_id id);
143 struct fd_pipe *fd_pipe_new2(struct fd_device *dev, enum fd_pipe_id id,
160 struct fd_bo *_fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags);
177 static inline struct fd_bo *fd_bo_new(struct fd_device *dev, uint32_t size,
182 fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, const char *fmt, in fd_bo_new()
197 struct fd_bo *fd_bo_from_handle(struct fd_device *dev, uint32_t handle,
199 struct fd_bo *fd_bo_from_name(struct fd_device *dev, uint32_t name);
200 struct fd_bo *fd_bo_from_dmabuf(struct fd_device *dev, int fd);