Lines Matching refs:pixel_clk
526 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local
533 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog()
545 if (WARN_ON(!link_clk || !pixel_clk || !lanes || !vdsc_bpp || !cdclk)) in calc_hblank_early_prog()
548 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog()
549 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); in calc_hblank_early_prog()
554 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
557 tu_data = div64_u64(mul_u32_u32(pixel_clk * vdsc_bpp * 8, 1000000), in calc_hblank_early_prog()
560 mul_u32_u32(64 * pixel_clk, 1000000)); in calc_hblank_early_prog()
563 …hblank_rise = (link_clks_active + 6 * DIV_ROUND_UP(link_clks_active, 250) + 4) * pixel_clk / link_… in calc_hblank_early_prog()
570 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local
575 pixel_clk = crtc_state->hw.adjusted_mode.clock; in calc_samples_room()
579 return ((h_total - h_active) * link_clk - 12 * pixel_clk) / in calc_samples_room()
580 (pixel_clk * (48 / lanes + 2)); in calc_samples_room()