/Linux-v5.4/drivers/video/fbdev/core/ |
D | fbcvt.c | 42 u32 hblank; member 103 u32 hblank = 0; in fb_cvt_hblank() local 106 hblank = FB_CVT_RB_HBLANK; in fb_cvt_hblank() 112 hblank = (active_pixels * 20000)/ in fb_cvt_hblank() 115 hblank = (active_pixels * ideal_duty_cycle)/ in fb_cvt_hblank() 120 hblank &= ~((2 * FB_CVT_CELLSIZE) - 1); in fb_cvt_hblank() 122 return hblank; in fb_cvt_hblank() 364 cvt.hblank = fb_cvt_hblank(&cvt); in fb_find_mode_cvt() 365 cvt.htotal = cvt.active_pixels + cvt.hblank; in fb_find_mode_cvt() 369 cvt.h_back_porch = cvt.hblank/2 + cvt.h_margin; in fb_find_mode_cvt() [all …]
|
D | fbmon.c | 1021 u32 hblank; member 1073 u32 c_val, m_val, duty_cycle, hblank; in fb_get_hblank_by_hfreq() local 1080 hblank = (xres * duty_cycle)/(100000 - duty_cycle); in fb_get_hblank_by_hfreq() 1081 return (hblank); in fb_get_hblank_by_hfreq() 1107 u32 duty_cycle, h_period, hblank; in fb_get_hblank_by_dclk() local 1121 hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8; in fb_get_hblank_by_dclk() 1122 hblank &= ~15; in fb_get_hblank_by_dclk() 1123 return (hblank); in fb_get_hblank_by_dclk() 1153 timings->hblank = fb_get_hblank_by_hfreq(timings->hfreq, in fb_timings_vfreq() 1155 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq() [all …]
|
/Linux-v5.4/drivers/gpu/drm/gma500/ |
D | mdfld_device.c | 191 pipe->hblank = PSB_RVDC32(map->hblank); in mdfld_save_display_registers() 317 PSB_WVDC32(pipe->hblank, map->hblank); in mdfld_restore_display_registers() 446 .hblank = HBLANK_A, 468 .hblank = HBLANK_B, 491 .hblank = HBLANK_C,
|
D | oaktrail_device.c | 204 p->hblank = PSB_RVDC32(HBLANK_A); in oaktrail_save_display_registers() 324 PSB_WVDC32(p->hblank, HBLANK_A); in oaktrail_restore_display_registers() 462 .hblank = HBLANK_A, 486 .hblank = HBLANK_B,
|
D | psb_device.c | 259 .hblank = HBLANK_A, 283 .hblank = HBLANK_B,
|
/Linux-v5.4/drivers/media/i2c/ |
D | ov13858.c | 1037 struct v4l2_ctrl *hblank; member 1395 __v4l2_ctrl_modify_range(ov13858->hblank, h_blank, in ov13858_set_pad_format() 1596 s64 hblank; in ov13858_init_controls() local 1634 hblank = link_freq_configs[mode->link_freq_index].pixels_per_line - in ov13858_init_controls() 1636 ov13858->hblank = v4l2_ctrl_new_std( in ov13858_init_controls() 1638 hblank, hblank, 1, hblank); in ov13858_init_controls() 1639 if (ov13858->hblank) in ov13858_init_controls() 1640 ov13858->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov13858_init_controls()
|
D | imx319.c | 123 struct v4l2_ctrl *hblank; member 2078 __v4l2_ctrl_modify_range(imx319->hblank, h_blank, in imx319_set_pad_format() 2271 s64 hblank; in imx319_init_controls() local 2307 hblank = mode->llp - mode->width; in imx319_init_controls() 2308 imx319->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &imx319_ctrl_ops, in imx319_init_controls() 2309 V4L2_CID_HBLANK, hblank, hblank, in imx319_init_controls() 2310 1, hblank); in imx319_init_controls() 2311 if (imx319->hblank) in imx319_init_controls() 2312 imx319->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in imx319_init_controls()
|
D | imx355.c | 109 struct v4l2_ctrl *hblank; member 1379 __v4l2_ctrl_modify_range(imx355->hblank, h_blank, in imx355_set_pad_format() 1571 s64 hblank; in imx355_init_controls() local 1607 hblank = mode->llp - mode->width; in imx355_init_controls() 1608 imx355->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &imx355_ctrl_ops, in imx355_init_controls() 1609 V4L2_CID_HBLANK, hblank, hblank, in imx355_init_controls() 1610 1, hblank); in imx355_init_controls() 1611 if (imx355->hblank) in imx355_init_controls() 1612 imx355->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in imx355_init_controls()
|
D | mt9v011.c | 204 unsigned height, width, hblank, vblank, speed; in calc_fps() local 211 hblank = mt9v011_read(sd, R05_MT9V011_HBLANK); in calc_fps() 215 row_time = (width + 113 + hblank) * (speed + 2); in calc_fps() 234 unsigned height, width, hblank, vblank; in calc_speed() local 244 hblank = mt9v011_read(sd, R05_MT9V011_HBLANK); in calc_speed() 247 row_time = width + 113 + hblank; in calc_speed()
|
D | imx258.c | 599 struct v4l2_ctrl *hblank; member 903 __v4l2_ctrl_modify_range(imx258->hblank, h_blank, in imx258_set_pad_format() 1144 imx258->hblank = v4l2_ctrl_new_std( in imx258_init_controls() 1151 if (imx258->hblank) in imx258_init_controls() 1152 imx258->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in imx258_init_controls()
|
D | mt9v032.c | 213 u16 hblank; member 250 unsigned int hblank; in mt9v032_update_hblank() local 256 hblank = max_t(unsigned int, mt9v032->hblank, min_hblank); in mt9v032_update_hblank() 259 hblank); in mt9v032_update_hblank() 660 mt9v032->hblank = ctrl->val; in mt9v032_s_ctrl() 1155 mt9v032->hblank = MT9V032_HORIZONTAL_BLANKING_DEF; in mt9v032_probe()
|
D | ov5670.c | 1823 struct v4l2_ctrl *hblank; member 2096 ov5670->hblank = v4l2_ctrl_new_std( in ov5670_init_controls() 2101 if (ov5670->hblank) in ov5670_init_controls() 2102 ov5670->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5670_init_controls() 2245 __v4l2_ctrl_modify_range(ov5670->hblank, h_blank, h_blank, 1, in ov5670_set_pad_format()
|
D | ov5695.c | 107 struct v4l2_ctrl *hblank; member 830 __v4l2_ctrl_modify_range(ov5695->hblank, h_blank, in ov5695_set_fmt() 1179 ov5695->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK, in ov5695_initialize_controls() 1181 if (ov5695->hblank) in ov5695_initialize_controls() 1182 ov5695->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5695_initialize_controls()
|
D | ov8856.c | 573 struct v4l2_ctrl *hblank; member 793 ov8856->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov8856_ctrl_ops, in ov8856_init_controls() 796 if (ov8856->hblank) in ov8856_init_controls() 797 ov8856->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov8856_init_controls() 981 __v4l2_ctrl_modify_range(ov8856->hblank, h_blank, h_blank, 1, in ov8856_set_format()
|
D | ov5675.c | 481 struct v4l2_ctrl *hblank; member 702 ov5675->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov5675_ctrl_ops, in ov5675_init_controls() 705 if (ov5675->hblank) in ov5675_init_controls() 706 ov5675->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov5675_init_controls() 891 __v4l2_ctrl_modify_range(ov5675->hblank, h_blank, h_blank, 1, in ov5675_set_format()
|
D | ov2685.c | 95 struct v4l2_ctrl *hblank; member 639 ov2685->hblank = v4l2_ctrl_new_std(handler, NULL, V4L2_CID_HBLANK, in ov2685_initialize_controls() 641 if (ov2685->hblank) in ov2685_initialize_controls() 642 ov2685->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov2685_initialize_controls()
|
D | mt9v111.c | 130 struct v4l2_ctrl *hblank; member 520 ret = v4l2_ctrl_s_ctrl_int64(mt9v111->hblank, hb); in mt9v111_calc_frame_rate() 1058 mt9v111->hblank->val); in mt9v111_s_ctrl() 1167 mt9v111->hblank = v4l2_ctrl_new_std(&mt9v111->ctrls, &mt9v111_ctrl_ops, in mt9v111_probe()
|
/Linux-v5.4/drivers/gpu/drm/ |
D | drm_modes.c | 236 int vsyncandback_porch, vback_porch, hblank; in drm_cvt_mode() local 273 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode() 275 hblank -= hblank % (2 * CVT_H_GRANULARITY); in drm_cvt_mode() 277 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 278 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode() 394 unsigned int hblank, total_pixels, pixel_freq; in drm_gtf_mode_complex() local 487 hblank = total_active_pixels * ideal_duty_cycle / in drm_gtf_mode_complex() 489 hblank = (hblank + GTF_CELL_GRAN) / (2 * GTF_CELL_GRAN); in drm_gtf_mode_complex() 490 hblank = hblank * 2 * GTF_CELL_GRAN; in drm_gtf_mode_complex() 492 total_pixels = total_active_pixels + hblank; in drm_gtf_mode_complex() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_encoders.c | 153 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() local 166 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 179 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 329 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup() local 344 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup() 359 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
|
/Linux-v5.4/drivers/media/pci/cx18/ |
D | cx18-av-core.c | 285 int hblank, hactive, burst, vblank, vactive, sc; in cx18_av_std_setup() local 347 hblank = 132; in cx18_av_std_setup() 408 hblank = 122; in cx18_av_std_setup() 470 hblank, hactive, vblank, vactive, vblank656, in cx18_av_std_setup() 476 cx18_av_write(cx, 0x470, hblank); in cx18_av_std_setup() 478 (((hblank >> 8) & 0x3) | (hactive << 4)) & 0xff); in cx18_av_std_setup()
|
/Linux-v5.4/include/drm/ |
D | drm_displayid.h | 81 u8 hblank[2]; member
|
/Linux-v5.4/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi5_core.c | 287 video_cfg->hblank = cfg->vm.hfront_porch + in hdmi_core_init() 308 video_cfg->hblank *= 2; in hdmi_core_init() 345 REG_FLD_MOD(base, HDMI_CORE_FC_INHBLANK1, cfg->hblank >> 8, 4, 0); in hdmi_core_video_config() 346 REG_FLD_MOD(base, HDMI_CORE_FC_INHBLANK0, cfg->hblank & 0xFF, 7, 0); in hdmi_core_video_config()
|
/Linux-v5.4/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 101 struct v4l2_ctrl *hblank; member 198 v4l2_ctrl_g_ctrl(xtpg->hblank) + width); in xtpg_s_stream() 847 xtpg->hblank = v4l2_ctrl_new_std(&xtpg->ctrl_handler, &xtpg_ctrl_ops, in xtpg_probe()
|
/Linux-v5.4/drivers/video/fbdev/aty/ |
D | radeon_monitor.c | 218 rinfo->panel_info.hblank = (BIOS_IN16(tmp0+17) - BIOS_IN16(tmp0+19)) * 8; in radeon_get_panel_info_BIOS() 235 pr_debug(" hblank: %d\n", rinfo->panel_info.hblank); in radeon_get_panel_info_BIOS() 695 rinfo->panel_info.hblank = var->left_margin + in radeon_var_to_panel_info() 810 var->left_margin = (rinfo->panel_info.hblank - rinfo->panel_info.hOver_plus in radeon_check_modes()
|