Lines Matching refs:pixel_clk
440 unsigned int h_active, h_total, hblank_delta, pixel_clk; in calc_hblank_early_prog() local
447 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog()
459 if (WARN_ON(!link_clk || !pixel_clk || !lanes || !vdsc_bppx16 || !cdclk)) in calc_hblank_early_prog()
462 link_clks_available = (h_total - h_active) * link_clk / pixel_clk - 28; in calc_hblank_early_prog()
463 link_clks_required = DIV_ROUND_UP(192000 * h_total, 1000 * pixel_clk) * (48 / lanes + 2); in calc_hblank_early_prog()
468 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
471 tu_data = div64_u64(mul_u32_u32(pixel_clk * vdsc_bppx16 * 8, 1000000), in calc_hblank_early_prog()
474 mul_u32_u32(64 * pixel_clk, 1000000)); in calc_hblank_early_prog()
477 …hblank_rise = (link_clks_active + 6 * DIV_ROUND_UP(link_clks_active, 250) + 4) * pixel_clk / link_… in calc_hblank_early_prog()
484 unsigned int h_active, h_total, pixel_clk; in calc_samples_room() local
489 pixel_clk = crtc_state->hw.adjusted_mode.clock; in calc_samples_room()
493 return ((h_total - h_active) * link_clk - 12 * pixel_clk) / in calc_samples_room()
494 (pixel_clk * (48 / lanes + 2)); in calc_samples_room()