Lines Matching defs:vc
177 struct video_chip *vc = &sc->sc_vc;
188 fb->hf_height = vc->vc_fbheight;
189 fb->hf_width = vc->vc_fbwidth;
190 fb->hf_baseaddr = vc->vc_fbvaddr;
192 fb->hf_offset = vc->vc_fbvaddr - arm_ptob(arm_btop(vc->vc_fbvaddr));
194 fb->hf_bytes_per_line = (vc->vc_fbwidth * vc->vc_fbdepth) / NBBY;
196 fb->hf_bytes_per_plane = vc->vc_fbheight * fb->hf_bytes_per_line;
201 if (vc->vc_reverse)
204 switch (vc->vc_fbdepth) {
207 __func__, vc->vc_fbdepth);
247 epsonlcd_get_video_chip(struct epsonlcd_softc *sc, struct video_chip *vc)
252 vc->vc_fbvaddr = BSH2VADDR(sc->sc_fbh);
253 vc->vc_fbpaddr = sc->sc_fbaddr;
254 vc->vc_fbsize = S1D138XX_FRAMEBUFFER_SIZE;
255 vc->vc_fbdepth = (bootinfo->fb_line_bytes / bootinfo->fb_width) * NBBY;
256 vc->vc_fbwidth = bootinfo->fb_width;
257 vc->vc_fbheight = bootinfo->fb_height;
258 vc->vc_reverse = video_reverse_color();