Searched refs:drm_buffer (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Ddrm_buffer.h40 struct drm_buffer { struct
50 static inline int drm_buffer_page(struct drm_buffer *buf) drm_buffer_page()
57 static inline int drm_buffer_index(struct drm_buffer *buf) drm_buffer_index()
64 static inline int drm_buffer_unprocessed(struct drm_buffer *buf) drm_buffer_unprocessed()
72 static inline void drm_buffer_advance(struct drm_buffer *buf, int bytes) drm_buffer_advance()
83 extern int drm_buffer_alloc(struct drm_buffer **buf, int size);
92 extern int drm_buffer_copy_from_user(struct drm_buffer *buf,
98 extern void drm_buffer_free(struct drm_buffer *buf);
112 extern void *drm_buffer_read_object(struct drm_buffer *buf,
127 static inline void *drm_buffer_pointer_to_dword(struct drm_buffer *buffer, drm_buffer_pointer_to_dword()
141 static inline void *drm_buffer_pointer_to_byte(struct drm_buffer *buffer, drm_buffer_pointer_to_byte()
H A Ddrm_buffer.c36 #include "drm_buffer.h"
44 int drm_buffer_alloc(struct drm_buffer **buf, int size) drm_buffer_alloc()
49 /* Allocating pointer table to end of structure makes drm_buffer drm_buffer_alloc()
51 *buf = kzalloc(sizeof(struct drm_buffer) + nr_pages*sizeof(char *), drm_buffer_alloc()
97 int drm_buffer_copy_from_user(struct drm_buffer *buf, drm_buffer_copy_from_user()
129 void drm_buffer_free(struct drm_buffer *buf) drm_buffer_free()
155 void *drm_buffer_read_object(struct drm_buffer *buf, drm_buffer_read_object()
H A DMakefile63 radeon_irq.o r300_cmdbuf.o r600_cp.o r600_blit.o drm_buffer.o
H A Dradeon_drv.h328 struct drm_buffer;
332 struct drm_buffer *buffer;
2145 struct drm_buffer *_buf = (buf); \
H A Dr300_cmdbuf.c40 #include "drm_buffer.h"
H A Dradeon_state.c35 #include "drm_buffer.h"
95 int id, struct drm_buffer *buf) radeon_check_and_fixup_packets()

Completed in 542 milliseconds