Lines Matching refs:tg
163 struct timing_generator *tg)
177 tg->funcs->get_otg_active_size(tg,
182 tg->funcs->get_optc_source(tg, &num_opps, &opp_id_src0, &opp_id_src1);
270 struct timing_generator *tg = res_pool->timing_generators[i];
272 if (tg->funcs->is_tg_enabled(tg)) {
273 dcn201_init_blank(dc, tg);
278 struct timing_generator *tg = res_pool->timing_generators[i];
280 if (tg->funcs->is_tg_enabled(tg))
281 tg->funcs->lock(tg);
302 struct timing_generator *tg = res_pool->timing_generators[i];
307 pipe_ctx->stream_res.tg = tg;
331 struct timing_generator *tg = res_pool->timing_generators[i];
333 if (tg->funcs->is_tg_enabled(tg))
334 tg->funcs->unlock(tg);
342 pipe_ctx->stream_res.tg = NULL;
347 struct timing_generator *tg = res_pool->timing_generators[i];
349 tg->funcs->tg_init(tg);
540 pipe->stream_res.tg->funcs->triplebuffer_lock(pipe->stream_res.tg);
542 pipe->stream_res.tg->funcs->triplebuffer_unlock(pipe->stream_res.tg);
545 pipe->stream_res.tg->funcs->lock(pipe->stream_res.tg);
547 pipe->stream_res.tg->funcs->unlock(pipe->stream_res.tg);