/linux-6.12.1/drivers/gpu/drm/omapdrm/dss/ |
D | sdi.c | 31 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()
|
D | dpi.c | 40 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()
|
/linux-6.12.1/drivers/media/i2c/ |
D | ths7303.c | 145 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() 286 if (state->bt.pixelclock) { in ths7303_log_status() 296 (int)bt->pixelclock / in ths7303_log_status() 299 (int)bt->pixelclock, bt->polarities); in ths7303_log_status()
|
/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-simple.c | 826 .pixelclock = { 29930000, 33260000, 36590000 }, 867 .pixelclock = { 34500000, 39600000, 50400000 }, 897 .pixelclock = { 26400000, 33300000, 46800000 }, 1003 .pixelclock = { 33300000, 34209000, 45000000 }, 1103 .pixelclock = { 60000000, 74400000, 90000000 }, 1127 .pixelclock = { 134000000, 141200000, 149000000 }, 1157 .pixelclock = { 137000000, 141000000, 146000000 }, 1212 .pixelclock = { 120000000, 144000000, 175000000 }, 1242 .pixelclock = { 90000000, 108000000, 135000000 }, 1272 .pixelclock = { 106000000, 148500000, 164000000 }, [all …]
|
D | panel-olimex-lcd-olinuxino.c | 28 u32 pixelclock; member 124 mode->clock = lcd_mode->pixelclock; in lcd_olinuxino_get_modes()
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dpi.c | 334 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()
|
D | sdi.c | 145 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()
|
D | display.c | 264 ovt->pixelclock = vm->pixelclock; in videomode_to_omap_video_timings() 296 vm->pixelclock = ovt->pixelclock; in omap_video_timings_to_videomode()
|
D | hdmi4.c | 163 hdmi_pll_compute(&hdmi.pll, p->pixelclock, &hdmi_cinfo); in hdmi_power_on_full() 257 dispc_set_tv_pclk(timings->pixelclock); in hdmi_display_set_timing() 339 hdmi.cfg.timings.pixelclock); in hdmi_display_enable() 631 hd->cfg.timings.pixelclock); in hdmi_audio_config()
|
D | hdmi5.c | 175 hdmi_pll_compute(&hdmi.pll, p->pixelclock, &hdmi_cinfo); in hdmi_power_on_full() 278 dispc_set_tv_pclk(timings->pixelclock); in hdmi_display_set_timing() 369 hdmi.cfg.timings.pixelclock); in hdmi_display_enable() 663 hd->cfg.timings.pixelclock); in hdmi_audio_config()
|
D | display-sysfs.c | 98 t.pixelclock, in display_timings_show() 123 &t.pixelclock, in display_timings_store()
|
/linux-6.12.1/drivers/video/ |
D | videomode.c | 16 vm->pixelclock = dt->pixelclock.typ; in videomode_from_timing()
|
/linux-6.12.1/drivers/gpu/ipu-v3/ |
D | ipu-di.c | 424 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.12.1/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 158 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.12.1/drivers/media/i2c/adv748x/ |
D | adv748x-hdmi.c | 278 int pixelclock; in adv748x_hdmi_query_dv_timings() local 299 pixelclock = adv748x_hdmi_read_pixelclock(state); in adv748x_hdmi_query_dv_timings() 300 if (pixelclock < 0) in adv748x_hdmi_query_dv_timings() 305 bt->pixelclock = pixelclock; in adv748x_hdmi_query_dv_timings() 415 return adv748x_csi2_set_pixelrate(tx, timings.bt.pixelclock); in adv748x_hdmi_propagate_pixelrate()
|
/linux-6.12.1/drivers/gpu/drm/mediatek/ |
D | mtk_dpi.c | 521 pll_rate = vm.pixelclock * factor; in mtk_dpi_set_display_mode() 524 pll_rate, vm.pixelclock); in mtk_dpi_set_display_mode() 534 vm.pixelclock = pll_rate / factor; in mtk_dpi_set_display_mode() 535 vm.pixelclock /= dpi->conf->pixels_per_iter; in mtk_dpi_set_display_mode() 539 clk_set_rate(dpi->pixel_clk, vm.pixelclock * 2); in mtk_dpi_set_display_mode() 541 clk_set_rate(dpi->pixel_clk, vm.pixelclock); in mtk_dpi_set_display_mode() 544 vm.pixelclock = clk_get_rate(dpi->pixel_clk); in mtk_dpi_set_display_mode() 547 pll_rate, vm.pixelclock); in mtk_dpi_set_display_mode()
|
/linux-6.12.1/include/video/ |
D | videomode.h | 19 unsigned long pixelclock; /* pixelclock in Hz */ member
|
D | display_timing.h | 64 struct timing_entry pixelclock; member
|
/linux-6.12.1/drivers/gpu/drm/bridge/analogix/ |
D | anx7625.c | 360 static int anx7625_calculate_m_n(u32 pixelclock, in anx7625_calculate_m_n() argument 365 if (pixelclock > PLL_OUT_FREQ_ABS_MAX / POST_DIVIDER_MIN) { in anx7625_calculate_m_n() 368 pixelclock, in anx7625_calculate_m_n() 373 if (pixelclock < PLL_OUT_FREQ_ABS_MIN / POST_DIVIDER_MAX) { in anx7625_calculate_m_n() 376 pixelclock, in anx7625_calculate_m_n() 382 pixelclock < (PLL_OUT_FREQ_MIN / (*post_divider));) in anx7625_calculate_m_n() 387 (pixelclock < in anx7625_calculate_m_n() 410 if (pixelclock * (*post_divider) > PLL_OUT_FREQ_ABS_MAX) { in anx7625_calculate_m_n() 412 pixelclock * (*post_divider), in anx7625_calculate_m_n() 417 *m = pixelclock; in anx7625_calculate_m_n() [all …]
|
/linux-6.12.1/drivers/gpu/drm/bridge/ |
D | tc358768.c | 788 tc358768_dpi_to_ns(vm.hsync_len, vm.pixelclock), in tc358768_bridge_pre_enable() 789 tc358768_dpi_to_ns(vm.hback_porch, vm.pixelclock), in tc358768_bridge_pre_enable() 790 tc358768_dpi_to_ns(vm.hactive, vm.pixelclock), in tc358768_bridge_pre_enable() 791 tc358768_dpi_to_ns(vm.hfront_porch, vm.pixelclock), in tc358768_bridge_pre_enable() 792 tc358768_dpi_to_ns(dpi_htot, vm.pixelclock)); in tc358768_bridge_pre_enable() 795 tc358768_dpi_to_ns(vm.hsync_len, vm.pixelclock), in tc358768_bridge_pre_enable() 796 tc358768_dpi_to_ns(vm.hback_porch, vm.pixelclock), in tc358768_bridge_pre_enable() 797 tc358768_dpi_to_ns(dpi_data_start, vm.pixelclock)); in tc358768_bridge_pre_enable()
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-dv-timings-cap.rst | 81 - Minimum pixelclock frequency in Hz. 84 - Maximum pixelclock frequency in Hz.
|
/linux-6.12.1/drivers/gpu/drm/xen/ |
D | xen_drm_front_conn.c | 81 videomode.pixelclock = width * height * XEN_DRM_CRTC_VREFRESH_HZ; in connector_get_modes()
|
/linux-6.12.1/drivers/gpu/drm/imx/dcss/ |
D | dcss-dtg.c | 194 u32 pixclock = vm->pixelclock; in dcss_dtg_sync_set() 208 clk_set_rate(dcss->pix_clk, vm->pixelclock); in dcss_dtg_sync_set()
|
/linux-6.12.1/drivers/media/test-drivers/vivid/ |
D | vivid-vid-out.c | 216 u64 pixelclock; in vivid_update_format_out() local 240 pixelclock = div_u64(bt->pixelclock * 1000, 1001); in vivid_update_format_out() 242 pixelclock = bt->pixelclock; in vivid_update_format_out() 245 size / 100, (u32)pixelclock / 100 in vivid_update_format_out()
|
D | vivid-vid-cap.c | 373 u64 pixelclock; in vivid_update_format_cap() local 404 pixelclock = div_u64(bt->pixelclock * 1000, 1001); in vivid_update_format_cap() 407 pixelclock = bt->pixelclock; in vivid_update_format_cap() 411 size / 100, (u32)pixelclock / 100 in vivid_update_format_cap() 1459 h_freq = (u32)bt->pixelclock / total_h_pixel; in valid_cvt_gtf_timings() 1519 timings->bt.pixelclock = vivid_dv_timings_cap.bt.max_pixelclock * 2; in vidioc_query_dv_timings()
|