Home
last modified time | relevance | path

Searched refs:optc (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_optc.c44 bool optc2_enable_crtc(struct timing_generator *optc) in optc2_enable_crtc() argument
50 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_enable_crtc()
56 OPTC_SEG0_SRC_SEL, optc->inst); in optc2_enable_crtc()
75 void optc2_set_timing_db_mode(struct timing_generator *optc, bool enable) in optc2_set_timing_db_mode() argument
77 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_timing_db_mode()
89 void optc2_set_gsl(struct timing_generator *optc, in optc2_set_gsl() argument
92 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_set_gsl()
109 void optc2_use_gsl_as_master_update_lock(struct timing_generator *optc, in optc2_use_gsl_as_master_update_lock() argument
112 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc2_use_gsl_as_master_update_lock()
119 void optc2_set_gsl_window(struct timing_generator *optc, in optc2_set_gsl_window() argument
[all …]
Ddcn20_optc.h78 void dcn20_timing_generator_init(struct optc *optc);
80 bool optc2_enable_crtc(struct timing_generator *optc);
82 void optc2_set_gsl(struct timing_generator *optc,
85 void optc2_set_gsl_source_select(struct timing_generator *optc,
90 void optc2_set_dsc_config(struct timing_generator *optc,
96 void optc2_set_odm_bypass(struct timing_generator *optc,
99 void optc2_set_odm_combine(struct timing_generator *optc, int *opp_id, int opp_cnt,
102 void optc2_get_optc_source(struct timing_generator *optc,
107 void optc2_triplebuffer_lock(struct timing_generator *optc);
108 void optc2_triplebuffer_unlock(struct timing_generator *optc);
[all …]
Ddcn20_hwseq.c1344 struct timing_generator *optc; in dcn20_enable_writeback() local
1353 optc = dc->res_pool->timing_generators[stream_status->primary_otg_inst]; in dcn20_enable_writeback()
1354 optc->funcs->set_dwb_source(optc, wb_info->dwb_pipe_inst); in dcn20_enable_writeback()
Ddcn20_resource.c1011 struct optc *tgn10 = in dcn20_timing_generator_create()
1012 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn20_timing_generator_create()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c61 struct timing_generator *optc, in optc1_program_global_sync() argument
67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync()
90 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo() argument
92 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo()
103 struct timing_generator *optc, in optc1_setup_vertical_interrupt0() argument
107 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0()
115 struct timing_generator *optc, in optc1_setup_vertical_interrupt1() argument
118 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1()
125 struct timing_generator *optc, in optc1_setup_vertical_interrupt2() argument
128 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2()
[all …]
Ddcn10_optc.h32 container_of(tg, struct optc, base)
498 struct optc { struct
524 void dcn10_timing_generator_init(struct optc *optc); argument
547 void optc1_read_otg_state(struct optc *optc1,
555 struct timing_generator *optc,
559 struct timing_generator *optc,
569 struct timing_generator *optc,
573 struct timing_generator *optc,
576 struct timing_generator *optc,
580 struct timing_generator *optc,
[all …]
Ddcn10_resource.c720 struct optc *tgn10 = in dcn10_timing_generator_create()
721 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn10_timing_generator_create()
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h149 struct timing_generator *optc,
153 struct timing_generator *optc,
156 struct timing_generator *optc,
172 bool (*get_otg_active_size)(struct timing_generator *optc,
239 void (*set_dwb_source)(struct timing_generator *optc,
242 void (*get_optc_source)(struct timing_generator *optc,
262 void (*program_manual_trigger)(struct timing_generator *optc);
263 void (*setup_manual_trigger)(struct timing_generator *optc);
265 void (*set_vtg_params)(struct timing_generator *optc,
270 void (*set_dsc_config)(struct timing_generator *optc,
[all …]
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_resource.c1210 struct optc *tgn10 = in dcn21_timing_generator_create()
1211 kzalloc(sizeof(struct optc), GFP_KERNEL); in dcn21_timing_generator_create()