Searched refs:sc_fb_info (Results 1 – 4 of 4) sorted by relevance
202 struct fb_info sc_fb_info; member812 sc->sc_fb_info.fb_name = device_get_nameunit(sc->sc_dev); in am335x_lcd_configure()813 sc->sc_fb_info.fb_vbase = (intptr_t)sc->sc_fb_base; in am335x_lcd_configure()814 sc->sc_fb_info.fb_pbase = sc->sc_fb_phys; in am335x_lcd_configure()815 sc->sc_fb_info.fb_size = sc->sc_fb_size; in am335x_lcd_configure()816 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = sc->sc_panel.bpp; in am335x_lcd_configure()817 sc->sc_fb_info.fb_stride = sc->sc_panel.panel_width*sc->sc_panel.bpp / 8; in am335x_lcd_configure()818 sc->sc_fb_info.fb_width = sc->sc_panel.panel_width; in am335x_lcd_configure()819 sc->sc_fb_info.fb_height = sc->sc_panel.panel_height; in am335x_lcd_configure()1077 return (&sc->sc_fb_info); in am335x_lcd_fb_getinfo()
414 sc->sc_fb_info.fb_name = device_get_nameunit(dev); in udl_attach()415 sc->sc_fb_info.fb_size = sc->sc_fb_size; in udl_attach()416 sc->sc_fb_info.fb_bpp = 16; in udl_attach()417 sc->sc_fb_info.fb_depth = 16; in udl_attach()418 sc->sc_fb_info.fb_width = udl_get_fb_width(sc); in udl_attach()419 sc->sc_fb_info.fb_height = udl_get_fb_height(sc); in udl_attach()420 sc->sc_fb_info.fb_stride = sc->sc_fb_info.fb_width * 2; in udl_attach()421 sc->sc_fb_info.fb_pbase = 0; in udl_attach()422 sc->sc_fb_info.fb_vbase = (uintptr_t)sc->sc_fb_addr; in udl_attach()423 sc->sc_fb_info.fb_priv = sc; in udl_attach()[all …]
69 struct fb_info sc_fb_info; member
374 struct fb_info sc_fb_info; member1039 sc->sc_fb_info.fb_name = device_get_nameunit(sc->sc_dev); in ipu_init()1040 sc->sc_fb_info.fb_vbase = (intptr_t)sc->sc_fb_base; in ipu_init()1041 sc->sc_fb_info.fb_pbase = sc->sc_fb_phys; in ipu_init()1042 sc->sc_fb_info.fb_size = sc->sc_fb_size; in ipu_init()1043 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = MODE_BPP; in ipu_init()1044 sc->sc_fb_info.fb_stride = sc->sc_mode->hdisplay * MODE_BPP / 8; in ipu_init()1045 sc->sc_fb_info.fb_width = sc->sc_mode->hdisplay; in ipu_init()1046 sc->sc_fb_info.fb_height = sc->sc_mode->vdisplay; in ipu_init()1245 return (&sc->sc_fb_info); in ipu_fb_getinfo()