Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations | Functions
arkfb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/svga.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/console.h>
#include <video/vga.h>

Go to the source code of this file.

Data Structures

struct  arkfb_info
 
struct  dac_ops
 
struct  dac_info
 
struct  ics5342_info
 

Macros

#define DAC_PAR(info)   ((struct ics5342_info *) info)
 
#define ark_pci_suspend   NULL
 
#define ark_pci_resume   NULL
 

Typedefs

typedef void(* dac_read_regs_t )(void *data, u8 *code, int count)
 
typedef void(* dac_write_regs_t )(void *data, u8 *code, int count)
 

Enumerations

enum  {
  DAC_PSEUDO8_8, DAC_RGB1555_8, DAC_RGB0565_8, DAC_RGB0888_8,
  DAC_RGB8888_8, DAC_PSEUDO8_16, DAC_RGB1555_16, DAC_RGB0565_16,
  DAC_RGB0888_16, DAC_RGB8888_16, DAC_MAX
}
 

Functions

 MODULE_AUTHOR ("(c) 2007 Ondrej Zajicek <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("fbdev driver for ARK 2000PV")
 
 module_param (mode_option, charp, 0444)
 
 MODULE_PARM_DESC (mode_option,"Default video mode ('640x480-8@60', etc)")
 
 module_param_named (mode, mode_option, charp, 0444)
 
 MODULE_PARM_DESC (mode,"Default video mode ('640x480-8@60', etc) (deprecated)")
 
 module_param (threshold, int, 0644)
 
 MODULE_PARM_DESC (threshold,"FIFO threshold")
 
 MODULE_DEVICE_TABLE (pci, ark_devices)
 
 module_init (arkfb_init)
 
 module_exit (arkfb_cleanup)
 

Macro Definition Documentation

#define ark_pci_resume   NULL

Definition at line 1182 of file arkfb.c.

#define ark_pci_suspend   NULL

Definition at line 1181 of file arkfb.c.

#define DAC_PAR (   info)    ((struct ics5342_info *) info)

Definition at line 385 of file arkfb.c.

Typedef Documentation

typedef void(* dac_read_regs_t)(void *data, u8 *code, int count)

Definition at line 323 of file arkfb.c.

typedef void(* dac_write_regs_t)(void *data, u8 *code, int count)

Definition at line 324 of file arkfb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DAC_PSEUDO8_8 
DAC_RGB1555_8 
DAC_RGB0565_8 
DAC_RGB0888_8 
DAC_RGB8888_8 
DAC_PSEUDO8_16 
DAC_RGB1555_16 
DAC_RGB0565_16 
DAC_RGB0888_16 
DAC_RGB8888_16 
DAC_MAX 

Definition at line 300 of file arkfb.c.

Function Documentation

MODULE_AUTHOR ( "(c) 2007 Ondrej Zajicek <[email protected]>"  )
MODULE_DESCRIPTION ( "fbdev driver for ARK 2000PV"  )
MODULE_DEVICE_TABLE ( pci  ,
ark_devices   
)
module_exit ( arkfb_cleanup  )
module_init ( arkfb_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mode_option  ,
charp  ,
0444   
)
module_param ( threshold  ,
int  ,
0644   
)
module_param_named ( mode  ,
mode_option  ,
charp  ,
0444   
)
MODULE_PARM_DESC ( mode_option  ,
"Default video mode ('640x480-8@60', etc)"   
)
MODULE_PARM_DESC ( mode  ,
"Default video mode ('640x480-8@60', etc) (deprecated)"   
)
MODULE_PARM_DESC ( threshold  ,
"FIFO threshold  
)