static void __exit t13_exit(void) { power_off_backlight(); power_off_lcd(); platform_device_unregister(&tcon_dev); }
static int __init t13_init(void) { power_off_backlight(); t13_setup_gama_table(&lcd_config); t13_io_init(); platform_device_register(&lcd_dev); return 0; }
static int set_hdmi_output(int video_format, video_appmode_t *video_mode) { int resolution; int video_fd; video_fd=open("/dev/video",O_RDONLY); #if (defined APOLLO_PMP_LCD)||(defined NIKE_PMP_LCD) power_off_backlight(); #endif resolution = hdmi_switch_process[video_format].func(video_mode, video_fd); #ifdef APOLLO_PMP_TVOUT power_off_vdac(); #endif close(video_fd); return resolution; }
static void t13_power_off(void) { power_off_backlight(); power_off_lcd(); }
void shut_down_lcd(void) { printk("shut down lcd...\n"); power_off_backlight(); power_off_lcd(); }
void lcd_disable(void) { power_off_backlight(); power_off_lcd(); tcon_remove(); }