Lines Matching refs:pixel_clk
524 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local
531 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog()
543 if (WARN_ON(!link_clk || !pixel_clk || !lanes || !vdsc_bpp || !cdclk)) in calc_hblank_early_prog()
546 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog()
547 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); in calc_hblank_early_prog()
552 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
555 tu_data = div64_u64(mul_u32_u32(pixel_clk * vdsc_bpp * 8, 1000000), in calc_hblank_early_prog()
558 mul_u32_u32(64 * pixel_clk, 1000000)); in calc_hblank_early_prog()
561 …hblank_rise = (link_clks_active + 6 * DIV_ROUND_UP(link_clks_active, 250) + 4) * pixel_clk / link_… in calc_hblank_early_prog()
568 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local
573 pixel_clk = crtc_state->hw.adjusted_mode.clock; in calc_samples_room()
577 return ((h_total - h_active) * link_clk - 12 * pixel_clk) / in calc_samples_room()
578 (pixel_clk * (48 / lanes + 2)); in calc_samples_room()