Searched refs:drm_device (Results 1 - 25 of 186) sorted by relevance

12345678

/freebsd-10-stable/sys/dev/drm2/radeon/
H A Dradeon_kms.h10 int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
11 int radeon_driver_unload_kms(struct drm_device *dev);
13 int radeon_driver_firstopen_kms(struct drm_device *dev);
14 void radeon_driver_lastclose_kms(struct drm_device *dev);
15 int radeon_driver_open_kms(struct drm_device *dev, struct drm_file *file_priv);
16 void radeon_driver_postclose_kms(struct drm_device *dev,
18 void radeon_driver_preclose_kms(struct drm_device *dev,
20 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, int crtc);
21 int radeon_enable_vblank_kms(struct drm_device *dev, int crtc);
22 void radeon_disable_vblank_kms(struct drm_device *de
[all...]
H A Dradeon_irq_kms.h9 void radeon_driver_irq_preinstall_kms(struct drm_device *dev);
10 int radeon_driver_irq_postinstall_kms(struct drm_device *dev);
11 void radeon_driver_irq_uninstall_kms(struct drm_device *dev);
H A Dr600_cp.h8 void r600_cs_legacy_get_tiling_conf(struct drm_device *dev,
11 int r600_cs_legacy(struct drm_device *dev, void *data, struct drm_file *filp,
H A Dradeon_irq.c40 void radeon_irq_set_state(struct drm_device *dev, u32 mask, int state)
53 static void r500_vbl_irq_set_state(struct drm_device *dev, u32 mask, int state)
66 int radeon_enable_vblank(struct drm_device *dev, int crtc)
101 void radeon_disable_vblank(struct drm_device *dev, int crtc)
187 struct drm_device *dev = (struct drm_device *) arg;
224 static int radeon_emit_irq(struct drm_device * dev)
242 static int radeon_wait_irq(struct drm_device * dev, int swi_nr)
259 u32 radeon_get_vblank_counter(struct drm_device *dev, int crtc)
288 int radeon_irq_emit(struct drm_device *de
[all...]
H A Dradeon_trace.h35 TP_PROTO(struct drm_device *dev, u32 seqno),
54 TP_PROTO(struct drm_device *dev, u32 seqno),
61 TP_PROTO(struct drm_device *dev, u32 seqno),
68 TP_PROTO(struct drm_device *dev, u32 seqno),
75 TP_PROTO(struct drm_device *dev, u32 seqno),
/freebsd-10-stable/sys/dev/drm/
H A Dvia_drv.h121 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
122 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv);
123 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv);
124 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
125 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv);
126 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv);
127 extern int via_wait_irq(struct drm_device *dev, void *data, struct drm_file *file_priv);
128 extern int via_dma_blit_sync( struct drm_device *dev, void *data, struct drm_file *file_priv );
129 extern int via_dma_blit( struct drm_device *dev, void *data, struct drm_file *file_priv );
131 extern int via_driver_load(struct drm_device *de
[all...]
H A DdrmP.h42 struct drm_device;
350 int (*func)(struct drm_device *dev, void *data,
427 struct drm_device *dev;
444 /* This structure, in the struct drm_device, is always initialized while the
556 int (*load)(struct drm_device *, unsigned long flags);
557 int (*firstopen)(struct drm_device *);
558 int (*open)(struct drm_device *, struct drm_file *);
559 void (*preclose)(struct drm_device *, struct drm_file *file_priv);
560 void (*postclose)(struct drm_device *, struct drm_file *);
561 void (*lastclose)(struct drm_device *);
622 struct drm_device { struct
[all...]
H A Dmach64_irq.c48 struct drm_device *dev = arg;
74 u32 mach64_get_vblank_counter(struct drm_device * dev, int crtc)
84 int mach64_enable_vblank(struct drm_device * dev, int crtc)
104 void mach64_disable_vblank(struct drm_device * dev, int crtc)
118 static void mach64_disable_vblank_local(struct drm_device * dev, int crtc)
136 void mach64_driver_irq_preinstall(struct drm_device * dev)
147 int mach64_driver_irq_postinstall(struct drm_device * dev)
152 void mach64_driver_irq_uninstall(struct drm_device * dev)
H A Dr128_irq.c41 u32 r128_get_vblank_counter(struct drm_device *dev, int crtc)
53 struct drm_device *dev = (struct drm_device *) arg;
69 int r128_enable_vblank(struct drm_device *dev, int crtc)
82 void r128_disable_vblank(struct drm_device *dev, int crtc)
96 void r128_driver_irq_preinstall(struct drm_device * dev)
106 int r128_driver_irq_postinstall(struct drm_device * dev)
111 void r128_driver_irq_uninstall(struct drm_device * dev)
H A Dsis_drv.h72 extern int sis_idle(struct drm_device *dev);
73 extern void sis_reclaim_buffers_locked(struct drm_device *dev,
75 extern void sis_lastclose(struct drm_device *dev);
85 extern int sis_init_context(struct drm_device * dev, int context);
86 extern int sis_final_context(struct drm_device * dev, int context);
H A Dmga_irq.c42 u32 mga_get_vblank_counter(struct drm_device *dev, int crtc)
58 struct drm_device *dev = (struct drm_device *) arg;
98 int mga_enable_vblank(struct drm_device *dev, int crtc)
113 void mga_disable_vblank(struct drm_device *dev, int crtc)
128 int mga_driver_fence_wait(struct drm_device * dev, unsigned int *sequence)
150 void mga_driver_irq_preinstall(struct drm_device * dev)
160 int mga_driver_irq_postinstall(struct drm_device * dev)
173 void mga_driver_irq_uninstall(struct drm_device * dev)
H A Di915_drv.h110 struct drm_device *dev;
420 extern void i915_kernel_lost_context(struct drm_device * dev);
421 extern int i915_driver_load(struct drm_device *, unsigned long flags);
422 extern int i915_driver_unload(struct drm_device *);
423 extern int i915_driver_open(struct drm_device *dev, struct drm_file *file_priv);
424 extern void i915_driver_lastclose(struct drm_device * dev);
425 extern void i915_driver_preclose(struct drm_device *dev,
427 extern void i915_driver_postclose(struct drm_device *dev,
429 extern int i915_driver_device_is_agp(struct drm_device * dev);
432 extern int i915_emit_box(struct drm_device *de
[all...]
H A Dvia_verifier.h53 struct drm_device *dev;
61 struct drm_device * dev, int agp);
62 extern int via_parse_command_stream(struct drm_device *dev, const uint32_t *buf,
H A Dradeon_irq.c41 void radeon_irq_set_state(struct drm_device *dev, u32 mask, int state)
54 static void r500_vbl_irq_set_state(struct drm_device *dev, u32 mask, int state)
67 int radeon_enable_vblank(struct drm_device *dev, int crtc)
102 void radeon_disable_vblank(struct drm_device *dev, int crtc)
190 struct drm_device *dev = (struct drm_device *) arg;
256 static int radeon_emit_irq(struct drm_device * dev)
274 static int radeon_wait_irq(struct drm_device * dev, int swi_nr)
294 u32 radeon_get_vblank_counter(struct drm_device *dev, int crtc)
323 int radeon_irq_emit(struct drm_device *de
[all...]
H A Dtdfx_drv.c47 static void tdfx_configure(struct drm_device *dev)
73 struct drm_device *dev = device_get_softc(kdev);
86 struct drm_device *dev = device_get_softc(kdev);
108 sizeof(struct drm_device)
H A Dvia_map.c32 static int via_do_init_map(struct drm_device * dev, drm_via_init_t * init)
75 int via_do_cleanup_map(struct drm_device * dev)
82 int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv)
98 int via_driver_load(struct drm_device *dev, unsigned long chipset)
127 int via_driver_unload(struct drm_device *dev)
H A Ddrm_context.c44 void drm_ctxbitmap_free(struct drm_device *dev, int ctx_handle)
60 int drm_ctxbitmap_next(struct drm_device *dev)
97 int drm_ctxbitmap_init(struct drm_device *dev)
121 void drm_ctxbitmap_cleanup(struct drm_device *dev)
134 int drm_getsareactx(struct drm_device *dev, void *data,
155 int drm_setsareactx(struct drm_device *dev, void *data,
183 int drm_context_switch(struct drm_device *dev, int old, int new)
200 int drm_context_switch_complete(struct drm_device *dev, int new)
216 int drm_resctx(struct drm_device *dev, void *data, struct drm_file *file_priv)
236 int drm_addctx(struct drm_device *de
[all...]
/freebsd-10-stable/sys/dev/drm2/
H A DdrmP.h120 struct drm_device;
265 typedef int drm_ioctl_t(struct drm_device *dev, void *data,
459 * \sa drm_agp_init() and drm_device::agp.
569 struct drm_device *dev;
586 * Access is covered by the object_name_lock in the related drm_device
663 int (*get_irq)(struct drm_device *dev);
664 void (*free_irq)(struct drm_device *dev);
665 const char *(*get_name)(struct drm_device *dev);
666 int (*set_busid)(struct drm_device *dev, struct drm_master *master);
667 int (*set_unique)(struct drm_device *de
947 struct drm_device { struct
[all...]
H A Ddrm_crtc_helper.h125 extern void drm_helper_disable_unused_functions(struct drm_device *dev);
136 extern void drm_helper_move_panel_connectors_to_head(struct drm_device *);
159 extern int drm_helper_resume_force_mode(struct drm_device *dev);
160 extern void drm_kms_helper_poll_init(struct drm_device *dev);
161 extern void drm_kms_helper_poll_fini(struct drm_device *dev);
162 extern void drm_helper_hpd_irq_event(struct drm_device *dev);
163 extern void drm_kms_helper_hotplug_event(struct drm_device *dev);
165 extern void drm_kms_helper_poll_disable(struct drm_device *dev);
166 extern void drm_kms_helper_poll_enable(struct drm_device *dev);
H A Ddrm_crtc.h34 struct drm_device;
243 struct drm_device *dev;
387 struct drm_device *dev;
493 struct drm_device *dev;
563 struct drm_device *dev;
652 struct drm_device *dev;
713 int (*fb_create)(struct drm_device *dev,
717 void (*output_poll_changed)(struct drm_device *dev);
844 extern int drm_crtc_init(struct drm_device *dev,
849 extern int drm_connector_init(struct drm_device *de
[all...]
H A Ddrm_agpsupport.c53 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info)
77 int drm_agp_info_ioctl(struct drm_device *dev, void *data,
99 int drm_agp_acquire(struct drm_device * dev)
128 int drm_agp_acquire_ioctl(struct drm_device *dev, void *data,
131 return drm_agp_acquire((struct drm_device *) file_priv->minor->dev);
142 int drm_agp_release(struct drm_device * dev)
152 int drm_agp_release_ioctl(struct drm_device *dev, void *data,
168 int drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode)
181 int drm_agp_enable_ioctl(struct drm_device *dev, void *data,
201 int drm_agp_alloc(struct drm_device *de
[all...]
H A Ddrm_memory.c43 struct drm_device * dev)
95 struct drm_device * dev)
102 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev)
112 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev)
123 void drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev)
H A Ddrm_context.c58 * Clears the bit specified by \p ctx_handle in drm_device::ctx_bitmap and the entry
59 * in drm_device::ctx_idr, while holding the drm_device::struct_mutex
62 void drm_ctxbitmap_free(struct drm_device * dev, int ctx_handle)
83 * Allocate a new idr from drm_device::ctx_idr while holding the
84 * drm_device::struct_mutex lock.
86 static int drm_ctxbitmap_next(struct drm_device * dev)
128 * Initialise the drm_device::ctx_idr
130 int drm_ctxbitmap_init(struct drm_device * dev)
160 * while holding the drm_device
[all...]
/freebsd-10-stable/sys/dev/drm2/i915/
H A Dintel_drv.h313 intel_get_crtc_for_pipe(struct drm_device *dev, int pipe)
320 intel_get_crtc_for_plane(struct drm_device *dev, int plane)
328 struct drm_device *dev;
349 extern void intel_crt_init(struct drm_device *dev);
350 extern void intel_hdmi_init(struct drm_device *dev, int sdvox_reg);
356 extern bool intel_sdvo_init(struct drm_device *dev, uint32_t sdvo_reg,
358 extern void intel_dvo_init(struct drm_device *dev);
359 extern void intel_tv_init(struct drm_device *dev);
360 extern void intel_mark_busy(struct drm_device *dev,
362 extern bool intel_lvds_init(struct drm_device *de
[all...]
H A Di915_drv.h131 bool (*fbc_enabled)(struct drm_device *dev);
133 void (*disable_fbc)(struct drm_device *dev);
134 int (*get_display_clock_speed)(struct drm_device *dev);
135 int (*get_fifo_size)(struct drm_device *dev, int plane);
136 void (*update_wm)(struct drm_device *dev);
137 void (*update_sprite_wm)(struct drm_device *dev, int pipe,
139 void (*sanitize_pm)(struct drm_device *dev);
140 void (*update_linetime_wm)(struct drm_device *dev, int pipe,
151 void (*init_clock_gating)(struct drm_device *dev);
152 void (*init_pch_clock_gating)(struct drm_device *de
[all...]

Completed in 274 milliseconds

12345678