Lines Matching refs:DRM

54 int DRM(dma_setup)( drm_device_t *dev )  in DRM()  function
58 dev->dma = DRM(alloc)( sizeof(*dev->dma), DRM_MEM_DRIVER ); in DRM()
70 void DRM(dma_takedown)(drm_device_t *dev) in DRM() function
86 DRM(free_pages)(dma->bufs[i].seglist[j], in DRM()
90 DRM(free)(dma->bufs[i].seglist, in DRM()
98 DRM(free)(dma->bufs[i].buflist[j].dev_private, in DRM()
103 DRM(free)(dma->bufs[i].buflist, in DRM()
108 DRM(freelist_destroy)(&dma->bufs[i].freelist); in DRM()
114 DRM(free)(dma->buflist, in DRM()
120 DRM(free)(dma->pagelist, in DRM()
124 DRM(free)(dev->dma, sizeof(*dev->dma), DRM_MEM_DRIVER); in DRM()
131 int DRM(histogram_slot)(unsigned long count) in DRM() function
144 void DRM(histogram_compute)(drm_device_t *dev, drm_buf_t *buf) in DRM() function
159 q2d = DRM(histogram_slot)(queued_to_dispatched); in DRM()
160 d2c = DRM(histogram_slot)(dispatched_to_completed); in DRM()
161 c2f = DRM(histogram_slot)(completed_to_freed); in DRM()
163 q2c = DRM(histogram_slot)(queued_to_dispatched in DRM()
165 q2f = DRM(histogram_slot)(queued_to_dispatched in DRM()
185 void DRM(free_buffer)(drm_device_t *dev, drm_buf_t *buf) in DRM() function
207 DRM(freelist_put)(dev, &dma->bufs[buf->order].freelist, buf); in DRM()
213 void DRM(reclaim_buffers)(drm_device_t *dev, pid_t pid) in DRM() function
223 DRM(free_buffer)(dev, dma->buflist[i]); in DRM()
242 void DRM(clear_next_buffer)(drm_device_t *dev) in DRM() function
253 int DRM(select_queue)(drm_device_t *dev, void (*wrapper)(unsigned long)) in DRM() function
321 int DRM(dma_enqueue)(drm_device_t *dev, drm_dma_t *d) in DRM() function
418 DRM(free_buffer)(dev, buf); in DRM()
420 DRM(waitlist_put)(&q->waitlist, buf); in DRM()
429 static int DRM(dma_get_buffers_of_order)(drm_device_t *dev, drm_dma_t *d, in DRM() function
437 buf = DRM(freelist_get)(&dma->bufs[order].freelist, in DRM()
464 int DRM(dma_get_buffers)(drm_device_t *dev, drm_dma_t *dma) in DRM() function
470 order = DRM(order)(dma->request_size); in DRM()
473 retcode = DRM(dma_get_buffers_of_order)(dev, dma, order); in DRM()
483 retcode = DRM(dma_get_buffers_of_order)(dev, dma, in DRM()
496 retcode = DRM(dma_get_buffers_of_order)(dev, dma, in DRM()
508 int DRM(irq_install)( drm_device_t *dev, int irq ) in DRM() function
536 dev->tq.routine = DRM(dma_immediate_bh); in DRM()
551 DRM(driver_irq_preinstall)(dev); in DRM()
554 ret = request_irq( dev->irq, DRM(dma_service), in DRM()
564 DRM(driver_irq_postinstall)(dev); in DRM()
569 int DRM(irq_uninstall)( drm_device_t *dev ) in DRM() function
583 DRM(driver_irq_uninstall)( dev ); in DRM()
590 int DRM(control)( struct inode *inode, struct file *filp, in DRM() function
602 return DRM(irq_install)( dev, ctl.irq ); in DRM()
604 return DRM(irq_uninstall)( dev ); in DRM()
612 int DRM(wait_vblank)(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long data ) in DRM() function
686 ret = DRM(vblank_wait)( dev, &vblwait.request.sequence ); in DRM()
700 void DRM(vbl_send_signals)( drm_device_t *dev ) in DRM() function
730 int DRM(control)( struct inode *inode, struct file *filp, in DRM() function