Searched refs:mode_clock (Results 1 – 11 of 11) sorted by relevance
/drivers/gpu/drm/xlnx/ |
D | zynqmp_disp.c | 1426 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()
|
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_crtc.c | 210 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()
|
/drivers/gpu/drm/bridge/ |
D | ti-sn65dsi83.c | 281 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()
|
D | chipone-icn6211.c | 254 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()
|
/drivers/gpu/drm/arm/ |
D | hdlcd_drv.c | 208 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()
|
/drivers/gpu/drm/tiny/ |
D | arcpgu.c | 345 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()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_connectors.c | 105 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()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dp.h | 105 u32 intel_dp_mode_to_fec_clock(u32 mode_clock);
|
D | intel_dp.c | 658 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()
|
D | intel_sdvo.c | 832 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()
|
/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 106 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()
|