/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 244 int vsyncandback_porch, __maybe_unused vback_porch, hblank; in drm_cvt_mode() local 278 hblank = drm_mode->hdisplay * hblank_percentage / (0x64 * HV_FACTOR - hblank_percentage); in drm_cvt_mode() 279 hblank -= hblank % (0x2 * CVT_H_GRANULARITY); in drm_cvt_mode() 281 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 282 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 0x2; in drm_cvt_mode() 395 unsigned int hblank, total_pixels, pixel_freq; in drm_gtf_mode_complex() local 491 hblank = total_active_pixels * ideal_duty_cycle / (0xf4240 - ideal_duty_cycle); in drm_gtf_mode_complex() 492 hblank = (hblank in drm_gtf_mode_complex() [all...] |
H A D | drm_edid.c | 2595 unsigned hblank = (pt->hactive_hblank_hi & 0xf) << 0x8 | pt->hblank_lo; in drm_mode_detailed() local 2646 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed() 5323 unsigned hblank = (timings->hblank[0] | timings->hblank[1] << 0x8) + 1; in drm_mode_displayid_detailed() local 5342 mode->htotal = mode->hdisplay + hblank; in drm_mode_displayid_detailed()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/ |
H A D | drv_hdmi_dfm.c | 139 info->htotal = in->hactive + in->hblank;
in dfm_base_info_init() 215 info->c_frl_free = max(((in->hblank * kcd) / k420) / DFM_MAGNIFICATION_8 - 32 * (1 + info->audio_packets) - 7, 0);
in dfm_info_init() 224 info->blank_tb_per_line = (in->hblank * kcd / k420 + DFM_MAGNIFICATION_8 - 1) / DFM_MAGNIFICATION_8; /* step1.23 */
in dfm_info_init() 234 info->blank_time_ref = dfm_div((hi_s64)info->min_time_line * in->hblank, info->htotal);
in dfm_info_init()
|
H A D | drv_hdmi_dfm.h | 88 hi_s32 hblank;
member
|
H A D | drv_hdmi_frl.c | 208 dfm->hblank = video_def->hblank;
in frl_dfm_construct()
|
H A D | drv_hdmi_common.h | 1066 hi_u32 hblank; member
|
/device/soc/rockchip/common/vendor/drivers/media/i2c/ |
H A D | gc2093.c | 142 struct v4l2_ctrl *hblank;
member 640 gc2093->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK, h_blank, h_blank, 1, h_blank);
in gc2093_initialize_controls() 641 if (gc2093->hblank) {
in gc2093_initialize_controls() 642 gc2093->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY;
in gc2093_initialize_controls() 861 __v4l2_ctrl_modify_range(gc2093->hblank, w, w, 1, w);
in gc2093_ioctl() 1152 __v4l2_ctrl_modify_range(gc2093->hblank, h_blank, h_blank, 1, h_blank);
in gc2093_set_fmt()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/i2c/ |
H A D | ov13855.c | 132 struct v4l2_ctrl *hblank; member 1213 __v4l2_ctrl_modify_range(ov13855->hblank, h_blank, in ov13855_set_fmt() 1834 ov13855->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK, in ov13855_initialize_controls() 1836 if (ov13855->hblank) in ov13855_initialize_controls() 1837 ov13855->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov13855_initialize_controls()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | dw-dp.c | 1288 u32 hactive, hblank, h_sync_width, h_front_porch; in dw_dp_video_enable() local 1322 hblank = mode->htotal - mode->hdisplay; in dw_dp_video_enable() 1323 value = FIELD_PREP(HACTIVE, hactive) | FIELD_PREP(HBLANK, hblank); in dw_dp_video_enable() 1361 } else if (hblank <= 0x50 && color_format != DRM_COLOR_FORMAT_YCRCB420) { in dw_dp_video_enable() 1363 } else if (hblank <= 0x28 && color_format == DRM_COLOR_FORMAT_YCRCB420) { in dw_dp_video_enable() 1439 hblank_interval = hblank * (link->rate / 0x4) / mode->clock; in dw_dp_video_enable()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | dw-dp.c | 1295 u32 hactive, hblank, h_sync_width, h_front_porch; in dw_dp_video_enable() local 1326 hblank = mode->htotal - mode->hdisplay; in dw_dp_video_enable() 1327 value = FIELD_PREP(HACTIVE, hactive) | FIELD_PREP(HBLANK, hblank); in dw_dp_video_enable() 1370 else if (hblank <= 80 && color_format != DRM_COLOR_FORMAT_YCRCB420) in dw_dp_video_enable() 1372 else if (hblank <= 40 && color_format == DRM_COLOR_FORMAT_YCRCB420) in dw_dp_video_enable() 1441 hblank_interval = hblank * (link->rate / 4) / mode->clock; in dw_dp_video_enable()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi.c | 2397 int hblank, vblank, h_de_hs, v_de_vs, hsync_len, vsync_len; in hdmi_av_composer() local 2445 hblank = mode->htotal - mode->hdisplay; in hdmi_av_composer() 2455 hblank /= 0x2; in hdmi_av_composer() 2522 hdmi_writeb(hdmi, hblank >> 0x8, HDMI_FC_INHBLANK1); in hdmi_av_composer() 2523 hdmi_writeb(hdmi, hblank, HDMI_FC_INHBLANK0); in hdmi_av_composer()
|