Lines Matching refs:pxlclk
51 u64 pxlclk, aclk; in komeda_crtc_update_clock_ratio() local
58 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio()
61 kcrtc_st->clock_ratio = div64_u64(aclk << 32, pxlclk); in komeda_crtc_update_clock_ratio()
151 err = clk_set_rate(master->pxlclk, mode->crtc_clock * 1000); in komeda_crtc_prepare()
154 err = clk_prepare_enable(master->pxlclk); in komeda_crtc_prepare()
190 clk_disable_unprepare(master->pxlclk); in komeda_crtc_unprepare()
403 unsigned long pxlclk) in komeda_calc_min_aclk_rate() argument
409 return pxlclk * 2; in komeda_calc_min_aclk_rate()
411 return pxlclk; in komeda_calc_min_aclk_rate()
419 unsigned long pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000; in komeda_crtc_get_aclk() local
422 min_aclk = komeda_calc_min_aclk_rate(to_kcrtc(crtc), pxlclk); in komeda_crtc_get_aclk()
442 if (min_pxlclk != clk_round_rate(master->pxlclk, min_pxlclk)) { in komeda_crtc_mode_valid()
478 adjusted_mode->crtc_clock = clk_round_rate(kcrtc->master->pxlclk, in komeda_crtc_mode_fixup()