Home
last modified time | relevance | path

Searched refs:drm_alloc (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/drivers/char/drm-4.0/
Dioctl.c89 dev->unique = drm_alloc(u.unique_len + 1, DRM_MEM_DRIVER); in drm_setunique()
94 dev->devname = drm_alloc(strlen(dev->name) + strlen(dev->unique) + 2, in drm_setunique()
Dmemory.c142 void *drm_alloc(size_t size, int area) in drm_alloc() function
168 if (!(pt = drm_alloc(size, area))) return NULL; in drm_realloc()
181 if (!(pt = drm_alloc(length+1, area))) return NULL; in drm_strdup()
Dctxbitmap.c66 dev->ctx_bitmap = (unsigned long *) drm_alloc(PAGE_SIZE, in drm_ctxbitmap_init()
Dbufs.c57 map = drm_alloc(sizeof(*map), DRM_MEM_MAPS); in drm_addmap()
130 dev->maplist = drm_alloc(dev->map_count*sizeof(*dev->maplist), in drm_addmap()
211 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in drm_addbufs()
220 entry->seglist = drm_alloc(count * sizeof(*entry->seglist), in drm_addbufs()
Dmga_bufs.c111 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in mga_addbufs_agp()
141 buf->dev_private = drm_alloc(sizeof(drm_mga_buf_priv_t), in mga_addbufs_agp()
270 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in mga_addbufs_pci()
279 entry->seglist = drm_alloc(count * sizeof(*entry->seglist), in mga_addbufs_pci()
Dr128_bufs.c116 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in r128_addbufs_agp()
146 buf->dev_private = drm_alloc(sizeof(drm_r128_buf_priv_t), in r128_addbufs_agp()
Dradeon_bufs.c112 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in radeon_addbufs_agp()
142 buf->dev_private = drm_alloc(sizeof(drm_radeon_buf_priv_t), in radeon_addbufs_agp()
Dmga_dma.c93 dev_priv->head = drm_alloc(sizeof(drm_mga_freelist_t), DRM_MEM_DRIVER); in mga_freelist_init()
101 item = drm_alloc(sizeof(drm_mga_freelist_t), in mga_freelist_init()
297 dev_priv->prim_bufs = drm_alloc(sizeof(drm_mga_prim_buf_t *) * in mga_init_primary_bufs()
319 prim_buffer = drm_alloc(sizeof(drm_mga_prim_buf_t), in mga_init_primary_bufs()
676 dev_priv = drm_alloc(sizeof(drm_mga_private_t), DRM_MEM_DRIVER); in mga_dma_initialize()
Di810_bufs.c98 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in i810_addbufs_agp()
126 buf->dev_private = drm_alloc(sizeof(drm_i810_buf_priv_t), in i810_addbufs_agp()
Dagpsupport.c132 if (!(entry = drm_alloc(sizeof(*entry), DRM_MEM_AGPLISTS))) in drm_agp_alloc()
248 if (!(head = drm_alloc(sizeof(*head), DRM_MEM_AGPLISTS))) in drm_agp_init()
Dauth.c65 entry = drm_alloc(sizeof(*entry), DRM_MEM_MAGIC); in drm_add_magic()
Dradeon_cp.c626 dev_priv = drm_alloc( sizeof(drm_radeon_private_t), DRM_MEM_DRIVER ); in radeon_do_init_cp()
1088 dev_priv->head = drm_alloc( sizeof(drm_radeon_freelist_t),
1100 entry = drm_alloc( sizeof(drm_radeon_freelist_t),
Dlists.c40 bl->bufs = drm_alloc((bl->count + 2) * sizeof(*bl->bufs), in drm_waitlist_create()
Dr128_cce.c370 dev_priv = drm_alloc( sizeof(drm_r128_private_t), DRM_MEM_DRIVER ); in r128_do_init_cce()
715 dev_priv->head = drm_alloc( sizeof(drm_r128_freelist_t),
727 entry = drm_alloc( sizeof(drm_r128_freelist_t),
Dfops.c49 priv = drm_alloc(sizeof(*priv), DRM_MEM_FILES); in drm_open_helper()
Dcontext.c95 queue = drm_alloc(sizeof(*queue), DRM_MEM_QUEUES); in drm_alloc_queue()
Dvm.c193 vma_entry = drm_alloc(sizeof(*vma_entry), DRM_MEM_VMAS); in drm_vm_open()
Ddma.c41 if (!(dev->dma = drm_alloc(sizeof(*dev->dma), DRM_MEM_DRIVER))) { in drm_dma_setup()
DdrmP.h673 extern void *drm_alloc(size_t size, int area);
Di810_dma.c492 dev_priv = drm_alloc(sizeof(drm_i810_private_t), in i810_dma_init()