Searched refs:hdispend (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/gpu/drm/cirrus/ |
D | cirrus_mode.c | 200 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.4.14/drivers/video/fbdev/ |
D | cirrusfb.c | 666 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()
|
D | tridentfb.c | 1138 u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; in tridentfb_set_par() local 1146 hdispend = var->xres / 8 - 1; in tridentfb_set_par() 1151 hblankstart = hdispend + 1; in tridentfb_set_par() 1209 write3X4(par, VGA_CRTC_H_DISP, hdispend & 0xFF); in tridentfb_set_par() 1237 tmp |= (hdispend >> 7) & 0x02; in tridentfb_set_par()
|
D | tdfxfb.c | 545 u32 hdispend = info->var.xres; in tdfxfb_set_par() local 546 u32 hsyncsta = hdispend + info->var.right_margin; in tdfxfb_set_par() 572 hdispend >>= 1; in tdfxfb_set_par() 578 wd = (hdispend >> 3) - 1; in tdfxfb_set_par()
|