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

Go to the source code of this file.

Data Structures

struct  device_t
 
struct  viafb_ioctl_info
 
struct  viafb_ioctl_mode
 
struct  viafb_ioctl_samm
 
struct  viafb_driver_version
 
struct  viafb_ioctl_lcd_attribute
 
struct  viafb_ioctl_setting
 
struct  _UTFunctionCaps
 
struct  _POSITIONVALUE
 
struct  _panel_size_pos_info
 

Macros

#define __user
 
#define VIAFB_GET_INFO_SIZE   0x56494101 /* 'VIA\01' */
 
#define VIAFB_GET_INFO   0x56494102 /* 'VIA\02' */
 
#define VIAFB_HOTPLUG   0x56494103 /* 'VIA\03' */
 
#define VIAFB_SET_HOTPLUG_FLAG   0x56494104 /* 'VIA\04' */
 
#define VIAFB_GET_RESOLUTION   0x56494105 /* 'VIA\05' */
 
#define VIAFB_GET_SAMM_INFO   0x56494107 /* 'VIA\07' */
 
#define VIAFB_TURN_ON_OUTPUT_DEVICE   0x56494108 /* 'VIA\08' */
 
#define VIAFB_TURN_OFF_OUTPUT_DEVICE   0x56494109 /* 'VIA\09' */
 
#define VIAFB_GET_DEVICE   0x5649410B
 
#define VIAFB_GET_DRIVER_VERSION   0x56494112 /* 'VIA\12' */
 
#define VIAFB_GET_CHIP_INFO   0x56494113 /* 'VIA\13' */
 
#define VIAFB_GET_DEVICE_INFO   0x56494115
 
#define VIAFB_GET_DEVICE_SUPPORT   0x56494118
 
#define VIAFB_GET_DEVICE_CONNECT   0x56494119
 
#define VIAFB_GET_PANEL_SUPPORT_EXPAND   0x5649411A
 
#define VIAFB_GET_DRIVER_NAME   0x56494122
 
#define VIAFB_GET_DEVICE_SUPPORT_STATE   0x56494123
 
#define VIAFB_GET_GAMMA_LUT   0x56494124
 
#define VIAFB_SET_GAMMA_LUT   0x56494125
 
#define VIAFB_GET_GAMMA_SUPPORT_STATE   0x56494126
 
#define VIAFB_SYNC_SURFACE   0x56494130
 
#define VIAFB_GET_DRIVER_CAPS   0x56494131
 
#define VIAFB_GET_IGA_SCALING_INFO   0x56494132
 
#define VIAFB_GET_PANEL_MAX_SIZE   0x56494133
 
#define VIAFB_GET_PANEL_MAX_POSITION   0x56494134
 
#define VIAFB_SET_PANEL_SIZE   0x56494135
 
#define VIAFB_SET_PANEL_POSITION   0x56494136
 
#define VIAFB_GET_PANEL_POSITION   0x56494137
 
#define VIAFB_GET_PANEL_SIZE   0x56494138
 
#define None_Device   0x00
 
#define CRT_Device   0x01
 
#define LCD_Device   0x02
 
#define DVI_Device   0x08
 
#define CRT2_Device   0x10
 
#define LCD2_Device   0x40
 
#define OP_LCD_CENTERING   0x01
 
#define OP_LCD_PANEL_ID   0x02
 
#define OP_LCD_MODE   0x03
 
#define OP_SAMM   0x80
 
#define LCD_PANEL_ID_MAXIMUM   23
 
#define STATE_ON   0x1
 
#define STATE_OFF   0x0
 
#define STATE_DEFAULT   0xFFFF
 
#define MAX_ACTIVE_DEV_NUM   2
 
#define VIAID   0x56494146 /* Identify myself with 'VIAF' */
 

Functions

int viafb_ioctl_get_viafb_info (u_long arg)
 
int viafb_ioctl_hotplug (int hres, int vres, int bpp)
 

Variables

int viafb_LCD_ON
 
int viafb_DVI_ON
 

Macro Definition Documentation

#define __user

Definition at line 26 of file ioctl.h.

#define CRT2_Device   0x10

Definition at line 65 of file ioctl.h.

#define CRT_Device   0x01

Definition at line 62 of file ioctl.h.

#define DVI_Device   0x08

Definition at line 64 of file ioctl.h.

#define LCD2_Device   0x40

Definition at line 66 of file ioctl.h.

#define LCD_Device   0x02

Definition at line 63 of file ioctl.h.

#define LCD_PANEL_ID_MAXIMUM   23

Definition at line 75 of file ioctl.h.

#define MAX_ACTIVE_DEV_NUM   2

Definition at line 81 of file ioctl.h.

#define None_Device   0x00

Definition at line 61 of file ioctl.h.

#define OP_LCD_CENTERING   0x01

