Home
last modified time | relevance | path

Searched refs:hdispend (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/cirrus/
Dcirrus_mode.c200 int hsyncstart, hsyncend, htotal, hdispend; in cirrus_crtc_mode_set() local
208 hdispend = mode->hdisplay / 8; in cirrus_crtc_mode_set()
217 hdispend -= 1; in cirrus_crtc_mode_set()
223 WREG_CRT(VGA_CRTC_H_DISP, hdispend); in cirrus_crtc_mode_set()
/linux-4.1.27/drivers/video/fbdev/
Dcirrusfb.c666 int hdispend, hsyncstart, hsyncend, htotal; in cirrusfb_set_par_foo() local
702 hdispend = var->xres / 8; in cirrusfb_set_par_foo()
739 hdispend /= 2; in cirrusfb_set_par_foo()
743 hdispend -= 1; in cirrusfb_set_par_foo()
754 dev_dbg(info->device, "CRT1: %d\n", hdispend); in cirrusfb_set_par_foo()
755 vga_wcrt(regbase, VGA_CRTC_H_DISP, hdispend); in cirrusfb_set_par_foo()
1221 if (hdispend & 256) in cirrusfb_set_par_foo()
Dtridentfb.c1011 u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; in tridentfb_set_par() local
1019 hdispend = var->xres / 8 - 1; in tridentfb_set_par()
1024 hblankstart = hdispend + 1; in tridentfb_set_par()
1082 write3X4(par, VGA_CRTC_H_DISP, hdispend & 0xFF); in tridentfb_set_par()
1110 tmp |= (hdispend >> 7) & 0x02; in tridentfb_set_par()
Dtdfxfb.c564 u32 hdispend = info->var.xres; in tdfxfb_set_par() local
565 u32 hsyncsta = hdispend + info->var.right_margin; in tdfxfb_set_par()
591 hdispend >>= 1; in tdfxfb_set_par()
597 wd = (hdispend >> 3) - 1; in tdfxfb_set_par()