| /linux/drivers/video/fbdev/core/ |
| H A 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() 353 cvt.hblank = fb_cvt_hblank(&cvt); in fb_find_mode_cvt() 354 cvt.htotal = cvt.active_pixels + cvt.hblank; in fb_find_mode_cvt() 358 cvt.h_back_porch = cvt.hblank/2 + cvt.h_margin; in fb_find_mode_cvt() [all …]
|
| H A D | fbmon.c | 1027 u32 hblank; member 1079 u32 c_val, m_val, duty_cycle, hblank; in fb_get_hblank_by_hfreq() local 1086 hblank = (xres * duty_cycle)/(100000 - duty_cycle); in fb_get_hblank_by_hfreq() 1087 return (hblank); in fb_get_hblank_by_hfreq() 1112 u32 duty_cycle, h_period, hblank; in fb_get_hblank_by_dclk() local 1126 hblank = (xres * duty_cycle)/(100000 - duty_cycle) + 8; in fb_get_hblank_by_dclk() 1127 hblank &= ~15; in fb_get_hblank_by_dclk() 1128 return (hblank); in fb_get_hblank_by_dclk() 1158 timings->hblank = fb_get_hblank_by_hfreq(timings->hfreq, in fb_timings_vfreq() 1160 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq() [all …]
|
| /linux/drivers/media/i2c/ |
| H A D | mt9v011.c | 202 unsigned height, width, hblank, vblank, speed; in calc_fps() local 209 hblank = mt9v011_read(sd, R05_MT9V011_HBLANK); in calc_fps() 213 row_time = (width + 113 + hblank) * (speed + 2); in calc_fps() 232 unsigned height, width, hblank, vblank; in calc_speed() local 242 hblank = mt9v011_read(sd, R05_MT9V011_HBLANK); in calc_speed() 245 row_time = width + 113 + hblank; in calc_speed()
|
| H A D | ov02c10.c | 382 struct v4l2_ctrl *hblank; member 530 ov02c10->hblank = v4l2_ctrl_new_std(ctrl_hdlr, &ov02c10_ctrl_ops, in ov02c10_init_controls() 533 if (ov02c10->hblank) in ov02c10_init_controls() 534 ov02c10->hblank->flags |= V4L2_CTRL_FLAG_READ_ONLY; in ov02c10_init_controls() 723 __v4l2_ctrl_modify_range(ov02c10->hblank, h_blank, h_blank, 1, h_blank); in ov02c10_set_format()
|
| H A D | gc0308.c | 446 struct v4l2_ctrl *hblank; member 923 u16 hblank = gc0308->hblank->val; in gc0308_update_blanking() local 924 u8 vbhb = ((vblank >> 4) & 0xf0) | ((hblank >> 8) & 0x0f); in gc0308_update_blanking() 928 cci_write(gc0308->regmap, GC0308_HBLANK, hblank & 0xff, &ret); in gc0308_update_blanking() 1234 gc0308->hblank = v4l2_ctrl_new_std(&gc0308->hdl, &gc0308_ctrl_ops, in gc0308_init_controls() 1278 v4l2_ctrl_cluster(2, &gc0308->hblank); in gc0308_init_controls()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_encoders.c | 169 unsigned int hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() local 182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_modes.c | 719 int vsyncandback_porch, __maybe_unused vback_porch, hblank; in drm_cvt_mode() local 756 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode() 758 hblank -= hblank % (2 * CVT_H_GRANULARITY); in drm_cvt_mode() 760 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 761 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode() 878 unsigned int hblank, total_pixels, pixel_freq; in drm_gtf_mode_complex() local 971 hblank = total_active_pixels * ideal_duty_cycle / in drm_gtf_mode_complex() 973 hblank = (hblank + GTF_CELL_GRAN) / (2 * GTF_CELL_GRAN); in drm_gtf_mode_complex() 974 hblank = hblank * 2 * GTF_CELL_GRAN; in drm_gtf_mode_complex() 976 total_pixels = total_active_pixels + hblank; in drm_gtf_mode_complex() [all …]
|
| H A D | drm_edid.c | 3507 unsigned hblank = (pt->hactive_hblank_hi & 0xf) << 8 | pt->hblank_lo; in drm_mode_detailed() local 3555 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed() 6797 unsigned int hblank = le16_to_cpu(timings->hblank) + 1; in drm_mode_displayid_detailed() local 6816 mode->htotal = mode->hdisplay + hblank; in drm_mode_displayid_detailed()
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | oaktrail_device.c | 146 p->hblank = PSB_RVDC32(HBLANK_A); in oaktrail_save_display_registers() 266 PSB_WVDC32(p->hblank, HBLANK_A); in oaktrail_restore_display_registers() 404 .hblank = HBLANK_A, 428 .hblank = HBLANK_B,
|
| H A D | psb_device.c | 206 .hblank = HBLANK_A, 230 .hblank = HBLANK_B,
|
| H A D | psb_drv.h | 230 u32 hblank; member 264 u32 hblank; member
|
| H A D | oaktrail_hdmi.c | 758 pipeb->hblank = PSB_RVDC32(HBLANK_B); in oaktrail_hdmi_save() 811 PSB_WVDC32(pipeb->hblank, HBLANK_B); in oaktrail_hdmi_restore()
|
| H A D | gma_display.c | 597 crtc_state->saveHBLANK = REG_READ(map->hblank); in gma_crtc_save() 651 REG_WRITE(map->hblank, crtc_state->saveHBLANK); in gma_crtc_restore()
|
| H A D | psb_intel_display.c | 270 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in psb_intel_crtc_mode_set()
|
| H A D | cdv_intel_display.c | 786 REG_WRITE(map->hblank, (adjusted_mode->crtc_hblank_start - 1) | in cdv_intel_crtc_mode_set()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_encoders.c | 327 unsigned int hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup() local 342 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup() 357 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
|
| /linux/drivers/video/fbdev/aty/ |
| H A 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() 693 rinfo->panel_info.hblank = var->left_margin + in radeon_var_to_panel_info() 808 var->left_margin = (rinfo->panel_info.hblank - rinfo->panel_info.hOver_plus in radeon_check_modes()
|
| H A D | radeonfb.h | 259 int hOver_plus, hSync_width, hblank; member
|
| H A D | radeon_base.c | 1684 hTotal = mode->xres + rinfo->panel_info.hblank; in radeonfb_set_par() 1915 newmode->fp_crtc_h_total_disp = (((rinfo->panel_info.hblank / 8) & 0x3ff) | in radeonfb_set_par()
|
| /linux/drivers/gpu/drm/bridge/synopsys/ |
| H A D | dw-dp.c | 1228 u32 hstart, hactive, hblank, h_sync_width, h_front_porch; in dw_dp_video_enable() local 1269 hblank = mode->htotal - mode->hdisplay; in dw_dp_video_enable() 1270 value = FIELD_PREP(HACTIVE, hactive) | FIELD_PREP(HBLANK, hblank); in dw_dp_video_enable() 1313 else if (hblank <= 80 && color_format != DRM_COLOR_FORMAT_YCBCR420) in dw_dp_video_enable() 1315 else if (hblank <= 40 && color_format == DRM_COLOR_FORMAT_YCBCR420) in dw_dp_video_enable() 1384 hblank_interval = hblank * (link->rate / 4) / mode->clock; in dw_dp_video_enable()
|
| /linux/drivers/gpu/drm/amd/display/dc/dce/ |
| H A D | dce_audio.c | 398 uint64_t hblank = crtc_info->h_total - crtc_info->h_active; in calculate_available_hblank_bw_in_symbols() local 400 dc_fixpt_from_fraction(hblank * 10, crtc_info->requested_pixel_clock_100Hz); in calculate_available_hblank_bw_in_symbols()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_bios.c | 980 panel_fixed_mode->hdisplay + dtd->hblank; in parse_generic_dtd()
|