Home
last modified time | relevance | path

Searched refs:sc_panel (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/arm/ti/am335x/
H A Dam335x_lcd.c210 struct panel_info sc_panel; member
629 err = clk_set_freq(sc->sc_clk_dpll_disp_ck, sc->sc_panel.panel_pxl_clk*2, in am335x_lcd_configure()
643 dma_size = round_page(sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8); in am335x_lcd_configure()
681 sc->sc_fb_size = sc->sc_panel.panel_width*sc->sc_panel.panel_height*sc->sc_panel.bpp/8; in am335x_lcd_configure()
685 div = am335x_lcd_calc_divisor(ref_freq, sc->sc_panel.panel_pxl_clk); in am335x_lcd_configure()
692 hbp = sc->sc_panel.panel_hbp - 1; in am335x_lcd_configure()
693 hfp = sc->sc_panel.panel_hfp - 1; in am335x_lcd_configure()
694 hsw = sc->sc_panel.panel_hsw - 1; in am335x_lcd_configure()
696 vbp = sc->sc_panel.panel_vbp; in am335x_lcd_configure()
697 vfp = sc->sc_panel.panel_vfp; in am335x_lcd_configure()
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_diu.c170 struct panel_info sc_panel; member
243 panel = &sc->sc_panel; in diu_init()
391 sc->sc_panel.panel_width = videomode->hdisplay; in diu_attach()
392 sc->sc_panel.panel_height = videomode->vdisplay; in diu_attach()
393 sc->sc_panel.panel_hbp = videomode->hsync_start - videomode->hdisplay; in diu_attach()
394 sc->sc_panel.panel_hfp = videomode->htotal - videomode->hsync_end; in diu_attach()
395 sc->sc_panel.panel_hpw = videomode->hsync_end - videomode->hsync_start; in diu_attach()
396 sc->sc_panel.panel_vbp = videomode->vsync_start - videomode->vdisplay; in diu_attach()
397 sc->sc_panel.panel_vfp = videomode->vtotal - videomode->vsync_end; in diu_attach()
398 sc->sc_panel.panel_vpw = videomode->vsync_end - videomode->vsync_start; in diu_attach()
[all …]