Home
last modified time | relevance | path

Searched defs:crtc (Results 1 – 200 of 206) sorted by relevance

12

/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_crtc.c22 static void sti_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in sti_drm_crtc_dpms()
27 static void sti_drm_crtc_prepare(struct drm_crtc *crtc) in sti_drm_crtc_prepare()
47 static void sti_drm_crtc_commit(struct drm_crtc *crtc) in sti_drm_crtc_commit()
73 static bool sti_drm_crtc_mode_fixup(struct drm_crtc *crtc, in sti_drm_crtc_mode_fixup()
82 sti_drm_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode) in sti_drm_crtc_mode_set()
132 static void sti_drm_crtc_disable(struct drm_crtc *crtc) in sti_drm_crtc_disable()
161 sti_drm_crtc_mode_set_nofb(struct drm_crtc *crtc) in sti_drm_crtc_mode_set_nofb()
167 static void sti_drm_atomic_begin(struct drm_crtc *crtc) in sti_drm_atomic_begin()
181 static void sti_drm_atomic_flush(struct drm_crtc *crtc) in sti_drm_atomic_flush()
198 static void sti_drm_crtc_destroy(struct drm_crtc *crtc) in sti_drm_crtc_destroy()
[all …]
Dsti_layer.c84 struct drm_crtc *crtc, in sti_layer_prepare()
Dsti_compositor.c94 unsigned int i, crtc = 0, plane = 0; in sti_compositor_bind() local
Dsti_drm_plane.c30 sti_drm_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in sti_drm_update_plane()
Dsti_layer.h94 struct drm_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c52 drm_crtc_to_atmel_hlcdc_crtc(struct drm_crtc *crtc) in drm_crtc_to_atmel_hlcdc_crtc()
59 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_mode_set_nofb() local
124 static bool atmel_hlcdc_crtc_mode_fixup(struct drm_crtc *crtc, in atmel_hlcdc_crtc_mode_fixup()
134 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_disable() local
173 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_enable() local
212 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_suspend() local
223 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_resume() local
234 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_atomic_check() local
244 struct atmel_hlcdc_crtc *crtc = drm_crtc_to_atmel_hlcdc_crtc(c); in atmel_hlcdc_crtc_atomic_begin() local
256 static void atmel_hlcdc_crtc_atomic_flush(struct drm_crtc *crtc) in atmel_hlcdc_crtc_atomic_flush()
[all …]
Datmel_hlcdc_dc.c417 struct drm_crtc *crtc; in atmel_hlcdc_dc_preclose() local
456 static int atmel_hlcdc_dc_enable_vblank(struct drm_device *dev, int crtc) in atmel_hlcdc_dc_enable_vblank()
466 static void atmel_hlcdc_dc_disable_vblank(struct drm_device *dev, int crtc) in atmel_hlcdc_dc_disable_vblank()
566 struct drm_crtc *crtc; in atmel_hlcdc_dc_drm_suspend() local
581 struct drm_crtc *crtc; in atmel_hlcdc_dc_drm_resume() local
Datmel_hlcdc_dc.h136 struct drm_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/
Ddrm_irq.c46 #define vblanktimestamp(dev, crtc, count) \ argument
93 static void drm_update_vblank_count(struct drm_device *dev, int crtc) in drm_update_vblank_count()
151 static void vblank_disable_and_save(struct drm_device *dev, int crtc) in vblank_disable_and_save()
256 int crtc = vblank->crtc; in vblank_disable_fn() local
277 int crtc; in drm_vblank_cleanup() local
576 void drm_calc_timestamping_constants(struct drm_crtc *crtc, in drm_calc_timestamping_constants()
663 int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, int crtc, in drm_calc_vbltimestamp_from_scanoutpos()
810 drm_get_last_vbltimestamp(struct drm_device *dev, int crtc, in drm_get_last_vbltimestamp()
848 u32 drm_vblank_count(struct drm_device *dev, int crtc) in drm_vblank_count()
871 u32 drm_crtc_vblank_count(struct drm_crtc *crtc) in drm_crtc_vblank_count()
[all …]
Ddrm_atomic_helper.c251 struct drm_crtc *crtc; in mode_fixup() local
364 struct drm_crtc *crtc; in drm_atomic_helper_check_modeset() local
458 struct drm_crtc *crtc; in drm_atomic_helper_check_planes() local
544 struct drm_crtc *crtc; in disable_outputs() local
627 struct drm_crtc *crtc; in set_routing_links() local
666 struct drm_crtc *crtc; in crtc_set_mode() local
762 struct drm_crtc *crtc; in drm_atomic_helper_commit_modeset_enables() local
847 struct drm_crtc *crtc) in framebuffer_changed()
880 struct drm_crtc *crtc; in drm_atomic_helper_wait_for_vblanks() local
1108 struct drm_crtc *crtc; in drm_atomic_helper_commit_planes() local
[all …]
Ddrm_atomic.c142 struct drm_crtc *crtc = state->crtcs[i]; in drm_atomic_state_clear() local
204 struct drm_crtc *crtc) in drm_atomic_get_crtc_state()
249 int drm_atomic_crtc_set_property(struct drm_crtc *crtc, in drm_atomic_crtc_set_property()
274 int drm_atomic_crtc_get_property(struct drm_crtc *crtc, in drm_atomic_crtc_get_property()
301 static int drm_atomic_crtc_check(struct drm_crtc *crtc, in drm_atomic_crtc_check()
405 struct drm_crtc *crtc = drm_crtc_find(dev, val); in drm_atomic_plane_set_property() local
650 struct drm_crtc *crtc = drm_crtc_find(dev, val); in drm_atomic_connector_set_property() local
710 struct drm_crtc *crtc = obj_to_crtc(obj); in drm_atomic_get_property() local
747 struct drm_crtc *crtc) in drm_atomic_set_crtc_for_plane()
827 struct drm_crtc *crtc) in drm_atomic_set_crtc_for_connector()
[all …]
Ddrm_crtc_helper.c142 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use()
181 struct drm_crtc *crtc; in __drm_helper_disable_unused_functions() local
267 bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, in drm_crtc_helper_set_mode()
424 drm_crtc_helper_disable(struct drm_crtc *crtc) in drm_crtc_helper_disable()
757 static int drm_helper_choose_crtc_dpms(struct drm_crtc *crtc) in drm_helper_choose_crtc_dpms()
783 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in drm_helper_connector_dpms() local
872 struct drm_crtc *crtc; in drm_helper_resume_force_mode() local
934 int drm_helper_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in drm_helper_crtc_mode_set()
997 int drm_helper_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in drm_helper_crtc_mode_set_base()
Ddrm_modeset_lock.c172 void drm_modeset_lock_crtc(struct drm_crtc *crtc, in drm_modeset_lock_crtc()
228 drm_modeset_legacy_acquire_ctx(struct drm_crtc *crtc) in drm_modeset_legacy_acquire_ctx()
246 void drm_modeset_unlock_crtc(struct drm_crtc *crtc) in drm_modeset_unlock_crtc()
269 struct drm_crtc *crtc; in drm_warn_on_modeset_not_all_locked() local
464 struct drm_crtc *crtc; in drm_modeset_lock_all_crtcs() local
Ddrm_plane_helper.c79 static int get_connectors_for_crtc(struct drm_crtc *crtc, in get_connectors_for_crtc()
132 struct drm_crtc *crtc, in drm_plane_helper_check_update()
223 int drm_primary_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_primary_helper_update()
390 int drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init()
405 struct drm_crtc *crtc[2]; in drm_plane_helper_commit() local
517 int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, in drm_plane_helper_update()
Ddrm_fb_helper.c204 static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper) in drm_fb_helper_save_lut_atomic()
220 static void drm_fb_helper_restore_lut_atomic(struct drm_crtc *crtc) in drm_fb_helper_restore_lut_atomic()
267 static struct drm_framebuffer *drm_mode_config_fb(struct drm_crtc *crtc) in drm_mode_config_fb()
287 struct drm_crtc *crtc; in drm_fb_helper_debug_leave() local
337 struct drm_crtc *crtc = mode_set->crtc; in restore_fbdev_mode() local
453 struct drm_crtc *crtc; in drm_fb_helper_is_bound() local
502 struct drm_crtc *crtc; in drm_fb_helper_dpms() local
627 struct drm_crtc *crtc; in drm_fb_helper_init() local
687 static int setcolreg(struct drm_crtc *crtc, u16 red, u16 green, in setcolreg()
770 struct drm_crtc *crtc; in drm_fb_helper_setcmap() local
[all …]
Ddrm_crtc.c591 struct drm_crtc *crtc; in drm_framebuffer_remove() local
655 int drm_crtc_init_with_planes(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init_with_planes()
703 void drm_crtc_cleanup(struct drm_crtc *crtc) in drm_crtc_cleanup()
731 unsigned int drm_crtc_index(struct drm_crtc *crtc) in drm_crtc_index()
1680 struct drm_crtc *crtc; in drm_mode_group_init_legacy_group() local
1810 struct drm_crtc *crtc; in drm_mode_getresources() local
1995 struct drm_crtc *crtc; in drm_mode_getcrtc() local
2270 struct drm_crtc *crtc; in drm_mode_getencoder() local
2448 struct drm_crtc *crtc, in __setplane_internal()
2539 struct drm_crtc *crtc, in setplane_internal()
[all …]
/linux-4.1.27/drivers/gpu/drm/tilcdc/
Dtilcdc_crtc.c54 static void set_scanout(struct drm_crtc *crtc, int n) in set_scanout()
84 static void update_scanout(struct drm_crtc *crtc) in update_scanout()
114 static void start(struct drm_crtc *crtc) in start()
131 static void stop(struct drm_crtc *crtc) in stop()
138 static void tilcdc_crtc_destroy(struct drm_crtc *crtc) in tilcdc_crtc_destroy()
150 static int tilcdc_crtc_page_flip(struct drm_crtc *crtc, in tilcdc_crtc_page_flip()
170 static void tilcdc_crtc_dpms(struct drm_crtc *crtc, int mode) in tilcdc_crtc_dpms()
212 static bool tilcdc_crtc_mode_fixup(struct drm_crtc *crtc, in tilcdc_crtc_mode_fixup()
219 static void tilcdc_crtc_prepare(struct drm_crtc *crtc) in tilcdc_crtc_prepare()
224 static void tilcdc_crtc_commit(struct drm_crtc *crtc) in tilcdc_crtc_commit()
[all …]
Dtilcdc_drv.c411 static int tilcdc_enable_vblank(struct drm_device *dev, int crtc) in tilcdc_enable_vblank()
417 static void tilcdc_disable_vblank(struct drm_device *dev, int crtc) in tilcdc_disable_vblank()
Dtilcdc_drv.h81 struct drm_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_crtc.c66 static struct mdp4_kms *get_kms(struct drm_crtc *crtc) in get_kms()
72 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending()
80 static void crtc_flush(struct drm_crtc *crtc) in crtc_flush()
100 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip()
133 static void mdp4_crtc_destroy(struct drm_crtc *crtc) in mdp4_crtc_destroy()
143 static bool mdp4_crtc_mode_fixup(struct drm_crtc *crtc, in mdp4_crtc_mode_fixup()
170 struct drm_crtc *crtc; in setup_mixer() local
191 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
239 static void mdp4_crtc_mode_set_nofb(struct drm_crtc *crtc) in mdp4_crtc_mode_set_nofb()
287 static void mdp4_crtc_disable(struct drm_crtc *crtc) in mdp4_crtc_disable()
[all …]
Dmdp4_irq.c87 int mdp4_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_enable_vblank()
94 void mdp4_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp4_disable_vblank()
Dmdp4_kms.c137 struct drm_crtc *crtc = state->crtcs[i]; in mdp4_prepare_commit() local
151 struct drm_crtc *crtc = state->crtcs[i]; in mdp4_complete_commit() local
261 struct drm_crtc *crtc; in modeset_init() local
Dmdp4_plane.c194 struct drm_crtc *crtc, struct drm_framebuffer *fb, in mdp4_plane_mode_set()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_crtc.c71 static struct mdp5_kms *get_kms(struct drm_crtc *crtc) in get_kms()
77 static void request_pending(struct drm_crtc *crtc, uint32_t pending) in request_pending()
85 static void crtc_flush(struct drm_crtc *crtc, u32 flush_mask) in crtc_flush()
98 static void crtc_flush_all(struct drm_crtc *crtc) in crtc_flush_all()
118 static void complete_flip(struct drm_crtc *crtc, struct drm_file *file) in complete_flip()
161 static void mdp5_crtc_destroy(struct drm_crtc *crtc) in mdp5_crtc_destroy()
171 static bool mdp5_crtc_mode_fixup(struct drm_crtc *crtc, in mdp5_crtc_mode_fixup()
189 static void blend_setup(struct drm_crtc *crtc) in blend_setup()
239 static void mdp5_crtc_mode_set_nofb(struct drm_crtc *crtc) in mdp5_crtc_mode_set_nofb()
267 static void mdp5_crtc_disable(struct drm_crtc *crtc) in mdp5_crtc_disable()
[all …]
Dmdp5_irq.c113 int mdp5_enable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_enable_vblank()
120 void mdp5_disable_vblank(struct msm_kms *kms, struct drm_crtc *crtc) in mdp5_disable_vblank()
Dmdp5_ctl.c64 struct drm_crtc *crtc; member
461 struct drm_crtc *crtc) in mdp5_ctlm_request()
Dmdp5_kms.c330 struct drm_crtc *crtc; in modeset_init() local
Dmdp5_plane.c431 struct drm_crtc *crtc, struct drm_framebuffer *fb, in mdp5_plane_mode_set()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c23 static void exynos_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in exynos_drm_crtc_dpms()
51 static void exynos_drm_crtc_prepare(struct drm_crtc *crtc) in exynos_drm_crtc_prepare()
56 static void exynos_drm_crtc_commit(struct drm_crtc *crtc) in exynos_drm_crtc_commit()
71 exynos_drm_crtc_mode_fixup(struct drm_crtc *crtc, in exynos_drm_crtc_mode_fixup()
85 exynos_drm_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in exynos_drm_crtc_mode_set()
112 static int exynos_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in exynos_drm_crtc_mode_set_base()
133 static void exynos_drm_crtc_disable(struct drm_crtc *crtc) in exynos_drm_crtc_disable()
160 static int exynos_drm_crtc_page_flip(struct drm_crtc *crtc, in exynos_drm_crtc_page_flip()
223 static void exynos_drm_crtc_destroy(struct drm_crtc *crtc) in exynos_drm_crtc_destroy()
249 struct drm_crtc *crtc; in exynos_drm_crtc_create() local
[all …]
Dexynos7_drm_decon.c48 struct exynos_drm_crtc *crtc; member
73 static void decon_wait_for_vblank(struct exynos_drm_crtc *crtc) in decon_wait_for_vblank()
165 static bool decon_mode_fixup(struct exynos_drm_crtc *crtc, in decon_mode_fixup()
175 static void decon_commit(struct exynos_drm_crtc *crtc) in decon_commit()
240 static int decon_enable_vblank(struct exynos_drm_crtc *crtc) in decon_enable_vblank()
265 static void decon_disable_vblank(struct exynos_drm_crtc *crtc) in decon_disable_vblank()
395 static void decon_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) in decon_win_commit()
513 static void decon_win_disable(struct exynos_drm_crtc *crtc, unsigned int win) in decon_win_disable()
694 static void decon_dpms(struct exynos_drm_crtc *crtc, int mode) in decon_dpms()
Dexynos_drm_fimd.c150 struct exynos_drm_crtc *crtc; member
199 static void fimd_wait_for_vblank(struct exynos_drm_crtc *crtc) in fimd_wait_for_vblank()
327 static bool fimd_mode_fixup(struct exynos_drm_crtc *crtc, in fimd_mode_fixup()
337 static void fimd_commit(struct exynos_drm_crtc *crtc) in fimd_commit()
437 static int fimd_enable_vblank(struct exynos_drm_crtc *crtc) in fimd_enable_vblank()
469 static void fimd_disable_vblank(struct exynos_drm_crtc *crtc) in fimd_disable_vblank()
621 static void fimd_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) in fimd_win_commit()
737 static void fimd_win_disable(struct exynos_drm_crtc *crtc, unsigned int win) in fimd_win_disable()
876 static void fimd_dpms(struct exynos_drm_crtc *crtc, int mode) in fimd_dpms()
924 static void fimd_te_handler(struct exynos_drm_crtc *crtc) in fimd_te_handler()
[all …]
Dexynos_drm_vidi.c40 struct exynos_drm_crtc *crtc; member
87 static int vidi_enable_vblank(struct exynos_drm_crtc *crtc) in vidi_enable_vblank()
109 static void vidi_disable_vblank(struct exynos_drm_crtc *crtc) in vidi_disable_vblank()
120 static void vidi_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) in vidi_win_commit()
141 static void vidi_win_disable(struct exynos_drm_crtc *crtc, unsigned int win) in vidi_win_disable()
184 static void vidi_dpms(struct exynos_drm_crtc *crtc, int mode) in vidi_dpms()
Dexynos_mixer.c76 struct exynos_drm_crtc *crtc; member
897 static int mixer_enable_vblank(struct exynos_drm_crtc *crtc) in mixer_enable_vblank()
914 static void mixer_disable_vblank(struct exynos_drm_crtc *crtc) in mixer_disable_vblank()
923 static void mixer_win_commit(struct exynos_drm_crtc *crtc, unsigned int win) in mixer_win_commit()
944 static void mixer_win_disable(struct exynos_drm_crtc *crtc, unsigned int win) in mixer_win_disable()
971 static void mixer_wait_for_vblank(struct exynos_drm_crtc *crtc) in mixer_wait_for_vblank()
1096 static void mixer_dpms(struct exynos_drm_crtc *crtc, int mode) in mixer_dpms()
Dexynos_drm_plane.c88 void exynos_plane_mode_set(struct drm_plane *plane, struct drm_crtc *crtc, in exynos_plane_mode_set()
148 exynos_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in exynos_update_plane()
Dexynos_dp_core.c1068 struct exynos_drm_crtc *crtc = dp_to_crtc(dp); in exynos_dp_poweron() local
1092 struct exynos_drm_crtc *crtc = dp_to_crtc(dp); in exynos_dp_poweroff() local
Dexynos_drm_drv.h249 struct drm_crtc *crtc[MAX_CRTC]; member
Dexynos_hdmi.c2103 struct drm_crtc *crtc = encoder->crtc; in hdmi_dpms() local
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_crtc.c83 uint32_t pipe2vbl(struct drm_crtc *crtc) in pipe2vbl()
90 const struct omap_video_timings *omap_crtc_timings(struct drm_crtc *crtc) in omap_crtc_timings()
96 enum omap_channel omap_crtc_channel(struct drm_crtc *crtc) in omap_crtc_channel()
146 static void omap_crtc_set_enabled(struct drm_crtc *crtc, bool enable) in omap_crtc_set_enabled()
285 struct drm_crtc *crtc = &omap_crtc->base; in omap_crtc_apply_irq() local
300 struct drm_crtc *crtc = &omap_crtc->base; in apply_worker() local
358 int omap_crtc_apply(struct drm_crtc *crtc, in omap_crtc_apply()
389 struct drm_crtc *crtc = &omap_crtc->base; in omap_crtc_pre_apply() local
426 void omap_crtc_flush(struct drm_crtc *crtc) in omap_crtc_flush()
449 static void omap_crtc_destroy(struct drm_crtc *crtc) in omap_crtc_destroy()
[all …]
Domap_irq.c150 struct drm_crtc *crtc = priv->crtcs[crtc_id]; in omap_irq_enable_vblank() local
177 struct drm_crtc *crtc = priv->crtcs[crtc_id]; in omap_irq_disable_vblank() local
206 struct drm_crtc *crtc = priv->crtcs[id]; in omap_irq_handler() local
Domap_plane.c126 struct drm_crtc *crtc = plane->crtc; in omap_plane_pre_apply() local
192 struct drm_crtc *crtc, struct drm_framebuffer *fb, in omap_plane_mode_set()
226 struct drm_crtc *crtc, struct drm_framebuffer *fb, in omap_plane_update()
Domap_drv.c81 struct drm_crtc *crtc = priv->crtcs[i]; in channel_used() local
136 struct drm_crtc *crtc; in omap_modeset_create_crtc() local
299 struct drm_crtc *crtc = priv->crtcs[id]; in omap_modeset_init() local
Domap_fb.c330 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in omap_framebuffer_get_next_connector() local
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c51 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state()
57 static void nv_crtc_set_digital_vibrance(struct drm_crtc *crtc, int level) in nv_crtc_set_digital_vibrance()
72 static void nv_crtc_set_image_sharpening(struct drm_crtc *crtc, int level) in nv_crtc_set_image_sharpening()
111 static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct drm_display_mode * mode, int dot_c… in nv_crtc_calc_state_ext()
169 nv_crtc_dpms(struct drm_crtc *crtc, int mode) in nv_crtc_dpms()
231 nv_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, in nv_crtc_mode_fixup()
238 nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) in nv_crtc_mode_set_vga()
462 nv_crtc_mode_set_regs(struct drm_crtc *crtc, struct drm_display_mode * mode) in nv_crtc_mode_set_regs()
610 nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv_crtc_swap_fbs()
636 nv_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in nv_crtc_mode_set()
[all …]
Dcursor.c31 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state()
43 struct drm_crtc *crtc = &nv_crtc->base; in nv04_cursor_set_offset() local
63 nv04_cursor_init(struct nouveau_crtc *crtc) in nv04_cursor_init()
Ddisp.c42 struct drm_crtc *crtc; in nv04_display_create() local
128 struct drm_crtc *crtc; in nv04_display_destroy() local
161 struct drm_crtc *crtc; in nv04_display_init() local
Doverlay.c93 nv10_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv10_update_plane()
343 nv04_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in nv04_update_plane()
Ddfp.c116 struct drm_crtc *crtc; in nv04_dfp_update_fp_control() local
514 struct drm_crtc *crtc = encoder->crtc; in nv04_lvds_dpms() local
Ddisp.h170 struct dcb_output *outp, int crtc) in nouveau_bios_run_init_table()
Dtvnv17.c700 struct drm_crtc *crtc = encoder->crtc; in nv17_tv_set_property() local
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_cursor.c30 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock) in radeon_lock_cursor()
60 static void radeon_hide_cursor(struct drm_crtc *crtc) in radeon_hide_cursor()
88 static void radeon_show_cursor(struct drm_crtc *crtc) in radeon_show_cursor()
120 static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y) in radeon_cursor_move_locked()
219 int radeon_crtc_cursor_move(struct drm_crtc *crtc, in radeon_crtc_cursor_move()
231 static void radeon_set_cursor(struct drm_crtc *crtc) in radeon_set_cursor()
259 int radeon_crtc_cursor_set2(struct drm_crtc *crtc, in radeon_crtc_cursor_set2()
355 void radeon_cursor_reset(struct drm_crtc *crtc) in radeon_cursor_reset()
Datombios_crtc.c34 static void atombios_overscan_setup(struct drm_crtc *crtc, in atombios_overscan_setup()
79 static void atombios_scaler_setup(struct drm_crtc *crtc) in atombios_scaler_setup()
163 static void atombios_lock_crtc(struct drm_crtc *crtc, int lock) in atombios_lock_crtc()
180 static void atombios_enable_crtc(struct drm_crtc *crtc, int state) in atombios_enable_crtc()
196 static void atombios_enable_crtc_memreq(struct drm_crtc *crtc, int state) in atombios_enable_crtc_memreq()
222 static void atombios_blank_crtc(struct drm_crtc *crtc, int state) in atombios_blank_crtc()
248 static void atombios_powergate_crtc(struct drm_crtc *crtc, int state) in atombios_powergate_crtc()
264 void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) in atombios_crtc_dpms()
297 atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, in atombios_set_crtc_dtd_timing()
344 static void atombios_crtc_set_timing(struct drm_crtc *crtc, in atombios_crtc_set_timing()
[all …]
Dradeon_legacy_crtc.c33 static void radeon_overscan_setup(struct drm_crtc *crtc, in radeon_overscan_setup()
45 static void radeon_legacy_rmx_mode_set(struct drm_crtc *crtc, in radeon_legacy_rmx_mode_set()
293 static void radeon_crtc_dpms(struct drm_crtc *crtc, int mode) in radeon_crtc_dpms()
354 int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y, in radeon_crtc_set_base()
360 int radeon_crtc_set_base_atomic(struct drm_crtc *crtc, in radeon_crtc_set_base_atomic()
367 int radeon_crtc_do_set_base(struct drm_crtc *crtc, in radeon_crtc_do_set_base()
574 static bool radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_crtc_timing()
733 static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_pll()
1026 static bool radeon_crtc_mode_fixup(struct drm_crtc *crtc, in radeon_crtc_mode_fixup()
1035 static int radeon_crtc_mode_set(struct drm_crtc *crtc, in radeon_crtc_mode_set()
[all …]
Dradeon_kms.c220 struct drm_crtc *crtc; in radeon_info_ioctl() local
744 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, int crtc) in radeon_get_vblank_counter_kms()
765 int radeon_enable_vblank_kms(struct drm_device *dev, int crtc) in radeon_enable_vblank_kms()
791 void radeon_disable_vblank_kms(struct drm_device *dev, int crtc) in radeon_disable_vblank_kms()
820 int radeon_get_vblank_timestamp_kms(struct drm_device *dev, int crtc, in radeon_get_vblank_timestamp_kms()
Dradeon_display.c40 static void avivo_crtc_load_lut(struct drm_crtc *crtc) in avivo_crtc_load_lut()
74 static void dce4_crtc_load_lut(struct drm_crtc *crtc) in dce4_crtc_load_lut()
104 static void dce5_crtc_load_lut(struct drm_crtc *crtc) in dce5_crtc_load_lut()
170 static void legacy_crtc_load_lut(struct drm_crtc *crtc) in legacy_crtc_load_lut()
194 void radeon_crtc_load_lut(struct drm_crtc *crtc) in radeon_crtc_load_lut()
213 void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in radeon_crtc_fb_gamma_set()
224 void radeon_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_fb_gamma_get()
234 static void radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_gamma_set()
249 static void radeon_crtc_destroy(struct drm_crtc *crtc) in radeon_crtc_destroy()
400 struct drm_crtc *crtc = &radeon_crtc->base; in radeon_flip_work_func() local
[all …]
Drs600.c56 static bool avivo_is_in_vblank(struct radeon_device *rdev, int crtc) in avivo_is_in_vblank()
64 static bool avivo_is_counter_moving(struct radeon_device *rdev, int crtc) in avivo_is_counter_moving()
85 void avivo_wait_for_vblank(struct radeon_device *rdev, int crtc) in avivo_wait_for_vblank()
312 struct drm_crtc *crtc; in rs600_pm_prepare() local
330 struct drm_crtc *crtc; in rs600_pm_finish() local
836 u32 rs600_get_vblank_counter(struct radeon_device *rdev, int crtc) in rs600_get_vblank_counter()
Dradeon_irq.c65 int radeon_enable_vblank(struct drm_device *dev, int crtc) in radeon_enable_vblank()
100 void radeon_disable_vblank(struct drm_device *dev, int crtc) in radeon_disable_vblank()
258 u32 radeon_get_vblank_counter(struct drm_device *dev, int crtc) in radeon_get_vblank_counter()
Dradeon_irq_kms.c401 void radeon_irq_kms_pflip_irq_get(struct radeon_device *rdev, int crtc) in radeon_irq_kms_pflip_irq_get()
427 void radeon_irq_kms_pflip_irq_put(struct radeon_device *rdev, int crtc) in radeon_irq_kms_pflip_irq_put()
Ddce6_afmt.c250 struct radeon_crtc *crtc, unsigned int clock) in dce6_hdmi_audio_set_dto()
269 struct radeon_crtc *crtc, unsigned int clock) in dce6_dp_audio_set_dto()
Devergreen_hdmi.c228 struct radeon_crtc *crtc, unsigned int clock) in dce4_hdmi_audio_set_dto()
271 struct radeon_crtc *crtc, unsigned int clock) in dce4_dp_audio_set_dto()
Dr100.c71 static bool r100_is_in_vblank(struct radeon_device *rdev, int crtc) in r100_is_in_vblank()
86 static bool r100_is_counter_moving(struct radeon_device *rdev, int crtc) in r100_is_counter_moving()
111 void r100_wait_for_vblank(struct radeon_device *rdev, int crtc) in r100_wait_for_vblank()
446 struct drm_crtc *crtc; in r100_pm_prepare() local
477 struct drm_crtc *crtc; in r100_pm_finish() local
826 u32 r100_get_vblank_counter(struct radeon_device *rdev, int crtc) in r100_get_vblank_counter()
1426 struct drm_crtc *crtc; in r100_cs_packet_parse_vline() local
Ddce3_1_afmt.c117 struct radeon_crtc *crtc, unsigned int clock) in dce3_2_audio_set_dto()
Drv515.c710 void atom_rv515_force_tv_scaler(struct radeon_device *rdev, struct radeon_crtc *crtc) in atom_rv515_force_tv_scaler()
954 struct radeon_crtc *crtc, in rv515_crtc_bandwidth_compute()
Devergreen.c1274 static bool dce4_is_in_vblank(struct radeon_device *rdev, int crtc) in dce4_is_in_vblank()
1282 static bool dce4_is_counter_moving(struct radeon_device *rdev, int crtc) in dce4_is_counter_moving()
1303 void dce4_wait_for_vblank(struct radeon_device *rdev, int crtc) in dce4_wait_for_vblank()
1618 struct drm_crtc *crtc; in evergreen_pm_prepare() local
1643 struct drm_crtc *crtc; in evergreen_pm_finish() local
4485 u32 evergreen_get_vblank_counter(struct radeon_device *rdev, int crtc) in evergreen_get_vblank_counter()
Dradeon_pm.c1640 struct drm_crtc *crtc; in radeon_pm_compute_clocks_old() local
1713 struct drm_crtc *crtc; in radeon_pm_compute_clocks_dpm() local
1757 int crtc, vpos, hpos, vbl_status; in radeon_pm_in_vbl() local
Dradeon_dp_mst.c353 void radeon_dp_mst_prepare_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_dp_mst_prepare_pll()
389 struct drm_crtc *crtc; in radeon_mst_encoder_dpms() local
Dradeon_fb.c72 struct drm_crtc *crtc = fb_helper->crtc_info[i].mode_set.crtc; in radeon_fb_helper_set_par() local
Dradeon_device.c1555 struct drm_crtc *crtc; in radeon_suspend_kms() local
1652 struct drm_crtc *crtc; in radeon_resume_kms() local
Dradeon_drv.c501 struct drm_crtc *crtc; in radeon_pmops_runtime_idle() local
Dr600_hdmi.c315 struct radeon_crtc *crtc, unsigned int clock) in r600_hdmi_audio_set_dto()
Drs690.c262 struct radeon_crtc *crtc, in rs690_crtc_bandwidth_compute()
Dradeon_connectors.c117 struct drm_crtc *crtc = encoder->crtc; in radeon_property_change_mode() local
769 struct drm_crtc *crtc = connector->encoder->crtc; in radeon_connector_set_property() local
Dradeon_audio.c499 struct radeon_crtc *crtc = to_radeon_crtc(encoder->crtc); in radeon_audio_set_dto() local
Dr600_dpm.c157 struct drm_crtc *crtc; in r600_dpm_get_vblank_time() local
183 struct drm_crtc *crtc; in r600_dpm_get_vrefresh() local
Drs780_dpm.c52 struct drm_crtc *crtc; in rs780_get_pm_mode_parameters() local
Dradeon_legacy_encoders.c1536 struct drm_crtc *crtc; in radeon_legacy_tv_dac_detect() local
Dradeon_combios.c3549 radeon_combios_encoder_crtc_scratch_regs(struct drm_encoder *encoder, int crtc) in radeon_combios_encoder_crtc_scratch_regs()
Dr600_cs.c828 struct drm_crtc *crtc; in r600_cs_common_vline_parse() local
/linux-4.1.27/drivers/gpu/drm/gma500/
Dgma_display.c32 bool gma_pipe_has_type(struct drm_crtc *crtc, int type) in gma_pipe_has_type()
56 int gma_pipe_set_base(struct drm_crtc *crtc, int x, int y, in gma_pipe_set_base()
139 void gma_crtc_load_lut(struct drm_crtc *crtc) in gma_crtc_load_lut()
178 void gma_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, u16 *blue, in gma_crtc_gamma_set()
200 void gma_crtc_dpms(struct drm_crtc *crtc, int mode) in gma_crtc_dpms()
330 int gma_crtc_cursor_set(struct drm_crtc *crtc, in gma_crtc_cursor_set()
458 int gma_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in gma_crtc_cursor_move()
495 bool gma_crtc_mode_fixup(struct drm_crtc *crtc, in gma_crtc_mode_fixup()
502 void gma_crtc_prepare(struct drm_crtc *crtc) in gma_crtc_prepare()
508 void gma_crtc_commit(struct drm_crtc *crtc) in gma_crtc_commit()
[all …]
Dcdv_intel_display.c222 cdv_dpll_set_clock_cdv(struct drm_device *dev, struct drm_crtc *crtc, in cdv_dpll_set_clock_cdv()
373 static const struct gma_limit_t *cdv_intel_limit(struct drm_crtc *crtc, in cdv_intel_limit()
411 struct drm_crtc *crtc, int target, in cdv_intel_find_dp_pll()
465 struct drm_crtc *crtc; in cdv_intel_pipe_enabled() local
498 void cdv_update_wm(struct drm_device *dev, struct drm_crtc *crtc) in cdv_update_wm()
578 static int cdv_intel_crtc_mode_set(struct drm_crtc *crtc, in cdv_intel_crtc_mode_set()
850 struct drm_crtc *crtc) in cdv_intel_crtc_clock_get()
929 struct drm_crtc *crtc) in cdv_intel_crtc_mode_get()
Doaktrail_crtc.c90 static const struct gma_limit_t *mrst_limit(struct drm_crtc *crtc, in mrst_limit()
134 struct drm_crtc *crtc, int target, in mrst_sdvo_find_best_pll()
191 struct drm_crtc *crtc, int target, in mrst_lvds_find_best_pll()
222 static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_dpms()
364 static int oaktrail_crtc_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_mode_set()
596 static int oaktrail_pipe_set_base(struct drm_crtc *crtc, in oaktrail_pipe_set_base()
Dpsb_intel_display.c65 static const struct gma_limit_t *psb_intel_limit(struct drm_crtc *crtc, in psb_intel_limit()
102 static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, in psb_intel_crtc_mode_set()
309 struct drm_crtc *crtc) in psb_intel_crtc_clock_get()
385 struct drm_crtc *crtc) in psb_intel_crtc_mode_get()
561 struct drm_crtc *crtc = NULL; in psb_intel_get_crtc_from_pipe() local
Dmdfld_intel_display.c163 static int mdfld__intel_pipe_set_base(struct drm_crtc *crtc, int x, int y, in mdfld__intel_pipe_set_base()
304 static void mdfld_crtc_dpms(struct drm_crtc *crtc, int mode) in mdfld_crtc_dpms()
589 static const struct mrst_limit_t *mdfld_limit(struct drm_crtc *crtc) in mdfld_limit()
639 mdfldFindBestPLL(struct drm_crtc *crtc, int target, int refclk, in mdfldFindBestPLL()
665 static int mdfld_crtc_mode_set(struct drm_crtc *crtc, in mdfld_crtc_mode_set()
Dpsb_device.c183 struct drm_crtc *crtc; in psb_save_display_registers() local
221 struct drm_crtc *crtc; in psb_restore_display_registers() local
Dcdv_intel_hdmi.c70 struct drm_crtc *crtc = encoder->crtc; in cdv_hdmi_mode_set() local
159 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in cdv_hdmi_set_property() local
Dcdv_intel_lvds.c461 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in cdv_intel_lvds_set_property() local
617 struct drm_crtc *crtc; in cdv_intel_lvds_init() local
Doaktrail_hdmi.c174 static void oaktrail_hdmi_find_dpll(struct drm_crtc *crtc, int target, in oaktrail_hdmi_find_dpll()
259 int oaktrail_crtc_hdmi_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_hdmi_mode_set()
379 void oaktrail_crtc_hdmi_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_hdmi_dpms()
Doaktrail_lvds.c100 struct drm_crtc *crtc = encoder->crtc; in oaktrail_lvds_mode_set() local
Dcdv_intel_crt.c90 struct drm_crtc *crtc = encoder->crtc; in cdv_intel_crt_mode_set() local
Dpsb_intel_lvds.c581 struct gma_crtc *crtc = to_gma_crtc(encoder->crtc); in psb_intel_lvds_set_property() local
692 struct drm_crtc *crtc; in psb_intel_lvds_init() local
Dframebuffer.c520 static void psbfb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in psbfb_gamma_set()
530 static void psbfb_gamma_get(struct drm_crtc *crtc, u16 *red, in psbfb_gamma_get()
Dcdv_intel_dp.c986 cdv_intel_dp_set_m_n(struct drm_crtc *crtc, struct drm_display_mode *mode, in cdv_intel_dp_set_m_n()
1043 struct drm_crtc *crtc = encoder->crtc; in cdv_intel_dp_mode_set() local
1888 struct drm_crtc *crtc = encoder->base.crtc; in cdv_intel_dp_set_property() local
Dpsb_intel_sdvo.c992 struct drm_crtc *crtc = encoder->crtc; in psb_intel_sdvo_mode_set() local
1796 struct drm_crtc *crtc = psb_intel_sdvo->base.base.crtc; in psb_intel_sdvo_set_property() local
1819 struct drm_crtc *crtc = encoder->crtc; in psb_intel_sdvo_restore() local
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_mode.c63 static void ast_crtc_load_lut(struct drm_crtc *crtc) in ast_crtc_load_lut()
77 static bool ast_get_vbios_mode_info(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_get_vbios_mode_info()
224 static void ast_set_std_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_std_reg()
269 static void ast_set_crtc_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_crtc_reg()
369 static void ast_set_offset_reg(struct drm_crtc *crtc) in ast_set_offset_reg()
394 static void ast_set_ext_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_ext_reg()
452 static bool ast_set_dac_reg(struct drm_crtc *crtc, struct drm_display_mode *mode, in ast_set_dac_reg()
464 static void ast_set_start_address_crt1(struct drm_crtc *crtc, unsigned offset) in ast_set_start_address_crt1()
476 static void ast_crtc_dpms(struct drm_crtc *crtc, int mode) in ast_crtc_dpms()
500 static bool ast_crtc_mode_fixup(struct drm_crtc *crtc, in ast_crtc_mode_fixup()
[all …]
Dast_fb.c273 static void ast_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in ast_fb_gamma_set()
282 static void ast_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in ast_fb_gamma_get()
Dast_drv.h275 u8 crtc[25]; member
/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_mode.c34 static void cirrus_crtc_load_lut(struct drm_crtc *crtc) in cirrus_crtc_load_lut()
58 static void cirrus_crtc_dpms(struct drm_crtc *crtc, int mode) in cirrus_crtc_dpms()
99 static bool cirrus_crtc_mode_fixup(struct drm_crtc *crtc, in cirrus_crtc_mode_fixup()
106 static void cirrus_set_start_address(struct drm_crtc *crtc, unsigned offset) in cirrus_set_start_address()
130 static int cirrus_crtc_do_set_base(struct drm_crtc *crtc, in cirrus_crtc_do_set_base()
179 static int cirrus_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in cirrus_crtc_mode_set_base()
193 static int cirrus_crtc_mode_set(struct drm_crtc *crtc, in cirrus_crtc_mode_set()
323 static void cirrus_crtc_prepare(struct drm_crtc *crtc) in cirrus_crtc_prepare()
331 static void cirrus_crtc_commit(struct drm_crtc *crtc) in cirrus_crtc_commit()
340 static void cirrus_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in cirrus_crtc_gamma_set()
[all …]
Dcirrus_drv.h106 struct cirrus_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c230 static int udl_crtc_write_mode_to_hw(struct drm_crtc *crtc) in udl_crtc_write_mode_to_hw()
251 static void udl_crtc_dpms(struct drm_crtc *crtc, int mode) in udl_crtc_dpms()
282 static bool udl_crtc_mode_fixup(struct drm_crtc *crtc, in udl_crtc_mode_fixup()
306 static int udl_crtc_mode_set(struct drm_crtc *crtc, in udl_crtc_mode_set()
356 static void udl_crtc_disable(struct drm_crtc *crtc) in udl_crtc_disable()
361 static void udl_crtc_destroy(struct drm_crtc *crtc) in udl_crtc_destroy()
367 static int udl_crtc_page_flip(struct drm_crtc *crtc, in udl_crtc_page_flip()
394 static void udl_crtc_prepare(struct drm_crtc *crtc) in udl_crtc_prepare()
398 static void udl_crtc_commit(struct drm_crtc *crtc) in udl_crtc_commit()
420 struct drm_crtc *crtc; in udl_crtc_init() local
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_display.c416 bool intel_pipe_has_type(struct intel_crtc *crtc, enum intel_output_type type) in intel_pipe_has_type()
627 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in i9xx_find_best_dpll() local
690 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in pnv_find_best_dpll() local
751 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in g4x_find_best_dpll() local
850 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in vlv_find_best_dpll() local
904 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in chv_find_best_dpll() local
956 bool intel_crtc_active(struct drm_crtc *crtc) in intel_crtc_active()
980 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_pipe_to_cpu_transcoder() local
1021 static void intel_wait_for_pipe_off(struct intel_crtc *crtc) in intel_wait_for_pipe_off()
1127 intel_crtc_to_shared_dpll(struct intel_crtc *crtc) in intel_crtc_to_shared_dpll()
[all …]
Dintel_psr.c81 struct intel_crtc *crtc = to_intel_crtc(dig_port->base.base.crtc); in intel_psr_write_vsc() local
109 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in vlv_psr_setup_vsc() local
203 struct drm_crtc *crtc = dig_port->base.base.crtc; in vlv_psr_enable_source() local
218 struct drm_crtc *crtc = dig_port->base.base.crtc; in vlv_psr_activate() local
265 struct drm_crtc *crtc = dig_port->base.base.crtc; in intel_psr_match_conditions() local
478 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_work() local
522 struct drm_crtc *crtc = dp_to_dig_port(intel_dp)->base.base.crtc; in intel_psr_exit() local
578 struct drm_crtc *crtc; in intel_psr_invalidate() local
614 struct drm_crtc *crtc; in intel_psr_flush() local
Dintel_sprite.c80 bool intel_pipe_update_start(struct intel_crtc *crtc, uint32_t *start_vbl_count) in intel_pipe_update_start()
153 void intel_pipe_update_end(struct intel_crtc *crtc, u32 start_vbl_count) in intel_pipe_update_end()
168 static void intel_update_primary_plane(struct intel_crtc *crtc) in intel_update_primary_plane()
180 skl_update_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc, in skl_update_plane()
296 skl_disable_plane(struct drm_plane *drm_plane, struct drm_crtc *crtc) in skl_disable_plane()
353 vlv_update_plane(struct drm_plane *dplane, struct drm_crtc *crtc, in vlv_update_plane()
484 vlv_disable_plane(struct drm_plane *dplane, struct drm_crtc *crtc) in vlv_disable_plane()
507 ivb_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ivb_update_plane()
634 ivb_disable_plane(struct drm_plane *plane, struct drm_crtc *crtc) in ivb_disable_plane()
655 ilk_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ilk_update_plane()
[all …]
Dintel_fifo_underrun.c54 struct intel_crtc *crtc; in ivb_can_enable_err_int() local
73 struct intel_crtc *crtc; in cpt_can_enable_serr_int() local
97 struct intel_crtc *crtc; in i9xx_check_fifo_underruns() local
234 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in __intel_set_cpu_fifo_underrun_reporting() local
303 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pch_transcoder]; in intel_set_pch_fifo_underrun_reporting() local
345 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in intel_cpu_fifo_underrun_irq_handler() local
Dintel_fbc.c68 static void i8xx_fbc_enable(struct drm_crtc *crtc) in i8xx_fbc_enable()
127 static void g4x_fbc_enable(struct drm_crtc *crtc) in g4x_fbc_enable()
183 static void ilk_fbc_enable(struct drm_crtc *crtc) in ilk_fbc_enable()
254 static void gen7_fbc_enable(struct drm_crtc *crtc) in gen7_fbc_enable()
376 static void intel_fbc_enable(struct drm_crtc *crtc) in intel_fbc_enable()
447 struct drm_crtc *crtc = NULL, *tmp_crtc; in intel_fbc_find_crtc() local
504 struct drm_crtc *crtc = NULL; in intel_fbc_update() local
Dintel_atomic.c78 struct intel_crtc *crtc = to_intel_crtc(state->crtcs[i]); in intel_atomic_check() local
214 intel_crtc_duplicate_state(struct drm_crtc *crtc) in intel_crtc_duplicate_state()
239 intel_crtc_destroy_state(struct drm_crtc *crtc, in intel_crtc_destroy_state()
Dintel_pm.c622 struct drm_crtc *crtc, *enabled = NULL; in single_enabled_crtc() local
639 struct drm_crtc *crtc; in pineview_update_wm() local
714 struct drm_crtc *crtc; in g4x_compute_wm0() local
800 struct drm_crtc *crtc; in g4x_compute_srwm() local
844 static void vlv_write_wm_values(struct intel_crtc *crtc, in vlv_write_wm_values()
910 static uint8_t vlv_compute_drain_latency(struct drm_crtc *crtc, in vlv_compute_drain_latency()
951 static int vlv_compute_wm(struct intel_crtc *crtc, in vlv_compute_wm()
985 struct drm_crtc *crtc; in vlv_compute_sr_wm() local
1025 static void valleyview_update_wm(struct drm_crtc *crtc) in valleyview_update_wm()
1075 struct drm_crtc *crtc, in valleyview_update_sprite_wm()
[all …]
Dintel_fbdev.c290 static void intel_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in intel_crtc_fb_gamma_set()
300 static void intel_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in intel_crtc_fb_gamma_get()
311 intel_fb_helper_crtc(struct drm_fb_helper *fb_helper, struct drm_crtc *crtc) in intel_fb_helper_crtc()
557 struct drm_crtc *crtc; in intel_fbdev_init_bios() local
Dintel_dvo.c185 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_enable_dvo() local
203 struct drm_crtc *crtc; in intel_dvo_dpms() local
298 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dvo_pre_enable() local
440 struct drm_crtc *crtc; in intel_dvo_get_current_mode() local
Dintel_ddi.c342 void hsw_fdi_link_train(struct drm_crtc *crtc) in hsw_fdi_link_train()
474 intel_ddi_get_crtc_encoder(struct drm_crtc *crtc) in intel_ddi_get_crtc_encoder()
497 struct intel_crtc *crtc = to_intel_crtc(crtc_state->base.crtc); in intel_ddi_get_crtc_new_encoder() local
1236 void intel_ddi_set_pipe_settings(struct drm_crtc *crtc) in intel_ddi_set_pipe_settings()
1267 void intel_ddi_set_vc_payload_alloc(struct drm_crtc *crtc, bool state) in intel_ddi_set_vc_payload_alloc()
1282 void intel_ddi_enable_transcoder_func(struct drm_crtc *crtc) in intel_ddi_enable_transcoder_func()
1501 struct drm_crtc *crtc = &intel_crtc->base; in intel_ddi_enable_pipe_clock() local
1527 struct intel_crtc *crtc = to_intel_crtc(encoder->crtc); in intel_ddi_pre_enable() local
1634 struct drm_crtc *crtc = encoder->crtc; in intel_enable_ddi() local
1672 struct drm_crtc *crtc = encoder->crtc; in intel_disable_ddi() local
[all …]
Dintel_lvds.c141 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_pre_enable_lvds() local
498 struct drm_crtc *crtc; in intel_lvds_set_property() local
922 struct drm_crtc *crtc; in intel_lvds_init() local
Dintel_atomic_plane.c112 struct drm_crtc *crtc = state->crtc; in intel_plane_atomic_check() local
Dintel_dp.c1488 struct intel_crtc *crtc = to_intel_crtc(dig_port->base.base.crtc); in ironlake_set_pll_cpu_edp() local
1522 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dp_prepare() local
2073 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in ironlake_edp_pll_on() local
2099 struct drm_crtc *crtc = intel_dig_port->base.base.crtc; in ironlake_edp_pll_off() local
2219 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dp_get_config() local
2299 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_disable_dp() local
2484 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_enable_dp() local
2617 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in vlv_init_panel_power_sequencer() local
4731 intel_trans_dp_port_sel(struct drm_crtc *crtc) in intel_trans_dp_port_sel()
5087 struct drm_crtc *crtc = dig_port->base.base.crtc; in intel_edp_drrs_enable() local
[all …]
Dintel_dp_mst.c155 struct drm_crtc *crtc = encoder->base.crtc; in intel_mst_pre_enable_dp() local
241 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_dp_mst_enc_get_config() local
Dintel_crt.c160 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_crt_set_dpms() local
236 struct drm_crtc *crtc; in intel_crt_dpms() local
Di915_debugfs.c542 struct intel_crtc *crtc; in i915_gem_pageflip_info() local
2519 struct drm_crtc *crtc = &intel_crtc->base; in intel_encoder_info() local
2546 struct drm_crtc *crtc = &intel_crtc->base; in intel_crtc_info() local
2667 struct intel_crtc *crtc; in i915_display_info() local
3248 struct intel_crtc *crtc; in i9xx_pipe_crc_auto_source() local
3515 struct intel_crtc *crtc = in hsw_trans_edp_pipe_A_crc_wa() local
3541 struct intel_crtc *crtc = in hsw_undo_trans_edp_pipe_A_crc_wa() local
3599 struct intel_crtc *crtc = to_intel_crtc(intel_get_crtc_for_pipe(dev, in pipe_crc_set_source() local
3667 struct intel_crtc *crtc = in pipe_crc_set_source() local
Dintel_hdmi.c702 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_hdmi_prepare() local
866 struct intel_crtc *crtc = to_intel_crtc(encoder->base.crtc); in intel_disable_hdmi() local
878 struct drm_crtc *crtc = encoder->base.crtc; in intel_disable_hdmi() local
Dintel_audio.c402 struct intel_crtc *crtc = to_intel_crtc(encoder->crtc); in intel_audio_codec_enable() local
Dintel_overlay.c172 struct intel_crtc *crtc; member
854 struct intel_crtc *crtc) in check_overlay_possible_on_crtc()
1064 struct intel_crtc *crtc; in intel_overlay_put_image() local
Dintel_sdvo.c997 struct drm_crtc *crtc = intel_sdvo->base.base.crtc; in intel_sdvo_set_avi_infoframe() local
1183 struct intel_crtc *crtc = to_intel_crtc(intel_encoder->base.crtc); in intel_sdvo_pre_enable() local
1444 struct drm_crtc *crtc = encoder->base.crtc; in intel_disable_sdvo() local
1511 struct drm_crtc *crtc; in intel_sdvo_dpms() local
Di915_irq.c613 static int __intel_get_crtc_scanline(struct intel_crtc *crtc) in __intel_get_crtc_scanline()
642 struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; in i915_get_crtc_scanoutpos() local
761 int intel_get_crtc_scanline(struct intel_crtc *crtc) in intel_get_crtc_scanline()
779 struct drm_crtc *crtc; in i915_get_vblank_timestamp() local
Di915_drv.c568 struct drm_crtc *crtc; in i915_drm_suspend() local
Dintel_tv.c1182 struct drm_crtc *crtc = encoder->crtc; in intel_tv_detect_type() local
1466 struct drm_crtc *crtc = intel_tv->base.base.crtc; in intel_tv_set_property() local
Dintel_drv.h735 struct drm_crtc *crtc; member
805 static inline unsigned int intel_num_planes(struct intel_crtc *crtc) in intel_num_planes()
1311 struct intel_crtc *crtc) in intel_atomic_get_crtc_state()
/linux-4.1.27/drivers/gpu/drm/shmobile/
Dshmob_drm_crtc.c74 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_setup_geometry() local
165 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_start() local
266 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_stop() local
306 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_compute_base() local
333 struct drm_crtc *crtc = &scrtc->crtc; in shmob_drm_crtc_update_base() local
347 static void shmob_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in shmob_drm_crtc_dpms()
362 static bool shmob_drm_crtc_mode_fixup(struct drm_crtc *crtc, in shmob_drm_crtc_mode_fixup()
369 static void shmob_drm_crtc_mode_prepare(struct drm_crtc *crtc) in shmob_drm_crtc_mode_prepare()
374 static int shmob_drm_crtc_mode_set(struct drm_crtc *crtc, in shmob_drm_crtc_mode_set()
419 static void shmob_drm_crtc_mode_commit(struct drm_crtc *crtc) in shmob_drm_crtc_mode_commit()
[all …]
Dshmob_drm_drv.c234 static int shmob_drm_enable_vblank(struct drm_device *dev, int crtc) in shmob_drm_enable_vblank()
243 static void shmob_drm_disable_vblank(struct drm_device *dev, int crtc) in shmob_drm_disable_vblank()
Dshmob_drm_drv.h42 struct shmob_drm_crtc crtc; member
Dshmob_drm_crtc.h24 struct drm_crtc crtc; member
Dshmob_drm_plane.c176 shmob_drm_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in shmob_drm_plane_update()
/linux-4.1.27/drivers/video/fbdev/aty/
Datyfb.h11 struct crtc { struct
12 u32 vxres;
13 u32 vyres;
14 u32 xoffset;
15 u32 yoffset;
16 u32 bpp;
17 u32 h_tot_disp;
18 u32 h_sync_strt_wid;
19 u32 v_tot_disp;
20 u32 v_sync_strt_wid;
[all …]
Datyfb_base.c633 static void aty_get_crtc(const struct atyfb_par *par, struct crtc *crtc) in aty_get_crtc()
680 static void aty_set_crtc(const struct atyfb_par *par, const struct crtc *crtc) in aty_set_crtc()
792 struct crtc *crtc) in aty_var_to_crtc()
1148 static int aty_crtc_to_var(const struct crtc *crtc, in aty_crtc_to_var()
1533 struct crtc crtc; in atyfb_check_var() local
1764 static int aty_waitforvblank(struct atyfb_par *par, u32 crtc) in aty_waitforvblank()
1844 u32 crtc; in atyfb_ioctl() local
3086 struct crtc crtc; in atyfb_setup_sparc() local
Daty128fb.c450 struct aty128_crtc crtc; member
1037 static void aty128_set_crtc(const struct aty128_crtc *crtc, in aty128_set_crtc()
1054 struct aty128_crtc *crtc, in aty128_var_to_crtc()
1244 static int aty128_crtc_to_var(const struct aty128_crtc *crtc, in aty128_crtc_to_var()
1577 struct aty128_crtc crtc; in aty128_decode_var() local
/linux-4.1.27/drivers/gpu/drm/bochs/
Dbochs_kms.c21 static void bochs_crtc_dpms(struct drm_crtc *crtc, int mode) in bochs_crtc_dpms()
33 static bool bochs_crtc_mode_fixup(struct drm_crtc *crtc, in bochs_crtc_mode_fixup()
40 static int bochs_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in bochs_crtc_mode_set_base()
82 static int bochs_crtc_mode_set(struct drm_crtc *crtc, in bochs_crtc_mode_set()
95 static void bochs_crtc_prepare(struct drm_crtc *crtc) in bochs_crtc_prepare()
99 static void bochs_crtc_commit(struct drm_crtc *crtc) in bochs_crtc_commit()
103 static void bochs_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in bochs_crtc_gamma_set()
108 static int bochs_crtc_page_flip(struct drm_crtc *crtc, in bochs_crtc_page_flip()
148 struct drm_crtc *crtc = &bochs->crtc; in bochs_crtc_init() local
Dbochs_fbdev.c179 void bochs_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in bochs_fb_gamma_set()
184 void bochs_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in bochs_fb_gamma_get()
Dbochs.h75 struct drm_crtc crtc; member
/linux-4.1.27/drivers/gpu/drm/imx/
Dipuv3-crtc.c87 static void ipu_crtc_dpms(struct drm_crtc *crtc, int mode) in ipu_crtc_dpms()
105 static int ipu_page_flip(struct drm_crtc *crtc, in ipu_page_flip()
137 static int ipu_crtc_mode_set(struct drm_crtc *crtc, in ipu_crtc_mode_set()
239 static bool ipu_crtc_mode_fixup(struct drm_crtc *crtc, in ipu_crtc_mode_fixup()
258 static void ipu_crtc_prepare(struct drm_crtc *crtc) in ipu_crtc_prepare()
265 static void ipu_crtc_commit(struct drm_crtc *crtc) in ipu_crtc_commit()
280 static int ipu_enable_vblank(struct drm_crtc *crtc) in ipu_enable_vblank()
285 static void ipu_disable_vblank(struct drm_crtc *crtc) in ipu_disable_vblank()
293 static int ipu_set_interface_pix_fmt(struct drm_crtc *crtc, in ipu_set_interface_pix_fmt()
Dimx-drm-core.c41 struct imx_drm_crtc *crtc[MAX_CRTC]; member
47 struct drm_crtc *crtc; member
55 int imx_drm_crtc_id(struct imx_drm_crtc *crtc) in imx_drm_crtc_id()
94 static struct imx_drm_crtc *imx_drm_find_crtc(struct drm_crtc *crtc) in imx_drm_find_crtc()
148 static int imx_drm_enable_vblank(struct drm_device *drm, int crtc) in imx_drm_enable_vblank()
166 static void imx_drm_disable_vblank(struct drm_device *drm, int crtc) in imx_drm_disable_vblank()
342 int imx_drm_add_crtc(struct drm_device *drm, struct drm_crtc *crtc, in imx_drm_add_crtc()
Dipuv3-plane.c97 int ipu_plane_mode_set(struct ipu_plane *ipu_plane, struct drm_crtc *crtc, in ipu_plane_mode_set()
299 static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in ipu_update_plane()
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c178 void rcar_du_crtc_route_output(struct drm_crtc *crtc, in rcar_du_crtc_route_output()
355 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_start() local
391 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_stop() local
446 static void rcar_du_crtc_enable(struct drm_crtc *crtc) in rcar_du_crtc_enable()
459 static void rcar_du_crtc_disable(struct drm_crtc *crtc) in rcar_du_crtc_disable()
473 static bool rcar_du_crtc_mode_fixup(struct drm_crtc *crtc, in rcar_du_crtc_mode_fixup()
481 static void rcar_du_crtc_atomic_begin(struct drm_crtc *crtc) in rcar_du_crtc_atomic_begin()
497 static void rcar_du_crtc_atomic_flush(struct drm_crtc *crtc) in rcar_du_crtc_atomic_flush()
556 struct drm_crtc *crtc = &rcrtc->crtc; in rcar_du_crtc_create() local
Drcar_du_drv.c224 static int rcar_du_enable_vblank(struct drm_device *dev, int crtc) in rcar_du_enable_vblank()
233 static void rcar_du_disable_vblank(struct drm_device *dev, int crtc) in rcar_du_disable_vblank()
Drcar_du_lvdsenc.h39 struct drm_crtc *crtc, bool enable) in rcar_du_lvdsenc_enable()
Drcar_du_crtc.h26 struct drm_crtc crtc; member
Drcar_du_lvdsenc.c130 int rcar_du_lvdsenc_enable(struct rcar_du_lvdsenc *lvds, struct drm_crtc *crtc, in rcar_du_lvdsenc_enable()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c28 static void mga_crtc_load_lut(struct drm_crtc *crtc) in mga_crtc_load_lut()
100 static bool mga_crtc_mode_fixup(struct drm_crtc *crtc, in mga_crtc_mode_fixup()
590 static void mga_g200wb_prepare(struct drm_crtc *crtc) in mga_g200wb_prepare()
644 static void mga_g200wb_commit(struct drm_crtc *crtc) in mga_g200wb_commit()
695 static void mga_set_start_address(struct drm_crtc *crtc, unsigned offset) in mga_set_start_address()
723 static int mga_crtc_do_set_base(struct drm_crtc *crtc, in mga_crtc_do_set_base()
774 static int mga_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in mga_crtc_mode_set_base()
780 static int mga_crtc_mode_set(struct drm_crtc *crtc, in mga_crtc_mode_set()
1131 static void mga_crtc_dpms(struct drm_crtc *crtc, int mode) in mga_crtc_dpms()
1185 static void mga_crtc_prepare(struct drm_crtc *crtc) in mga_crtc_prepare()
[all …]
Dmgag200_cursor.c31 int mga_crtc_cursor_set(struct drm_crtc *crtc, in mga_crtc_cursor_set()
259 int mga_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in mga_crtc_cursor_move()
Dmgag200_drv.h133 struct mga_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_crtc.c273 void armada_drm_crtc_gamma_set(struct drm_crtc *crtc, u16 r, u16 g, u16 b, in armada_drm_crtc_gamma_set()
278 void armada_drm_crtc_gamma_get(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, in armada_drm_crtc_gamma_get()
284 static void armada_drm_crtc_dpms(struct drm_crtc *crtc, int dpms) in armada_drm_crtc_dpms()
305 static void armada_drm_crtc_prepare(struct drm_crtc *crtc) in armada_drm_crtc_prepare()
327 static void armada_drm_crtc_commit(struct drm_crtc *crtc) in armada_drm_crtc_commit()
338 static bool armada_drm_crtc_mode_fixup(struct drm_crtc *crtc, in armada_drm_crtc_mode_fixup()
495 static int armada_drm_crtc_mode_set(struct drm_crtc *crtc, in armada_drm_crtc_mode_set()
630 static int armada_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in armada_drm_crtc_mode_set_base()
657 static void armada_drm_crtc_disable(struct drm_crtc *crtc) in armada_drm_crtc_disable()
823 static int armada_drm_crtc_cursor_set(struct drm_crtc *crtc, in armada_drm_crtc_cursor_set()
[all …]
Darmada_drv.c267 static int armada_drm_enable_vblank(struct drm_device *dev, int crtc) in armada_drm_enable_vblank()
274 static void armada_drm_disable_vblank(struct drm_device *dev, int crtc) in armada_drm_disable_vblank()
Darmada_crtc.h38 struct drm_crtc crtc; member
Darmada_overlay.c101 armada_plane_update(struct drm_plane *plane, struct drm_crtc *crtc, in armada_plane_update()
/linux-4.1.27/drivers/gpu/drm/r128/
Dr128_irq.c37 u32 r128_get_vblank_counter(struct drm_device *dev, int crtc) in r128_get_vblank_counter()
65 int r128_enable_vblank(struct drm_device *dev, int crtc) in r128_enable_vblank()
78 void r128_disable_vblank(struct drm_device *dev, int crtc) in r128_disable_vblank()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_display.c56 struct drm_crtc *crtc; in nouveau_display_vblank_enable() local
70 struct drm_crtc *crtc; in nouveau_display_vblank_disable() local
95 nouveau_display_scanoutpos_head(struct drm_crtc *crtc, int *vpos, int *hpos, in nouveau_display_scanoutpos_head()
137 struct drm_crtc *crtc; in nouveau_display_scanoutpos() local
153 struct drm_crtc *crtc; in nouveau_display_vblstamp() local
169 struct drm_crtc *crtc; in nouveau_display_vblank_fini() local
183 struct drm_crtc *crtc; in nouveau_display_vblank_init() local
556 struct drm_crtc *crtc; in nouveau_display_suspend() local
586 struct drm_crtc *crtc; in nouveau_display_resume() local
697 nouveau_crtc_page_flip(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nouveau_crtc_page_flip()
Dnv50_display.c494 nv50_display_crtc_sema(struct drm_device *dev, int crtc) in nv50_display_crtc_sema()
516 nv50_display_flip_stop(struct drm_crtc *crtc) in nv50_display_flip_stop()
542 nv50_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nv50_display_flip_next()
726 struct drm_crtc *crtc = &nv_crtc->base; in nv50_crtc_set_scale() local
998 nv50_crtc_dpms(struct drm_crtc *crtc, int mode) in nv50_crtc_dpms()
1003 nv50_crtc_prepare(struct drm_crtc *crtc) in nv50_crtc_prepare()
1042 nv50_crtc_commit(struct drm_crtc *crtc) in nv50_crtc_commit()
1087 nv50_crtc_mode_fixup(struct drm_crtc *crtc, const struct drm_display_mode *mode, in nv50_crtc_mode_fixup()
1095 nv50_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nv50_crtc_swap_fbs()
1112 nv50_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode, in nv50_crtc_mode_set()
[all …]
Dnouveau_crtc.h78 static inline struct nouveau_crtc *nouveau_crtc(struct drm_crtc *crtc) in nouveau_crtc()
83 static inline struct drm_crtc *to_drm_crtc(struct nouveau_crtc *crtc) in to_drm_crtc()
Dnouveau_fbcon.c293 static void nouveau_fbcon_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in nouveau_fbcon_gamma_set()
303 static void nouveau_fbcon_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in nouveau_fbcon_gamma_get()
Dnouveau_encoder.h48 struct drm_crtc *crtc; member
Dnouveau_connector.h96 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get() local
Dnv84_fence.c32 nv84_fence_crtc(struct nouveau_channel *chan, int crtc) in nv84_fence_crtc()
Dnouveau_display.h31 int crtc, bpp, pitch, x, y; member
Dnouveau_drm.c775 struct drm_crtc *crtc; in nouveau_pmops_runtime_idle() local
/linux-4.1.27/drivers/staging/sm750fb/
Dsm750_hw.c268 int hw_sm750_crtc_checkMode(struct lynxfb_crtc* crtc, struct fb_var_screeninfo* var) in hw_sm750_crtc_checkMode()
297 int hw_sm750_crtc_setMode(struct lynxfb_crtc* crtc, in hw_sm750_crtc_setMode()
418 void hw_sm750_crtc_clear(struct lynxfb_crtc* crtc) in hw_sm750_crtc_clear()
424 int hw_sm750_setColReg(struct lynxfb_crtc* crtc, ushort index, in hw_sm750_setColReg()
617 int hw_sm750_pan_display(struct lynxfb_crtc *crtc, in hw_sm750_pan_display()
Dsm750.c132 struct lynxfb_crtc *crtc; in lynxfb_ops_cursor() local
305 struct lynxfb_crtc *crtc; in lynxfb_ops_pan_display() local
324 struct lynxfb_crtc *crtc; in lynxfb_ops_set_par() local
469 struct lynxfb_crtc *crtc; in lynxfb_resume() local
536 struct lynxfb_crtc *crtc; in lynxfb_ops_check_var() local
634 struct lynxfb_crtc *crtc; in lynxfb_ops_setcolreg() local
698 struct lynxfb_crtc *crtc; in sm750fb_set_drv() local
796 struct lynxfb_crtc *crtc; in lynxfb_set_fbinfo() local
Dsm750.h160 struct lynxfb_crtc crtc; member
/linux-4.1.27/drivers/gpu/drm/mga/
Dmga_irq.c38 u32 mga_get_vblank_counter(struct drm_device *dev, int crtc) in mga_get_vblank_counter()
91 int mga_enable_vblank(struct drm_device *dev, int crtc) in mga_enable_vblank()
106 void mga_disable_vblank(struct drm_device *dev, int crtc) in mga_disable_vblank()
/linux-4.1.27/drivers/gpu/drm/qxl/
Dqxl_drv.c95 struct drm_crtc *crtc; in qxl_drm_freeze() local
199 static u32 qxl_noop_get_vblank_counter(struct drm_device *dev, int crtc) in qxl_noop_get_vblank_counter()
204 static int qxl_noop_enable_vblank(struct drm_device *dev, int crtc) in qxl_noop_enable_vblank()
209 static void qxl_noop_disable_vblank(struct drm_device *dev, int crtc) in qxl_noop_disable_vblank()
Dqxl_display.c209 static void qxl_crtc_destroy(struct drm_crtc *crtc) in qxl_crtc_destroy()
217 static int qxl_crtc_page_flip(struct drm_crtc *crtc, in qxl_crtc_page_flip()
292 static int qxl_crtc_cursor_set2(struct drm_crtc *crtc, in qxl_crtc_cursor_set2()
415 static int qxl_crtc_cursor_move(struct drm_crtc *crtc, in qxl_crtc_cursor_move()
536 static void qxl_crtc_dpms(struct drm_crtc *crtc, int mode) in qxl_crtc_dpms()
540 static bool qxl_crtc_mode_fixup(struct drm_crtc *crtc, in qxl_crtc_mode_fixup()
595 static int qxl_crtc_mode_set(struct drm_crtc *crtc, in qxl_crtc_mode_set()
673 static void qxl_crtc_prepare(struct drm_crtc *crtc) in qxl_crtc_prepare()
680 static void qxl_crtc_commit(struct drm_crtc *crtc) in qxl_crtc_commit()
685 static void qxl_crtc_disable(struct drm_crtc *crtc) in qxl_crtc_disable()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_vop.c81 struct drm_crtc crtc; member
416 static void vop_enable(struct drm_crtc *crtc) in vop_enable()
485 static void vop_disable(struct drm_crtc *crtc) in vop_disable()
567 struct drm_crtc *crtc, in vop_update_plane_event()
713 static int vop_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, in vop_update_plane()
724 static int vop_update_primary_plane(struct drm_crtc *crtc, in vop_update_primary_plane()
788 int rockchip_drm_crtc_mode_config(struct drm_crtc *crtc, in rockchip_drm_crtc_mode_config()
801 static int vop_crtc_enable_vblank(struct drm_crtc *crtc) in vop_crtc_enable_vblank()
818 static void vop_crtc_disable_vblank(struct drm_crtc *crtc) in vop_crtc_disable_vblank()
836 static void vop_crtc_dpms(struct drm_crtc *crtc, int mode) in vop_crtc_dpms()
[all …]
Drockchip_drm_drv.c95 struct drm_crtc *crtc; in rockchip_crtc_from_pipe() local
108 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_enable_vblank() local
120 struct drm_crtc *crtc = rockchip_crtc_from_pipe(dev, pipe); in rockchip_drm_crtc_disable_vblank() local
389 struct drm_crtc *crtc = encoder->crtc; in rockchip_drm_encoder_get_mux_id() local
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddc.c949 struct drm_crtc *crtc = &dc->base; in tegra_dc_finish_page_flip() local
981 void tegra_dc_cancel_page_flip(struct drm_crtc *crtc, struct drm_file *file) in tegra_dc_cancel_page_flip()
998 static void tegra_dc_destroy(struct drm_crtc *crtc) in tegra_dc_destroy()
1003 static void tegra_crtc_reset(struct drm_crtc *crtc) in tegra_crtc_reset()
1021 tegra_crtc_atomic_duplicate_state(struct drm_crtc *crtc) in tegra_crtc_atomic_duplicate_state()
1039 static void tegra_crtc_atomic_destroy_state(struct drm_crtc *crtc, in tegra_crtc_atomic_destroy_state()
1091 static void tegra_crtc_disable(struct drm_crtc *crtc) in tegra_crtc_disable()
1132 static bool tegra_crtc_mode_fixup(struct drm_crtc *crtc, in tegra_crtc_mode_fixup()
1232 static void tegra_crtc_mode_set_nofb(struct drm_crtc *crtc) in tegra_crtc_mode_set_nofb()
1264 static void tegra_crtc_prepare(struct drm_crtc *crtc) in tegra_crtc_prepare()
[all …]
Ddrm.c806 struct drm_crtc *crtc; in tegra_crtc_from_pipe() local
818 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_get_vblank_counter() local
829 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_enable_vblank() local
842 struct drm_crtc *crtc = tegra_crtc_from_pipe(drm, pipe); in tegra_drm_disable_vblank() local
853 struct drm_crtc *crtc; in tegra_drm_preclose() local
Ddrm.h144 static inline struct tegra_dc *to_tegra_dc(struct drm_crtc *crtc) in to_tegra_dc()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c69 static void vmw_ldu_crtc_destroy(struct drm_crtc *crtc) in vmw_ldu_crtc_destroy()
80 struct drm_crtc *crtc = NULL; in vmw_ldu_commit_list() local
219 struct drm_crtc *crtc; in vmw_ldu_crtc_set_config() local
346 struct drm_crtc *crtc; in vmw_ldu_init() local
Dvmwgfx_scrn.c69 static void vmw_sou_crtc_destroy(struct drm_crtc *crtc) in vmw_sou_crtc_destroy()
261 struct drm_crtc *crtc; in vmw_sou_crtc_set_config() local
442 struct drm_crtc *crtc; in vmw_sou_init() local
551 struct drm_crtc *crtc) in vmw_kms_screen_object_flippable()
569 struct drm_crtc *crtc) in vmw_kms_screen_object_update_implicit_fb()
Dvmwgfx_kms.c174 int vmw_du_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, in vmw_du_crtc_cursor_set()
260 int vmw_du_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in vmw_du_crtc_cursor_move()
388 struct drm_crtc *crtc; in vmw_kms_cursor_post_execbuf() local
456 struct drm_crtc *crtc; in do_surface_dirty_sou() local
864 struct drm_crtc *crtc; in do_dmabuf_dirty_sou() local
1232 struct drm_crtc *crtc; in vmw_kms_present() local
1368 struct drm_crtc *crtc; in vmw_kms_readback() local
1504 struct drm_crtc *crtc; in vmw_kms_cursor_bypass_ioctl() local
1651 u32 vmw_get_vblank_counter(struct drm_device *dev, int crtc) in vmw_get_vblank_counter()
1659 int vmw_enable_vblank(struct drm_device *dev, int crtc) in vmw_enable_vblank()
[all …]
Dvmwgfx_kms.h82 struct drm_crtc crtc; member
Dvmwgfx_drv.c1090 struct drm_crtc *crtc; in vmw_lastclose() local
Dvmwgfx_drv.h146 struct drm_crtc *crtc; member
/linux-4.1.27/drivers/gpu/drm/via/
Dvia_irq.c98 u32 via_get_vblank_counter(struct drm_device *dev, int crtc) in via_get_vblank_counter()
173 int via_enable_vblank(struct drm_device *dev, int crtc) in via_enable_vblank()
192 void via_disable_vblank(struct drm_device *dev, int crtc) in via_disable_vblank()
/linux-4.1.27/arch/x86/boot/
Dvideo-vga.c141 u16 crtc; /* CRTC base address */ in vga_set_480_scanlines() local
161 u16 crtc; /* CRTC base address */ in vga_set_vertical_end() local
Dvideo-bios.c71 u16 crtc; in bios_probe() local
Dvideo-mode.c119 u16 crtc; in vga_recalc_vertical() local
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_fbdev.c204 static void msm_crtc_fb_gamma_set(struct drm_crtc *crtc, in msm_crtc_fb_gamma_set()
210 static void msm_crtc_fb_gamma_get(struct drm_crtc *crtc, in msm_crtc_fb_gamma_get()
Dmsm_atomic.c197 struct drm_crtc *crtc = state->crtcs[i]; in msm_atomic_commit() local
/linux-4.1.27/include/drm/
Ddrm_atomic_helper.h131 #define drm_atomic_crtc_for_each_plane(plane, crtc) \ argument
Ddrm_atomic.h86 #define for_each_crtc_in_state(state, crtc, crtc_state, __i) \ argument
Ddrm_crtc.h274 struct drm_crtc *crtc; member
492 struct drm_crtc *crtc; /* do not write directly, use drm_atomic_set_crtc_for_connector() */ member
596 struct drm_crtc *crtc; member
757 struct drm_crtc *crtc; /* do not write directly, use drm_atomic_set_crtc_for_plane() */ member
855 struct drm_crtc *crtc; member
963 struct drm_crtc *crtc; member
1209 static inline uint32_t drm_crtc_mask(struct drm_crtc *crtc) in drm_crtc_mask()
1246 struct drm_crtc *crtc) in drm_encoder_crtc_ok()
Ddrm_crtc_helper.h197 static inline void drm_crtc_helper_add(struct drm_crtc *crtc, in drm_crtc_helper_add()
DdrmP.h697 int crtc; /* crtc index */ member
958 static inline wait_queue_head_t *drm_crtc_vblank_waitqueue(struct drm_crtc *crtc) in drm_crtc_vblank_waitqueue()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dinit.h8 int crtc; member
/linux-4.1.27/drivers/video/fbdev/riva/
Drivafb.h27 u8 crtc[NUM_CRT_REGS]; member
/linux-4.1.27/drivers/video/
Dvgastate.c28 __u8 *crtc; member
/linux-4.1.27/drivers/gpu/drm/i2c/
Dch7006_drv.c288 struct drm_crtc *crtc = encoder->crtc; in ch7006_encoder_set_property() local
/linux-4.1.27/drivers/video/fbdev/
Ds3c-fb.c993 static int s3c_fb_wait_for_vsync(struct s3c_fb *sfb, u32 crtc) in s3c_fb_wait_for_vsync()
1023 u32 crtc; in s3c_fb_ioctl() local
Di740fb.c55 u8 crtc[VGA_CRT_C]; member
Dps3fb.c754 static int ps3fb_wait_for_vsync(u32 crtc) in ps3fb_wait_for_vsync()
Duvesafb.c1230 struct vbe_crtc_ib *crtc = NULL; in uvesafb_set_par() local
Dvga16fb.c63 u8 crtc[VGA_CRT_C]; member
Dcyber2000fb.c427 u_char crtc[19]; member
/linux-4.1.27/include/video/
Duvesafb.h136 struct vbe_crtc_ib crtc; member
/linux-4.1.27/drivers/video/fbdev/matrox/
Dmatroxfb_base.c268 int matroxfb_wait_for_sync(struct matrox_fb_info *minfo, u_int32_t crtc) in matroxfb_wait_for_sync()
1180 int crtc; in matroxfb_blank() local
/linux-4.1.27/drivers/video/fbdev/via/
Dshare.h322 struct via_display_timing crtc; member
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnv_type.h49 u8 crtc[NUM_CRT_REGS]; member

12