Lines Matching refs:timing
482 const struct display_timing *timing, in tegra_dc_dp_calc_config() argument
507 if (!link_rate || !link_cfg->lane_count || !timing->pixelclock.typ || in tegra_dc_dp_calc_config()
511 if ((u64)timing->pixelclock.typ * link_cfg->bits_per_pixel >= in tegra_dc_dp_calc_config()
515 num_linkclk_line = (u32)(lldiv(link_rate * timing->hactive.typ, in tegra_dc_dp_calc_config()
516 timing->pixelclock.typ)); in tegra_dc_dp_calc_config()
518 ratio_f = (u64)timing->pixelclock.typ * link_cfg->bits_per_pixel * f; in tegra_dc_dp_calc_config()
598 num_symbols_per_line = (timing->hactive.typ * in tegra_dc_dp_calc_config()
619 link_cfg->hblank_sym = (int)lldiv(((uint64_t)timing->hback_porch.typ + in tegra_dc_dp_calc_config()
620 timing->hfront_porch.typ + timing->hsync_len.typ - 7) * in tegra_dc_dp_calc_config()
621 link_rate, timing->pixelclock.typ) - in tegra_dc_dp_calc_config()
636 link_cfg->vblank_sym = (int)lldiv(((uint64_t)timing->hactive.typ - 25) in tegra_dc_dp_calc_config()
637 * link_rate, timing->pixelclock.typ) - (36 / in tegra_dc_dp_calc_config()
652 const struct display_timing *timing, in tegra_dc_dp_init_max_link_cfg() argument
712 tegra_dc_dp_calc_config(dp, timing, link_cfg); in tegra_dc_dp_init_max_link_cfg()
980 const struct display_timing *timing, in tegra_dp_lower_link_config() argument
991 ret = tegra_dc_dp_calc_config(dp, timing, cfg); in tegra_dp_lower_link_config()
1189 const struct display_timing *timing, in tegra_dc_dp_full_link_training() argument
1205 if (!tegra_dp_lower_link_config(dp, timing, cfg)) in tegra_dc_dp_full_link_training()
1214 if (!tegra_dp_lower_link_config(dp, timing, cfg)) in tegra_dc_dp_full_link_training()
1306 const struct display_timing *timing, in tegra_dp_do_link_training() argument
1331 ret = tegra_dc_dp_full_link_training(dp, timing, link_cfg); in tegra_dp_do_link_training()
1351 const struct display_timing *timing) in tegra_dc_dp_explore_link_cfg() argument
1355 if (!timing->pixelclock.typ || !timing->hactive.typ || in tegra_dc_dp_explore_link_cfg()
1356 !timing->vactive.typ) { in tegra_dc_dp_explore_link_cfg()
1375 if ((!tegra_dc_dp_calc_config(dp, timing, &temp_cfg)) && in tegra_dc_dp_explore_link_cfg()
1377 (!tegra_dp_do_link_training(dp, &temp_cfg, timing, sor))) in tegra_dc_dp_explore_link_cfg()
1424 const struct display_timing *timing) in tegra_dc_dp_check_sink() argument
1454 timing)) { in tegra_dc_dp_check_sink()
1460 tegra_dc_sor_attach(dp->dc_dev, dp->sor, link_cfg, timing); in tegra_dc_dp_check_sink()
1469 const struct display_timing *timing) in tegra_dp_enable() argument
1490 if (tegra_dc_dp_init_max_link_cfg(timing, priv, link_cfg)) { in tegra_dp_enable()
1533 if (tegra_dc_dp_explore_link_cfg(priv, link_cfg, sor, timing)) { in tegra_dp_enable()
1539 ret = tegra_dc_sor_attach(priv->dc_dev, sor, link_cfg, timing); in tegra_dp_enable()
1548 ret = tegra_dc_dp_check_sink(priv, link_cfg, timing); in tegra_dp_enable()