Home
last modified time | relevance | path

Searched refs:panel (Results 1 – 25 of 72) sorted by relevance

123

/drivers/video/msm/
Dmddi_client_nt35399.c43 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_request_vsync() local
45 struct msm_mddi_client_data *client_data = panel->client_data; in nt35399_request_vsync()
47 panel->fb_callback = callback; in nt35399_request_vsync()
48 if (panel->nt35399_got_int) { in nt35399_request_vsync()
49 panel->nt35399_got_int = 0; in nt35399_request_vsync()
56 struct panel_info *panel = container_of(panel_data, struct panel_info, in nt35399_wait_vsync() local
58 struct msm_mddi_client_data *client_data = panel->client_data; in nt35399_wait_vsync()
60 if (panel->nt35399_got_int) { in nt35399_wait_vsync()
61 panel->nt35399_got_int = 0; in nt35399_wait_vsync()
65 if (wait_event_timeout(nt35399_vsync_wait, panel->nt35399_got_int, in nt35399_wait_vsync()
[all …]
Dmddi_client_toshiba.c69 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_request_vsync() local
71 struct msm_mddi_client_data *client_data = panel->client_data; in toshiba_request_vsync()
73 panel->toshiba_callback = callback; in toshiba_request_vsync()
74 if (panel->toshiba_got_int) { in toshiba_request_vsync()
75 panel->toshiba_got_int = 0; in toshiba_request_vsync()
82 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_clear_vsync() local
84 struct msm_mddi_client_data *client_data = panel->client_data; in toshiba_clear_vsync()
91 struct panel_info *panel = container_of(panel_data, struct panel_info, in toshiba_wait_vsync() local
93 struct msm_mddi_client_data *client_data = panel->client_data; in toshiba_wait_vsync()
95 if (panel->toshiba_got_int) { in toshiba_wait_vsync()
[all …]
Dmddi_client_dummy.c53 struct panel_info *panel = in mddi_dummy_probe() local
56 if (!panel) in mddi_dummy_probe()
58 platform_set_drvdata(pdev, panel); in mddi_dummy_probe()
59 panel->panel_data.suspend = mddi_dummy_suspend; in mddi_dummy_probe()
60 panel->panel_data.resume = mddi_dummy_resume; in mddi_dummy_probe()
61 panel->panel_data.blank = mddi_dummy_blank; in mddi_dummy_probe()
62 panel->panel_data.unblank = mddi_dummy_unblank; in mddi_dummy_probe()
63 panel->panel_data.caps = MSMFB_CAP_PARTIAL_UPDATES; in mddi_dummy_probe()
64 panel->pdev.name = "msm_panel"; in mddi_dummy_probe()
65 panel->pdev.id = pdev->id; in mddi_dummy_probe()
[all …]
Dmsm_fb.c64 struct msm_panel_data *panel; member
126 struct msm_panel_data *panel = msmfb->panel; in msmfb_start_dma() local
167 panel->interface_type); in msmfb_start_dma()
172 if (panel->clear_vsync) in msmfb_start_dma()
173 panel->clear_vsync(panel); in msmfb_start_dma()
199 struct msm_panel_data *panel = msmfb->panel; in msmfb_pan_update() local
231 if (retry && panel->request_vsync && in msmfb_pan_update()
233 panel->request_vsync(panel, in msmfb_pan_update()
283 if (panel->request_vsync && (sleeping == AWAKE)) { in msmfb_pan_update()
284 panel->request_vsync(panel, &msmfb->vsync_callback); in msmfb_pan_update()
[all …]
/drivers/video/omap/
Dlcd_mipid.c48 panel)
61 struct lcd_panel panel; member
165 set_data_lines(md, md->panel.data_lines); in send_init_string()
213 static int mipid_set_bklight_level(struct lcd_panel *panel, unsigned int level) in mipid_set_bklight_level() argument
215 struct mipid_device *md = to_mipid_device(panel); in mipid_set_bklight_level()
231 static unsigned int mipid_get_bklight_level(struct lcd_panel *panel) in mipid_get_bklight_level() argument
233 struct mipid_device *md = to_mipid_device(panel); in mipid_get_bklight_level()
241 static unsigned int mipid_get_bklight_max(struct lcd_panel *panel) in mipid_get_bklight_max() argument
243 struct mipid_device *md = to_mipid_device(panel); in mipid_get_bklight_max()
252 static unsigned long mipid_get_caps(struct lcd_panel *panel) in mipid_get_caps() argument
[all …]
Domapfb_main.c163 struct lcd_panel *panel = fbdev->panel; in ctrl_init() local
165 int bpp = panel->bpp; in ctrl_init()
352 fbdev->panel->enable(fbdev->panel); in omapfb_blank()
361 fbdev->panel->disable(fbdev->panel); in omapfb_blank()
474 if (plane->fbdev->panel->bpp == 12) in set_color_mode()
498 struct lcd_panel *panel = fbdev->panel; in set_fb_var() local
511 xres_max = panel->x_res; in set_fb_var()
513 yres_max = panel->y_res; in set_fb_var()
515 var->xres = panel->x_res; in set_fb_var()
516 var->yres = panel->y_res; in set_fb_var()
[all …]
Dlcdc.c298 struct lcd_panel *panel = lcdc.fbdev->panel; in omap_lcdc_setup_plane() local
302 rot_x = panel->x_res; in omap_lcdc_setup_plane()
303 rot_y = panel->y_res; in omap_lcdc_setup_plane()
305 rot_x = panel->y_res; in omap_lcdc_setup_plane()
306 rot_y = panel->x_res; in omap_lcdc_setup_plane()
473 struct lcd_panel *panel = lcdc.fbdev->panel; in setup_regs() local
474 int is_tft = panel->config & OMAP_LCDC_PANEL_TFT; in setup_regs()
484 l |= (is_tft && panel->bpp == 8) ? 0x810000 : 0; in setup_regs()
491 l |= (panel->config & OMAP_LCDC_SIGNAL_MASK) << 20; in setup_regs()
494 l = panel->x_res - 1; in setup_regs()
[all …]
Domapfb.h91 int (*init) (struct lcd_panel *panel,
93 void (*cleanup) (struct lcd_panel *panel);
94 int (*enable) (struct lcd_panel *panel);
95 void (*disable) (struct lcd_panel *panel);
96 unsigned long (*get_caps) (struct lcd_panel *panel);
97 int (*set_bklight_level)(struct lcd_panel *panel,
99 unsigned int (*get_bklight_level)(struct lcd_panel *panel);
100 unsigned int (*get_bklight_max) (struct lcd_panel *panel);
101 int (*run_test) (struct lcd_panel *panel, int test_num);
217 struct lcd_panel *panel; /* LCD panel */ member
[all …]
Dlcd_htcherald.c34 static int htcherald_panel_init(struct lcd_panel *panel, in htcherald_panel_init() argument
40 static void htcherald_panel_cleanup(struct lcd_panel *panel) in htcherald_panel_cleanup() argument
44 static int htcherald_panel_enable(struct lcd_panel *panel) in htcherald_panel_enable() argument
49 static void htcherald_panel_disable(struct lcd_panel *panel) in htcherald_panel_disable() argument
53 static unsigned long htcherald_panel_get_caps(struct lcd_panel *panel) in htcherald_panel_get_caps() argument
Dlcd_palmz71.c29 static int palmz71_panel_init(struct lcd_panel *panel, in palmz71_panel_init() argument
35 static void palmz71_panel_cleanup(struct lcd_panel *panel) in palmz71_panel_cleanup() argument
40 static int palmz71_panel_enable(struct lcd_panel *panel) in palmz71_panel_enable() argument
45 static void palmz71_panel_disable(struct lcd_panel *panel) in palmz71_panel_disable() argument
49 static unsigned long palmz71_panel_get_caps(struct lcd_panel *panel) in palmz71_panel_get_caps() argument
Dlcd_inn1510.c29 static int innovator1510_panel_init(struct lcd_panel *panel, in innovator1510_panel_init() argument
35 static void innovator1510_panel_cleanup(struct lcd_panel *panel) in innovator1510_panel_cleanup() argument
39 static int innovator1510_panel_enable(struct lcd_panel *panel) in innovator1510_panel_enable() argument
45 static void innovator1510_panel_disable(struct lcd_panel *panel) in innovator1510_panel_disable() argument
50 static unsigned long innovator1510_panel_get_caps(struct lcd_panel *panel) in innovator1510_panel_get_caps() argument
Dlcd_palmte.c29 static int palmte_panel_init(struct lcd_panel *panel, in palmte_panel_init() argument
35 static void palmte_panel_cleanup(struct lcd_panel *panel) in palmte_panel_cleanup() argument
39 static int palmte_panel_enable(struct lcd_panel *panel) in palmte_panel_enable() argument
44 static void palmte_panel_disable(struct lcd_panel *panel) in palmte_panel_disable() argument
48 static unsigned long palmte_panel_get_caps(struct lcd_panel *panel) in palmte_panel_get_caps() argument
Dlcd_palmtt.c35 static int palmtt_panel_init(struct lcd_panel *panel, in palmtt_panel_init() argument
41 static void palmtt_panel_cleanup(struct lcd_panel *panel) in palmtt_panel_cleanup() argument
45 static int palmtt_panel_enable(struct lcd_panel *panel) in palmtt_panel_enable() argument
50 static void palmtt_panel_disable(struct lcd_panel *panel) in palmtt_panel_disable() argument
54 static unsigned long palmtt_panel_get_caps(struct lcd_panel *panel) in palmtt_panel_get_caps() argument
Dlcd_osk.c30 static int osk_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in osk_panel_init() argument
36 static void osk_panel_cleanup(struct lcd_panel *panel) in osk_panel_cleanup() argument
40 static int osk_panel_enable(struct lcd_panel *panel) in osk_panel_enable() argument
57 static void osk_panel_disable(struct lcd_panel *panel) in osk_panel_disable() argument
69 static unsigned long osk_panel_get_caps(struct lcd_panel *panel) in osk_panel_get_caps() argument
Dlcd_inn1610.c30 static int innovator1610_panel_init(struct lcd_panel *panel, in innovator1610_panel_init() argument
51 static void innovator1610_panel_cleanup(struct lcd_panel *panel) in innovator1610_panel_cleanup() argument
57 static int innovator1610_panel_enable(struct lcd_panel *panel) in innovator1610_panel_enable() argument
65 static void innovator1610_panel_disable(struct lcd_panel *panel) in innovator1610_panel_disable() argument
72 static unsigned long innovator1610_panel_get_caps(struct lcd_panel *panel) in innovator1610_panel_get_caps() argument
Dlcd_h3.c31 static int h3_panel_init(struct lcd_panel *panel, struct omapfb_device *fbdev) in h3_panel_init() argument
36 static void h3_panel_cleanup(struct lcd_panel *panel) in h3_panel_cleanup() argument
40 static int h3_panel_enable(struct lcd_panel *panel) in h3_panel_enable() argument
54 static void h3_panel_disable(struct lcd_panel *panel) in h3_panel_disable() argument
66 static unsigned long h3_panel_get_caps(struct lcd_panel *panel) in h3_panel_get_caps() argument
Dlcd_ams_delta.c115 static int ams_delta_panel_init(struct lcd_panel *panel, in ams_delta_panel_init() argument
121 static void ams_delta_panel_cleanup(struct lcd_panel *panel) in ams_delta_panel_cleanup() argument
126 static int ams_delta_panel_enable(struct lcd_panel *panel) in ams_delta_panel_enable() argument
133 static void ams_delta_panel_disable(struct lcd_panel *panel) in ams_delta_panel_disable() argument
139 static unsigned long ams_delta_panel_get_caps(struct lcd_panel *panel) in ams_delta_panel_get_caps() argument
/drivers/video/omap2/displays/
DMakefile1 obj-$(CONFIG_PANEL_GENERIC_DPI) += panel-generic-dpi.o
2 obj-$(CONFIG_PANEL_DVI) += panel-dvi.o
3 obj-$(CONFIG_PANEL_LGPHILIPS_LB035Q02) += panel-lgphilips-lb035q02.o
4 obj-$(CONFIG_PANEL_SHARP_LS037V7DW01) += panel-sharp-ls037v7dw01.o
5 obj-$(CONFIG_PANEL_NEC_NL8048HL11_01B) += panel-nec-nl8048hl11-01b.o
7 obj-$(CONFIG_PANEL_TAAL) += panel-taal.o
8 obj-$(CONFIG_PANEL_PICODLP) += panel-picodlp.o
9 obj-$(CONFIG_PANEL_TPO_TD043MTEA1) += panel-tpo-td043mtea1.o
10 obj-$(CONFIG_PANEL_ACX565AKM) += panel-acx565akm.o
11 obj-$(CONFIG_PANEL_N8X0) += panel-n8x0.o
/drivers/video/
Dau1100fb.c161 if (panel_is_active(fbdev->panel) || panel_is_color(fbdev->panel)) { in au1100fb_setmode()
185 index = (fbdev->panel->control_base & LCD_CONTROL_SBPPF_MASK) >> LCD_CONTROL_SBPPF_BIT; in au1100fb_setmode()
201 info->var.rotate = ((fbdev->panel->control_base&LCD_CONTROL_SM_MASK) \ in au1100fb_setmode()
205 fbdev->regs->lcd_control = fbdev->panel->control_base; in au1100fb_setmode()
206 fbdev->regs->lcd_horztiming = fbdev->panel->horztiming; in au1100fb_setmode()
207 fbdev->regs->lcd_verttiming = fbdev->panel->verttiming; in au1100fb_setmode()
208 fbdev->regs->lcd_clkcontrol = fbdev->panel->clkcontrol_base; in au1100fb_setmode()
213 if (panel_is_dual(fbdev->panel)) { in au1100fb_setmode()
282 } else if (panel_is_active(fbdev->panel)) { in au1100fb_fb_setcolreg()
287 } else if (panel_is_color(fbdev->panel)) { in au1100fb_fb_setcolreg()
[all …]
Damba-clcd.c126 if (fb->panel->caps && fb->board->caps) in clcdfb_set_bitfields()
127 caps = fb->panel->caps & fb->board->caps; in clcdfb_set_bitfields()
130 caps = fb->panel->cntl & CNTL_BGR ? in clcdfb_set_bitfields()
137 if (!(fb->panel->cntl & CNTL_LCDTFT)) in clcdfb_set_bitfields()
478 fb->fb.var.xres = fb->panel->mode.xres; in clcdfb_register()
479 fb->fb.var.yres = fb->panel->mode.yres; in clcdfb_register()
480 fb->fb.var.xres_virtual = fb->panel->mode.xres; in clcdfb_register()
481 fb->fb.var.yres_virtual = fb->panel->mode.yres; in clcdfb_register()
482 fb->fb.var.bits_per_pixel = fb->panel->bpp; in clcdfb_register()
483 fb->fb.var.grayscale = fb->panel->grayscale; in clcdfb_register()
[all …]
Dau1200fb.c181 static struct panel_settings *panel; variable
726 if ((xpos + win->w[plane].xres) > panel->Xres) { in au1200_setlocation()
728 xsz = panel->Xres - xpos; /* off by 1 ??? */ in au1200_setlocation()
732 if ((ypos + win->w[plane].yres) > panel->Yres) { in au1200_setlocation()
734 ysz = panel->Yres - ypos; /* off by 1 ??? */ in au1200_setlocation()
823 panel = newpanel; in au1200_setpanel()
825 printk("Panel(%s), %dx%d\n", panel->name, panel->Xres, panel->Yres); in au1200_setpanel()
830 if (!(panel->mode_clkcontrol & LCD_CLKCONTROL_EXT)) in au1200_setpanel()
833 au_writel(panel->mode_auxpll, SYS_AUXPLL); in au1200_setpanel()
835 sys_clksrc |= panel->mode_toyclksrc; in au1200_setpanel()
[all …]
Dau1100fb.h102 struct au1100fb_panel *panel; /* Panel connected to this device */ member
372 #define panel_is_dual(panel) (panel->control_base & LCD_CONTROL_DP) argument
373 #define panel_is_active(panel)(panel->control_base & LCD_CONTROL_PT) argument
374 #define panel_is_color(panel) (panel->control_base & LCD_CONTROL_PC) argument
375 #define panel_swap_rgb(panel) (panel->control_base & LCD_CONTROL_CCO) argument
/drivers/video/omap2/dss/
Dhdmi_panel.c41 dssdev->panel.config = OMAP_DSS_LCD_TFT | in hdmi_panel_probe()
44 dssdev->panel.timings = (struct omap_video_timings){640, 480, 25175, 96, 16, 48, 2 , 11, 31}; in hdmi_panel_probe()
47 dssdev->panel.timings.x_res, in hdmi_panel_probe()
48 dssdev->panel.timings.y_res); in hdmi_panel_probe()
146 *timings = dssdev->panel.timings; in hdmi_get_timings()
158 dssdev->panel.timings = *timings; in hdmi_set_timings()
Ddpi.c128 struct omap_video_timings *t = &dssdev->panel.timings; in dpi_set_mode()
135 dispc_mgr_set_pol_freq(dssdev->manager->id, dssdev->panel.config, in dpi_set_mode()
136 dssdev->panel.acbi, dssdev->panel.acb); in dpi_set_mode()
138 is_tft = (dssdev->panel.config & OMAP_DSS_LCD_TFT) != 0; in dpi_set_mode()
168 is_tft = (dssdev->panel.config & OMAP_DSS_LCD_TFT) != 0; in dpi_basic_init()
284 dssdev->panel.timings = *timings; in dpi_set_timings()
321 is_tft = (dssdev->panel.config & OMAP_DSS_LCD_TFT) != 0; in dpi_check_timings()
Dsdi.c51 struct omap_video_timings *t = &dssdev->panel.timings; in omapdss_sdi_display_enable()
85 dssdev->panel.config |= OMAP_DSS_LCD_RF | OMAP_DSS_LCD_ONOFF; in omapdss_sdi_display_enable()
87 dispc_mgr_set_pol_freq(dssdev->manager->id, dssdev->panel.config, in omapdss_sdi_display_enable()
88 dssdev->panel.acbi, dssdev->panel.acb); in omapdss_sdi_display_enable()

123