Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/cirrus/
Dcirrus.c178 int hsyncstart, hsyncend, htotal, hdispend; in cirrus_mode_set() local
186 hdispend = mode->hdisplay / 8; in cirrus_mode_set()
195 hdispend -= 1; in cirrus_mode_set()
201 wreg_crt(cirrus, VGA_CRTC_H_DISP, hdispend); in cirrus_mode_set()
/Linux-v5.4/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.c1136 u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; in tridentfb_set_par() local
1144 hdispend = var->xres / 8 - 1; in tridentfb_set_par()
1149 hblankstart = hdispend + 1; in tridentfb_set_par()
1207 write3X4(par, VGA_CRTC_H_DISP, hdispend & 0xFF); in tridentfb_set_par()
1235 tmp |= (hdispend >> 7) & 0x02; in tridentfb_set_par()
Dtdfxfb.c547 u32 hdispend = info->var.xres; in tdfxfb_set_par() local
548 u32 hsyncsta = hdispend + info->var.right_margin; in tdfxfb_set_par()
574 hdispend >>= 1; in tdfxfb_set_par()
580 wd = (hdispend >> 3) - 1; in tdfxfb_set_par()