Home
last modified time | relevance | path

Searched refs:queue_count (Results 1 – 25 of 25) sorted by relevance

/linux-2.4.37.9/drivers/char/drm-4.0/
Dcontext.c84 for (i = 0; i < dev->queue_count; i++) { in drm_alloc_queue()
103 ++dev->queue_count; in drm_alloc_queue()
104 if (dev->queue_count >= dev->queue_slots) { in drm_alloc_queue()
120 dev->queuelist[dev->queue_count-1] = queue; in drm_alloc_queue()
123 DRM_DEBUG("%d (new)\n", dev->queue_count - 1); in drm_alloc_queue()
124 return dev->queue_count - 1; in drm_alloc_queue()
188 if (ctx.handle < 0 || ctx.handle >= dev->queue_count) return -EINVAL; in drm_modctx()
222 if (ctx.handle >= dev->queue_count) return -EINVAL; in drm_getctx()
282 if (ctx.handle >= dev->queue_count) return -EINVAL; in drm_rmctx()
Dlock.c178 for (i = 0; !ret && i < dev->queue_count; i++) { in drm_flush_block_and_flush()
197 for (i = 0; !ret && i < dev->queue_count; i++) { in drm_flush_unblock()
Ddma.c227 if (new >= dev->queue_count) { in drm_context_switch()
331 for (i = dev->last_checked + 1; i < dev->queue_count; i++) { in drm_select_queue()
339 for (i = 0; i < dev->queue_count; i++) { in drm_select_queue()
Dgamma_drv.c165 dev->queue_count = 0; in gamma_setup()
284 for (i = 0; i < dev->queue_count; i++) { in gamma_takedown()
301 dev->queue_count = 0; in gamma_takedown()
Di810_drv.c174 dev->queue_count = 0; in i810_setup()
310 for (i = 0; i < dev->queue_count; i++) { in i810_takedown()
327 dev->queue_count = 0; in i810_takedown()
Dmga_bufs.c84 if (dev->queue_count) return -EBUSY; /* Not while in use */ in mga_addbufs_agp()
238 request.count, request.size, size, order, dev->queue_count); in mga_addbufs_pci()
241 if (dev->queue_count) return -EBUSY; /* Not while in use */ in mga_addbufs_pci()
Dmga_drv.c175 dev->queue_count = 0; in mga_setup()
310 for (i = 0; i < dev->queue_count; i++) { in mga_takedown()
327 dev->queue_count = 0; in mga_takedown()
Dproc.c227 for (i = 0; i < dev->queue_count; i++) { in _drm_queues_info()
529 DRM_PROC_PRINT("queue_count %10d\n", dev->queue_count); in _drm_histo_info()
Dbufs.c180 request.count, request.size, size, order, dev->queue_count); in drm_addbufs()
183 if (dev->queue_count) return -EBUSY; /* Not while in use */ in drm_addbufs()
Dr128_drv.c182 dev->queue_count = 0; in r128_setup()
323 dev->queue_count = 0; in r128_takedown()
Dtdfx_drv.c157 dev->queue_count = 0; in tdfx_setup()
539 if (lock.context < 0 || lock.context >= dev->queue_count) in tdfx_lock()
Dradeon_drv.c180 dev->queue_count = 0; in radeon_setup()
321 dev->queue_count = 0; in radeon_takedown()
Dr128_bufs.c88 if (dev->queue_count) return -EBUSY; /* Not while in use */ in r128_addbufs_agp()
Dradeon_bufs.c85 if (dev->queue_count) return -EBUSY; /* Not while in use */ in radeon_addbufs_agp()
Di810_bufs.c74 if (dev->queue_count) return -EBUSY; /* Not while in use */ in i810_addbufs_agp()
DdrmP.h567 int queue_count; /* Number of active DMA queues */ member
Dgamma_dma.c760 if (lock.context < 0 || lock.context >= dev->queue_count) in gamma_lock()
Dffb_drv.c517 dev->queue_count = 0; in ffb_setup()
/linux-2.4.37.9/drivers/char/drm/
Ddrm_context.h437 if (new >= dev->queue_count) { in DRM()
545 for (i = 0; i < dev->queue_count; i++) { in DRM()
561 ++dev->queue_count; in DRM()
562 if (dev->queue_count >= dev->queue_slots) { in DRM()
578 dev->queuelist[dev->queue_count-1] = queue; in DRM()
581 DRM_DEBUG("%d (new)\n", dev->queue_count - 1); in DRM()
582 return dev->queue_count - 1; in DRM()
645 if (ctx.handle < 0 || ctx.handle >= dev->queue_count) return -EINVAL; in DRM()
679 if (ctx.handle >= dev->queue_count) return -EINVAL; in DRM()
739 if (ctx.handle >= dev->queue_count) return -EINVAL; in DRM()
Ddrm_lock.h176 for (i = 0; !ret && i < dev->queue_count; i++) { in DRM()
195 for (i = 0; !ret && i < dev->queue_count; i++) { in DRM()
Ddrm_drv.h315 dev->queue_count = 0; in DRM()
477 for ( i = 0 ; i < dev->queue_count ; i++ ) { in DRM()
491 dev->queue_count = 0; in DRM()
953 if ( lock.context < 0 || lock.context >= dev->queue_count ) in DRM()
Ddrm_bufs.h354 if ( dev->queue_count ) return -EBUSY; /* Not while in use */ in DRM()
515 order, dev->queue_count ); in DRM()
518 if ( dev->queue_count ) return -EBUSY; /* Not while in use */ in DRM()
724 if ( dev->queue_count ) return -EBUSY; /* Not while in use */ in DRM()
Ddrm_proc.h246 for (i = 0; i < dev->queue_count; i++) { in DRM()
577 DRM_PROC_PRINT("queue_count %10d\n", dev->queue_count); in DRM()
Ddrm_dma.h286 for (i = dev->last_checked + 1; i < dev->queue_count; i++) { in DRM()
294 for (i = 0; i < dev->queue_count; i++) { in DRM()
DdrmP.h641 int queue_count; /* Number of active DMA queues */ member