Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/tiny/
H A Dcirrus.c202 int hsyncstart, hsyncend, htotal, hdispend; in cirrus_mode_set() local
209 hdispend = mode->hdisplay / 8; in cirrus_mode_set()
218 hdispend -= 1; in cirrus_mode_set()
224 wreg_crt(cirrus, VGA_CRTC_H_DISP, hdispend); in cirrus_mode_set()
/openbmc/linux/drivers/video/fbdev/
H A Dcirrusfb.c667 int hdispend, hsyncstart, hsyncend, htotal; in cirrusfb_set_par_foo() local
703 hdispend = var->xres / 8; in cirrusfb_set_par_foo()
740 hdispend /= 2; in cirrusfb_set_par_foo()
744 hdispend -= 1; in cirrusfb_set_par_foo()
755 dev_dbg(info->device, "CRT1: %d\n", hdispend); in cirrusfb_set_par_foo()
756 vga_wcrt(regbase, VGA_CRTC_H_DISP, hdispend); in cirrusfb_set_par_foo()
1222 if (hdispend & 256) in cirrusfb_set_par_foo()
H A Dtridentfb.c1135 u32 htotal, hdispend, hsyncstart, hsyncend, hblankstart, hblankend; in tridentfb_set_par() local
1143 hdispend = var->xres / 8 - 1; in tridentfb_set_par()
1148 hblankstart = hdispend + 1; in tridentfb_set_par()
1206 write3X4(par, VGA_CRTC_H_DISP, hdispend & 0xFF); in tridentfb_set_par()
1234 tmp |= (hdispend >> 7) & 0x02; in tridentfb_set_par()
H A Dtdfxfb.c546 u32 hdispend = info->var.xres; in tdfxfb_set_par() local
547 u32 hsyncsta = hdispend + info->var.right_margin; in tdfxfb_set_par()
573 hdispend >>= 1; in tdfxfb_set_par()
579 wd = (hdispend >> 3) - 1; in tdfxfb_set_par()