Lines Matching refs:file
87 static int compat_drm_version(struct file *file, unsigned int cmd, in compat_drm_version() argument
111 err = drm_ioctl(file, in compat_drm_version()
134 static int compat_drm_getunique(struct file *file, unsigned int cmd, in compat_drm_getunique() argument
152 err = drm_ioctl(file, DRM_IOCTL_GET_UNIQUE, (unsigned long)u); in compat_drm_getunique()
163 static int compat_drm_setunique(struct file *file, unsigned int cmd, in compat_drm_setunique() argument
180 return drm_ioctl(file, DRM_IOCTL_SET_UNIQUE, (unsigned long)u); in compat_drm_setunique()
192 static int compat_drm_getmap(struct file *file, unsigned int cmd, in compat_drm_getmap() argument
210 err = drm_ioctl(file, DRM_IOCTL_GET_MAP, (unsigned long)map); in compat_drm_getmap()
229 static int compat_drm_addmap(struct file *file, unsigned int cmd, in compat_drm_addmap() argument
250 err = drm_ioctl(file, DRM_IOCTL_ADD_MAP, (unsigned long)map); in compat_drm_addmap()
271 static int compat_drm_rmmap(struct file *file, unsigned int cmd, in compat_drm_rmmap() argument
287 return drm_ioctl(file, DRM_IOCTL_RM_MAP, (unsigned long)map); in compat_drm_rmmap()
299 static int compat_drm_getclient(struct file *file, unsigned int cmd, in compat_drm_getclient() argument
316 err = drm_ioctl(file, DRM_IOCTL_GET_CLIENT, (unsigned long)client); in compat_drm_getclient()
341 static int compat_drm_getstats(struct file *file, unsigned int cmd, in compat_drm_getstats() argument
353 err = drm_ioctl(file, DRM_IOCTL_GET_STATS, (unsigned long)stats); in compat_drm_getstats()
378 static int compat_drm_addbufs(struct file *file, unsigned int cmd, in compat_drm_addbufs() argument
395 err = drm_ioctl(file, DRM_IOCTL_ADD_BUFS, (unsigned long)buf); in compat_drm_addbufs()
407 static int compat_drm_markbufs(struct file *file, unsigned int cmd, in compat_drm_markbufs() argument
426 return drm_ioctl(file, DRM_IOCTL_MARK_BUFS, (unsigned long)buf); in compat_drm_markbufs()
434 static int compat_drm_infobufs(struct file *file, unsigned int cmd, in compat_drm_infobufs() argument
467 err = drm_ioctl(file, DRM_IOCTL_INFO_BUFS, (unsigned long)request); in compat_drm_infobufs()
498 static int compat_drm_mapbufs(struct file *file, unsigned int cmd, in compat_drm_mapbufs() argument
528 err = drm_ioctl(file, DRM_IOCTL_MAP_BUFS, (unsigned long)request); in compat_drm_mapbufs()
556 static int compat_drm_freebufs(struct file *file, unsigned int cmd, in compat_drm_freebufs() argument
574 return drm_ioctl(file, DRM_IOCTL_FREE_BUFS, (unsigned long)request); in compat_drm_freebufs()
582 static int compat_drm_setsareactx(struct file *file, unsigned int cmd, in compat_drm_setsareactx() argument
600 return drm_ioctl(file, DRM_IOCTL_SET_SAREA_CTX, (unsigned long)request); in compat_drm_setsareactx()
603 static int compat_drm_getsareactx(struct file *file, unsigned int cmd, in compat_drm_getsareactx() argument
622 err = drm_ioctl(file, DRM_IOCTL_GET_SAREA_CTX, (unsigned long)request); in compat_drm_getsareactx()
638 static int compat_drm_resctx(struct file *file, unsigned int cmd, in compat_drm_resctx() argument
657 err = drm_ioctl(file, DRM_IOCTL_RES_CTX, (unsigned long)res); in compat_drm_resctx()
681 static int compat_drm_dma(struct file *file, unsigned int cmd, in compat_drm_dma() argument
710 err = drm_ioctl(file, DRM_IOCTL_DMA, (unsigned long)d); in compat_drm_dma()
728 static int compat_drm_agp_enable(struct file *file, unsigned int cmd, in compat_drm_agp_enable() argument
742 return drm_ioctl(file, DRM_IOCTL_AGP_ENABLE, (unsigned long)mode); in compat_drm_agp_enable()
759 static int compat_drm_agp_info(struct file *file, unsigned int cmd, in compat_drm_agp_info() argument
771 err = drm_ioctl(file, DRM_IOCTL_AGP_INFO, (unsigned long)info); in compat_drm_agp_info()
799 static int compat_drm_agp_alloc(struct file *file, unsigned int cmd, in compat_drm_agp_alloc() argument
816 err = drm_ioctl(file, DRM_IOCTL_AGP_ALLOC, (unsigned long)request); in compat_drm_agp_alloc()
823 drm_ioctl(file, DRM_IOCTL_AGP_FREE, (unsigned long)request); in compat_drm_agp_alloc()
830 static int compat_drm_agp_free(struct file *file, unsigned int cmd, in compat_drm_agp_free() argument
843 return drm_ioctl(file, DRM_IOCTL_AGP_FREE, (unsigned long)request); in compat_drm_agp_free()
851 static int compat_drm_agp_bind(struct file *file, unsigned int cmd, in compat_drm_agp_bind() argument
867 return drm_ioctl(file, DRM_IOCTL_AGP_BIND, (unsigned long)request); in compat_drm_agp_bind()
870 static int compat_drm_agp_unbind(struct file *file, unsigned int cmd, in compat_drm_agp_unbind() argument
883 return drm_ioctl(file, DRM_IOCTL_AGP_UNBIND, (unsigned long)request); in compat_drm_agp_unbind()
892 static int compat_drm_sg_alloc(struct file *file, unsigned int cmd, in compat_drm_sg_alloc() argument
906 err = drm_ioctl(file, DRM_IOCTL_SG_ALLOC, (unsigned long)request); in compat_drm_sg_alloc()
918 static int compat_drm_sg_free(struct file *file, unsigned int cmd, in compat_drm_sg_free() argument
931 return drm_ioctl(file, DRM_IOCTL_SG_FREE, (unsigned long)request); in compat_drm_sg_free()
943 static int compat_drm_update_draw(struct file *file, unsigned int cmd, in compat_drm_update_draw() argument
961 err = drm_ioctl(file, DRM_IOCTL_UPDATE_DRAW, (unsigned long)request); in compat_drm_update_draw()
984 static int compat_drm_wait_vblank(struct file *file, unsigned int cmd, in compat_drm_wait_vblank() argument
1002 err = drm_ioctl(file, DRM_IOCTL_WAIT_VBLANK, (unsigned long)request); in compat_drm_wait_vblank()
1030 static int compat_drm_mode_addfb2(struct file *file, unsigned int cmd, in compat_drm_mode_addfb2() argument
1062 err = drm_ioctl(file, DRM_IOCTL_MODE_ADDFB2, (unsigned long)req64); in compat_drm_mode_addfb2()
1119 long drm_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in drm_compat_ioctl()