Home
last modified time | relevance | path

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

/linux-6.6.21/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.c580 struct dce110_timing_generator *tg110 = in dce120_timing_generator_create() local
583 if (!tg110) in dce120_timing_generator_create()
586 dce120_timing_generator_construct(tg110, ctx, instance, offsets); in dce120_timing_generator_create()
587 return &tg110->base; in dce120_timing_generator_create()
/linux-6.6.21/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)
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce80_timing_generator_enable_advanced_request() local
226 struct dce110_timing_generator *tg110, in dce80_timing_generator_construct() argument
231 tg110->controller_id = CONTROLLER_ID_D0 + instance; in dce80_timing_generator_construct()
232 tg110->base.inst = instance; in dce80_timing_generator_construct()
233 tg110->offsets = *offsets; in dce80_timing_generator_construct()
234 tg110->derived_offsets = reg_offsets[instance]; in dce80_timing_generator_construct()
236 tg110->base.funcs = &dce80_tg_funcs; in dce80_timing_generator_construct()
[all …]
Ddce80_resource.c506 struct dce110_timing_generator *tg110 = in dce80_timing_generator_create() local
509 if (!tg110) in dce80_timing_generator_create()
512 dce80_timing_generator_construct(tg110, ctx, instance, offsets); in dce80_timing_generator_create()
513 return &tg110->base; in dce80_timing_generator_create()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_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)
128 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_timing_generator_enable_advanced_request() local
183 struct dce110_timing_generator *tg110 = DCE110TG_FROM_TG(tg); in dce60_is_tg_enabled() local
244 struct dce110_timing_generator *tg110, in dce60_timing_generator_construct() argument
249 tg110->controller_id = CONTROLLER_ID_D0 + instance; in dce60_timing_generator_construct()
250 tg110->base.inst = instance; in dce60_timing_generator_construct()
251 tg110->offsets = *offsets; in dce60_timing_generator_construct()
252 tg110->derived_offsets = reg_offsets[instance]; in dce60_timing_generator_construct()
[all …]
Ddce60_resource.c499 struct dce110_timing_generator *tg110 = in dce60_timing_generator_create() local
502 if (!tg110) in dce60_timing_generator_create()
505 dce60_timing_generator_construct(tg110, ctx, instance, offsets); in dce60_timing_generator_create()
506 return &tg110->base; in dce60_timing_generator_create()
/linux-6.6.21/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.c689 struct dce110_timing_generator *tg110, in dce110_timing_generator_v_construct() argument
692 tg110->controller_id = CONTROLLER_ID_UNDERLAY0; in dce110_timing_generator_v_construct()
694 tg110->base.funcs = &dce110_tg_v_funcs; in dce110_timing_generator_v_construct()
696 tg110->base.ctx = ctx; in dce110_timing_generator_v_construct()
697 tg110->base.bp = ctx->dc_bios; in dce110_timing_generator_v_construct()
699 tg110->max_h_total = CRTC_H_TOTAL__CRTC_H_TOTAL_MASK + 1; in dce110_timing_generator_v_construct()
700 tg110->max_v_total = CRTC_V_TOTAL__CRTC_V_TOTAL_MASK + 1; in dce110_timing_generator_v_construct()
702 tg110->min_h_blank = 56; in dce110_timing_generator_v_construct()
703 tg110->min_h_front_porch = 4; in dce110_timing_generator_v_construct()
704 tg110->min_h_back_porch = 4; in dce110_timing_generator_v_construct()
Ddce110_timing_generator_v.h30 struct dce110_timing_generator *tg110,
Ddce110_resource.c514 struct dce110_timing_generator *tg110 = in dce110_timing_generator_create() local
517 if (!tg110) in dce110_timing_generator_create()
520 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce110_timing_generator_create()
521 return &tg110->base; in dce110_timing_generator_create()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_resource.c466 struct dce110_timing_generator *tg110 = in dce100_timing_generator_create() local
469 if (!tg110) in dce100_timing_generator_create()
472 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce100_timing_generator_create()
473 return &tg110->base; in dce100_timing_generator_create()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce112/
Ddce112_resource.c495 struct dce110_timing_generator *tg110 = in dce112_timing_generator_create() local
498 if (!tg110) in dce112_timing_generator_create()
501 dce110_timing_generator_construct(tg110, ctx, instance, offsets); in dce112_timing_generator_create()
502 return &tg110->base; in dce112_timing_generator_create()