Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tcx.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/fb.h>
#include <linux/mm.h>
#include <linux/of_device.h>
#include <asm/io.h>
#include <asm/fbio.h>
#include "sbuslib.h"

Go to the source code of this file.

Data Structures

struct  tcx_tec
 
struct  tcx_thc
 
struct  bt_regs
 
struct  tcx_par
 

Macros

#define TCX_THC_MISC_REV_SHIFT   16
 
#define TCX_THC_MISC_REV_MASK   15
 
#define TCX_THC_MISC_VSYNC_DIS   (1 << 25)
 
#define TCX_THC_MISC_HSYNC_DIS   (1 << 24)
 
#define TCX_THC_MISC_RESET   (1 << 12)
 
#define TCX_THC_MISC_VIDEO   (1 << 10)
 
#define TCX_THC_MISC_SYNC   (1 << 9)
 
#define TCX_THC_MISC_VSYNC   (1 << 8)
 
#define TCX_THC_MISC_SYNC_ENAB   (1 << 7)
 
#define TCX_THC_MISC_CURS_RES   (1 << 6)
 
#define TCX_THC_MISC_INT_ENAB   (1 << 5)
 
#define TCX_THC_MISC_INT   (1 << 4)
 
#define TCX_THC_MISC_INIT   0x9f
 
#define TCX_THC_REV_REV_SHIFT   20
 
#define TCX_THC_REV_REV_MASK   15
 
#define TCX_THC_REV_MINREV_SHIFT   28
 
#define TCX_THC_REV_MINREV_MASK   15
 
#define TCX_MMAP_ENTRIES   14
 
#define TCX_FLAG_BLANKED   0x00000001
 

Functions

 MODULE_DEVICE_TABLE (of, tcx_match)
 
 module_init (tcx_init)
 
 module_exit (tcx_exit)
 
 MODULE_DESCRIPTION ("framebuffer driver for TCX chipsets")
 
 MODULE_AUTHOR ("David S. Miller <[email protected]>")
 
 MODULE_VERSION ("2.0")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define TCX_FLAG_BLANKED   0x00000001

Definition at line 116 of file tcx.c.

#define TCX_MMAP_ENTRIES   14

Definition at line 106 of file tcx.c.

#define TCX_THC_MISC_CURS_RES   (1 << 6)

Definition at line 67 of file tcx.c.

#define TCX_THC_MISC_HSYNC_DIS   (1 << 24)

Definition at line 61 of file tcx.c.

#define TCX_THC_MISC_INIT   0x9f

Definition at line 70 of file tcx.c.

#define TCX_THC_MISC_INT   (1 << 4)

Definition at line 69 of file tcx.c.

#define TCX_THC_MISC_INT_ENAB   (1 << 5)

Definition at line 68 of file tcx.c.

#define TCX_THC_MISC_RESET   (1 << 12)

Definition at line 62 of file tcx.c.

#define TCX_THC_MISC_REV_MASK   15

Definition at line 59 of file tcx.c.

#define TCX_THC_MISC_REV_SHIFT   16

Definition at line 58 of file tcx.c.

#define TCX_THC_MISC_SYNC   (1 << 9)

Definition at line 64 of file tcx.c.

#define TCX_THC_MISC_SYNC_ENAB   (1 << 7)

Definition at line 66 of file tcx.c.

#define TCX_THC_MISC_VIDEO   (1 << 10)

Definition at line 63 of file tcx.c.

#define TCX_THC_MISC_VSYNC   (1 << 8)

Definition at line 65 of file tcx.c.

#define TCX_THC_MISC_VSYNC_DIS   (1 << 25)

Definition at line 60 of file tcx.c.

#define TCX_THC_REV_MINREV_MASK   15

Definition at line 74 of file tcx.c.

#define TCX_THC_REV_MINREV_SHIFT   28

Definition at line 73 of file tcx.c.

#define TCX_THC_REV_REV_MASK   15

Definition at line 72 of file tcx.c.

#define TCX_THC_REV_REV_SHIFT   20

Definition at line 71 of file tcx.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller <[email protected]>"  )
MODULE_DESCRIPTION ( "framebuffer driver for TCX chipsets"  )
MODULE_DEVICE_TABLE ( of  ,
tcx_match   
)
module_exit ( tcx_exit  )
module_init ( tcx_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "2.0"  )