Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
lcd.h File Reference

Go to the source code of this file.

Macros

#define VT1631_DEVICE_ID_REG   0x02
 
#define VT1631_DEVICE_ID   0x92
 
#define VT3271_DEVICE_ID_REG   0x02
 
#define VT3271_DEVICE_ID   0x71
 
#define LCD_PANEL_ID0_640X480   0x00
 
#define LCD_PANEL_ID1_800X600   0x01
 
#define LCD_PANEL_ID2_1024X768   0x02
 
#define LCD_PANEL_ID3_1280X768   0x03
 
#define LCD_PANEL_ID4_1280X1024   0x04
 
#define LCD_PANEL_ID5_1400X1050   0x05
 
#define LCD_PANEL_ID6_1600X1200   0x06
 
#define LCD_PANEL_ID7_1366X768   0x07
 
#define LCD_PANEL_ID8_1024X600   0x08
 
#define LCD_PANEL_ID9_1280X800   0x09
 
#define LCD_PANEL_IDA_800X480   0x0A
 
#define LCD_PANEL_IDB_1360X768   0x0B
 
#define LCD_PANEL_IDC_480X640   0x0C
 
#define LCD_PANEL_IDD_1200X900   0x0D
 

Functions

void viafb_disable_lvds_vt1636 (struct lvds_setting_information *plvds_setting_info, struct lvds_chip_information *plvds_chip_info)
 
void viafb_enable_lvds_vt1636 (struct lvds_setting_information *plvds_setting_info, struct lvds_chip_information *plvds_chip_info)
 
void viafb_lcd_disable (void)
 
void viafb_lcd_enable (void)
 
void __devinit viafb_init_lcd_size (void)
 
void __devinit viafb_init_lvds_output_interface (struct lvds_chip_information *plvds_chip_info, struct lvds_setting_information *plvds_setting_info)
 
void viafb_lcd_set_mode (const struct fb_var_screeninfo *var, u16 cxres, u16 cyres, struct lvds_setting_information *plvds_setting_info, struct lvds_chip_information *plvds_chip_info)
 
bool __devinit viafb_lvds_trasmitter_identify (void)
 
bool viafb_lcd_get_mobile_state (bool *mobile)
 

Variables

int viafb_LCD2_ON
 
int viafb_LCD_ON
 
int viafb_DVI_ON
 

Macro Definition Documentation

#define LCD_PANEL_ID0_640X480   0x00

Definition at line 33 of file lcd.h.

#define LCD_PANEL_ID1_800X600   0x01

Definition at line 35 of file lcd.h.

#define LCD_PANEL_ID2_1024X768   0x02

Definition at line 37 of file lcd.h.

#define LCD_PANEL_ID3_1280X768   0x03

Definition at line 39 of file lcd.h.

#define LCD_PANEL_ID4_1280X1024   0x04

Definition at line 41 of file lcd.h.

#define LCD_PANEL_ID5_1400X1050   0x05

Definition at line 43 of file lcd.h.

#define LCD_PANEL_ID6_1600X1200   0x06

Definition at line 45 of file lcd.h.

#define LCD_PANEL_ID7_1366X768   0x07

Definition at line 47 of file lcd.h.

#define LCD_PANEL_ID8_1024X600   0x08

Definition at line 49 of file lcd.h.

#define LCD_PANEL_ID9_1280X800   0x09

Definition at line 51 of file lcd.h.

#define LCD_PANEL_IDA_800X480   0x0A

Definition at line 53 of file lcd.h.

#define LCD_PANEL_IDB_1360X768   0x0B

Definition at line 55 of file lcd.h.

#define LCD_PANEL_IDC_480X640   0x0C

Definition at line 57 of file lcd.h.

#define LCD_PANEL_IDD_1200X900   0x0D

Definition at line 59 of file lcd.h.

#define VT1631_DEVICE_ID   0x92

Definition at line 26 of file lcd.h.

#define VT1631_DEVICE_ID_REG   0x02

Definition at line 25 of file lcd.h.

#define VT3271_DEVICE_ID   0x71

Definition at line 29 of file lcd.h.

#define VT3271_DEVICE_ID_REG   0x02

Definition at line 28 of file lcd.h.

Function Documentation

void viafb_disable_lvds_vt1636 ( struct lvds_setting_information plvds_setting_info,
struct lvds_chip_information plvds_chip_info 
)

Definition at line 115 of file vt1636.c.

void viafb_enable_lvds_vt1636 ( struct lvds_setting_information plvds_setting_info,
struct lvds_chip_information plvds_chip_info 
)

Definition at line 107 of file vt1636.c.

void __devinit viafb_init_lcd_size ( void  )

Definition at line 84 of file lcd.c.

void __devinit viafb_init_lvds_output_interface ( struct lvds_chip_information plvds_chip_info,
struct lvds_setting_information plvds_setting_info 
)

Definition at line 917 of file lcd.c.

void viafb_lcd_disable ( void  )

Definition at line 714 of file lcd.c.

void viafb_lcd_enable ( void  )

Definition at line 771 of file lcd.c.

bool viafb_lcd_get_mobile_state ( bool mobile)

Definition at line 963 of file lcd.c.

void viafb_lcd_set_mode ( const struct fb_var_screeninfo var,
u16  cxres,
u16  cyres,
struct lvds_setting_information plvds_setting_info,
struct lvds_chip_information plvds_chip_info 
)

Definition at line 541 of file lcd.c.

bool __devinit viafb_lvds_trasmitter_identify ( void  )

Definition at line 142 of file lcd.c.

Variable Documentation

int viafb_DVI_ON

Definition at line 33 of file global.c.

int viafb_LCD2_ON

Definition at line 35 of file global.c.

int viafb_LCD_ON

Definition at line 34 of file global.c.