Home
last modified time | relevance | path

Searched defs:crtc (Results 1 – 25 of 115) sorted by relevance

12345

/linux-3.3/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c63 static void exynos_drm_crtc_apply(struct drm_crtc *crtc) in exynos_drm_crtc_apply()
131 static int exynos_drm_crtc_update(struct drm_crtc *crtc) in exynos_drm_crtc_update()
160 static void exynos_drm_crtc_dpms(struct drm_crtc *crtc, int mode) in exynos_drm_crtc_dpms()
195 static void exynos_drm_crtc_prepare(struct drm_crtc *crtc) in exynos_drm_crtc_prepare()
202 static void exynos_drm_crtc_commit(struct drm_crtc *crtc) in exynos_drm_crtc_commit()
235 exynos_drm_crtc_mode_fixup(struct drm_crtc *crtc, in exynos_drm_crtc_mode_fixup()
246 exynos_drm_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in exynos_drm_crtc_mode_set()
257 static int exynos_drm_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in exynos_drm_crtc_mode_set_base()
273 static void exynos_drm_crtc_load_lut(struct drm_crtc *crtc) in exynos_drm_crtc_load_lut()
289 static int exynos_drm_crtc_page_flip(struct drm_crtc *crtc, in exynos_drm_crtc_page_flip()
[all …]
/linux-3.3/drivers/staging/omapdrm/
Domap_crtc.c39 static void omap_crtc_gamma_set(struct drm_crtc *crtc, in omap_crtc_gamma_set()
45 static void omap_crtc_destroy(struct drm_crtc *crtc) in omap_crtc_destroy()
53 static void omap_crtc_dpms(struct drm_crtc *crtc, int mode) in omap_crtc_dpms()
68 static bool omap_crtc_mode_fixup(struct drm_crtc *crtc, in omap_crtc_mode_fixup()
75 static int omap_crtc_mode_set(struct drm_crtc *crtc, in omap_crtc_mode_set()
90 static void omap_crtc_prepare(struct drm_crtc *crtc) in omap_crtc_prepare()
97 static void omap_crtc_commit(struct drm_crtc *crtc) in omap_crtc_commit()
104 static int omap_crtc_mode_set_base(struct drm_crtc *crtc, int x, int y, in omap_crtc_mode_set_base()
117 static void omap_crtc_load_lut(struct drm_crtc *crtc) in omap_crtc_load_lut()
123 struct drm_crtc *crtc = arg; in page_flip_cb() local
[all …]
/linux-3.3/drivers/gpu/drm/
Ddrm_irq.c46 #define vblanktimestamp(dev, crtc, count) ( \ argument
90 static void clear_vblank_timestamps(struct drm_device *dev, int crtc) in clear_vblank_timestamps()
102 static void vblank_disable_and_save(struct drm_device *dev, int crtc) in vblank_disable_and_save()
488 void drm_calc_timestamping_constants(struct drm_crtc *crtc) in drm_calc_timestamping_constants()
573 int drm_calc_vbltimestamp_from_scanoutpos(struct drm_device *dev, int crtc, in drm_calc_vbltimestamp_from_scanoutpos()
731 u32 drm_get_last_vbltimestamp(struct drm_device *dev, int crtc, in drm_get_last_vbltimestamp()
765 u32 drm_vblank_count(struct drm_device *dev, int crtc) in drm_vblank_count()
785 u32 drm_vblank_count_and_time(struct drm_device *dev, int crtc, in drm_vblank_count_and_time()
821 static void drm_update_vblank_count(struct drm_device *dev, int crtc) in drm_update_vblank_count()
880 int drm_vblank_get(struct drm_device *dev, int crtc) in drm_vblank_get()
[all …]
Ddrm_crtc_helper.c201 bool drm_helper_crtc_in_use(struct drm_crtc *crtc) in drm_helper_crtc_in_use()
238 struct drm_crtc *crtc; in drm_helper_disable_unused_functions() local
277 struct drm_crtc *crtc) in drm_encoder_crtc_ok()
337 bool drm_crtc_helper_set_mode(struct drm_crtc *crtc, in drm_crtc_helper_set_mode()
461 drm_crtc_helper_disable(struct drm_crtc *crtc) in drm_crtc_helper_disable()
504 struct drm_crtc *save_crtcs, *new_crtc, *crtc; in drm_crtc_helper_set_config() local
781 static int drm_helper_choose_crtc_dpms(struct drm_crtc *crtc) in drm_helper_choose_crtc_dpms()
805 struct drm_crtc *crtc = encoder ? encoder->crtc : NULL; in drm_helper_connector_dpms() local
871 struct drm_crtc *crtc; in drm_helper_resume_force_mode() local
Ddrm_fb_helper.c122 static void drm_fb_helper_save_lut_atomic(struct drm_crtc *crtc, struct drm_fb_helper *helper) in drm_fb_helper_save_lut_atomic()
135 static void drm_fb_helper_restore_lut_atomic(struct drm_crtc *crtc) in drm_fb_helper_restore_lut_atomic()
178 static struct drm_framebuffer *drm_mode_config_fb(struct drm_crtc *crtc) in drm_mode_config_fb()
194 struct drm_crtc *crtc; in drm_fb_helper_debug_leave() local
313 struct drm_crtc *crtc; in drm_fb_helper_on() local
358 struct drm_crtc *crtc; in drm_fb_helper_off() local
442 struct drm_crtc *crtc; in drm_fb_helper_init() local
506 static int setcolreg(struct drm_crtc *crtc, u16 red, u16 green, in setcolreg()
575 struct drm_crtc *crtc; in drm_fb_helper_setcmap() local
703 struct drm_crtc *crtc; in drm_fb_helper_set_par() local
[all …]
Ddrm_crtc.c327 struct drm_crtc *crtc; in drm_framebuffer_cleanup() local
374 void drm_crtc_init(struct drm_device *dev, struct drm_crtc *crtc, in drm_crtc_init()
399 void drm_crtc_cleanup(struct drm_crtc *crtc) in drm_crtc_cleanup()
981 struct drm_crtc *crtc; in drm_mode_group_init_legacy_group() local
1018 struct drm_crtc *crtc, *ct; in drm_mode_config_cleanup() local
1143 struct drm_crtc *crtc; in drm_mode_getresources() local
1327 struct drm_crtc *crtc; in drm_mode_getcrtc() local
1676 struct drm_crtc *crtc; in drm_mode_setplane() local
1812 struct drm_crtc *crtc, *crtcfb; in drm_mode_setcrtc() local
1938 struct drm_crtc *crtc; in drm_mode_cursor_ioctl() local
[all …]
/linux-3.3/drivers/gpu/drm/nouveau/
Dnv50_crtc.c42 nv50_crtc_lut_load(struct drm_crtc *crtc) in nv50_crtc_lut_load()
178 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get() local
195 struct drm_crtc *crtc = &nv_crtc->base; in nv50_crtc_set_scale() local
349 nv50_crtc_destroy(struct drm_crtc *crtc) in nv50_crtc_destroy()
372 nv50_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv, in nv50_crtc_cursor_set()
413 nv50_crtc_cursor_move(struct drm_crtc *crtc, int x, int y) in nv50_crtc_cursor_move()
422 nv50_crtc_gamma_set(struct drm_crtc *crtc, u16 *r, u16 *g, u16 *b, in nv50_crtc_gamma_set()
448 nv50_crtc_save(struct drm_crtc *crtc) in nv50_crtc_save()
454 nv50_crtc_restore(struct drm_crtc *crtc) in nv50_crtc_restore()
471 nv50_crtc_dpms(struct drm_crtc *crtc, int mode) in nv50_crtc_dpms()
[all …]
Dnv04_crtc.c43 crtc_wr_cio_state(struct drm_crtc *crtc, struct nv04_crtc_reg *crtcstate, int index) in crtc_wr_cio_state()
49 static void nv_crtc_set_digital_vibrance(struct drm_crtc *crtc, int level) in nv_crtc_set_digital_vibrance()
64 static void nv_crtc_set_image_sharpening(struct drm_crtc *crtc, int level) in nv_crtc_set_image_sharpening()
103 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()
157 nv_crtc_dpms(struct drm_crtc *crtc, int mode) in nv_crtc_dpms()
218 nv_crtc_mode_fixup(struct drm_crtc *crtc, struct drm_display_mode *mode, in nv_crtc_mode_fixup()
225 nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) in nv_crtc_mode_set_vga()
452 nv_crtc_mode_set_regs(struct drm_crtc *crtc, struct drm_display_mode * mode) in nv_crtc_mode_set_regs()
608 nv_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode, in nv_crtc_mode_set()
631 static void nv_crtc_save(struct drm_crtc *crtc) in nv_crtc_save()
[all …]
Dnv04_cursor.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()
Dnvd0_display.c248 nvd0_display_crtc_sema(struct drm_device *dev, int crtc) in nvd0_display_crtc_sema()
254 nvd0_display_flip_stop(struct drm_crtc *crtc) in nvd0_display_flip_stop()
276 nvd0_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nvd0_display_flip_next()
404 struct drm_crtc *crtc = &nv_crtc->base; in nvd0_crtc_set_scale() local
548 nvd0_crtc_dpms(struct drm_crtc *crtc, int mode) in nvd0_crtc_dpms()
553 nvd0_crtc_prepare(struct drm_crtc *crtc) in nvd0_crtc_prepare()
575 nvd0_crtc_commit(struct drm_crtc *crtc) in nvd0_crtc_commit()
601 nvd0_crtc_mode_fixup(struct drm_crtc *crtc, struct drm_display_mode *mode, in nvd0_crtc_mode_fixup()
608 nvd0_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) in nvd0_crtc_swap_fbs()
626 nvd0_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *umode, in nvd0_crtc_mode_set()
[all …]
Dnv04_display.c122 struct drm_crtc *crtc; in nv04_display_create() local
191 struct drm_crtc *crtc; in nv04_display_destroy() local
224 struct drm_crtc *crtc; in nv04_display_init() local
Dnv50_display.c265 struct nouveau_crtc *crtc = nouveau_crtc(drm_crtc); in nv50_display_fini() local
281 struct nouveau_crtc *crtc = nouveau_crtc(drm_crtc); in nv50_display_fini() local
404 nv50_display_flip_stop(struct drm_crtc *crtc) in nv50_display_flip_stop()
430 nv50_display_flip_next(struct drm_crtc *crtc, struct drm_framebuffer *fb, in nv50_display_flip_next()
620 nv50_display_vblank_crtc_handler(struct drm_device *dev, int crtc) in nv50_display_vblank_crtc_handler()
657 int i, crtc, or = 0, type = OUTPUT_ANY; in nv50_display_unk10_handler() local
749 int i, crtc, or = 0, type = OUTPUT_ANY; in nv50_display_unk20_handler() local
/linux-3.3/drivers/gpu/drm/radeon/
Dradeon_cursor.c33 static void radeon_lock_cursor(struct drm_crtc *crtc, bool lock) in radeon_lock_cursor()
63 static void radeon_hide_cursor(struct drm_crtc *crtc) in radeon_hide_cursor()
89 static void radeon_show_cursor(struct drm_crtc *crtc) in radeon_show_cursor()
120 static void radeon_set_cursor(struct drm_crtc *crtc, struct drm_gem_object *obj, in radeon_set_cursor()
147 int radeon_crtc_cursor_set(struct drm_crtc *crtc, in radeon_crtc_cursor_set()
203 int radeon_crtc_cursor_move(struct drm_crtc *crtc, in radeon_crtc_cursor_move()
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()
169 static void atombios_lock_crtc(struct drm_crtc *crtc, int lock) in atombios_lock_crtc()
186 static void atombios_enable_crtc(struct drm_crtc *crtc, int state) in atombios_enable_crtc()
202 static void atombios_enable_crtc_memreq(struct drm_crtc *crtc, int state) in atombios_enable_crtc_memreq()
218 static void atombios_blank_crtc(struct drm_crtc *crtc, int state) in atombios_blank_crtc()
234 void atombios_crtc_dpms(struct drm_crtc *crtc, int mode) in atombios_crtc_dpms()
269 atombios_set_crtc_dtd_timing(struct drm_crtc *crtc, in atombios_set_crtc_dtd_timing()
314 static void atombios_crtc_set_timing(struct drm_crtc *crtc, in atombios_crtc_set_timing()
506 static u32 atombios_adjust_pll(struct drm_crtc *crtc, in atombios_adjust_pll()
[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()
298 void radeon_crtc_dpms(struct drm_crtc *crtc, int mode) in radeon_crtc_dpms()
348 int radeon_crtc_set_base(struct drm_crtc *crtc, int x, int y, in radeon_crtc_set_base()
354 int radeon_crtc_set_base_atomic(struct drm_crtc *crtc, in radeon_crtc_set_base_atomic()
361 int radeon_crtc_do_set_base(struct drm_crtc *crtc, in radeon_crtc_do_set_base()
538 static bool radeon_set_crtc_timing(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_crtc_timing()
697 static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) in radeon_set_pll()
990 static bool radeon_crtc_mode_fixup(struct drm_crtc *crtc, in radeon_crtc_mode_fixup()
999 static int radeon_crtc_mode_set(struct drm_crtc *crtc, in radeon_crtc_mode_set()
[all …]
Dradeon_kms.c128 struct drm_crtc *crtc; in radeon_info_ioctl() local
346 u32 radeon_get_vblank_counter_kms(struct drm_device *dev, int crtc) in radeon_get_vblank_counter_kms()
358 int radeon_enable_vblank_kms(struct drm_device *dev, int crtc) in radeon_enable_vblank_kms()
372 void radeon_disable_vblank_kms(struct drm_device *dev, int crtc) in radeon_disable_vblank_kms()
386 int radeon_get_vblank_timestamp_kms(struct drm_device *dev, int crtc, in radeon_get_vblank_timestamp_kms()
Dradeon_display.c36 static void avivo_crtc_load_lut(struct drm_crtc *crtc) in avivo_crtc_load_lut()
69 static void dce4_crtc_load_lut(struct drm_crtc *crtc) in dce4_crtc_load_lut()
99 static void dce5_crtc_load_lut(struct drm_crtc *crtc) in dce5_crtc_load_lut()
159 static void legacy_crtc_load_lut(struct drm_crtc *crtc) in legacy_crtc_load_lut()
183 void radeon_crtc_load_lut(struct drm_crtc *crtc) in radeon_crtc_load_lut()
202 void radeon_crtc_fb_gamma_set(struct drm_crtc *crtc, u16 red, u16 green, in radeon_crtc_fb_gamma_set()
213 void radeon_crtc_fb_gamma_get(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_fb_gamma_get()
223 static void radeon_crtc_gamma_set(struct drm_crtc *crtc, u16 *red, u16 *green, in radeon_crtc_gamma_set()
238 static void radeon_crtc_destroy(struct drm_crtc *crtc) in radeon_crtc_destroy()
338 static int radeon_crtc_page_flip(struct drm_crtc *crtc, in radeon_crtc_page_flip()
[all …]
/linux-3.3/drivers/video/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 …]
/linux-3.3/drivers/gpu/drm/gma500/
Dcdv_intel_display.c218 cdv_dpll_set_clock_cdv(struct drm_device *dev, struct drm_crtc *crtc, in cdv_dpll_set_clock_cdv()
347 bool cdv_intel_pipe_has_type(struct drm_crtc *crtc, int type) in cdv_intel_pipe_has_type()
364 static const struct cdv_intel_limit_t *cdv_intel_limit(struct drm_crtc *crtc, in cdv_intel_limit()
398 static bool cdv_intel_PLL_is_valid(struct drm_crtc *crtc, in cdv_intel_PLL_is_valid()
419 static bool cdv_intel_find_best_PLL(struct drm_crtc *crtc, int target, in cdv_intel_find_best_PLL()
479 int cdv_intel_pipe_set_base(struct drm_crtc *crtc, in cdv_intel_pipe_set_base()
562 static void cdv_intel_crtc_dpms(struct drm_crtc *crtc, int mode) in cdv_intel_crtc_dpms()
671 static void cdv_intel_crtc_prepare(struct drm_crtc *crtc) in cdv_intel_crtc_prepare()
677 static void cdv_intel_crtc_commit(struct drm_crtc *crtc) in cdv_intel_crtc_commit()
699 static bool cdv_intel_crtc_mode_fixup(struct drm_crtc *crtc, in cdv_intel_crtc_mode_fixup()
[all …]
Dpsb_intel_display.c169 static const struct psb_intel_limit_t *psb_intel_limit(struct drm_crtc *crtc) in psb_intel_limit()
209 bool psb_intel_pipe_has_type(struct drm_crtc *crtc, int type) in psb_intel_pipe_has_type()
232 static bool psb_intel_PLL_is_valid(struct drm_crtc *crtc, in psb_intel_PLL_is_valid()
268 static bool psb_intel_find_best_PLL(struct drm_crtc *crtc, int target, in psb_intel_find_best_PLL()
336 int psb_intel_pipe_set_base(struct drm_crtc *crtc, in psb_intel_pipe_set_base()
424 static void psb_intel_crtc_dpms(struct drm_crtc *crtc, int mode) in psb_intel_crtc_dpms()
527 static void psb_intel_crtc_prepare(struct drm_crtc *crtc) in psb_intel_crtc_prepare()
533 static void psb_intel_crtc_commit(struct drm_crtc *crtc) in psb_intel_crtc_commit()
563 static bool psb_intel_crtc_mode_fixup(struct drm_crtc *crtc, in psb_intel_crtc_mode_fixup()
588 static int psb_intel_crtc_mode_set(struct drm_crtc *crtc, in psb_intel_crtc_mode_set()
[all …]
Doaktrail_crtc.c85 static const struct oaktrail_limit_t *oaktrail_limit(struct drm_crtc *crtc) in oaktrail_limit()
129 mrstFindBestPLL(struct drm_crtc *crtc, int target, int refclk, in mrstFindBestPLL()
162 static void oaktrail_crtc_dpms(struct drm_crtc *crtc, int mode) in oaktrail_crtc_dpms()
288 static int oaktrail_crtc_mode_set(struct drm_crtc *crtc, in oaktrail_crtc_mode_set()
513 static bool oaktrail_crtc_mode_fixup(struct drm_crtc *crtc, in oaktrail_crtc_mode_fixup()
520 int oaktrail_pipe_set_base(struct drm_crtc *crtc, in oaktrail_pipe_set_base()
584 static void oaktrail_crtc_prepare(struct drm_crtc *crtc) in oaktrail_crtc_prepare()
590 static void oaktrail_crtc_commit(struct drm_crtc *crtc) in oaktrail_crtc_commit()
/linux-3.3/drivers/gpu/drm/i915/
Dintel_display.c359 static const intel_limit_t *intel_ironlake_limit(struct drm_crtc *crtc, in intel_ironlake_limit()
389 static const intel_limit_t *intel_g4x_limit(struct drm_crtc *crtc) in intel_g4x_limit()
416 static const intel_limit_t *intel_limit(struct drm_crtc *crtc, int refclk) in intel_limit()
468 bool intel_pipe_has_type(struct drm_crtc *crtc, int type) in intel_pipe_has_type()
517 intel_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc, in intel_find_best_PLL()
580 intel_g4x_find_best_PLL(const intel_limit_t *limit, struct drm_crtc *crtc, in intel_g4x_find_best_PLL()
644 intel_find_pll_ironlake_dp(const intel_limit_t *limit, struct drm_crtc *crtc, in intel_find_pll_ironlake_dp()
670 intel_find_pll_g4x_dp(const intel_limit_t *limit, struct drm_crtc *crtc, in intel_find_pll_g4x_dp()
1509 static void i8xx_enable_fbc(struct drm_crtc *crtc, unsigned long interval) in i8xx_enable_fbc()
1559 static void g4x_enable_fbc(struct drm_crtc *crtc, unsigned long interval) in g4x_enable_fbc()
[all …]
/linux-3.3/drivers/gpu/drm/r128/
Dr128_irq.c38 u32 r128_get_vblank_counter(struct drm_device *dev, int crtc) in r128_get_vblank_counter()
66 int r128_enable_vblank(struct drm_device *dev, int crtc) in r128_enable_vblank()
79 void r128_disable_vblank(struct drm_device *dev, int crtc) in r128_disable_vblank()
/linux-3.3/drivers/gpu/drm/mga/
Dmga_irq.c39 u32 mga_get_vblank_counter(struct drm_device *dev, int crtc) in mga_get_vblank_counter()
92 int mga_enable_vblank(struct drm_device *dev, int crtc) in mga_enable_vblank()
107 void mga_disable_vblank(struct drm_device *dev, int crtc) in mga_disable_vblank()
/linux-3.3/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ldu.c68 static void vmw_ldu_crtc_destroy(struct drm_crtc *crtc) in vmw_ldu_crtc_destroy()
79 struct drm_crtc *crtc = NULL; in vmw_ldu_commit_list() local
218 struct drm_crtc *crtc; in vmw_ldu_crtc_set_config() local
343 struct drm_crtc *crtc; in vmw_ldu_init() local

12345