Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_dp.h112 u32 mode_clock, u32 mode_hdisplay,
117 int mode_clock, int mode_hdisplay,
127 u32 intel_dp_mode_to_fec_clock(u32 mode_clock);
Dintel_dp.c681 u32 intel_dp_mode_to_fec_clock(u32 mode_clock) in intel_dp_mode_to_fec_clock() argument
683 return div_u64(mul_u32_u32(mode_clock, 1000000U), in intel_dp_mode_to_fec_clock()
745 u32 mode_clock, u32 mode_hdisplay, in intel_dp_dsc_get_output_bpp() argument
769 (intel_dp_mode_to_fec_clock(mode_clock) * 8); in intel_dp_dsc_get_output_bpp()
775 intel_dp_mode_to_fec_clock(mode_clock)); in intel_dp_dsc_get_output_bpp()
793 intel_dp_mode_to_fec_clock(mode_clock); in intel_dp_dsc_get_output_bpp()
808 int mode_clock, int mode_hdisplay, in intel_dp_dsc_get_slice_count() argument
815 if (mode_clock <= DP_DSC_PEAK_PIXEL_RATE) in intel_dp_dsc_get_slice_count()
816 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
819 min_slice_count = DIV_ROUND_UP(mode_clock, in intel_dp_dsc_get_slice_count()
[all …]
Dintel_sdvo.c832 int mode_clock; in intel_sdvo_get_dtd_from_mode() local
849 mode_clock = mode->clock; in intel_sdvo_get_dtd_from_mode()
850 mode_clock /= 10; in intel_sdvo_get_dtd_from_mode()
851 dtd->part1.clock = mode_clock; in intel_sdvo_get_dtd_from_mode()
/linux-6.6.21/drivers/gpu/drm/xlnx/
Dzynqmp_disp.c1197 unsigned long mode_clock) in zynqmp_disp_setup_clock() argument
1203 ret = clk_set_rate(disp->dpsub->vid_clk, mode_clock); in zynqmp_disp_setup_clock()
1210 diff = rate - mode_clock; in zynqmp_disp_setup_clock()
1211 if (abs(diff) > mode_clock / 20) in zynqmp_disp_setup_clock()
1214 mode_clock, rate); in zynqmp_disp_setup_clock()
1218 mode_clock, rate); in zynqmp_disp_setup_clock()
Dzynqmp_disp.h58 unsigned long mode_clock);
/linux-6.6.21/drivers/gpu/drm/arm/
Dhdlcd_drv.c213 unsigned long mode_clock = hdlcd->crtc.mode.crtc_clock * 1000; in hdlcd_show_pxlclock() local
216 seq_printf(m, "mode: %lu\n", mode_clock); in hdlcd_show_pxlclock()
/linux-6.6.21/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.6.21/drivers/gpu/drm/renesas/rcar-du/
Drcar_du_crtc.c210 unsigned long mode_clock = mode->clock * 1000; in rcar_du_crtc_set_display_timing() local
216 unsigned long target = mode_clock; in rcar_du_crtc_set_display_timing()
256 rcar_du_escr_divider(rcrtc->clock, mode_clock, in rcar_du_crtc_set_display_timing()
259 rcar_du_escr_divider(rcrtc->extclock, mode_clock, in rcar_du_crtc_set_display_timing()
263 mode_clock, params.clk == rcrtc->clock ? "cpg" : "ext", in rcar_du_crtc_set_display_timing()
/linux-6.6.21/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.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_connectors.c106 unsigned mode_clock, max_tmds_clock; in amdgpu_connector_get_monitor_bpc() local
169 mode_clock = amdgpu_connector->pixelclock_for_modeset; in amdgpu_connector_get_monitor_bpc()
175 connector->name, mode_clock, max_tmds_clock); in amdgpu_connector_get_monitor_bpc()
178 if ((bpc == 12) && (mode_clock * 3/2 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
180 (mode_clock * 5/4 <= max_tmds_clock)) in amdgpu_connector_get_monitor_bpc()
189 if ((bpc == 10) && (mode_clock * 5/4 > max_tmds_clock)) { in amdgpu_connector_get_monitor_bpc()
/linux-6.6.21/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()