Home
last modified time | relevance | path

Searched refs:pixel_clock (Results 1 – 25 of 95) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_hdmi.c81 int pixel_clock; member
160 .pixel_clock = 27000000,
169 .pixel_clock = 27027000,
178 .pixel_clock = 74176000,
187 .pixel_clock = 74250000,
196 .pixel_clock = 148500000,
208 .pixel_clock = 25200000,
217 .pixel_clock = 27000000,
226 .pixel_clock = 27027000,
235 .pixel_clock = 36000000,
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/
Det8ek8_mode.c46 .pixel_clock = 80000000,
147 .pixel_clock = 80000000,
203 .pixel_clock = 96533333,
259 .pixel_clock = 80000000,
315 .pixel_clock = 80000000,
371 .pixel_clock = 80000000,
426 .pixel_clock = 13333333,
482 .pixel_clock = 49400000,
538 .pixel_clock = 84266667,
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/
Ddcn_calc_auto.c176 …v->byte_per_pixel_in_detc[k], 2.0) / 2.0 * v->v_ratio[k] / 2) / (v->htotal[k] / v->pixel_clock[k]); in mode_support_and_system_configuration()
194 v->write_bandwidth[k] = v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0; in mode_support_and_system_configuration()
197 v->write_bandwidth[k] = v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 1.5; in mode_support_and_system_configuration()
242 …at[k] == dcn_bw_444 && v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) * 4.0 > (v-… in mode_support_and_system_configuration()
245 …== dcn_bw_writeback && v->scaler_rec_out_width[k] / (v->htotal[k] / v->pixel_clock[k]) >dcn_bw_min… in mode_support_and_system_configuration()
265 v->required_output_bw = v->pixel_clock[k] / 2.0; in mode_support_and_system_configuration()
268 v->required_output_bw = v->pixel_clock[k]; in mode_support_and_system_configuration()
272 v->required_output_bw = v->pixel_clock[k] * 3.0 / 2.0; in mode_support_and_system_configuration()
275 v->required_output_bw = v->pixel_clock[k] * 3.0; in mode_support_and_system_configuration()
331 …v->min_dppclk_using_single_dpp[k] = v->pixel_clock[k] *dcn_bw_max3(v->vtaps[k] / 6.0 *dcn_bw_min2(… in mode_support_and_system_configuration()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.c342 args.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dac()
403 if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock)) in amdgpu_atombios_encoder_setup_dvo()
411 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo()
415 if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock)) in amdgpu_atombios_encoder_setup_dvo()
421 args.dvo_v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo()
427 args.dvo_v4.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dvo()
611 args.v1.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dig_encoder()
619 else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock)) in amdgpu_atombios_encoder_setup_dig_encoder()
646 args.v3.usPixelClock = cpu_to_le16(amdgpu_encoder->pixel_clock / 10); in amdgpu_atombios_encoder_setup_dig_encoder()
654 else if (amdgpu_dig_monitor_is_duallink(encoder, amdgpu_encoder->pixel_clock)) in amdgpu_atombios_encoder_setup_dig_encoder()
[all …]
Damdgpu_encoders.c206 u32 pixel_clock) in amdgpu_dig_monitor_is_duallink() argument
226 if (pixel_clock > 340000) in amdgpu_dig_monitor_is_duallink()
231 if (pixel_clock > 165000) in amdgpu_dig_monitor_is_duallink()
248 if (pixel_clock > 340000) in amdgpu_dig_monitor_is_duallink()
253 if (pixel_clock > 165000) in amdgpu_dig_monitor_is_duallink()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_dpi.c92 struct clk *pixel_clock; member
123 clk_disable_unprepare(dpi->pixel_clock); in vc4_dpi_encoder_disable()
197 ret = clk_set_rate(dpi->pixel_clock, mode->clock * 1000); in vc4_dpi_encoder_enable()
201 ret = clk_prepare_enable(dpi->pixel_clock); in vc4_dpi_encoder_enable()
297 dpi->pixel_clock = devm_clk_get(dev, "pixel"); in vc4_dpi_bind()
298 if (IS_ERR(dpi->pixel_clock)) { in vc4_dpi_bind()
299 ret = PTR_ERR(dpi->pixel_clock); in vc4_dpi_bind()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Datombios_encoders.c398 args.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dac_setup()
454 args.sTVEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_tv_setup()
519 if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) in atombios_dvo_setup()
527 args.dvo.sDVOEncoder.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup()
531 if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) in atombios_dvo_setup()
537 args.dvo_v3.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup()
543 args.dvo_v4.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_dvo_setup()
613 args.v1.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_digital_setup()
622 if (radeon_dig_monitor_is_duallink(encoder, radeon_encoder->pixel_clock)) in atombios_digital_setup()
638 args.v2.usPixelClock = cpu_to_le16(radeon_encoder->pixel_clock / 10); in atombios_digital_setup()
[all …]
Dradeon_encoders.c371 u32 pixel_clock) in radeon_dig_monitor_is_duallink() argument
393 if (pixel_clock > 340000) in radeon_dig_monitor_is_duallink()
398 if (pixel_clock > 165000) in radeon_dig_monitor_is_duallink()
418 if (pixel_clock > 340000) in radeon_dig_monitor_is_duallink()
423 if (pixel_clock > 165000) in radeon_dig_monitor_is_duallink()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/camss/
Dcamss-csiphy-2ph-1-0.c60 static u8 csiphy_settle_cnt_calc(u32 pixel_clock, u8 bpp, u8 num_lanes, in csiphy_settle_cnt_calc() argument
71 mipi_clock = pixel_clock * bpp / (2 * num_lanes); in csiphy_settle_cnt_calc()
86 u32 pixel_clock, u8 bpp, u8 lane_mask) in csiphy_lanes_enable() argument
93 settle_cnt = csiphy_settle_cnt_calc(pixel_clock, bpp, c->num_data, in csiphy_lanes_enable()
Dcamss-csiphy.c105 u32 pixel_clock; in csiphy_set_clock_rates() local
109 ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock); in csiphy_set_clock_rates()
111 pixel_clock = 0; in csiphy_set_clock_rates()
123 u64 min_rate = pixel_clock * bpp / (2 * num_lanes * 4); in csiphy_set_clock_rates()
243 u32 pixel_clock; in csiphy_stream_on() local
250 ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock); in csiphy_stream_on()
256 if (!pixel_clock) { in csiphy_stream_on()
273 csiphy->ops->lanes_enable(csiphy, cfg, pixel_clock, bpp, lane_mask); in csiphy_stream_on()
Dcamss-csiphy-3ph-1-0.c114 static u8 csiphy_settle_cnt_calc(u32 pixel_clock, u8 bpp, u8 num_lanes, in csiphy_settle_cnt_calc() argument
124 mipi_clock = pixel_clock * bpp / (2 * num_lanes); in csiphy_settle_cnt_calc()
138 u32 pixel_clock, u8 bpp, u8 lane_mask) in csiphy_lanes_enable() argument
145 settle_cnt = csiphy_settle_cnt_calc(pixel_clock, bpp, c->num_data, in csiphy_lanes_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dbios_parser_types.h119 uint32_t pixel_clock; /* khz */ member
132 uint32_t pixel_clock; /* in KHz */ member
159 uint32_t pixel_clock; member
202 uint32_t pixel_clock; member
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dcommand_table.c241 params.usPixelClock = cpu_to_le16((uint16_t)(cntl->pixel_clock / 10)); in encoder_control_digx_v3()
287 params.usPixelClock = cpu_to_le16((uint16_t)(cntl->pixel_clock / 10)); in encoder_control_digx_v4()
327 params.ulPixelClock = cntl->pixel_clock / 10; in encoder_control_digx_v5()
490 cpu_to_le16((uint16_t)(cntl->pixel_clock / 20)); in transmitter_control_v2()
496 cpu_to_le16((uint16_t)(cntl->pixel_clock / 10)); in transmitter_control_v2()
627 cpu_to_le16((uint16_t)(cntl->pixel_clock / 20)); in transmitter_control_v3()
633 cpu_to_le16((uint16_t)(cntl->pixel_clock / 10)); in transmitter_control_v3()
753 cpu_to_le16((uint16_t)(cntl->pixel_clock / 20)); in transmitter_control_v4()
759 cpu_to_le16((uint16_t)(cntl->pixel_clock / 10)); in transmitter_control_v4()
832 params.usSymClock = cpu_to_le16((uint16_t) (cntl->pixel_clock / 10)); in transmitter_control_v1_5()
[all …]
Dcommand_table.h58 uint32_t pixel_clock,
63 uint32_t pixel_clock,
Dcommand_table2.h58 uint32_t pixel_clock,
63 uint32_t pixel_clock,
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov7251.c55 u32 pixel_clock; member
80 struct v4l2_ctrl *pixel_clock; member
531 .pixel_clock = 48000000,
545 .pixel_clock = 48000000,
559 .pixel_clock = 48000000,
1052 ret = __v4l2_ctrl_s_ctrl_int64(ov7251->pixel_clock, in ov7251_set_format()
1053 new_mode->pixel_clock); in ov7251_set_format()
1192 ret = __v4l2_ctrl_s_ctrl_int64(ov7251->pixel_clock, in ov7251_set_frame_interval()
1193 new_mode->pixel_clock); in ov7251_set_frame_interval()
1356 ov7251->pixel_clock = v4l2_ctrl_new_std(&ov7251->ctrls, in ov7251_probe()
Dov5645.c83 u32 pixel_clock; member
102 struct v4l2_ctrl *pixel_clock; member
523 .pixel_clock = 112000000,
531 .pixel_clock = 168000000,
539 .pixel_clock = 168000000,
932 ret = v4l2_ctrl_s_ctrl_int64(ov5645->pixel_clock, in ov5645_set_format()
933 new_mode->pixel_clock); in ov5645_set_format()
1156 ov5645->pixel_clock = v4l2_ctrl_new_std(&ov5645->ctrls, in ov5645_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c301 unsigned int pixel_clock = mode->clock; in meson_hdmi_phy_setup_mode() local
305 pixel_clock /= 2; in meson_hdmi_phy_setup_mode()
309 if (pixel_clock >= 371250) { in meson_hdmi_phy_setup_mode()
313 } else if (pixel_clock >= 297000) { in meson_hdmi_phy_setup_mode()
317 } else if (pixel_clock >= 148500) { in meson_hdmi_phy_setup_mode()
328 if (pixel_clock >= 371250) { in meson_hdmi_phy_setup_mode()
332 } else if (pixel_clock >= 297000) { in meson_hdmi_phy_setup_mode()
343 if (pixel_clock >= 371250) { in meson_hdmi_phy_setup_mode()
348 } else if (pixel_clock >= 297000) { in meson_hdmi_phy_setup_mode()
/kernel/linux/linux-5.10/drivers/phy/
Dphy-core-mipi-dphy.c22 int phy_mipi_dphy_get_default_config(unsigned long pixel_clock, in phy_mipi_dphy_get_default_config() argument
33 hs_clk_rate = pixel_clock * bpp; in phy_mipi_dphy_get_default_config()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_link_encoder.c1056 uint32_t pixel_clock) in dce110_link_encoder_enable_tmds_output() argument
1076 cntl.pixel_clock = pixel_clock; in dce110_link_encoder_enable_tmds_output()
1092 uint32_t pixel_clock) in dce110_link_encoder_enable_lvds_output() argument
1109 cntl.pixel_clock = pixel_clock; in dce110_link_encoder_enable_lvds_output()
1145 cntl.pixel_clock = link_settings->link_rate in dce110_link_encoder_enable_dp_output()
1184 cntl.pixel_clock = link_settings->link_rate in dce110_link_encoder_enable_dp_mst_output()
1224 cntl.pixel_clock = link_settings->link_rate in dce60_link_encoder_enable_dp_output()
1263 cntl.pixel_clock = link_settings->link_rate in dce60_link_encoder_enable_dp_mst_output()
1344 cntl.pixel_clock = link_settings->link_settings.link_rate * in dce110_link_encoder_dp_set_lane_settings()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/hw/
Dlink_encoder.h141 uint32_t pixel_clock);
150 uint32_t pixel_clock);
/kernel/linux/linux-5.10/drivers/staging/sm750fb/
Dddk750_mode.h28 unsigned long pixel_clock; member
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Doaktrail.h13 u16 pixel_clock; member
46 u16 pixel_clock; member
/kernel/linux/linux-5.10/drivers/video/fbdev/omap/
Dlcd_htcherald.c32 .pixel_clock = 6093,
Dlcd_palmte.c23 .pixel_clock = 12000,

1234