/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/ |
H A D | drm_stub.h | 39 } *DRM(stub_list); 41 static struct proc_dir_entry *DRM(stub_root); 47 } DRM(stub_info); 49 static int DRM(stub_open)(struct inode *inode, struct file *filp) 55 if (!DRM(stub_list) || !DRM(stub_list)[minor].fops) return -ENODEV; 57 filp->f_op = fops_get(DRM(stub_list)[minor].fops); 67 static struct file_operations DRM(stub_fops) = { 69 open: DRM(stub_open) 72 static int DRM(stub_getmino [all...] |
H A D | ffb.h | 1 /* ffb.h -- ffb DRM template customization -*- linux-c -*- 7 /* This remains constant for all DRM template files. 9 #define DRM(x) ffb_##x macro
|
H A D | tdfx.h | 1 /* tdfx.h -- 3dfx DRM template customization -*- linux-c -*- 33 /* This remains constant for all DRM template files. 35 #define DRM(x) tdfx_##x macro
|
H A D | drm_memory.h | 1 /* drm_memory.h -- Memory management wrappers for DRM -*- linux-c -*- 45 static spinlock_t DRM(mem_lock) = SPIN_LOCK_UNLOCKED; 46 static unsigned long DRM(ram_available) = 0; /* In pages */ 47 static unsigned long DRM(ram_used) = 0; 48 static drm_mem_stats_t DRM(mem_stats)[] = { 73 void DRM(mem_init)(void) 78 for (mem = DRM(mem_stats); mem->name; ++mem) { 87 DRM(ram_available) = si.totalram; 88 DRM(ram_used) = 0; 93 static int DRM(_mem_inf [all...] |
H A D | drm_init.h | 1 /* drm_init.h -- Setup/Cleanup for DRM -*- linux-c -*- 34 int DRM(flags) = 0; 39 static void DRM(parse_option)(char *s) 49 DRM(flags) |= DRM_FLAG_NOCTX; 54 DRM(flags) |= DRM_FLAG_DEBUG; 84 void DRM(parse_options)(char *s) 95 DRM(parse_option)(h); /* parse */ 102 int DRM(cpu_valid)(void)
|
H A D | drm_drv.h | 48 * #define DRM(x) mga_##x 117 static struct file_operations DRM(fops) = { \ 119 open: DRM(open), \ 120 flush: DRM(flush), \ 121 release: DRM(release), \ 122 ioctl: DRM(ioctl), \ 123 mmap: DRM(mmap), \ 124 read: DRM(read), \ 125 fasync: DRM(fasync), \ 126 poll: DRM(pol [all...] |
H A D | drmP.h | 39 * can build the DRM (part of PI DRI). 4/21/2000 S + B */ 79 /* DRM template customization defaults 213 /* Begin the DRM... 264 DRM(mem_stats)[area].name , ##arg) 270 if ( DRM(flags) & DRM_FLAG_DEBUG ) \ 289 DRM(mem_stats)[area].name , ##arg) 295 if ( DRM(flags) & DRM_FLAG_DEBUG ) \ 319 (map)->handle = DRM(ioremap)( (map)->offset, (map)->size ) 324 DRM(ioremapfree)( (map)->handle, (map)->size ); \ 680 extern int DRM(flag [all...] |
H A D | drm_drawable.h | 34 int DRM(adddraw)(struct inode *inode, struct file *filp, 46 int DRM(rmdraw)(struct inode *inode, struct file *filp,
|
H A D | tdfx_drv.c | 66 static drm_pci_list_t DRM(idlist)[] = { 75 #define DRIVER_CARD_LIST DRM(idlist) 86 /* DRM(options) is called by the kernel to parse command-line options 97 DRM(parse_options)( str );
|
H A D | drm_auth.h | 34 static int DRM(hash_magic)(drm_magic_t magic) 39 static drm_file_t *DRM(find_file)(drm_device_t *dev, drm_magic_t magic) 43 int hash = DRM(hash_magic)(magic); 56 int DRM(add_magic)(drm_device_t *dev, drm_file_t *priv, drm_magic_t magic) 63 hash = DRM(hash_magic)(magic); 64 entry = DRM(alloc)(sizeof(*entry), DRM_MEM_MAGIC); 83 int DRM(remove_magic)(drm_device_t *dev, drm_magic_t magic) 90 hash = DRM(hash_magic)(magic); 110 DRM(free)(pt, sizeof(*pt), DRM_MEM_MAGIC); 115 int DRM(getmagi [all...] |
H A D | drm_vm.h | 1 /* drm_vm.h -- Memory mapping for DRM -*- linux-c -*- 34 struct vm_operations_struct DRM(vm_ops) = { 35 nopage: DRM(vm_nopage), 36 open: DRM(vm_open), 37 close: DRM(vm_close), 40 struct vm_operations_struct DRM(vm_shm_ops) = { 41 nopage: DRM(vm_shm_nopage), 42 open: DRM(vm_open), 43 close: DRM(vm_shm_close), 46 struct vm_operations_struct DRM(vm_dma_op [all...] |
H A D | drm_lock.h | 34 int DRM(block)(struct inode *inode, struct file *filp, unsigned int cmd, 41 int DRM(unblock)(struct inode *inode, struct file *filp, unsigned int cmd, 48 int DRM(lock_take)(__volatile__ unsigned int *lock, unsigned int context) 76 int DRM(lock_transfer)(drm_device_t *dev, 90 int DRM(lock_free)(drm_device_t *dev, 113 static int DRM(flush_queue)(drm_device_t *dev, int context) 146 static int DRM(flush_unblock_queue)(drm_device_t *dev, int context) 163 int DRM(flush_block_and_flush)(drm_device_t *dev, int context, 172 ret = DRM(flush_queue)(dev, DRM_KERNEL_CONTEXT); 173 if (!ret) ret = DRM(flush_queu [all...] |
H A D | drm_scatter.h | 36 void DRM(sg_cleanup)( drm_sg_mem_t *entry ) 49 DRM(free)( entry->busaddr, 52 DRM(free)( entry->pagelist, 55 DRM(free)( entry, 60 int DRM(sg_alloc)( struct inode *inode, struct file *filp, 79 entry = DRM(alloc)( sizeof(*entry), DRM_MEM_SGLISTS ); 89 entry->pagelist = DRM(alloc)( pages * sizeof(*entry->pagelist), 92 DRM(free)( entry, sizeof(*entry), DRM_MEM_SGLISTS ); 96 entry->busaddr = DRM(alloc)( pages * sizeof(*entry->busaddr), 99 DRM(fre [all...] |
H A D | drm_agpsupport.h | 1 /* drm_agpsupport.h -- DRM support for AGP/GART backend -*- linux-c -*- 42 int DRM(agp_info)(struct inode *inode, struct file *filp, 69 int DRM(agp_acquire)(struct inode *inode, struct file *filp, 83 int DRM(agp_release)(struct inode *inode, struct file *filp, 97 void DRM(agp_do_release)(void) 102 int DRM(agp_enable)(struct inode *inode, struct file *filp, 122 int DRM(agp_alloc)(struct inode *inode, struct file *filp, 136 if (!(entry = DRM(alloc)(sizeof(*entry), DRM_MEM_AGPLISTS))) 144 if (!(memory = DRM(alloc_agp)(pages, type))) { 145 DRM(fre [all...] |
H A D | drm_proc.h | 1 /* drm_proc.h -- /proc support for DRM -*- linux-c -*- 38 static int DRM(name_info)(char *buf, char **start, off_t offset, 40 static int DRM(vm_info)(char *buf, char **start, off_t offset, 42 static int DRM(clients_info)(char *buf, char **start, off_t offset, 44 static int DRM(queues_info)(char *buf, char **start, off_t offset, 46 static int DRM(bufs_info)(char *buf, char **start, off_t offset, 49 static int DRM(vma_info)(char *buf, char **start, off_t offset, 53 static int DRM(histo_info)(char *buf, char **start, off_t offset, 60 } DRM(proc_list)[] = { 61 { "name", DRM(name_inf [all...] |
H A D | drm_dma.h | 54 int DRM(dma_setup)( drm_device_t *dev ) 58 dev->dma = DRM(alloc)( sizeof(*dev->dma), DRM_MEM_DRIVER ); 70 void DRM(dma_takedown)(drm_device_t *dev) 86 DRM(free_pages)(dma->bufs[i].seglist[j], 90 DRM(free)(dma->bufs[i].seglist, 98 DRM(free)(dma->bufs[i].buflist[j].dev_private, 103 DRM(free)(dma->bufs[i].buflist, 108 DRM(freelist_destroy)(&dma->bufs[i].freelist); 114 DRM(free)(dma->buflist, 120 DRM(fre [all...] |
H A D | mga.h | 1 /* mga.h -- Matrox G200/G400 DRM template customization -*- linux-c -*- 33 /* This remains constant for all DRM template files. 35 #define DRM(x) mga_##x macro
|
H A D | sis.h | 32 /* This remains constant for all DRM template files. 36 #define DRM(x) sisdrv_##x macro
|
H A D | drm_context.h | 44 void DRM(ctxbitmap_free)( drm_device_t *dev, int ctx_handle ) 62 int DRM(ctxbitmap_next)( drm_device_t *dev ) 78 ctx_sareas = DRM(realloc)(dev->context_sareas, 93 dev->context_sareas = DRM(alloc)( 112 int DRM(ctxbitmap_init)( drm_device_t *dev ) 118 dev->ctx_bitmap = (unsigned long *) DRM(alloc)( PAGE_SIZE, 130 temp = DRM(ctxbitmap_next)( dev ); 137 void DRM(ctxbitmap_cleanup)( drm_device_t *dev ) 140 if( dev->context_sareas ) DRM(free)( dev->context_sareas, 144 DRM(fre [all...] |
H A D | drm_lists.h | 36 int DRM(waitlist_create)(drm_waitlist_t *bl, int count) 40 bl->bufs = DRM(alloc)((bl->count + 2) * sizeof(*bl->bufs), 54 int DRM(waitlist_destroy)(drm_waitlist_t *bl) 57 if (bl->bufs) DRM(free)(bl->bufs, 68 int DRM(waitlist_put)(drm_waitlist_t *bl, drm_buf_t *buf) 92 drm_buf_t *DRM(waitlist_get)(drm_waitlist_t *bl) 114 int DRM(freelist_create)(drm_freelist_t *bl, int count) 127 int DRM(freelist_destroy)(drm_freelist_t *bl) 134 int DRM(freelist_put)(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf) 150 DRM(histogram_comput [all...] |
H A D | ati_pcigart.h | 51 static unsigned long DRM(ati_alloc_pcigart_table)( void ) 74 static void DRM(ati_free_pcigart_table)( unsigned long address ) 90 int DRM(ati_pcigart_init)( drm_device_t *dev, 105 address = DRM(ati_alloc_pcigart_table)(); 121 DRM(ati_free_pcigart_table)( address ); 141 DRM(ati_pcigart_cleanup)( dev, address, bus_address ); 168 int DRM(ati_pcigart_cleanup)( drm_device_t *dev, 198 DRM(ati_free_pcigart_table)( addr );
|
H A D | drm_bufs.h | 57 int DRM(order)( unsigned long size ) 70 int DRM(addmap)( struct inode *inode, struct file *filp, 80 map = DRM(alloc)( sizeof(*map), DRM_MEM_MAPS ); 85 DRM(free)( map, sizeof(*map), DRM_MEM_MAPS ); 94 DRM(free)( map, sizeof(*map), DRM_MEM_MAPS ); 100 DRM(free)( map, sizeof(*map), DRM_MEM_MAPS ); 112 DRM(free)( map, sizeof(*map), DRM_MEM_MAPS ); 126 map->handle = DRM(ioremap)( map->offset, map->size ); 132 map->size, DRM(order)( map->size ), map->handle ); 134 DRM(fre [all...] |
H A D | gamma_drv.c | 67 /* DRM(options) is called by the kernel to parse command-line options 78 DRM(parse_options)( str );
|
H A D | r128.h | 1 /* r128.h -- ATI Rage 128 DRM template customization -*- linux-c -*- 33 /* This remains constant for all DRM template files. 35 #define DRM(x) r128_##x macro
|
H A D | radeon.h | 1 /* radeon.h -- ATI Radeon DRM template customization -*- linux-c -*- 33 /* This remains constant for all DRM template files. 35 #define DRM(x) radeon_##x macro
|