Home
last modified time | relevance | path

Searched refs:mode_clock (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c1426 unsigned long mode_clock = adjusted_mode->clock * 1000; in zynqmp_disp_crtc_setup_clock() local
1431 ret = clk_set_rate(disp->pclk, mode_clock); in zynqmp_disp_crtc_setup_clock()
1438 diff = rate - mode_clock; in zynqmp_disp_crtc_setup_clock()
1439 if (abs(diff) > mode_clock / 20) in zynqmp_disp_crtc_setup_clock()
1442 mode_clock, rate); in zynqmp_disp_crtc_setup_clock()
1446 mode_clock, rate); in zynqmp_disp_crtc_setup_clock()
/linux-6.1.9/drivers/gpu/drm/arm/
Dhdlcd_drv.c208 unsigned long mode_clock = hdlcd->crtc.mode.crtc_clock * 1000; in hdlcd_show_pxlclock() local
211 seq_printf(m, "mode: %lu\n", mode_clock); in hdlcd_show_pxlclock()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-sn65dsi83.c281 int mode_clock = mode->clock; in sn65dsi83_get_lvds_range() local
284 mode_clock /= 2; in sn65dsi83_get_lvds_range()
286 return (mode_clock - 12500) / 25000; in sn65dsi83_get_lvds_range()
Dchipone-icn6211.c254 unsigned int mode_clock = mode->clock * 1000; in chipone_configure_pll() local
300 m = mode_clock / freq_s; in chipone_configure_pll()
314 delta = abs(mode_clock - freq_out); in chipone_configure_pll()
/linux-6.1.9/drivers/gpu/drm/rcar-du/
Drcar_du_crtc.c216 unsigned long mode_clock = mode->clock * 1000; in rcar_du_crtc_set_display_timing() local
222 unsigned long target = mode_clock; in rcar_du_crtc_set_display_timing()
276 rcar_du_escr_divider(rcrtc->clock, mode_clock, in rcar_du_crtc_set_display_timing()
279 rcar_du_escr_divider(rcrtc->extclock, mode_clock, in rcar_du_crtc_set_display_timing()
283 mode_clock, params.clk == rcrtc->clock ? "cpg" : "ext", in rcar_du_crtc_set_display_timing()
/linux-6.1.9/drivers/gpu/drm/tiny/
Darcpgu.c345 unsigned long mode_clock = arcpgu->pipe.crtc.mode.crtc_clock * 1000; in arcpgu_show_pxlclock() local
348 seq_printf(m, "mode: %lu\n", mode_clock); in arcpgu_show_pxlclock()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dp.h105 u32 intel_dp_mode_to_fec_clock(u32 mode_clock);
Dintel_dp.c658 u32 intel_dp_mode_to_fec_clock(u32 mode_clock) in intel_dp_mode_to_fec_clock() argument
660 return div_u64(mul_u32_u32(mode_clock, 1000000U), in intel_dp_mode_to_fec_clock()
677 u32 mode_clock, u32 mode_hdisplay, in intel_dp_dsc_get_output_bpp() argument
691 intel_dp_mode_to_fec_clock(mode_clock); in intel_dp_dsc_get_output_bpp()
709 intel_dp_mode_to_fec_clock(mode_clock); in intel_dp_dsc_get_output_bpp()
741 int mode_clock, int mode_hdisplay, in intel_dp_dsc_get_slice_count() argument
748 if (mode_clock <= DP_DSC_PEAK_PIXEL_RATE) in intel_dp_dsc_get_slice_count()
749 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
752 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
Dintel_sdvo.c833 int mode_clock; in intel_sdvo_get_dtd_from_mode() local
850 mode_clock = mode->clock; in intel_sdvo_get_dtd_from_mode()
851 mode_clock /= 10; in intel_sdvo_get_dtd_from_mode()
852 dtd->part1.clock = mode_clock; in intel_sdvo_get_dtd_from_mode()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c105 unsigned mode_clock, max_tmds_clock; in amdgpu_connector_get_monitor_bpc() local
168 mode_clock = amdgpu_connector->pixelclock_for_modeset; in amdgpu_connector_get_monitor_bpc()
174 connector->name, mode_clock, max_tmds_clock); in amdgpu_connector_get_monitor_bpc()
177 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
179 (mode_clock * 5/4 <= max_tmds_clock)) in amdgpu_connector_get_monitor_bpc()
188 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_connectors.c106 int mode_clock, max_tmds_clock; in radeon_get_monitor_bpc() local
176 mode_clock = radeon_connector->pixelclock_for_modeset; in radeon_get_monitor_bpc()
182 connector->name, mode_clock, max_tmds_clock); in radeon_get_monitor_bpc()
185 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in radeon_get_monitor_bpc()
187 (mode_clock * 5/4 <= max_tmds_clock)) in radeon_get_monitor_bpc()
196 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in radeon_get_monitor_bpc()