Home
last modified time | relevance | path

Searched refs:ctx_bitmap (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/char/drm-4.0/
Dctxbitmap.c39 clear_bit(ctx_handle, dev->ctx_bitmap); in drm_ctxbitmap_free()
52 bit = find_first_zero_bit(dev->ctx_bitmap, DRM_MAX_CTXBITMAP); in drm_ctxbitmap_next()
54 set_bit(bit, dev->ctx_bitmap); in drm_ctxbitmap_next()
66 dev->ctx_bitmap = (unsigned long *) drm_alloc(PAGE_SIZE, in drm_ctxbitmap_init()
68 if(dev->ctx_bitmap == NULL) { in drm_ctxbitmap_init()
71 memset((void *) dev->ctx_bitmap, 0, PAGE_SIZE); in drm_ctxbitmap_init()
82 drm_free((void *)dev->ctx_bitmap, PAGE_SIZE, in drm_ctxbitmap_cleanup()
DdrmP.h603 unsigned long *ctx_bitmap; member
/linux-2.4.37.9/drivers/char/drm/
Ddrm_context.h47 if ( !dev->ctx_bitmap ) goto failed; in DRM()
51 clear_bit( ctx_handle, dev->ctx_bitmap ); in DRM()
66 if(!dev->ctx_bitmap) return -1; in DRM()
69 bit = find_first_zero_bit( dev->ctx_bitmap, DRM_MAX_CTXBITMAP ); in DRM()
71 set_bit( bit, dev->ctx_bitmap ); in DRM()
85 clear_bit(bit, dev->ctx_bitmap); in DRM()
98 clear_bit(bit, dev->ctx_bitmap); in DRM()
118 dev->ctx_bitmap = (unsigned long *) DRM(alloc)( PAGE_SIZE, in DRM()
120 if ( dev->ctx_bitmap == NULL ) { in DRM()
124 memset( (void *)dev->ctx_bitmap, 0, PAGE_SIZE ); in DRM()
[all …]
DdrmP.h689 unsigned long *ctx_bitmap; member