Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
aty128fb.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/uaccess.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/ioport.h>
#include <linux/console.h>
#include <linux/backlight.h>
#include <asm/io.h>
#include <video/aty128.h>

Go to the source code of this file.

Data Structures

struct  __attribute__
 
struct  aty128_meminfo
 
struct  aty128_constants
 
struct  aty128_crtc
 
struct  aty128_pll
 
struct  aty128_ddafifo
 
struct  aty128fb_par
 

Macros

#define DBG(fmt, args...)
 
#define round_div(n, d)   ((n+(d/2))/d)
 
#define BIOS_IN8(v)   (readb(bios + (v)))
 
#define BIOS_IN16(v)
 
#define BIOS_IN32(v)
 
#define aty_ld_le32(regindex)   _aty_ld_le32(regindex, par)
 
#define aty_st_le32(regindex, val)   _aty_st_le32(regindex, val, par)
 
#define aty_ld_8(regindex)   _aty_ld_8(regindex, par)
 
#define aty_st_8(regindex, val)   _aty_st_8(regindex, val, par)
 
#define aty_ld_pll(pll_index)   _aty_ld_pll(pll_index, par)
 
#define aty_st_pll(pll_index, val)   _aty_st_pll(pll_index, val, par)
 
#define ATY_MIRROR_LCD_ON   0x00000001
 
#define ATY_MIRROR_CRT_ON   0x00000002
 
#define FBIO_ATY128_GET_MIRROR   _IOR('@', 1, __u32)
 
#define FBIO_ATY128_SET_MIRROR   _IOW('@', 2, __u32)
 

Enumerations

enum  {
  rage_128, rage_128_pci, rage_128_pro, rage_128_pro_pci,
  rage_M3, rage_M3_pci, rage_M4, rage_128_ultra
}
 

Functions

 MODULE_DEVICE_TABLE (pci, aty128_pci_tbl)
 
 module_init (aty128fb_init)
 
 module_exit (aty128fb_exit)
 
 MODULE_AUTHOR ("(c)1999-2003 Brad Douglas <[email protected]>")
 
 MODULE_DESCRIPTION ("FBDev driver for ATI Rage128 / Pro cards")
 
 MODULE_LICENSE ("GPL")
 
 module_param (mode_option, charp, 0)
 
 MODULE_PARM_DESC (mode_option,"Specify resolution as \"<xres>x<yres>[-<bpp>][@<refresh>]\" ")
 

Macro Definition Documentation

#define aty_ld_8 (   regindex)    _aty_ld_8(regindex, par)

Definition at line 524 of file aty128fb.c.

#define aty_ld_le32 (   regindex)    _aty_ld_le32(regindex, par)

Definition at line 522 of file aty128fb.c.

#define aty_ld_pll (   pll_index)    _aty_ld_pll(pll_index, par)

Definition at line 531 of file aty128fb.c.

#define ATY_MIRROR_CRT_ON   0x00000002

Definition at line 2298 of file aty128fb.c.

#define ATY_MIRROR_LCD_ON   0x00000001

Definition at line 2297 of file aty128fb.c.

#define aty_st_8 (   regindex,
  val 
)    _aty_st_8(regindex, val, par)

Definition at line 525 of file aty128fb.c.

#define aty_st_le32 (   regindex,
  val 
)    _aty_st_le32(regindex, val, par)

Definition at line 523 of file aty128fb.c.

#define aty_st_pll (   pll_index,
  val 
)    _aty_st_pll(pll_index, val, par)

Definition at line 532 of file aty128fb.c.

#define BIOS_IN16 (   v)
Value:
(readb(bios + (v)) | \
(readb(bios + (v) + 1) << 8))

Definition at line 471 of file aty128fb.c.

#define BIOS_IN32 (   v)
Value:
(readb(bios + (v)) | \
(readb(bios + (v) + 1) << 8) | \
(readb(bios + (v) + 2) << 16) | \
(readb(bios + (v) + 3) << 24))

Definition at line 473 of file aty128fb.c.

#define BIOS_IN8 (   v)    (readb(bios + (v)))

Definition at line 470 of file aty128fb.c.

#define DBG (   fmt,
  args... 
)

Definition at line 96 of file aty128fb.c.

#define FBIO_ATY128_GET_MIRROR   _IOR('@', 1, __u32)

Definition at line 2301 of file aty128fb.c.

#define FBIO_ATY128_SET_MIRROR   _IOW('@', 2, __u32)

Definition at line 2303 of file aty128fb.c.

#define round_div (   n,
  d 
)    ((n+(d/2))/d)

Definition at line 430 of file aty128fb.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
rage_128 
rage_128_pci 
rage_128_pro 
rage_128_pro_pci 
rage_M3 
rage_M3_pci 
rage_M4 
rage_128_ultra 

Definition at line 140 of file aty128fb.c.

Function Documentation

MODULE_AUTHOR ( "(c)1999-2003 Brad Douglas <[email protected]>"  )
MODULE_DESCRIPTION ( "FBDev driver for ATI Rage128 / Pro cards )
MODULE_DEVICE_TABLE ( pci  ,
aty128_pci_tbl   
)
module_exit ( aty128fb_exit  )
module_init ( aty128fb_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mode_option  ,
charp  ,
 
)
MODULE_PARM_DESC ( mode_option  ,
"Specify resolution as \"<xres>x<yres>\" "  [-< bpp >][@< refresh >] 
)