Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
viafbdev.h File Reference
#include <linux/proc_fs.h>
#include <linux/fb.h>
#include <linux/spinlock.h>
#include "via_aux.h"
#include "ioctl.h"
#include "share.h"
#include "chip.h"
#include "hw.h"

Go to the source code of this file.

Data Structures

struct  viafb_shared
 
struct  viafb_par
 

Macros

#define VERSION_MAJOR   2
 
#define VERSION_KERNEL   6 /* For kernel 2.6 */
 
#define VERSION_OS   0 /* 0: for 32 bits OS, 1: for 64 bits OS */
 
#define VERSION_MINOR   4
 
#define VIAFB_NUM_I2C   5
 

Functions

u8 viafb_gpio_i2c_read_lvds (struct lvds_setting_information *plvds_setting_info, struct lvds_chip_information *plvds_chip_info, u8 index)
 
void viafb_gpio_i2c_write_mask_lvds (struct lvds_setting_information *plvds_setting_info, struct lvds_chip_information *plvds_chip_info, struct IODATA io_data)
 
int via_fb_pci_probe (struct viafb_dev *vdev)
 
void via_fb_pci_remove (struct pci_dev *pdev)
 
int viafb_init (void)
 
void viafb_exit (void)
 

Variables

int viafb_SAMM_ON
 
int viafb_dual_fb
 
int viafb_LCD2_ON
 
int viafb_LCD_ON
 
int viafb_DVI_ON
 
int viafb_hotplug
 

Macro Definition Documentation

#define VERSION_KERNEL   6 /* For kernel 2.6 */

Definition at line 36 of file viafbdev.h.

#define VERSION_MAJOR   2

Definition at line 35 of file viafbdev.h.

#define VERSION_MINOR   4

Definition at line 39 of file viafbdev.h.

#define VERSION_OS   0 /* 0: for 32 bits OS, 1: for 64 bits OS */

Definition at line 38 of file viafbdev.h.

#define VIAFB_NUM_I2C   5

Definition at line 41 of file viafbdev.h.

Function Documentation

int via_fb_pci_probe ( struct viafb_dev vdev)

Definition at line 1756 of file viafbdev.c.

void via_fb_pci_remove ( struct pci_dev pdev)

Definition at line 1948 of file viafbdev.c.

void viafb_exit ( void  )

Definition at line 2078 of file viafbdev.c.

u8 viafb_gpio_i2c_read_lvds ( struct lvds_setting_information plvds_setting_info,
struct lvds_chip_information plvds_chip_info,
u8  index 
)

Definition at line 54 of file vt1636.c.

void viafb_gpio_i2c_write_mask_lvds ( struct lvds_setting_information plvds_setting_info,
struct lvds_chip_information plvds_chip_info,
struct IODATA  io_data 
)

Definition at line 65 of file vt1636.c.

int viafb_init ( void  )

Definition at line 2049 of file viafbdev.c.

Variable Documentation

int viafb_dual_fb

Definition at line 37 of file global.c.

int viafb_DVI_ON

Definition at line 33 of file global.c.

int viafb_hotplug

Definition at line 27 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.

int viafb_SAMM_ON

Definition at line 36 of file global.c.