Home
last modified time | relevance | path

Searched refs:pixelclock (Results 1 – 25 of 72) sorted by relevance

123

/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
Dsdi.c31 unsigned long pixelclock; member
147 unsigned long pixelclock = mode->clock * 1000; in sdi_bridge_mode_valid() local
152 if (pixelclock == 0) in sdi_bridge_mode_valid()
155 ret = sdi_calc_clock_div(sdi, pixelclock, &fck, &dispc_cinfo); in sdi_bridge_mode_valid()
167 unsigned long pixelclock = mode->clock * 1000; in sdi_bridge_mode_fixup() local
173 ret = sdi_calc_clock_div(sdi, pixelclock, &fck, &dispc_cinfo); in sdi_bridge_mode_fixup()
179 if (pck != pixelclock) in sdi_bridge_mode_fixup()
182 pixelclock, pck); in sdi_bridge_mode_fixup()
195 sdi->pixelclock = adjusted_mode->clock * 1000; in sdi_bridge_mode_set()
213 r = sdi_calc_clock_div(sdi, sdi->pixelclock, &fck, &dispc_cinfo); in sdi_bridge_enable()
Ddpi.c40 unsigned long pixelclock; member
334 r = dpi_set_pll_clk(dpi, dpi->pixelclock); in dpi_set_mode()
336 r = dpi_set_dispc_clk(dpi, dpi->pixelclock); in dpi_set_mode()
480 dpi->pixelclock = adjusted_mode->clock * 1000; in dpi_bridge_mode_set()
Dhdmi4.c167 pc = vm->pixelclock; in hdmi_power_on_full()
394 hdmi->cfg.vm.pixelclock); in hdmi4_bridge_enable()
591 hd->cfg.vm.pixelclock); in hdmi_audio_config()
/linux-6.1.9/drivers/media/i2c/
Dths7303.c145 state->bt.pixelclock = 0; in ths7303_s_std_output()
170 if (state->bt.pixelclock > 120000000) in ths7303_config()
172 else if (state->bt.pixelclock > 70000000) in ths7303_config()
174 else if (state->bt.pixelclock > 20000000) in ths7303_config()
287 if (state->bt.pixelclock) { in ths7303_log_status()
297 (int)bt->pixelclock / in ths7303_log_status()
300 (int)bt->pixelclock, bt->polarities); in ths7303_log_status()
Dad9389b.c267 static void ad9389b_set_manual_pll_gear(struct v4l2_subdev *sd, u32 pixelclock) in ad9389b_set_manual_pll_gear() argument
284 if (pixelclock > 140000000) in ad9389b_set_manual_pll_gear()
286 else if (pixelclock > 117000000) in ad9389b_set_manual_pll_gear()
288 else if (pixelclock > 87000000) in ad9389b_set_manual_pll_gear()
290 else if (pixelclock > 60000000) in ad9389b_set_manual_pll_gear()
613 ad9389b_set_manual_pll_gear(sd, (u32)timings->bt.pixelclock); in ad9389b_s_dv_timings()
/linux-6.1.9/drivers/gpu/drm/panel/
Dpanel-simple.c793 .pixelclock = { 34500000, 39600000, 50400000 },
823 .pixelclock = { 26400000, 33300000, 46800000 },
897 .pixelclock = { 33300000, 34209000, 45000000 },
997 .pixelclock = { 134000000, 141200000, 149000000 },
1051 .pixelclock = { 120000000, 144000000, 175000000 },
1081 .pixelclock = { 90000000, 108000000, 135000000 },
1111 .pixelclock = { 106000000, 148500000, 164000000 },
1341 .pixelclock = { 68900000, 71100000, 73400000 },
1447 .pixelclock = { 5000000, 9000000, 12000000 },
1472 .pixelclock = { 68900000, 71110000, 73400000 },
[all …]
Dpanel-olimex-lcd-olinuxino.c28 u32 pixelclock; member
160 mode->clock = lcd_mode->pixelclock; in lcd_olinuxino_get_modes()
/linux-6.1.9/drivers/video/fbdev/omap2/omapfb/dss/
Ddpi.c334 r = dpi_set_dsi_clk(dpi, mgr->id, t->pixelclock, &fck, in dpi_set_mode()
337 r = dpi_set_dispc_clk(dpi, t->pixelclock, &fck, in dpi_set_mode()
344 if (pck != t->pixelclock) { in dpi_set_mode()
346 t->pixelclock, pck); in dpi_set_mode()
348 t->pixelclock = pck; in dpi_set_mode()
508 if (timings->pixelclock == 0) in dpi_check_timings()
512 ok = dpi_dsi_clk_calc(dpi, timings->pixelclock, &ctx); in dpi_check_timings()
518 ok = dpi_dss_clk_calc(timings->pixelclock, &ctx); in dpi_check_timings()
530 timings->pixelclock = pck; in dpi_check_timings()
Dsdi.c145 r = sdi_calc_clock_div(t->pixelclock, &fck, &dispc_cinfo); in sdi_display_enable()
153 if (pck != t->pixelclock) { in sdi_display_enable()
155 t->pixelclock, pck); in sdi_display_enable()
157 t->pixelclock = pck; in sdi_display_enable()
239 if (timings->pixelclock == 0) in sdi_check_timings()
Ddisplay.c264 ovt->pixelclock = vm->pixelclock; in videomode_to_omap_video_timings()
296 vm->pixelclock = ovt->pixelclock; in omap_video_timings_to_videomode()
Dhdmi5.c174 hdmi_pll_compute(&hdmi.pll, p->pixelclock, &hdmi_cinfo); in hdmi_power_on_full()
277 dispc_set_tv_pclk(timings->pixelclock); in hdmi_display_set_timing()
368 hdmi.cfg.timings.pixelclock); in hdmi_display_enable()
662 hd->cfg.timings.pixelclock); in hdmi_audio_config()
Dhdmi4.c162 hdmi_pll_compute(&hdmi.pll, p->pixelclock, &hdmi_cinfo); in hdmi_power_on_full()
256 dispc_set_tv_pclk(timings->pixelclock); in hdmi_display_set_timing()
338 hdmi.cfg.timings.pixelclock); in hdmi_display_enable()
630 hd->cfg.timings.pixelclock); in hdmi_audio_config()
Ddisplay-sysfs.c97 t.pixelclock, in display_timings_show()
122 &t.pixelclock, in display_timings_store()
/linux-6.1.9/drivers/video/
Dvideomode.c16 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
/linux-6.1.9/drivers/gpu/ipu-v3/
Dipu-di.c424 clk_set_rate(clk, sig->mode.pixelclock); in ipu_di_config_clock()
427 div = DIV_ROUND_CLOSEST(in_rate, sig->mode.pixelclock); in ipu_di_config_clock()
444 div = DIV_ROUND_CLOSEST(clkrate, sig->mode.pixelclock); in ipu_di_config_clock()
448 error = rate / (sig->mode.pixelclock / 1000); in ipu_di_config_clock()
465 clk_set_rate(clk, sig->mode.pixelclock); in ipu_di_config_clock()
468 div = DIV_ROUND_CLOSEST(in_rate, sig->mode.pixelclock); in ipu_di_config_clock()
495 sig->mode.pixelclock, in ipu_di_config_clock()
573 sig->mode.pixelclock); in ipu_di_init_sync_panel()
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-dv-timings.c158 bt->pixelclock < cap->min_pixelclock || in v4l2_valid_dv_timings()
159 bt->pixelclock > cap->max_pixelclock || in v4l2_valid_dv_timings()
277 t1->bt.pixelclock >= t2->bt.pixelclock - pclock_delta && in v4l2_match_dv_timings()
278 t1->bt.pixelclock <= t2->bt.pixelclock + pclock_delta && in v4l2_match_dv_timings()
312 fps = (htot * vtot) > 0 ? div_u64((100 * (u64)bt->pixelclock), in v4l2_print_dv_timings()
338 pr_info("%s: pixelclock: %llu\n", dev_prefix, bt->pixelclock); in v4l2_print_dv_timings()
420 pclk = bt->pixelclock; in v4l2_calc_timeperframe()
652 fmt->bt.pixelclock = pix_clk; in v4l2_detect_cvt()
810 fmt->bt.pixelclock = pix_clk; in v4l2_detect_gtf()
/linux-6.1.9/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c278 int pixelclock; in adv748x_hdmi_query_dv_timings() local
289 pixelclock = adv748x_hdmi_read_pixelclock(state); in adv748x_hdmi_query_dv_timings()
290 if (pixelclock < 0) in adv748x_hdmi_query_dv_timings()
295 bt->pixelclock = pixelclock; in adv748x_hdmi_query_dv_timings()
408 return adv748x_csi2_set_pixelrate(tx, timings.bt.pixelclock); in adv748x_hdmi_propagate_pixelrate()
/linux-6.1.9/drivers/gpu/drm/mediatek/
Dmtk_dpi.c513 pll_rate = vm.pixelclock * factor; in mtk_dpi_set_display_mode()
516 pll_rate, vm.pixelclock); in mtk_dpi_set_display_mode()
526 vm.pixelclock = pll_rate / factor; in mtk_dpi_set_display_mode()
527 vm.pixelclock /= dpi->conf->pixels_per_iter; in mtk_dpi_set_display_mode()
531 clk_set_rate(dpi->pixel_clk, vm.pixelclock * 2); in mtk_dpi_set_display_mode()
533 clk_set_rate(dpi->pixel_clk, vm.pixelclock); in mtk_dpi_set_display_mode()
536 vm.pixelclock = clk_get_rate(dpi->pixel_clk); in mtk_dpi_set_display_mode()
539 pll_rate, vm.pixelclock); in mtk_dpi_set_display_mode()
/linux-6.1.9/include/video/
Dvideomode.h19 unsigned long pixelclock; /* pixelclock in Hz */ member
Ddisplay_timing.h64 struct timing_entry pixelclock; member
/linux-6.1.9/drivers/gpu/drm/bridge/analogix/
Danx7625.c362 static int anx7625_calculate_m_n(u32 pixelclock, in anx7625_calculate_m_n() argument
367 if (pixelclock > PLL_OUT_FREQ_ABS_MAX / POST_DIVIDER_MIN) { in anx7625_calculate_m_n()
370 pixelclock, in anx7625_calculate_m_n()
375 if (pixelclock < PLL_OUT_FREQ_ABS_MIN / POST_DIVIDER_MAX) { in anx7625_calculate_m_n()
378 pixelclock, in anx7625_calculate_m_n()
384 pixelclock < (PLL_OUT_FREQ_MIN / (*post_divider));) in anx7625_calculate_m_n()
389 (pixelclock < in anx7625_calculate_m_n()
412 if (pixelclock * (*post_divider) > PLL_OUT_FREQ_ABS_MAX) { in anx7625_calculate_m_n()
414 pixelclock * (*post_divider), in anx7625_calculate_m_n()
419 *m = pixelclock; in anx7625_calculate_m_n()
[all …]
/linux-6.1.9/Documentation/userspace-api/media/v4l/
Dvidioc-dv-timings-cap.rst81 - Minimum pixelclock frequency in Hz.
84 - Maximum pixelclock frequency in Hz.
/linux-6.1.9/drivers/gpu/drm/xen/
Dxen_drm_front_conn.c81 videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; in connector_get_modes()
/linux-6.1.9/Documentation/fb/
Dmodedb.rst92 pixelclock, the horizontal sync frequency, or the vertical refresh rate.
95 It artificially increases the pixelclock because of its high blanking
97 data rate which requires that it conserves the pixelclock as much as possible.
/linux-6.1.9/drivers/gpu/drm/imx/dcss/
Ddcss-dtg.c210 u32 pixclock = vm->pixelclock; in dcss_dtg_sync_set()
224 clk_set_rate(dcss->pix_clk, vm->pixelclock); in dcss_dtg_sync_set()

123