Lines Matching defs:vc
106 struct video_chip vc;
205 struct video_chip *vc = &hd64461video_chip.vc;
245 on_screen_size = (vc->vc_fbwidth * vc->vc_fbheight * vc->vc_fbdepth) /
247 hd64461video_chip.off_screen_addr = (uint8_t *)vc->vc_fbvaddr +
295 hd64461video_chip.vc.vc_reverse = video_reverse_color();
329 struct video_chip *vc = &hvc->vc;
331 vaddr_t fbvaddr = vc->vc_fbvaddr;
332 int height = vc->vc_fbheight;
333 int width = vc->vc_fbwidth;
334 int depth = vc->vc_fbdepth;
360 if (vc->vc_reverse)
412 switch (hvc->vc.vc_fbdepth) {
435 (hvc->vc.vc_fbwidth - 1) & HD64461_LCDGRDOR_MASK);
652 width = sc->sc_vc->vc.vc_fbwidth;
653 bpp = sc->sc_vc->vc.vc_fbdepth;
700 width = sc->sc_vc->vc.vc_fbwidth;
701 bpp = sc->sc_vc->vc.vc_fbdepth;
765 width = sc->sc_vc->vc.vc_fbwidth;
766 bpp = sc->sc_vc->vc.vc_fbdepth;
819 sc->sc_vc->vc.vc_fbheight + (uc / cw) * h, row, col, h, w);
827 if (sc->sc_vc->vc.vc_fbdepth != 8)
888 bpp = hvc->vc.vc_fbdepth;
937 switch (hvc->vc.vc_fbdepth) {
963 struct video_chip *vc = &hvc->vc;
1022 vc->vc_fbvaddr = HD64461_FBBASE;
1023 vc->vc_fbpaddr = HD64461_FBBASE;
1024 vc->vc_fbdepth = depth;
1025 vc->vc_fbsize = (width * height * depth) / NBBY;
1026 vc->vc_fbwidth = width;
1027 vc->vc_fbheight = height;
1124 hd64461video_set_clut(struct hd64461video_chip *vc, int idx, int cnt,
1148 hd64461video_get_clut(struct hd64461video_chip *vc, int idx, int cnt,
1198 hd64461video_off(struct hd64461video_chip *vc)
1201 callout_stop(&vc->unblank_ch);
1204 hd64461video_display_onoff(vc, false);
1213 hd64461video_on(struct hd64461video_chip *vc)
1224 callout_reset(&vc->unblank_ch, hz/2,
1225 hd64461video_display_on, vc);
1227 hd64461video_display_onoff(vc, true);
1240 /* struct hd64461video_chip *vc = arg; */