/linux-4.4.14/drivers/gpu/drm/panel/ |
D | panel-simple.c | 377 .htotal = 800 + 0 + 255 + 0, 402 .htotal = 1024 + 156 + 8 + 156, 425 .htotal = 1280 + 119 + 32 + 21, 448 .htotal = 1366 + 20 + 70, 472 .htotal = 1366 + 40 + 40 + 32, 495 .htotal = 1366 + 48 + 32 + 20, 518 .htotal = 1920 + 172 + 80 + 60, 546 .htotal = 1024 + 160 + 4 + 156, 574 .htotal = 1366 + 58 + 58 + 58, 597 .htotal = 1366 + 48 + 32 + 20, [all …]
|
D | panel-lg-lg4573.c | 204 .htotal = 480 + 10 + 59 + 10,
|
D | panel-sharp-lq101r1sx01.c | 281 .htotal = 2560 + 128 + 64 + 64,
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/ |
D | mdp4_dtv_encoder.c | 120 mode->hsync_end, mode->htotal, in mdp4_dtv_encoder_mode_set() 138 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dtv_encoder_mode_set() 139 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dtv_encoder_mode_set() 141 vsync_period = mode->vtotal * mode->htotal; in mdp4_dtv_encoder_mode_set() 142 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_dtv_encoder_mode_set() 143 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp4_dtv_encoder_mode_set() 144 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_s… in mdp4_dtv_encoder_mode_set() 148 MDP4_DTV_HSYNC_CTRL_PERIOD(mode->htotal)); in mdp4_dtv_encoder_mode_set()
|
D | mdp4_lcdc_encoder.c | 286 mode->hsync_end, mode->htotal, in mdp4_lcdc_encoder_mode_set() 304 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_lcdc_encoder_mode_set() 305 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_lcdc_encoder_mode_set() 307 vsync_period = mode->vtotal * mode->htotal; in mdp4_lcdc_encoder_mode_set() 308 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_lcdc_encoder_mode_set() 309 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + lcdc_hsync_skew; in mdp4_lcdc_encoder_mode_set() 310 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + lcdc_hsync_… in mdp4_lcdc_encoder_mode_set() 314 MDP4_LCDC_HSYNC_CTRL_PERIOD(mode->htotal)); in mdp4_lcdc_encoder_mode_set()
|
D | mdp4_crtc.c | 263 mode->hsync_end, mode->htotal, in mdp4_crtc_mode_set_nofb()
|
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_encoder.c | 143 mode->hsync_end, mode->htotal, in mdp5_encoder_mode_set() 183 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp5_encoder_mode_set() 184 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp5_encoder_mode_set() 186 vsync_period = mode->vtotal * mode->htotal; in mdp5_encoder_mode_set() 187 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp5_encoder_mode_set() 188 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp5_encoder_mode_set() 189 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_s… in mdp5_encoder_mode_set() 197 display_v_start += mode->htotal - mode->hsync_start; in mdp5_encoder_mode_set() 205 MDP5_INTF_HSYNC_CTL_PERIOD(mode->htotal)); in mdp5_encoder_mode_set()
|
D | mdp5_cmd_encoder.c | 210 mode->hsync_end, mode->htotal, in mdp5_cmd_encoder_mode_set()
|
D | mdp5_crtc.c | 313 mode->hsync_end, mode->htotal, in mdp5_crtc_mode_set_nofb()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_modes.c | 56 mode->hsync_end, mode->htotal, in drm_mode_debug_printmodeline() 282 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode() 285 (drm_mode->htotal * CVT_HSYNC_PERCENTAGE) / 100; in drm_cvt_mode() 316 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode() 325 drm_mode->clock = drm_mode->htotal * HV_FACTOR * 1000 / hperiod; in drm_cvt_mode() 511 drm_mode->htotal = total_pixels; in drm_gtf_mode_complex() 590 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode() 631 vm->hback_porch = dmode->htotal - dmode->hsync_end; in drm_display_mode_to_videomode() 725 if (mode->htotal < 0) in drm_mode_hsync() 728 calc_val = (mode->clock * 1000) / mode->htotal; /* hsync in Hz */ in drm_mode_hsync() [all …]
|
D | drm_edid.c | 1503 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb() 1922 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed() 1930 if (mode->hsync_end > mode->htotal) in drm_mode_detailed() 1931 mode->htotal = mode->hsync_end + 1; in drm_mode_detailed()
|
/linux-4.4.14/drivers/media/i2c/ |
D | ths8200.c | 61 static inline unsigned htotal(const struct v4l2_bt_timings *t) in htotal() function 252 ths8200_write(sd, THS8200_DTG1_SPEC_G_LSB, (htotal(bt)/2) & 0xff); in ths8200_setup() 254 ((htotal(bt)/2) >> 8) & 0x0f); in ths8200_setup() 257 ths8200_write(sd, THS8200_DTG1_TOT_PIXELS_MSB, htotal(bt) >> 8); in ths8200_setup() 258 ths8200_write(sd, THS8200_DTG1_TOT_PIXELS_LSB, htotal(bt) & 0xff); in ths8200_setup() 308 (htotal(bt) >> 8) & 0x1f); in ths8200_setup() 309 ths8200_write(sd, THS8200_DTG2_HLENGTH_HDLY_LSB, htotal(bt)); in ths8200_setup() 356 "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt), in ths8200_setup()
|
D | adv7604.c | 370 static inline unsigned htotal(const struct v4l2_bt_timings *t) in htotal() function 971 u32 width = htotal(bt); in configure_custom_video_timings() 1339 pix_clk = hfreq * htotal(&adv76xx_timings[i].bt); in stdi2dv_timings()
|
D | adv7842.c | 268 static inline unsigned htotal(const struct v4l2_bt_timings *t) in htotal() function 1080 u32 width = htotal(bt); in configure_custom_video_timings() 1437 pix_clk = hfreq * htotal(bt); in stdi2dv_timings()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | mdfld_tpo_vid.c | 50 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | in tpo_vid_get_config_mode() 66 dev_dbg(dev->dev, "htotal is %d\n", mode->htotal); in tpo_vid_get_config_mode() 76 mode->htotal = 887; in tpo_vid_get_config_mode()
|
D | mdfld_device.c | 200 pipe->htotal = PSB_RVDC32(map->htotal); in mdfld_save_display_registers() 326 PSB_WVDC32(pipe->htotal, map->htotal); in mdfld_restore_display_registers() 455 .htotal = HTOTAL_A, 477 .htotal = HTOTAL_B, 500 .htotal = HTOTAL_C,
|
D | mdfld_tmd_vid.c | 53 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in tmd_vid_get_config_mode() 69 dev_dbg(dev->dev, "htotal is %d\n", mode->htotal); in tmd_vid_get_config_mode() 79 mode->htotal = 499; in tmd_vid_get_config_mode()
|
D | intel_bios.c | 168 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + in fill_detail_timing_data() 193 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) in fill_detail_timing_data() 194 panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; in fill_detail_timing_data() 271 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { in parse_lfp_panel_data()
|
D | psb_intel_display.c | 272 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set() 399 htot = REG_READ(map->htotal); in psb_intel_crtc_mode_get() 405 htot = p->htotal; in psb_intel_crtc_mode_get() 417 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
|
D | oaktrail_device.c | 213 p->htotal = PSB_RVDC32(HTOTAL_A); in oaktrail_save_display_registers() 333 PSB_WVDC32(p->htotal, HTOTAL_A); in oaktrail_restore_display_registers() 471 .htotal = HTOTAL_A, 495 .htotal = HTOTAL_B,
|
D | mdfld_dsi_dpi.c | 438 pclk_hbp = mode->htotal - mode->hsync_end; in mdfld_dsi_dpi_timing_calculation() 505 (mode->vtotal * mode->htotal * dsi_config->bpp / in mdfld_dsi_dpi_controller_init() 699 adjusted_mode->htotal = fixed_mode->htotal; in mdfld_dsi_dpi_mode_fixup() 797 REG_WRITE(HTOTAL_A, ((mode->htotal - 1) << 16) | (mode->hdisplay - 1)); in mdfld_set_pipe_timing() 798 REG_WRITE(HBLANK_A, ((mode->htotal - 1) << 16) | (mode->hdisplay - 1)); in mdfld_set_pipe_timing()
|
D | psb_device.c | 270 .htotal = HTOTAL_A, 294 .htotal = HTOTAL_B,
|
D | oaktrail_hdmi.c | 160 u32 htotal, new_crtc_htotal; in htotal_calculate() local 162 htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); in htotal_calculate() 770 pipeb->htotal = PSB_RVDC32(HTOTAL_B); in oaktrail_hdmi_save() 823 PSB_WVDC32(pipeb->htotal, HTOTAL_B); in oaktrail_hdmi_restore()
|
D | cdv_intel_display.c | 797 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set() 943 htot = REG_READ(map->htotal); in cdv_intel_crtc_mode_get() 949 htot = p->htotal; in cdv_intel_crtc_mode_get() 961 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in cdv_intel_crtc_mode_get()
|
D | oaktrail_lvds.c | 246 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in oaktrail_lvds_get_configuration_mode() 262 printk(KERN_INFO "htotal is %d\n", mode->htotal); in oaktrail_lvds_get_configuration_mode()
|
D | mdfld_intel_display.c | 716 adjusted_mode->htotal); in mdfld_crtc_mode_set() 819 REG_WRITE(map->htotal, (mode->crtc_hdisplay - 1) | in mdfld_crtc_mode_set() 836 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in mdfld_crtc_mode_set()
|
D | cdv_intel_lvds.c | 303 adjusted_mode->htotal = panel_fixed_mode->htotal; in cdv_intel_lvds_mode_fixup()
|
D | cdv_device.c | 533 .htotal = HTOTAL_A, 558 .htotal = HTOTAL_B,
|
D | tc35876x-dsi-lvds.c | 592 mode->htotal = 1440; in tc35876x_get_config_mode() 602 dev_info(&dev->pdev->dev, "htotal = %d\n", mode->htotal); in tc35876x_get_config_mode()
|
D | oaktrail_crtc.c | 450 REG_WRITE_WITH_AUX(map->htotal, (mode->crtc_hdisplay - 1) | in oaktrail_crtc_mode_set() 469 REG_WRITE_WITH_AUX(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in oaktrail_crtc_mode_set()
|
D | psb_intel_lvds.c | 419 adjusted_mode->htotal = panel_fixed_mode->htotal; in psb_intel_lvds_mode_fixup()
|
D | psb_drv.h | 285 u32 htotal; member 319 u32 htotal; member
|
D | gma_display.c | 576 crtc_state->saveHTOTAL = REG_READ(map->htotal); in gma_crtc_save() 630 REG_WRITE(map->htotal, crtc_state->saveHTOTAL); in gma_crtc_restore()
|
D | cdv_intel_dp.c | 881 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode()
|
D | psb_intel_sdvo.c | 779 mode->htotal = mode->hdisplay + dtd->part1.h_blank; in psb_intel_sdvo_get_mode_from_dtd() 780 mode->htotal += (dtd->part1.h_high & 0xf) << 8; in psb_intel_sdvo_get_mode_from_dtd()
|
/linux-4.4.14/drivers/video/fbdev/core/ |
D | fbmon.c | 721 int vtotal, htotal; in fb_get_monitor_limits() local 733 htotal = mode->xres + mode->right_margin + mode->hsync_len in fb_get_monitor_limits() 744 hscan = (pixclock + htotal / 2) / htotal; in fb_get_monitor_limits() 1112 u32 htotal; member 1244 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq() 1245 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_vfreq() 1255 timings->htotal = timings->hactive + timings->hblank; in fb_timings_hfreq() 1256 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_hfreq() 1263 timings->htotal = timings->hactive + timings->hblank; in fb_timings_dclk() 1264 timings->hfreq = timings->dclk/timings->htotal; in fb_timings_dclk() [all …]
|
D | fbcvt.c | 44 u32 htotal; member 132 hsync = (FB_CVT_CELLSIZE * cvt->htotal)/100; in fb_cvt_hsync() 177 pixclock = (cvt->f_refresh * cvt->vtotal * cvt->htotal)/1000; in fb_cvt_pixclock() 179 pixclock = (cvt->htotal * 1000000)/cvt->hperiod; in fb_cvt_pixclock() 365 cvt.htotal = cvt.active_pixels + cvt.hblank; in fb_find_mode_cvt() 368 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
|
D | modedb.c | 885 u32 pixclock, hfreq, htotal, vtotal; in fb_var_to_videomode() local 907 htotal = var->xres + var->right_margin + var->hsync_len + in fb_var_to_videomode() 917 hfreq = pixclock/htotal; in fb_var_to_videomode()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_tv.c | 357 int hsync_end, hblank_start, hblank_end, htotal; member 426 .hblank_start = 836, .htotal = 857, 468 .hblank_start = 836, .htotal = 857, 511 .hblank_start = 836, .htotal = 857, 554 .hblank_start = 836, .htotal = 857, 597 .hblank_start = 844, .htotal = 863, 642 .hblank_start = 844, .htotal = 863, 684 .hblank_start = 842, .htotal = 857, 708 .hblank_start = 859, .htotal = 863, 732 .hblank_start = 1580, .htotal = 1649, [all …]
|
D | dvo_ns2501.c | 531 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_valid() 558 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal); in ns2501_mode_set()
|
D | i915_irq.c | 670 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal; in i915_get_vblank_counter() local 675 htotal = mode->crtc_htotal; in i915_get_vblank_counter() 682 vbl_start *= htotal; in i915_get_vblank_counter() 685 vbl_start -= htotal - hsync_start; in i915_get_vblank_counter() 782 int vbl_start, vbl_end, hsync_start, htotal, vtotal; in i915_get_crtc_scanoutpos() local 793 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos() 833 vbl_start *= htotal; in i915_get_crtc_scanoutpos() 834 vbl_end *= htotal; in i915_get_crtc_scanoutpos() 835 vtotal *= htotal; in i915_get_crtc_scanoutpos() 858 position = (position + htotal - hsync_start) % vtotal; in i915_get_crtc_scanoutpos() [all …]
|
D | intel_bios.c | 96 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + in fill_detail_timing_data() 121 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) in fill_detail_timing_data() 122 panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; in fill_detail_timing_data()
|
D | intel_pm.c | 691 int htotal, hdisplay, clock, pixel_size; in g4x_compute_wm0() local 704 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm0() 719 line_time_us = max(htotal * 1000 / clock, 1); in g4x_compute_wm0() 777 int hdisplay, htotal, pixel_size, clock; in g4x_compute_srwm() local 791 htotal = adjusted_mode->crtc_htotal; in g4x_compute_srwm() 795 line_time_us = max(htotal * 1000 / clock, 1); in g4x_compute_srwm() 934 int clock, htotal, pixel_size, width, wm; in vlv_compute_wm_level() local 944 htotal = crtc->config->base.adjusted_mode.crtc_htotal; in vlv_compute_wm_level() 946 if (WARN_ON(htotal == 0)) in vlv_compute_wm_level() 947 htotal = 1; in vlv_compute_wm_level() [all …]
|
D | intel_dsi_pll.c | 95 hbp = mode->htotal - mode->hsync_end; in dsi_rr_formula()
|
D | intel_sdvo.c | 830 h_blank_len = mode->htotal - mode->hdisplay; in intel_sdvo_get_dtd_from_mode() 882 mode.htotal = mode.hdisplay + dtd->part1.h_blank; in intel_sdvo_get_mode_from_dtd() 883 mode.htotal += (dtd->part1.h_high & 0xf) << 8; in intel_sdvo_get_mode_from_dtd()
|
D | intel_panel.c | 80 scan->htotal == fixed_mode->htotal && in intel_find_panel_downclock()
|
D | intel_display.c | 7810 mode->htotal = pipe_config->base.adjusted_mode.crtc_htotal; in intel_mode_from_pipe_config() 10705 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in intel_crtc_mode_get() 15664 u32 htotal; member 15742 error->transcoder[i].htotal = I915_READ(HTOTAL(cpu_transcoder)); in intel_display_capture_error_state() 15803 err_printf(m, " HTOTAL: %08x\n", error->transcoder[i].htotal); in intel_display_print_error_state()
|
D | i915_debugfs.c | 2794 mode->hsync_end, mode->htotal, in intel_seq_print_mode()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | rootnv04.c | 59 args->v0.htotal = nvkm_rd32(device, 0x680824 + hoff) & 0xffff; in nv04_disp_scanoutpos() 60 args->v0.hblanke = args->v0.htotal - 1; in nv04_disp_scanoutpos() 67 if (!args->v0.vtotal || !args->v0.htotal) in nv04_disp_scanoutpos()
|
D | rootgf119.c | 55 args->v0.htotal = ( total & 0x0000ffff); in gf119_disp_root_scanoutpos()
|
D | rootnv50.c | 55 args->v0.htotal = ( total & 0x0000ffff); in nv50_disp_root_scanoutpos()
|
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 200 int hsyncstart, hsyncend, htotal, hdispend; in cirrus_crtc_mode_set() local 205 htotal = mode->htotal / 8; in cirrus_crtc_mode_set() 216 htotal -= 5; in cirrus_crtc_mode_set() 222 WREG_CRT(VGA_CRTC_H_TOTAL, htotal); in cirrus_crtc_mode_set() 254 if ((htotal + 5) & 64) in cirrus_crtc_mode_set() 256 if ((htotal + 5) & 128) in cirrus_crtc_mode_set()
|
/linux-4.4.14/drivers/video/fbdev/geode/ |
D | display_gx.c | 65 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx_set_mode() local 138 htotal = hblankend; in gx_set_mode() 148 ((htotal - 1) << 16)); in gx_set_mode()
|
D | display_gx1.c | 85 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx1_set_mode() local 156 htotal = hblankend; in gx1_set_mode() 165 val = (hactive - 1) | ((htotal - 1) << 16); in gx1_set_mode()
|
D | lxfb_ops.c | 353 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in lx_set_mode() local 473 htotal = hblankend; in lx_set_mode() 482 write_dc(par, DC_H_ACTIVE_TIMING, (hactive - 1) | ((htotal - 1) << 16)); in lx_set_mode()
|
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_bridge.c | 155 hstart = mode->htotal - mode->hsync_start; in hdmi_bridge_mode_set() 156 hend = mode->htotal - mode->hsync_start + mode->hdisplay; in hdmi_bridge_mode_set() 162 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in hdmi_bridge_mode_set() 165 HDMI_TOTAL_H_TOTAL(mode->htotal - 1) | in hdmi_bridge_mode_set()
|
/linux-4.4.14/drivers/video/fbdev/matrox/ |
D | matroxfb_maven.c | 225 unsigned int htotal, unsigned int vtotal, in matroxfb_PLL_mavenclock() argument 238 scrlen = htotal * (vtotal - 1); in matroxfb_PLL_mavenclock() 239 fwant = htotal * vtotal; in matroxfb_PLL_mavenclock() 243 fwant, fxtal, htotal, vtotal, fmax); in matroxfb_PLL_mavenclock() 276 if (ln > htotal) in matroxfb_PLL_mavenclock() 298 unsigned int htotal, unsigned int vtotal, in matroxfb_mavenclock() argument 304 fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); in matroxfb_mavenclock() 747 m->htotal = h - 2; in maven_find_exact_clocks() 800 m->regs[0xA0] = m->htotal; in maven_compute_timming() 801 m->regs[0xA1] = m->htotal >> 8; in maven_compute_timming() [all …]
|
D | matroxfb_base.h | 256 u_int16_t htotal; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | nv04.c | 415 u32 htotal = nvkm_rdvgac(device, 0, 0x06); in nv04_devinit_preinit() local 416 htotal |= (nvkm_rdvgac(device, 0, 0x07) & 0x01) << 8; in nv04_devinit_preinit() 417 htotal |= (nvkm_rdvgac(device, 0, 0x07) & 0x20) << 4; in nv04_devinit_preinit() 418 htotal |= (nvkm_rdvgac(device, 0, 0x25) & 0x01) << 10; in nv04_devinit_preinit() 419 htotal |= (nvkm_rdvgac(device, 0, 0x41) & 0x01) << 11; in nv04_devinit_preinit() 420 if (!htotal) { in nv04_devinit_preinit()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 158 writel(mode->htotal, vtg->regs + VTG_CLKLN); in vtg_set_mode() 194 tmp |= mode->htotal + AWG_DELAY_HD; in vtg_set_mode() 202 tmp = (mode->htotal + AWG_DELAY_HD) << 16; in vtg_set_mode() 203 tmp |= mode->htotal + AWG_DELAY_HD; in vtg_set_mode() 279 return mode.htotal - mode.hsync_start + x; in sti_vtg_get_pixel_number()
|
D | sti_dvo.c | 122 timing.total_pixels = mode->htotal; in dvo_awg_generate_code() 125 timing.trailing_pixels = mode->htotal - mode->hsync_start; in dvo_awg_generate_code()
|
D | sti_crtc.c | 80 mode->htotal, in sti_crtc_mode_set()
|
D | sti_hqvdp.c | 505 lfw = mode->htotal * (clk_get_rate(hqvdp->clk) / 1000000); in sti_hqvdp_check_hw_scaling()
|
/linux-4.4.14/drivers/gpu/drm/imx/ |
D | ipuv3-plane.c | 55 unsigned long htotal, vtotal; in calc_vref() local 57 htotal = mode->htotal; in calc_vref() 60 if (!htotal || !vtotal) in calc_vref() 63 return DIV_ROUND_UP(mode->clock * 1000, vtotal * htotal); in calc_vref()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | amifb.c | 755 u_short htotal; /* vmode */ member 1021 #define htotal2hw(htotal) (div8(htotal) - 1) argument 1025 #define hcenter2hw(htotal) (div8(htotal)) argument 1127 u_int htotal, vtotal; in ami_decode_var() local 1216 par->htotal = down8((var->left_margin + par->xres + var->right_margin + in ami_decode_var() 1227 par->diwstop_h = par->htotal - in ami_decode_var() 1238 if (par->diwstop_h >= par->htotal + 8) { in ami_decode_var() 1261 if (par->htotal != PAL_HTOTAL) { in ami_decode_var() 1273 htotal = PAL_HTOTAL>>clk_shift; in ami_decode_var() 1291 if (par->htotal != NTSC_HTOTAL) { in ami_decode_var() [all …]
|
D | gbefb.c | 519 timing->htotal = var->left_margin + var->xres + in compute_gbe_timing() 523 timing->fields_sec = 1000 * timing->cfreq / timing->htotal * in compute_gbe_timing() 527 timing->hblank_end = timing->htotal; in compute_gbe_timing() 554 SET_GBE_FIELD(VT_XYMAX, MAXX, val, timing->htotal); in gbe_set_timing_info() 602 timing->htotal - (20 - timing->hblank_end)); in gbe_set_timing_info() 612 timing->htotal - (GBE_CRS_MAGIC - in gbe_set_timing_info() 624 temp += timing->htotal; /* allow blank to wrap around */ in gbe_set_timing_info() 629 GBE_PIXEN_MAGIC_OFF) % timing->htotal)); in gbe_set_timing_info() 992 var->left_margin = timing.htotal - timing.hsync_end; in gbefb_check_var()
|
D | cirrusfb.c | 666 int hdispend, hsyncstart, hsyncend, htotal; in cirrusfb_set_par_foo() local 701 htotal = (hsyncend + var->left_margin) / 8; in cirrusfb_set_par_foo() 736 htotal /= 2; in cirrusfb_set_par_foo() 742 htotal -= 5; in cirrusfb_set_par_foo() 751 dev_dbg(info->device, "CRT0: %d\n", htotal); in cirrusfb_set_par_foo() 752 vga_wcrt(regbase, VGA_CRTC_H_TOTAL, htotal); in cirrusfb_set_par_foo() 761 dev_dbg(info->device, "CRT3: 128+%d\n", (htotal + 5) % 32); in cirrusfb_set_par_foo() 763 128 + ((htotal + 5) % 32)); in cirrusfb_set_par_foo() 769 if ((htotal + 5) & 32) in cirrusfb_set_par_foo() 824 if ((htotal + 5) & 64) in cirrusfb_set_par_foo() [all …]
|
D | s3fb.c | 607 u32 htotal, hsstart; in s3fb_set_par() local 895 htotal = info->var.xres + info->var.left_margin + info->var.right_margin + info->var.hsync_len; in s3fb_set_par() 896 htotal = ((htotal * hmul) / 8) - 5; in s3fb_set_par() 897 vga_wcrt(par->state.vgabase, 0x3C, (htotal + 1) / 2); in s3fb_set_par() 902 value = clamp((htotal + hsstart + 1) / 2 + 2, hsstart + 4, htotal + 1); in s3fb_set_par()
|
D | sh_mobile_hdmi.c | 406 u16 htotal, hblank, hdelay, vtotal, vblank, vdelay, voffset; in sh_hdmi_external_video_param() local 409 htotal = mode->xres + mode->right_margin + mode->left_margin in sh_hdmi_external_video_param() 436 htotal, hblank, hdelay, mode->hsync_len, in sh_hdmi_external_video_param() 441 hdmi_write(hdmi, htotal, HDMI_EXTERNAL_H_TOTAL_7_0); in sh_hdmi_external_video_param() 442 hdmi_write(hdmi, htotal >> 8, HDMI_EXTERNAL_H_TOTAL_11_8); in sh_hdmi_external_video_param()
|
D | tridentfb.c | 1138 u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; in tridentfb_set_par() local 1149 htotal = (var->xres + var->left_margin + var->right_margin + in tridentfb_set_par() 1152 hblankend = htotal + 3; in tridentfb_set_par() 1208 write3X4(par, VGA_CRTC_H_TOTAL, htotal & 0xFF); in tridentfb_set_par() 1236 tmp = (htotal >> 8) & 0x01; in tridentfb_set_par()
|
D | neofb.c | 259 int htotal = (hsync_end + var->left_margin) >> 3; in vgaHWInit() local 284 par->CRTC[0] = htotal - 5; in vgaHWInit() 287 par->CRTC[3] = ((htotal - 1) & 0x1F) | 0x80; in vgaHWInit() 289 par->CRTC[5] = (((htotal - 1) & 0x20) << 2) in vgaHWInit()
|
D | mx3fb.c | 932 u32 htotal; in mx3fb_check_var() local 1000 htotal = var->xres + var->right_margin + var->hsync_len + in mx3fb_check_var() 1004 var->pixclock = (vtotal * htotal * 6UL) / 100UL; in mx3fb_check_var()
|
D | tdfxfb.c | 548 u32 htotal = hsyncend + info->var.left_margin; in tdfxfb_set_par() local 575 htotal >>= 1; in tdfxfb_set_par() 582 ht = (htotal >> 3) - 1; in tdfxfb_set_par()
|
D | pm2fb.c | 687 u32 hsstart, hsend, hbend, htotal; in pm2fb_set_par() local 718 htotal = to3264(xres, depth, data64) + hbend - 1; in pm2fb_set_par() 810 pm2_WR(par, PM2R_H_TOTAL, htotal); in pm2fb_set_par()
|
D | pm3fb.c | 725 const u32 htotal = xres + hbend; in pm3fb_write_mode() local 740 pm3fb_shift_bpp(bpp, htotal - 1)); in pm3fb_write_mode()
|
/linux-4.4.14/drivers/video/fbdev/sis/ |
D | initextlfb.c | 40 int *htotal, int *vtotal, unsigned char rateindex); 177 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, in sisfb_gettotalfrommode() argument 214 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
|
D | sis_main.c | 559 int htotal, vtotal; in sisfb_verify_rate() local 594 &htotal, &vtotal, rate_idx)) { in sisfb_verify_rate() 595 dclock = (htotal * vtotal * rate) / 1000; in sisfb_verify_rate() 598 hsync = dclock / htotal; in sisfb_verify_rate() 1183 unsigned int htotal = 0, vtotal = 0; in sisfb_do_set_var() local 1189 htotal = var->left_margin + var->xres + var->right_margin + var->hsync_len; in sisfb_do_set_var() 1206 if(!(htotal) || !(vtotal)) { in sisfb_do_set_var() 1211 if(pixclock && htotal && vtotal) { in sisfb_do_set_var() 1213 hrate = (drate * 1000) / htotal; in sisfb_do_set_var() 1289 ivideo->current_htotal = htotal; in sisfb_do_set_var() [all …]
|
D | sis_main.h | 754 int *htotal, int *vtotal, unsigned char rateindex);
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 887 int hdisplay, hsyncstart, hsyncend, htotal; in mga_crtc_mode_set() local 1013 htotal = mode->htotal / 8 - 1; in mga_crtc_mode_set() 1016 if ((htotal & 0x07) == 0x06 || (htotal & 0x07) == 0x04) in mga_crtc_mode_set() 1017 htotal++; in mga_crtc_mode_set() 1034 WREG_CRT(0, htotal - 4); in mga_crtc_mode_set() 1037 WREG_CRT(3, (htotal & 0x1F) | 0x80); in mga_crtc_mode_set() 1039 WREG_CRT(5, ((htotal & 0x20) << 2) | (hsyncend & 0x1F)); in mga_crtc_mode_set() 1073 ext_vga[1] = (((htotal - 4) & 0x100) >> 8) | in mga_crtc_mode_set() 1076 (htotal & 0x40); in mga_crtc_mode_set() 1572 if (!mode->htotal || !mode->vtotal || !mode->clock) in mga_vga_calculate_mode_bandwidth() [all …]
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_connector.c | 54 mode->htotal = mode->hsync_end + timings->hbp; in copy_timings_omap_to_drm() 85 timings->hbp = mode->htotal - mode->hsync_end; in copy_timings_drm_to_omap() 248 mode->hsync_end, mode->htotal, in omap_connector_mode_valid()
|
D | omap_crtc.c | 384 mode->hdisplay, mode->hsync_start, mode->hsync_end, mode->htotal, in omap_crtc_mode_set_nofb()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_hdmi.c | 1301 hdmi_reg_writev(hdata, HDMI_H_BLANK_0, 2, m->htotal - m->hdisplay); in hdmi_v13_mode_apply() 1303 (m->htotal << 12) | m->vtotal); in hdmi_v13_mode_apply() 1342 val = ((m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v13_mode_apply() 1343 val |= ((m->htotal / 2) + in hdmi_v13_mode_apply() 1374 hdmi_reg_writev(hdata, HDMI_TG_H_FSZ_L, 2, m->htotal); in hdmi_v13_mode_apply() 1375 hdmi_reg_writev(hdata, HDMI_TG_HACT_ST_L, 2, m->htotal - m->hdisplay); in hdmi_v13_mode_apply() 1391 hdmi_reg_writev(hdata, HDMI_H_BLANK_0, 2, m->htotal - m->hdisplay); in hdmi_v14_mode_apply() 1393 hdmi_reg_writev(hdata, HDMI_H_LINE_0, 2, m->htotal); in hdmi_v14_mode_apply() 1425 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply() 1427 (m->htotal / 2) + (m->hsync_start - m->hdisplay)); in hdmi_v14_mode_apply() [all …]
|
D | exynos7_drm_decon.c | 158 unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh; in decon_calc_clkdiv() 177 if (mode->htotal == 0 || mode->vtotal == 0) in decon_commit()
|
D | exynos_drm_fimd.c | 362 unsigned long ideal_clk = mode->htotal * mode->vtotal * mode->vrefresh; in fimd_calc_clkdiv() 391 if (mode->htotal == 0 || mode->vtotal == 0) in fimd_commit()
|
D | exynos_drm_dsi.c | 1683 vm->hback_porch = m->htotal - m->hsync_end; in exynos_dsi_mode_set()
|
/linux-4.4.14/include/drm/ |
D | drm_modes.h | 86 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \ 114 int htotal; member
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | amigahw.h | 183 unsigned short htotal; member 268 amiga_custom.htotal = 113; /* 31 kHz */ in amifb_video_off()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_encoders.c | 152 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 165 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup()
|
D | atombios_encoders.c | 1938 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in amdgpu_atombios_encoder_get_lcd_info()
|
/linux-4.4.14/Documentation/EDID/ |
D | HOWTO.txt | 37 HTimings: hdisp hsyncstart hsyncend htotal 42 #define XBLANK htotal-hdisp
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_crtc.c | 157 rcar_du_crtc_write(rcrtc, HDSR, mode->htotal - mode->hsync_start - 19); in rcar_du_crtc_set_display_timing() 158 rcar_du_crtc_write(rcrtc, HDER, mode->htotal - mode->hsync_start + in rcar_du_crtc_set_display_timing() 162 rcar_du_crtc_write(rcrtc, HCR, mode->htotal - 1); in rcar_du_crtc_set_display_timing() 174 rcar_du_crtc_write(rcrtc, DESR, mode->htotal - mode->hsync_start); in rcar_du_crtc_set_display_timing()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv17.c | 213 mode->htotal / 1000 * in nv17_tv_get_ld_modes() 272 mode->htotal = output_mode->htotal; in nv17_tv_get_hd_modes() 273 mode->hsync_start = (mode->hdisplay + (mode->htotal in nv17_tv_get_hd_modes() 534 regs->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; in nv17_tv_mode_set()
|
D | tvnv04.c | 149 regp->tv_htotal = adjusted_mode->htotal; in nv04_tv_mode_set()
|
D | dfp.c | 300 regp->fp_horiz_regs[FP_TOTAL] = output_mode->htotal - 1; in nv04_dfp_mode_set()
|
/linux-4.4.14/drivers/video/fbdev/vermilion/ |
D | vermilion.c | 781 u32 htotal, hactive, hblank_start, hblank_end, hsync_start, hsync_end; in vmlfb_set_par_locked() local 793 htotal = in vmlfb_set_par_locked() 797 hblank_end = htotal; in vmlfb_set_par_locked() 818 ": Set mode Hfreq : %d kHz, Vfreq : %d Hz.\n", clock / htotal, in vmlfb_set_par_locked() 819 ((clock / htotal) * 1000) / vtotal); in vmlfb_set_par_locked() 843 VML_WRITE32(par, VML_HTOTAL_A, ((htotal - 1) << 16) | (hactive - 1)); in vmlfb_set_par_locked()
|
/linux-4.4.14/drivers/media/platform/xilinx/ |
D | xilinx-tpg.c | 197 unsigned int htotal; in xtpg_s_stream() local 200 htotal = min_t(unsigned int, XVTC_MAX_HSIZE, in xtpg_s_stream() 205 config.hsync_end = htotal - 1; in xtpg_s_stream() 206 config.hsize = htotal; in xtpg_s_stream()
|
/linux-4.4.14/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.c | 109 | (mode->htotal / 8); /* HTCN */ in shmob_drm_crtc_setup_geometry() 116 value = ((mode->hdisplay & 7) << 24) | ((mode->htotal & 7) << 16) in shmob_drm_crtc_setup_geometry() 662 mode->htotal = sdev->pdata->panel.mode.htotal; in shmob_drm_connector_get_modes()
|
/linux-4.4.14/drivers/staging/xgifb/ |
D | XGI_main_26.c | 926 unsigned int htotal = var->left_margin + var->xres + var->right_margin in XGIfb_do_set_var() local 946 if (!htotal || !vtotal) { in XGIfb_do_set_var() 950 var->pixclock, htotal, vtotal); in XGIfb_do_set_var() 954 hrate = (drate * 1000) / htotal; in XGIfb_do_set_var() 1228 unsigned int htotal = var->left_margin + var->xres + var->right_margin in XGIfb_check_var() local 1250 if (!(htotal) || !(vtotal)) { in XGIfb_check_var() 1255 if (var->pixclock && htotal && vtotal) { in XGIfb_check_var() 1257 hrate = (drate * 1000) / htotal; in XGIfb_check_var() 1263 __func__, var->pixclock, htotal, vtotal, in XGIfb_check_var()
|
/linux-4.4.14/drivers/gpu/drm/msm/edp/ |
D | edp_bridge.c | 67 mode->hsync_end, mode->htotal, in edp_bridge_mode_set()
|
D | edp_ctrl.c | 1298 EDP_TOTAL_HOR_VER_HORIZ(mode->htotal) | in msm_edp_ctrl_timing_cfg() 1302 hstart_from_sync = mode->htotal - mode->hsync_start; in msm_edp_ctrl_timing_cfg()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 474 mode->htotal = ROM16(mode_entry[21]) + 1; in nouveau_bios_fp_mode() 2062 unsigned htotal; in nouveau_bios_posted() local 2067 htotal = NVReadVgaCrtc(dev, 0, 0x06); in nouveau_bios_posted() 2068 htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x01) << 8; in nouveau_bios_posted() 2069 htotal |= (NVReadVgaCrtc(dev, 0, 0x07) & 0x20) << 4; in nouveau_bios_posted() 2070 htotal |= (NVReadVgaCrtc(dev, 0, 0x25) & 0x01) << 10; in nouveau_bios_posted() 2071 htotal |= (NVReadVgaCrtc(dev, 0, 0x41) & 0x01) << 11; in nouveau_bios_posted() 2072 return (htotal != 0); in nouveau_bios_posted()
|
D | nv50_display.c | 1146 hactive = mode->htotal; in nv50_crtc_mode_set() 1148 hbackp = mode->htotal - mode->hsync_end; in nv50_crtc_mode_set() 1151 hblanks = mode->htotal - hfrontp - 1; in nv50_crtc_mode_set() 1809 max_ac_packet = mode->htotal - mode->hdisplay; in nv50_hdmi_mode_set()
|
/linux-4.4.14/drivers/gpu/drm/i2c/ |
D | ch7006_mode.c | 115 .htotal = ht, \ 188 mode->mode.htotal != drm_mode->htotal || in ch7006_lookup_mode()
|
D | tda998x_drv.c | 883 if (mode->htotal >= BIT(13)) in tda998x_connector_mode_valid() 922 n_pix = mode->htotal; in tda998x_encoder_mode_set() 927 de_pix_e = mode->htotal; in tda998x_encoder_mode_set() 928 de_pix_s = mode->htotal - mode->hdisplay; in tda998x_encoder_mode_set() 960 vs2_pix_s = vs2_pix_e = hs_pix_s + mode->htotal/2; in tda998x_encoder_mode_set()
|
D | ch7006_drv.c | 141 start_active = (drm_mode->htotal & ~0x7) - (drm_mode->hsync_start & ~0x7); in ch7006_encoder_mode_set()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 326 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in radeon_panel_mode_fixup() 341 adjusted_mode->htotal = native_mode->hdisplay + hblank; in radeon_panel_mode_fixup()
|
D | radeon_legacy_crtc.c | 845 htotal_cntl = mode->htotal & 0x7; in radeon_set_pll()
|
D | rs780_dpm.c | 65 if (crtc->mode.htotal && crtc->mode.vtotal) in rs780_get_pm_mode_parameters()
|
D | radeon_combios.c | 1263 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in radeon_combios_get_lvds_info()
|
D | radeon_atombios.c | 1655 lvds->native_mode.htotal = lvds->native_mode.hdisplay + in radeon_atombios_get_lvds_info()
|
/linux-4.4.14/drivers/media/pci/cx88/ |
D | cx88-core.c | 866 u32 bdelay,agcdelay,htotal; in cx88_set_tvnorm() local 963 htotal = (u32)tmp64; in cx88_set_tvnorm() 965 htotal, cx_read(MO_HTOTAL), (u32)tmp64); in cx88_set_tvnorm() 966 cx_andor(MO_HTOTAL, 0x07ff, htotal); in cx88_set_tvnorm()
|
/linux-4.4.14/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_vop.c | 883 dsp_stx = dest.x1 + crtc->mode.htotal - crtc->mode.hsync_start; in vop_update_plane_event() 1140 if (adjusted_mode->htotal == 0 || adjusted_mode->vtotal == 0) in vop_crtc_mode_fixup() 1171 u16 htotal = adjusted_mode->htotal; in vop_crtc_mode_set() local 1172 u16 hact_st = adjusted_mode->htotal - adjusted_mode->hsync_start; in vop_crtc_mode_set() 1211 VOP_CTRL_SET(vop, htotal_pw, (htotal << 16) | hsync_len); in vop_crtc_mode_set()
|
/linux-4.4.14/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_crtc.c | 96 hbp = mode->htotal - mode->hsync_end; in fsl_dcu_drm_crtc_mode_set_nofb()
|
/linux-4.4.14/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 1050 u32 hsync_start, hsync_end, hblank_start, hblank_end, htotal, hactive; in intelfbhw_mode_to_hw() local 1179 htotal = hsync_end + var->left_margin; in intelfbhw_mode_to_hw() 1181 hblank_end = htotal; in intelfbhw_mode_to_hw() 1184 hactive, hsync_start, hsync_end, htotal, hblank_start, in intelfbhw_mode_to_hw() 1210 htotal--; in intelfbhw_mode_to_hw() 1211 if (check_overflow(htotal, HTOTAL_MASK, "CRTC htotal")) in intelfbhw_mode_to_hw() 1239 *ht = (htotal << HTOTAL_SHIFT) | (hactive << HACTIVE_SHIFT); in intelfbhw_mode_to_hw()
|
/linux-4.4.14/include/video/ |
D | gbe.h | 293 short htotal; /* Horizontal total pixels */ member
|
/linux-4.4.14/drivers/gpu/drm/tegra/ |
D | sor.c | 645 num = ((mode->htotal - mode->hdisplay) - 7) * link_rate; in tegra_sor_calc_config() 1156 hbp = mode->htotal - mode->hsync_end; 1537 value = ((mode->vtotal & 0x7fff) << 16) | (mode->htotal & 0x7fff); in tegra_sor_edp_enable() 1922 max_ac = ((mode->htotal - mode->hdisplay) - SOR_REKEY - 18) / 32; in tegra_sor_hdmi_enable() 1930 (mode->htotal - mode->hsync_end) - 10; in tegra_sor_hdmi_enable() 2092 value = ((mode->vtotal & 0x7fff) << 16) | (mode->htotal & 0x7fff); in tegra_sor_hdmi_enable() 2104 hbe = hse + (mode->htotal - mode->hsync_end); in tegra_sor_hdmi_enable()
|
D | dsi.c | 565 hbp = (mode->htotal - mode->hsync_end) * mul / div; in tegra_dsi_configure() 620 bclk = DIV_ROUND_UP(mode->htotal * mul, div * lanes); in tegra_dsi_configure()
|
D | hdmi.c | 851 h_back_porch = mode->htotal - mode->hsync_end; in tegra_hdmi_encoder_enable()
|
D | dc.c | 1081 ((mode->htotal - mode->hsync_end) << 0); in tegra_dc_set_timings()
|
/linux-4.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 302 hbp = mode->htotal - mode->hsync_end; in tilcdc_crtc_mode_set() 491 hbp = mode->htotal - mode->hsync_end; in tilcdc_crtc_mode_valid()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/ |
D | dsi_manager.c | 216 mode->htotal >>= 1; in dsi_dual_connector_fix_modes() 496 mode->hsync_end, mode->htotal, in dsi_mgr_bridge_mode_set()
|
D | dsi_host.c | 714 u32 h_total = mode->htotal; in dsi_timing_setup()
|
/linux-4.4.14/include/uapi/drm/ |
D | drm_mode.h | 111 __u16 htotal; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/ |
D | class.h | 476 __u16 htotal; member
|
/linux-4.4.14/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 318 VC4_SET_FIELD(mode->htotal - mode->hsync_end, in vc4_hdmi_encoder_mode_set()
|
D | vc4_crtc.c | 205 VC4_SET_FIELD(mode->htotal - mode->hsync_end, in vc4_crtc_mode_set_nofb()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_dc.c | 353 int hback_porch = mode->htotal - mode->hsync_end; in atmel_hlcdc_dc_mode_valid()
|
/linux-4.4.14/drivers/video/fbdev/via/ |
D | viafbdev.c | 190 u32 htotal, vtotal; in get_var_refresh() local 192 htotal = var->left_margin + var->xres + var->right_margin in get_var_refresh() 196 return PICOS2KHZ(var->pixclock) * 1000 / (htotal * vtotal); in get_var_refresh()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_kms.c | 1516 mode->htotal = mode->hsync_end + 50; in vmw_guess_mode_timing() 1522 mode->clock = (u32)mode->htotal * (u32)mode->vtotal / 100 * 6; in vmw_guess_mode_timing()
|
/linux-4.4.14/drivers/gpu/drm/bridge/ |
D | dw_hdmi.c | 1071 hblank = mode->htotal - mode->hdisplay; in hdmi_av_composer()
|