Lines Matching refs:pxlclk
23 u64 pxlclk, aclk; in komeda_crtc_update_clock_ratio() local
30 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio()
33 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
121 err = clk_set_rate(master->pxlclk, mode->crtc_clock * 1000); in komeda_crtc_prepare()
124 err = clk_prepare_enable(master->pxlclk); in komeda_crtc_prepare()
160 clk_disable_unprepare(master->pxlclk); in komeda_crtc_unprepare()
340 unsigned long pxlclk) in komeda_calc_min_aclk_rate() argument
346 return pxlclk * 2; in komeda_calc_min_aclk_rate()
348 return pxlclk; in komeda_calc_min_aclk_rate()
356 unsigned long pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000; in komeda_crtc_get_aclk() local
359 min_aclk = komeda_calc_min_aclk_rate(to_kcrtc(crtc), pxlclk); in komeda_crtc_get_aclk()
379 if (min_pxlclk != clk_round_rate(master->pxlclk, min_pxlclk)) { in komeda_crtc_mode_valid()
415 adjusted_mode->crtc_clock = clk_round_rate(kcrtc->master->pxlclk, in komeda_crtc_mode_fixup()