Lines Matching full:panel
36 panel)
50 struct lcd_panel panel; member
153 set_data_lines(md, md->panel.data_lines); in send_init_string()
184 * When we enable the panel, it seems we _have_ to sleep in set_sleep_mode()
186 * panel we'll sleep for the duration of 2 frames, so that the in set_sleep_mode()
201 static int mipid_set_bklight_level(struct lcd_panel *panel, unsigned int level) in mipid_set_bklight_level() argument
203 struct mipid_device *md = to_mipid_device(panel); in mipid_set_bklight_level()
219 static unsigned int mipid_get_bklight_level(struct lcd_panel *panel) in mipid_get_bklight_level() argument
221 struct mipid_device *md = to_mipid_device(panel); in mipid_get_bklight_level()
229 static unsigned int mipid_get_bklight_max(struct lcd_panel *panel) in mipid_get_bklight_max() argument
231 struct mipid_device *md = to_mipid_device(panel); in mipid_get_bklight_max()
240 static unsigned long mipid_get_caps(struct lcd_panel *panel) in mipid_get_caps() argument
256 switch (md->panel.data_lines) { in read_first_pixel()
273 static int mipid_run_test(struct lcd_panel *panel, int test_num) in mipid_run_test() argument
275 struct mipid_device *md = to_mipid_device(panel); in mipid_run_test()
402 static int mipid_enable(struct lcd_panel *panel) in mipid_enable() argument
404 struct mipid_device *md = to_mipid_device(panel); in mipid_enable()
416 mipid_set_bklight_level(panel, md->saved_bklight_level); in mipid_enable()
423 static void mipid_disable(struct lcd_panel *panel) in mipid_disable() argument
425 struct mipid_device *md = to_mipid_device(panel); in mipid_disable()
438 md->saved_bklight_level = mipid_get_bklight_level(panel); in mipid_disable()
439 mipid_set_bklight_level(panel, 0); in mipid_disable()
456 "LCD panel %senabled by bootloader (status 0x%04x)\n", in panel_enabled()
461 static int mipid_init(struct lcd_panel *panel, in mipid_init() argument
464 struct mipid_device *md = to_mipid_device(panel); in mipid_init()
475 md->saved_bklight_level = mipid_get_bklight_level(panel); in mipid_init()
480 static void mipid_cleanup(struct lcd_panel *panel) in mipid_cleanup() argument
482 struct mipid_device *md = to_mipid_device(panel); in mipid_cleanup()
530 md->panel.name = "lph8923"; in mipid_detect()
533 md->panel.name = "ls041y3"; in mipid_detect()
537 md->panel.name = "unknown"; in mipid_detect()
543 md->panel.data_lines = pdata->data_lines; in mipid_detect()
545 md->panel.name, md->revision, md->panel.data_lines); in mipid_detect()
570 md->panel = mipid_panel; in mipid_spi_probe()
576 omapfb_register_panel(&md->panel); in mipid_spi_probe()
591 mipid_disable(&md->panel); in mipid_spi_remove()