Searched refs:file_priv (Results 1 - 21 of 21) sorted by relevance

/freebsd-head/sys/dev/drm2/
H A Ddrm_fops.c290 static void drm_master_release(struct drm_device *dev, struct drm_file *file_priv) argument
293 if (drm_i_have_hw_lock(dev, file_priv)) {
295 file_priv, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock));
296 drm_lock_free(&file_priv->master->lock,
297 _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock));
301 static void drm_events_release(struct drm_file *file_priv) argument
303 struct drm_device *dev = file_priv->minor->dev;
312 if (v->base.file_priv == file_priv) {
339 struct drm_file *file_priv = data; local
471 drm_dequeue_event(struct drm_file *file_priv, struct uio *uio, struct drm_pending_event **out) argument
501 struct drm_file *file_priv; local
546 struct drm_file *file_priv; local
560 struct drm_file *file_priv; local
[all...]
H A Ddrm_auth.c136 * \param file_priv DRM file private.
143 * file_priv.
147 int drm_getmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
153 if (file_priv->magic) {
154 auth->magic = file_priv->magic;
162 } while (drm_find_file(file_priv->master, auth->magic));
163 file_priv->magic = auth->magic;
164 drm_add_magic(file_priv->master, file_priv, auth->magic);
176 * \param file_priv DR
185 drm_authmagic(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_ioctl.c46 * \param file_priv DRM file private.
54 struct drm_file *file_priv)
57 struct drm_master *master = file_priv->master;
83 * \param file_priv DRM file private.
94 struct drm_file *file_priv)
97 struct drm_master *master = file_priv->master;
120 static int drm_set_busid(struct drm_device *dev, struct drm_file *file_priv) argument
122 struct drm_master *master = file_priv->master;
141 * \param file_priv DRM file private.
151 struct drm_file *file_priv)
53 drm_getunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
93 drm_setunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
150 drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
201 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
240 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
265 drm_getcap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
308 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
355 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_lock.c51 * \param file_priv DRM file private.
58 int drm_lock(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
61 struct drm_master *master = file_priv->master;
64 ++file_priv->lock_count;
90 master->lock.file_priv = file_priv;
117 if (!file_priv->is_master) {
145 * \param file_priv DRM file private.
152 int drm_unlock(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
155 struct drm_master *master = file_priv
374 drm_i_have_hw_lock(struct drm_device *dev, struct drm_file *file_priv) argument
[all...]
H A Ddrm_context.c181 * \param file_priv DRM file private.
190 struct drm_file *file_priv)
214 * \param file_priv DRM file private.
223 struct drm_file *file_priv)
293 struct drm_file *file_priv, int new)
298 if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) {
315 * \param file_priv DRM file private.
321 struct drm_file *file_priv)
344 * \param file_priv DRM file private.
352 struct drm_file *file_priv)
189 drm_getsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
222 drm_setsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
292 drm_context_switch_complete(struct drm_device *dev, struct drm_file *file_priv, int new) argument
320 drm_resctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
351 drm_addctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
387 drm_modctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
402 drm_getctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
423 drm_switchctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
443 drm_newctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
465 drm_rmctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_ioc32.c82 struct drm_file *file_priv)
95 err = drm_version(dev, (void *)&version, file_priv);
115 struct drm_file *file_priv)
124 err = drm_getunique(dev, (void *)&u, file_priv);
134 struct drm_file *file_priv)
142 return drm_setunique(dev, (void *)&u, file_priv);
155 struct drm_file *file_priv)
164 err = drm_getmap(dev, (void *)&map, file_priv);
182 struct drm_file *file_priv)
194 err = drm_addmap_ioctl(dev, (void *)&map, file_priv);
81 compat_drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
114 compat_drm_getunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
133 compat_drm_setunique(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
154 compat_drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
181 compat_drm_addmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
211 compat_drm_rmmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
231 compat_drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
262 compat_drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
291 compat_drm_addbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
319 compat_drm_markbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
337 compat_drm_infobufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
394 compat_drm_mapbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
443 compat_drm_freebufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
460 compat_drm_setsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
472 compat_drm_getsareactx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
495 compat_drm_resctx(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
527 compat_drm_dma(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
563 compat_drm_agp_enable(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
588 compat_drm_agp_info(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
619 compat_drm_agp_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
639 compat_drm_agp_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
655 compat_drm_agp_bind(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
667 compat_drm_agp_unbind(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
684 compat_drm_sg_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
703 compat_drm_sg_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
742 compat_drm_wait_vblank(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_vm.c52 struct drm_file *file_priv = NULL; local
58 /* d_mmap gets called twice, we can only reference file_priv during
62 error = devfs_get_cdevpriv((void **)&file_priv);
68 if (file_priv && !file_priv->authenticated)
H A Ddrm_stub.c176 struct drm_file *file_priv)
180 if (file_priv->is_master)
183 if (file_priv->minor->master && file_priv->minor->master != file_priv->master)
186 if (!file_priv->master)
189 if (file_priv->minor->master)
193 file_priv->minor->master = drm_master_get(file_priv->master);
194 file_priv
175 drm_setmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
207 drm_dropmaster_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A DdrmP.h272 _file_priv->master->lock.file_priv != _file_priv) { \
275 _file_priv->master->lock.file_priv, _file_priv); \
284 * \param file_priv DRM file private pointer.
289 struct drm_file *file_priv);
338 struct drm_file *file_priv; /**< Private of holding file descr */ member in struct:drm_buf
395 struct drm_file *file_priv; member in struct:drm_pending_event
438 struct drm_file *file_priv; member in struct:drm_lock_data
707 void (*preclose) (struct drm_device *, struct drm_file *file_priv);
713 int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
854 int (*master_set)(struct drm_device *dev, struct drm_file *file_priv,
1864 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1875 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1887 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1899 drm_agp_info_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1911 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1923 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1935 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1947 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_dma.c124 buf->file_priv = NULL;
131 * \param file_priv DRM file private.
133 * Frees each buffer associated with \p file_priv not already on the hardware.
136 struct drm_file *file_priv)
144 if (dma->buflist[i]->file_priv == file_priv) {
135 drm_core_reclaim_buffers(struct drm_device *dev, struct drm_file *file_priv) argument
H A Ddrm_crtc.h222 struct drm_file *file_priv,
237 struct drm_file *file_priv, unsigned flags,
332 int (*cursor_set)(struct drm_crtc *crtc, struct drm_file *file_priv,
714 struct drm_file *file_priv,
881 extern void drm_fb_release(struct drm_file *file_priv);
987 void *data, struct drm_file *file_priv);
989 struct drm_file *file_priv);
991 void *data, struct drm_file *file_priv);
993 void *data, struct drm_file *file_priv);
995 void *data, struct drm_file *file_priv);
[all...]
H A Ddrm_gem.c220 drm_gem_handle_create(struct drm_file *file_priv, argument
228 ret = drm_gem_name_create(&file_priv->object_names, obj, handlep);
235 ret = dev->driver->gem_open_object(obj, file_priv);
237 drm_gem_handle_delete(file_priv, *handlep);
301 struct drm_file *file_priv)
309 ret = drm_gem_handle_delete(file_priv, args->handle);
316 struct drm_file *file_priv)
325 obj = drm_gem_object_lookup(dev, file_priv, args->handle);
342 struct drm_file *file_priv)
357 ret = drm_gem_handle_create(file_priv, ob
300 drm_gem_close_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
315 drm_gem_flink_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
341 drm_gem_open_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
378 struct drm_file *file_priv = data; local
[all...]
H A Ddrm_agpsupport.c45 * \param file_priv DRM file private.
78 struct drm_file *file_priv)
120 * \param file_priv DRM file private.
129 struct drm_file *file_priv)
131 return drm_agp_acquire((struct drm_device *) file_priv->minor->dev);
153 struct drm_file *file_priv)
182 struct drm_file *file_priv)
193 * \param file_priv file private pointer.
240 struct drm_file *file_priv)
272 * \param file_priv DR
77 drm_agp_info_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
128 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
152 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
181 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
239 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
299 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
343 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
386 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_drv.c325 struct drm_file *file_priv)
349 * \param file_priv DRM file private.
360 struct drm_file *file_priv; local
369 retcode = devfs_get_cdevpriv((void **)&file_priv);
379 ++file_priv->ioctl_count;
383 (long)file_priv->minor->device,
384 file_priv->authenticated);
394 return fsetown(*(int *)data, &file_priv->minor->buf_sigio);
398 *(int *) data = fgetown(&file_priv->minor->buf_sigio);
461 ((ioctl->flags & DRM_AUTH) && !file_priv
324 drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_scatter.c108 struct drm_file *file_priv)
117 struct drm_file *file_priv)
107 drm_sg_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
116 drm_sg_free(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
H A Ddrm_crtc.c1212 struct drm_file *file_priv)
1241 list_for_each(lh, &file_priv->fbs)
1244 mode_group = &file_priv->master->minor->mode_group;
1245 if (file_priv->master->minor->type == DRM_MINOR_CONTROL) {
1272 list_for_each_entry(fb, &file_priv->fbs, filp_head) {
1286 if (file_priv->master->minor->type == DRM_MINOR_CONTROL) {
1313 if (file_priv->master->minor->type == DRM_MINOR_CONTROL) {
1344 if (file_priv->master->minor->type == DRM_MINOR_CONTROL) {
1399 void *data, struct drm_file *file_priv)
1459 struct drm_file *file_priv)
1211 drm_mode_getresources(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1398 drm_mode_getcrtc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1458 drm_mode_getconnector(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1585 drm_mode_getencoder(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1630 drm_mode_getplane_res(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1680 drm_mode_getplane(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1748 drm_mode_setplane(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1884 drm_mode_setcrtc(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2047 drm_mode_cursor_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2146 drm_mode_addfb(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2329 drm_mode_addfb2(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2394 drm_mode_rmfb(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2449 drm_mode_getfb(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2481 drm_mode_dirtyfb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2682 drm_mode_attachmode_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2736 drm_mode_detachmode_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
2994 drm_mode_getproperty_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3133 drm_mode_getblob_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3224 drm_mode_connector_property_set_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3290 drm_mode_obj_get_properties_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3346 drm_mode_obj_set_property_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3447 drm_mode_gamma_set_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3506 drm_mode_gamma_get_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3563 drm_mode_page_flip_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3690 drm_mode_create_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3700 drm_mode_mmap_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
3712 drm_mode_destroy_dumb_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_irq.c60 * \param file_priv DRM file private.
70 struct drm_file *file_priv)
410 * \param file_priv DRM file private.
418 struct drm_file *file_priv)
810 &e->base.file_priv->event_list);
1071 struct drm_file *file_priv)
1111 struct drm_file *file_priv)
1130 e->base.file_priv = file_priv;
1135 if (file_priv
69 drm_irq_by_busid(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
417 drm_control(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1070 drm_modeset_ctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1109 drm_queue_vblank_event(struct drm_device *dev, int pipe, union drm_wait_vblank *vblwait, struct drm_file *file_priv) argument
1192 drm_wait_vblank(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
H A Ddrm_bufs.c476 * \param file_priv DRM file private.
483 struct drm_file *file_priv)
553 master->lock.file_priv = NULL;
595 * \param file_priv DRM file private.
601 struct drm_file *file_priv)
790 buf->file_priv = NULL;
990 buf->file_priv = NULL;
1154 buf->file_priv = NULL;
1309 buf->file_priv = NULL;
1372 * \param file_priv DR
482 drm_addmap_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
600 drm_rmmap_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1382 drm_addbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1423 drm_infobufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1502 drm_markbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1546 drm_freebufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1596 drm_mapbufs(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
/freebsd-head/sys/arm/nvidia/drm2/
H A Dtegra_bo.c281 tegra_bo_dumb_map_offset(struct drm_file *file_priv, argument
288 gem_obj = drm_gem_object_lookup(drm_dev, file_priv, handle);
312 tegra_bo_dumb_destroy(struct drm_file *file_priv, struct drm_device *drm_dev, argument
317 rv = drm_gem_handle_delete(file_priv, handle);
H A Dtegra_fb.c77 fb_dirty(struct drm_framebuffer *fb, struct drm_file *file_priv, argument
H A Dtegra_dc.c931 if ((sc->event != NULL) && (sc->event->base.file_priv == file)) {

Completed in 140 milliseconds