Home
last modified time | relevance | path

Searched refs:tg110 (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_timing_generator.c43 generic_reg_update_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__)
46 generic_reg_set_soc15(tg110->base.ctx, tg110->offsets.crtc, reg_name, n, __VA_ARGS__)
89 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_is_in_vertical_blank() local
93 tg110->offsets.crtc); in dce120_timing_generator_is_in_vertical_blank()
111 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_validate_timing() local
120 if (v_blank < tg110->min_v_blank || in dce120_timing_generator_validate_timing()
121 timing->h_sync_width < tg110->min_h_sync_width || in dce120_timing_generator_validate_timing()
122 timing->v_sync_width < tg110->min_v_sync_width) in dce120_timing_generator_validate_timing()
139 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce120_timing_generator_enable_crtc() local
151 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, true); in dce120_timing_generator_enable_crtc()
[all …]
Ddce120_timing_generator.h35 struct dce110_timing_generator *tg110,
Ddce120_resource.c458 struct dce110_timing_generator *tg110 = in dce120_timing_generator_create() local
461 if (!tg110) in dce120_timing_generator_create()
464 dce120_timing_generator_construct(tg110, ctx, instance, offsets); in dce120_timing_generator_create()
465 return &tg110->base; in dce120_timing_generator_create()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_timing_generator.c83 #define CRTC_REG(reg) (reg + tg110->offsets.crtc)
84 #define DCP_REG(reg) (reg + tg110->offsets.dcp)
85 #define DMIF_REG(reg) (reg + tg110->offsets.dmif)
123 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce80_timing_generator_enable_advanced_request() local
220 struct dce110_timing_generator *tg110, in dce80_timing_generator_construct() argument
225 tg110->controller_id = CONTROLLER_ID_D0 + instance; in dce80_timing_generator_construct()
226 tg110->base.inst = instance; in dce80_timing_generator_construct()
227 tg110->offsets = *offsets; in dce80_timing_generator_construct()
228 tg110->derived_offsets = reg_offsets[instance]; in dce80_timing_generator_construct()
230 tg110->base.funcs = &dce80_tg_funcs; in dce80_timing_generator_construct()
[all …]
Ddce80_resource.c442 struct dce110_timing_generator *tg110 = in dce80_timing_generator_create() local
445 if (!tg110) in dce80_timing_generator_create()
448 dce80_timing_generator_construct(tg110, ctx, instance, offsets); in dce80_timing_generator_create()
449 return &tg110->base; in dce80_timing_generator_create()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_timing_generator.c48 #define CRTC_REG(reg) (reg + tg110->offsets.crtc)
49 #define DCP_REG(reg) (reg + tg110->offsets.dcp)
97 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_is_in_vertical_blank() local
110 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_set_early_control() local
127 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_enable_crtc() local
146 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, true); in dce110_timing_generator_enable_crtc()
155 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_program_blank_color() local
191 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg);
236 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce110_timing_generator_disable_crtc() local
238 result = tg->bp->funcs->enable_crtc(tg->bp, tg110->controller_id, false); in dce110_timing_generator_disable_crtc()
[all …]
Ddce110_timing_generator_v.c685 struct dce110_timing_generator *tg110, in dce110_timing_generator_v_construct() argument
688 tg110->controller_id = CONTROLLER_ID_UNDERLAY0; in dce110_timing_generator_v_construct()
690 tg110->base.funcs = &dce110_tg_v_funcs; in dce110_timing_generator_v_construct()
692 tg110->base.ctx = ctx; in dce110_timing_generator_v_construct()
693 tg110->base.bp = ctx->dc_bios; in dce110_timing_generator_v_construct()
695 tg110->max_h_total = CRTC_H_TOTAL__CRTC_H_TOTAL_MASK + 1; in dce110_timing_generator_v_construct()
696 tg110->max_v_total = CRTC_V_TOTAL__CRTC_V_TOTAL_MASK + 1; in dce110_timing_generator_v_construct()
698 tg110->min_h_blank = 56; in dce110_timing_generator_v_construct()
699 tg110->min_h_front_porch = 4; in dce110_timing_generator_v_construct()
700 tg110->min_h_back_porch = 4; in dce110_timing_generator_v_construct()
Ddce110_timing_generator_v.h30 struct dce110_timing_generator *tg110,
Ddce110_resource.c424 struct dce110_timing_generator *tg110 = in dce110_timing_generator_create() local
427 if (!tg110) in dce110_timing_generator_create()
430 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce110_timing_generator_create()
431 return &tg110->base; in dce110_timing_generator_create()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c411 struct dce110_timing_generator *tg110 = in dce100_timing_generator_create() local
414 if (!tg110) in dce100_timing_generator_create()
417 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce100_timing_generator_create()
418 return &tg110->base; in dce100_timing_generator_create()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c430 struct dce110_timing_generator *tg110 = in dce112_timing_generator_create() local
433 if (!tg110) in dce112_timing_generator_create()
436 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce112_timing_generator_create()
437 return &tg110->base; in dce112_timing_generator_create()