Lines Matching defs:fd_bo

95    struct fd_bo *(*bo_new)(struct fd_device *dev, uint32_t size, uint32_t flags);
100 struct fd_bo *(*bo_from_handle)(struct fd_device *dev, uint32_t size,
124 /* tables to keep track of bo's, to avoid "evil-twin" fd_bo objects:
126 * handle_table: maps handle to fd_bo
127 * name_table: maps flink name to fd_bo
172 struct fd_bo *suballoc_bo;
188 struct fd_bo *fd_bo_cache_alloc(struct fd_bo_cache *cache, uint32_t *size,
190 int fd_bo_cache_free(struct fd_bo_cache *cache, struct fd_bo *bo);
193 void fd_bo_del_locked(struct fd_bo *bo);
251 struct fd_bo *control_mem;
303 int (*offset)(struct fd_bo *bo, uint64_t *offset);
304 int (*cpu_prep)(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t op);
305 void (*cpu_fini)(struct fd_bo *bo);
306 int (*madvise)(struct fd_bo *bo, int willneed);
307 uint64_t (*iova)(struct fd_bo *bo);
308 void (*set_name)(struct fd_bo *bo, const char *fmt, va_list ap);
309 void (*destroy)(struct fd_bo *bo);
315 void (*upload)(struct fd_bo *bo, void *src, unsigned len);
327 struct fd_bo {
374 void fd_bo_add_fence(struct fd_bo *bo, struct fd_pipe *pipe, uint32_t fence);
381 enum fd_bo_state fd_bo_state(struct fd_bo *bo);
383 void fd_bo_init_common(struct fd_bo *bo, struct fd_device *dev);
385 struct fd_bo *fd_bo_new_ring(struct fd_device *dev, uint32_t size);
422 VG_BO_ALLOC(struct fd_bo *bo)
430 VG_BO_FREE(struct fd_bo *bo)
440 * Note that the list_head in fd_bo is used to track the buffers in cache
446 VG_BO_RELEASE(struct fd_bo *bo)
455 VG_BO_OBTAIN(struct fd_bo *bo)
465 VG_BO_ALLOC(struct fd_bo *bo)
469 VG_BO_FREE(struct fd_bo *bo)
473 VG_BO_RELEASE(struct fd_bo *bo)
477 VG_BO_OBTAIN(struct fd_bo *bo)