Definition at line 68 of file ioctl.h.

#define OP_LCD_MODE   0x03

Definition at line 70 of file ioctl.h.

#define OP_LCD_PANEL_ID   0x02

Definition at line 69 of file ioctl.h.

#define OP_SAMM   0x80

Definition at line 73 of file ioctl.h.

#define STATE_DEFAULT   0xFFFF

Definition at line 79 of file ioctl.h.

#define STATE_OFF   0x0

Definition at line 78 of file ioctl.h.

#define STATE_ON   0x1

Definition at line 77 of file ioctl.h.

#define VIAFB_GET_CHIP_INFO   0x56494113 /* 'VIA\13' */

Definition at line 40 of file ioctl.h.

#define VIAFB_GET_DEVICE   0x5649410B

Definition at line 38 of file ioctl.h.

#define VIAFB_GET_DEVICE_CONNECT   0x56494119

Definition at line 44 of file ioctl.h.

#define VIAFB_GET_DEVICE_INFO   0x56494115

Definition at line 41 of file ioctl.h.

#define VIAFB_GET_DEVICE_SUPPORT   0x56494118

Definition at line 43 of file ioctl.h.

#define VIAFB_GET_DEVICE_SUPPORT_STATE   0x56494123

Definition at line 47 of file ioctl.h.

#define VIAFB_GET_DRIVER_CAPS   0x56494131

Definition at line 52 of file ioctl.h.

#define VIAFB_GET_DRIVER_NAME   0x56494122

Definition at line 46 of file ioctl.h.

#define VIAFB_GET_DRIVER_VERSION   0x56494112 /* 'VIA\12' */

Definition at line 39 of file ioctl.h.

#define VIAFB_GET_GAMMA_LUT   0x56494124

Definition at line 48 of file ioctl.h.

#define VIAFB_GET_GAMMA_SUPPORT_STATE   0x56494126

Definition at line 50 of file ioctl.h.

#define VIAFB_GET_IGA_SCALING_INFO   0x56494132

Definition at line 53 of file ioctl.h.

#define VIAFB_GET_INFO   0x56494102 /* 'VIA\02' */

Definition at line 31 of file ioctl.h.

#define VIAFB_GET_INFO_SIZE   0x56494101 /* 'VIA\01' */

Definition at line 30 of file ioctl.h.

#define VIAFB_GET_PANEL_MAX_POSITION   0x56494134

Definition at line 55 of file ioctl.h.

#define VIAFB_GET_PANEL_MAX_SIZE   0x56494133

Definition at line 54 of file ioctl.h.

#define VIAFB_GET_PANEL_POSITION   0x56494137

Definition at line 58 of file ioctl.h.

#define VIAFB_GET_PANEL_SIZE   0x56494138

Definition at line 59 of file ioctl.h.

#define VIAFB_GET_PANEL_SUPPORT_EXPAND   0x5649411A

Definition at line 45 of file ioctl.h.

#define VIAFB_GET_RESOLUTION   0x56494105 /* 'VIA\05' */

Definition at line 34 of file ioctl.h.

#define VIAFB_GET_SAMM_INFO   0x56494107 /* 'VIA\07' */

Definition at line 35 of file ioctl.h.

#define VIAFB_HOTPLUG   0x56494103 /* 'VIA\03' */

Definition at line 32 of file ioctl.h.

#define VIAFB_SET_GAMMA_LUT   0x56494125

Definition at line 49 of file ioctl.h.

#define VIAFB_SET_HOTPLUG_FLAG   0x56494104 /* 'VIA\04' */

Definition at line 33 of file ioctl.h.

#define VIAFB_SET_PANEL_POSITION   0x56494136

Definition at line 57 of file ioctl.h.

#define VIAFB_SET_PANEL_SIZE   0x56494135

Definition at line 56 of file ioctl.h.

#define VIAFB_SYNC_SURFACE   0x56494130

Definition at line 51 of file ioctl.h.

#define VIAFB_TURN_OFF_OUTPUT_DEVICE   0x56494109 /* 'VIA\09' */

Definition at line 37 of file ioctl.h.

#define VIAFB_TURN_ON_OUTPUT_DEVICE   0x56494108 /* 'VIA\08' */

Definition at line 36 of file ioctl.h.

#define VIAID   0x56494146 /* Identify myself with 'VIAF' */

Definition at line 108 of file ioctl.h.

Function Documentation

int viafb_ioctl_get_viafb_info ( u_long  arg)

Definition at line 24 of file ioctl.c.

int viafb_ioctl_hotplug ( int  hres,
int  vres,
int  bpp 
)

Definition at line 81 of file ioctl.c.

Variable Documentation

int viafb_DVI_ON

Definition at line 33 of file global.c.

int viafb_LCD_ON

Definition at line 34 of file global.c.