Searched refs:buf_priv (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/gpu/drm/i810/ |
A D | i810_dma.c | 98 drm_i810_buf_priv_t *buf_priv; in i810_mmap_buffers() local 103 buf_priv = buf->dev_private; in i810_mmap_buffers() 145 if (IS_ERR(buf_priv->virtual)) { in i810_map_buffer() 149 buf_priv->virtual = NULL; in i810_map_buffer() 167 buf_priv->virtual = NULL; in i810_unmap_buffer() 176 drm_i810_buf_priv_t *buf_priv; in i810_dma_get_buffer() local 193 buf_priv = buf->dev_private; in i810_dma_get_buffer() 197 d->virtual = buf_priv->virtual; in i810_dma_get_buffer() 309 buf_priv->map.flags = 0; in i810_freelist_init() 310 buf_priv->map.mtrr = 0; in i810_freelist_init() [all …]
|
/linux/drivers/media/common/videobuf2/ |
A D | videobuf2-vmalloc.c | 35 static void vb2_vmalloc_put(void *buf_priv); 63 static void vb2_vmalloc_put(void *buf_priv) in vb2_vmalloc_put() argument 65 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_put() 124 static void vb2_vmalloc_put_userptr(void *buf_priv) in vb2_vmalloc_put_userptr() argument 126 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_put_userptr() 150 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_vaddr() 160 static unsigned int vb2_vmalloc_num_users(void *buf_priv) in vb2_vmalloc_num_users() argument 162 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_num_users() 168 struct vb2_vmalloc_buf *buf = buf_priv; in vb2_vmalloc_mmap() 341 void *buf_priv, in vb2_vmalloc_get_dmabuf() argument [all …]
|
A D | videobuf2-dma-sg.c | 58 static void vb2_dma_sg_put(void *buf_priv); 182 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put() 204 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_prepare() 215 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_finish() 285 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_put_userptr() 305 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_vaddr() 326 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_num_users() 333 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_mmap() 523 void *buf_priv, in vb2_dma_sg_get_dmabuf() argument 526 struct vb2_dma_sg_buf *buf = buf_priv; in vb2_dma_sg_get_dmabuf() [all …]
|
A D | videobuf2-dma-contig.c | 75 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_cookie() 96 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_vaddr() 118 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_num_users() 125 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_prepare() 145 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_finish() 167 static void vb2_dc_put(void *buf_priv) in vb2_dc_put() argument 169 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_put() 276 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_mmap() 508 void *buf_priv, in vb2_dc_get_dmabuf() argument 511 struct vb2_dc_buf *buf = buf_priv; in vb2_dc_get_dmabuf() [all …]
|
/linux/include/media/ |
A D | videobuf2-core.h | 122 void (*put)(void *buf_priv); 124 void *buf_priv, 131 void (*put_userptr)(void *buf_priv); 133 void (*prepare)(void *buf_priv); 134 void (*finish)(void *buf_priv); 140 void (*detach_dmabuf)(void *buf_priv); 141 int (*map_dmabuf)(void *buf_priv); 142 void (*unmap_dmabuf)(void *buf_priv); 144 void *(*vaddr)(struct vb2_buffer *vb, void *buf_priv); 145 void *(*cookie)(struct vb2_buffer *vb, void *buf_priv); [all …]
|
/linux/drivers/gpu/drm/r128/ |
A D | r128_state.c | 579 int prim = buf_priv->prim; in r128_cce_dispatch_vertex() 588 buf_priv->dispatched = 1; in r128_cce_dispatch_vertex() 617 if (buf_priv->discard) { in r128_cce_dispatch_vertex() 624 OUT_RING(buf_priv->age); in r128_cce_dispatch_vertex() 631 buf_priv->dispatched = 0; in r128_cce_dispatch_vertex() 663 buf_priv->dispatched = 1; in r128_cce_dispatch_indirect() 675 if (buf_priv->discard) { in r128_cce_dispatch_indirect() 682 OUT_RING(buf_priv->age); in r128_cce_dispatch_indirect() 756 if (buf_priv->discard) { in r128_cce_dispatch_indices() 763 OUT_RING(buf_priv->age); in r128_cce_dispatch_indices() [all …]
|
A D | r128_cce.c | 777 drm_r128_buf_priv_t *buf_priv; 789 buf_priv = buf->dev_private; 802 buf_priv->discard = 0; 803 buf_priv->dispatched = 0; 804 buf_priv->list_entry = entry; 821 drm_r128_buf_priv_t *buf_priv; in r128_freelist_get() local 829 buf_priv = buf->dev_private; in r128_freelist_get() 839 buf_priv = buf->dev_private; in r128_freelist_get() 840 if (buf->pending && buf_priv->age <= done_age) { in r128_freelist_get() 862 drm_r128_buf_priv_t *buf_priv = buf->dev_private; in r128_freelist_reset() local [all …]
|
/linux/drivers/gpu/drm/mga/ |
A D | mga_state.c | 634 buf_priv->dispatched = 1; in mga_dma_dispatch_vertex() 657 if (buf_priv->discard) { in mga_dma_dispatch_vertex() 658 AGE_BUFFER(buf_priv); in mga_dma_dispatch_vertex() 661 buf_priv->dispatched = 0; in mga_dma_dispatch_vertex() 681 buf_priv->dispatched = 1; in mga_dma_dispatch_indices() 703 if (buf_priv->discard) { in mga_dma_dispatch_indices() 704 AGE_BUFFER(buf_priv); in mga_dma_dispatch_indices() 755 AGE_BUFFER(buf_priv); in mga_dma_dispatch_iload() 759 buf_priv->dispatched = 0; in mga_dma_dispatch_iload() 891 AGE_BUFFER(buf_priv); in mga_dma_vertex() [all …]
|
A D | mga_dma.c | 248 drm_mga_buf_priv_t *buf_priv; in mga_freelist_init() local 261 buf_priv = buf->dev_private; in mga_freelist_init() 277 buf_priv->list_entry = entry; in mga_freelist_init() 278 buf_priv->discard = 0; in mga_freelist_init() 279 buf_priv->dispatched = 0; in mga_freelist_init() 311 drm_mga_buf_priv_t *buf_priv; 316 buf_priv = buf->dev_private; 358 drm_mga_buf_priv_t *buf_priv = buf->dev_private; in mga_freelist_put() local 362 (unsigned long)(buf_priv->list_entry->age.head - in mga_freelist_put() 364 buf_priv->list_entry->age.wrap); in mga_freelist_put() [all …]
|
A D | mga_drv.h | 364 #define AGE_BUFFER(buf_priv) \ argument 366 drm_mga_freelist_t *entry = (buf_priv)->list_entry; \ 367 if ((buf_priv)->dispatched) { \
|
/linux/drivers/gpu/drm/savage/ |
A D | savage_bci.c | 1059 drm_savage_buf_priv_t *buf_priv = buf->dev_private; in savage_reclaim_buffers() local 1061 if (buf->file_priv == file_priv && buf_priv && in savage_reclaim_buffers() 1062 buf_priv->next == NULL && buf_priv->prev == NULL) { in savage_reclaim_buffers() 1066 SET_AGE(&buf_priv->age, event, dev_priv->event_wrap); in savage_reclaim_buffers()
|
A D | savage_state.c | 1155 drm_savage_buf_priv_t *buf_priv = dmabuf->dev_private; in savage_bci_cmdbuf() local 1158 SET_AGE(&buf_priv->age, event, dev_priv->event_wrap); in savage_bci_cmdbuf()
|
Completed in 33 milliseconds