Home
last modified time | relevance | path

Searched refs:htotal (Results 1 – 25 of 94) sorted by relevance

1234

/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_dsi_encoder.c51 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dsi_encoder_mode_set()
52 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dsi_encoder_mode_set()
54 vsync_period = mode->vtotal * mode->htotal; in mdp4_dsi_encoder_mode_set()
55 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_dsi_encoder_mode_set()
56 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; in mdp4_dsi_encoder_mode_set()
57 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dsi_hsync_s… in mdp4_dsi_encoder_mode_set()
61 MDP4_DSI_HSYNC_CTRL_PERIOD(mode->htotal)); in mdp4_dsi_encoder_mode_set()
H A Dmdp4_dtv_encoder.c55 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dtv_encoder_mode_set()
56 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dtv_encoder_mode_set()
58 vsync_period = mode->vtotal * mode->htotal; in mdp4_dtv_encoder_mode_set()
59 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_dtv_encoder_mode_set()
60 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp4_dtv_encoder_mode_set()
61 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_s… in mdp4_dtv_encoder_mode_set()
65 MDP4_DTV_HSYNC_CTRL_PERIOD(mode->htotal)); in mdp4_dtv_encoder_mode_set()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_encoder.c73 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp5_vid_encoder_mode_set()
74 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp5_vid_encoder_mode_set()
76 vsync_period = mode->vtotal * mode->htotal; in mdp5_vid_encoder_mode_set()
77 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp5_vid_encoder_mode_set()
78 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp5_vid_encoder_mode_set()
79 …display_v_end = vsync_period - ((mode->vsync_start - mode->vdisplay) * mode->htotal) + dtv_hsync_s… in mdp5_vid_encoder_mode_set()
87 display_v_start += mode->htotal - mode->hsync_start; in mdp5_vid_encoder_mode_set()
95 MDP5_INTF_HSYNC_CTL_PERIOD(mode->htotal)); in mdp5_vid_encoder_mode_set()
/linux/drivers/video/fbdev/core/
H A Dfbmon.c727 int vtotal, htotal; in fb_get_monitor_limits() local
739 htotal = mode->xres + mode->right_margin + mode->hsync_len in fb_get_monitor_limits()
750 hscan = (pixclock + htotal / 2) / htotal; in fb_get_monitor_limits()
1029 u32 htotal; member
1160 timings->htotal = timings->hactive + timings->hblank; in fb_timings_vfreq()
1161 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_vfreq()
1171 timings->htotal = timings->hactive + timings->hblank; in fb_timings_hfreq()
1172 timings->dclk = timings->htotal * timings->hfreq; in fb_timings_hfreq()
1179 timings->htotal = timings->hactive + timings->hblank; in fb_timings_dclk()
1180 timings->hfreq = timings->dclk/timings->htotal; in fb_timings_dclk()
[all …]
H A Dfbcvt.c44 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()
354 cvt.htotal = cvt.active_pixels + cvt.hblank; in fb_find_mode_cvt()
357 cvt.hfreq = cvt.pixclock/cvt.htotal; in fb_find_mode_cvt()
/linux/drivers/gpu/drm/panel/
H A Dpanel-arm-versatile.c140 .htotal = 320 + 6 + 6 + 6,
163 .htotal = 640 + 24 + 96 + 24,
185 .htotal = 176 + 2 + 3 + 3,
208 .htotal = 240 + 10 + 10 + 20,
H A Dpanel-sitronix-st7703.c139 .htotal = 720 + 90 + 20 + 20,
318 .htotal = 720 + 40 + 40 + 40,
405 .htotal = 640 + 40 + 2 + 80,
489 .htotal = 720 + 45 + 4 + 45,
575 .htotal = 720 + 40 + 10 + 40,
657 .htotal = 640 + 40 + 2 + 80,
752 .htotal = 768 + 110 + 45 + 110,
H A Dpanel-novatek-nt35560.c65 .htotal = 480 + 15 + 0 + 15,
84 .htotal = 480 + 154 + 16 + 32,
107 .htotal = 480 + 15 + 0 + 15,
126 .htotal = 480 + 154 + 16 + 32,
H A Dpanel-himax-hx8394.c186 .htotal = 720 + 40 + 46 + 40,
315 .htotal = 720 + 44 + 20 + 20,
462 .htotal = 720 + 12 + 12 + 24,
603 .htotal = 1080 + 32 + 8 + 32,
716 .htotal = 720 + 40 + 20 + 20,
739 .htotal = 720 + 50 + 50 + 10,
H A Dpanel-visionox-rm692e5.c245 .htotal = 1080 + 26 + 39 + 36,
259 .htotal = 1080 + 26 + 39 + 36,
273 .htotal = 1080 + 26 + 39 + 36,
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duhead.c57 args->v0.htotal = head->arm.htotal; in nvkm_uhead_mthd_scanoutpos()
65 if (!args->v0.vtotal || !args->v0.htotal) in nvkm_uhead_mthd_scanoutpos()
H A Dnv04.c61 state->htotal = nvkm_rd32(device, 0x680824 + hoff) & 0x0000ffff; in nv04_head_state()
62 state->hblanke = state->htotal - 1; in nv04_head_state()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv04.c415 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/drivers/video/fbdev/
H A Damifb.c761 u_short htotal; /* vmode */ member
1027 #define htotal2hw(htotal) (div8(htotal) - 1) argument
1031 #define hcenter2hw(htotal) (div8(htotal)) argument
1133 u_int htotal, vtotal; in ami_decode_var() local
1222 par->htotal = down8((var->left_margin + par->xres + var->right_margin + in ami_decode_var()
1233 par->diwstop_h = par->htotal - in ami_decode_var()
1244 if (par->diwstop_h >= par->htotal + 8) { in ami_decode_var()
1267 if (par->htotal != PAL_HTOTAL) { in ami_decode_var()
1279 htotal = PAL_HTOTAL>>clk_shift; in ami_decode_var()
1297 if (par->htotal != NTSC_HTOTAL) { in ami_decode_var()
[all …]
H A Dgbefb.c512 timing->htotal = var->left_margin + var->xres + in compute_gbe_timing()
516 timing->fields_sec = 1000 * timing->cfreq / timing->htotal * in compute_gbe_timing()
520 timing->hblank_end = timing->htotal; in compute_gbe_timing()
547 SET_GBE_FIELD(VT_XYMAX, MAXX, val, timing->htotal); in gbe_set_timing_info()
595 timing->htotal - (20 - timing->hblank_end)); in gbe_set_timing_info()
605 timing->htotal - (GBE_CRS_MAGIC - in gbe_set_timing_info()
617 temp += timing->htotal; /* allow blank to wrap around */ in gbe_set_timing_info()
622 GBE_PIXEN_MAGIC_OFF) % timing->htotal)); in gbe_set_timing_info()
985 var->left_margin = timing.htotal - timing.hsync_end; in gbefb_check_var()
/linux/drivers/gpu/drm/tests/
H A Ddrm_modes_test.c67 KUNIT_EXPECT_EQ(test, mode->htotal, 858); in drm_test_modes_analog_tv_ntsc_480i()
125 KUNIT_EXPECT_EQ(test, mode->htotal, 864); in drm_test_modes_analog_tv_pal_576i()
183 KUNIT_EXPECT_EQ(test, mode->htotal, 864); in drm_test_modes_analog_tv_mono_576i()
/linux/drivers/video/fbdev/sis/
H A Dinitextlfb.c27 int *htotal, int *vtotal, unsigned char rateindex);
164 sisfb_gettotalfrommode(struct SiS_Private *SiS_Pr, unsigned char modeno, int *htotal, in sisfb_gettotalfrommode() argument
201 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
/linux/drivers/video/fbdev/geode/
H A Ddisplay_gx1.c81 int hactive, hblankstart, hsyncstart, hsyncend, hblankend, htotal; in gx1_set_mode() local
152 htotal = hblankend; in gx1_set_mode()
161 val = (hactive - 1) | ((htotal - 1) << 16); in gx1_set_mode()
/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c198 clocksperline = mode->htotal; in vtg_set_hsync_vsync_pos()
251 writel(mode->htotal, vtg->regs + VTG_CLKLN); in vtg_set_mode()
342 return mode.htotal - mode.hsync_start + x; in sti_vtg_get_pixel_number()
/linux/drivers/gpu/drm/gma500/
H A Dintel_bios.c157 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay + in fill_detail_timing_data()
182 if (panel_fixed_mode->hsync_end > panel_fixed_mode->htotal) in fill_detail_timing_data()
183 panel_fixed_mode->htotal = panel_fixed_mode->hsync_end + 1; in fill_detail_timing_data()
259 if (panel_fixed_mode->htotal > 0 && panel_fixed_mode->vtotal > 0) { in parse_lfp_panel_data()
H A Doaktrail_device.c145 p->htotal = PSB_RVDC32(HTOTAL_A); in oaktrail_save_display_registers()
265 PSB_WVDC32(p->htotal, HTOTAL_A); in oaktrail_restore_display_registers()
403 .htotal = HTOTAL_A,
427 .htotal = HTOTAL_B,
H A Dpsb_intel_display.c268 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
395 htot = REG_READ(map->htotal); in psb_intel_crtc_mode_get()
401 htot = p->htotal; in psb_intel_crtc_mode_get()
413 mode->htotal = ((htot & 0xffff0000) >> 16) + 1; in psb_intel_crtc_mode_get()
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dif0013.h31 __u16 htotal; member
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-fg.c142 u32 hact, htotal, hsync, hsbp; in dc_fg_cfg_videomode() local
148 htotal = m->crtc_htotal; in dc_fg_cfg_videomode()
158 regmap_write(fg->reg, HTCFG1, HACT(hact) | HTOTAL(htotal)); in dc_fg_cfg_videomode()
/linux/arch/m68k/include/asm/
H A Damigahw.h183 unsigned short htotal; member
268 amiga_custom.htotal = 113; /* 31 kHz */ in amifb_video_off()

1234