Lines Matching refs:pd
719 struct sm501_platdata_fbsub *pd = fbi->pdata->fb_pnl; in sm501fb_panel_power() local
738 if (!(pd->flags & SM501FB_FLAG_PANEL_NO_VBIASEN)) { in sm501fb_panel_power()
739 if (pd->flags & SM501FB_FLAG_PANEL_INV_VBIASEN) in sm501fb_panel_power()
749 if (!(pd->flags & SM501FB_FLAG_PANEL_NO_FPEN)) { in sm501fb_panel_power()
750 if (pd->flags & SM501FB_FLAG_PANEL_INV_FPEN) in sm501fb_panel_power()
761 if (!(pd->flags & SM501FB_FLAG_PANEL_NO_FPEN)) { in sm501fb_panel_power()
762 if (pd->flags & SM501FB_FLAG_PANEL_INV_FPEN) in sm501fb_panel_power()
772 if (!(pd->flags & SM501FB_FLAG_PANEL_NO_VBIASEN)) { in sm501fb_panel_power()
773 if (pd->flags & SM501FB_FLAG_PANEL_INV_VBIASEN) in sm501fb_panel_power()
1670 struct sm501_platdata_fbsub *pd; in sm501fb_init_fb() local
1679 pd = info->pdata->fb_crt; in sm501fb_init_fb()
1692 pd = info->pdata->fb_pnl; in sm501fb_init_fb()
1698 pd = NULL; /* stop compiler warnings */ in sm501fb_init_fb()
1723 if ((pd->flags & SM501FB_FLAG_USE_HWCURSOR) == 0) in sm501fb_init_fb()
1765 if (enable && (pd->flags & SM501FB_FLAG_USE_INIT_MODE) && 0) { in sm501fb_init_fb()
1768 if (pd->def_mode) { in sm501fb_init_fb()
1770 fb_videomode_to_var(&fb->var, pd->def_mode); in sm501fb_init_fb()
1772 fb->var.bits_per_pixel = pd->def_bpp ? pd->def_bpp : 8; in sm501fb_init_fb()
1856 struct sm501_platdata_fbsub *pd; in sm501fb_probe_one() local
1860 pd = (head == HEAD_CRT) ? info->pdata->fb_crt : info->pdata->fb_pnl; in sm501fb_probe_one()
1863 if (pd == NULL) { in sm501fb_probe_one()
1941 struct sm501_platdata *pd = dev->parent->platform_data; in sm501fb_probe() local
1942 info->pdata = pd->fb; in sm501fb_probe()