Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
lcd.c File Reference
#include <linux/via-core.h>
#include <linux/via_i2c.h>
#include "global.h"

Go to the source code of this file.

Macros

#define viafb_compact_res(x, y)   (((x)<<16)|(y))
 

Functions

void __devinit viafb_init_lcd_size (void)
 
bool __devinit viafb_lvds_trasmitter_identify (void)
 
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)
 
void viafb_lcd_disable (void)
 
void viafb_lcd_enable (void)
 
void __devinit viafb_init_lvds_output_interface (struct lvds_chip_information *plvds_chip_info, struct lvds_setting_information *plvds_setting_info)
 
bool viafb_lcd_get_mobile_state (bool *mobile)
 

Macro Definition Documentation

#define viafb_compact_res (   x,
  y 
)    (((x)<<16)|(y))

Definition at line 25 of file lcd.c.

Function Documentation

void __devinit viafb_init_lcd_size ( void  )

Definition at line 84 of file lcd.c.

void 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.