Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
atyfb.h File Reference
#include <linux/spinlock.h>
#include <linux/wait.h>

Go to the source code of this file.

Data Structures

struct  crtc
 
struct  aty_interrupt
 
struct  pll_info
 
struct  __attribute__
 
struct  pll_514
 
struct  pll_18818
 
struct  pll_ct
 
union  aty_pll
 
struct  atyfb_par
 
struct  aty_dac_ops
 
struct  aty_pll_ops
 

Macros

#define DONT_USE_SPLL   0x1
 
#define DONT_USE_XDLL   0x2
 
#define USE_CPUCLK   0x4
 
#define POWERDOWN_PLL   0x8
 
#define M64_HAS(feature)   ((par)->features & (M64F_##feature))
 
#define M64F_RESET_3D   0x00000001
 
#define M64F_MAGIC_FIFO   0x00000002
 
#define M64F_GTB_DSP   0x00000004
 
#define M64F_FIFO_32   0x00000008
 
#define M64F_SDRAM_MAGIC_PLL   0x00000010
 
#define M64F_MAGIC_POSTDIV   0x00000020
 
#define M64F_INTEGRATED   0x00000040
 
#define M64F_CT_BUS   0x00000080
 
#define M64F_VT_BUS   0x00000100
 
#define M64F_MOBIL_BUS   0x00000200
 
#define M64F_GX   0x00000400
 
#define M64F_CT   0x00000800
 
#define M64F_VT   0x00001000
 
#define M64F_GT   0x00002000
 
#define M64F_MAGIC_VRAM_SIZE   0x00004000
 
#define M64F_G3_PB_1_1   0x00008000
 
#define M64F_G3_PB_1024x768   0x00010000
 
#define M64F_EXTRA_BRIGHT   0x00020000
 
#define M64F_LT_LCD_REGS   0x00040000
 
#define M64F_XL_DLL   0x00080000
 
#define M64F_MFB_FORCE_4   0x00100000
 
#define M64F_HW_TRIPLE   0x00200000
 
#define M64F_XL_MEM   0x00400000
 

Functions

void aty_set_pll_ct (const struct fb_info *info, const union aty_pll *pll)
 
u8 aty_ld_pll_ct (int offset, const struct atyfb_par *par)
 
int aty_init_cursor (struct fb_info *info)
 
void aty_reset_engine (const struct atyfb_par *par)
 
void aty_init_engine (struct atyfb_par *par, struct fb_info *info)
 
void atyfb_copyarea (struct fb_info *info, const struct fb_copyarea *area)
 
void atyfb_fillrect (struct fb_info *info, const struct fb_fillrect *rect)
 
void atyfb_imageblit (struct fb_info *info, const struct fb_image *image)
 

Variables

struct aty_dac_ops aty_dac_ibm514
 
struct aty_dac_ops aty_dac_ati68860b
 
struct aty_dac_ops aty_dac_att21c498
 
struct aty_dac_ops aty_dac_unsupported
 
struct aty_dac_ops aty_dac_ct
 
struct aty_pll_ops aty_pll_ati18818_1
 
struct aty_pll_ops aty_pll_stg1703
 
struct aty_pll_ops aty_pll_ch8398
 
struct aty_pll_ops aty_pll_att20c408
 
struct aty_pll_ops aty_pll_ibm514
 
struct aty_pll_ops aty_pll_unsupported
 
struct aty_pll_ops aty_pll_ct
 

Macro Definition Documentation

#define DONT_USE_SPLL   0x1

Definition at line 113 of file atyfb.h.

#define DONT_USE_XDLL   0x2

Definition at line 114 of file atyfb.h.

#define M64_HAS (   feature)    ((par)->features & (M64F_##feature))

Definition at line 198 of file atyfb.h.

#define M64F_CT   0x00000800

Definition at line 211 of file atyfb.h.

#define M64F_CT_BUS   0x00000080

Definition at line 207 of file atyfb.h.

#define M64F_EXTRA_BRIGHT   0x00020000

Definition at line 217 of file atyfb.h.

#define M64F_FIFO_32   0x00000008

Definition at line 203 of file atyfb.h.

#define M64F_G3_PB_1024x768   0x00010000

Definition at line 216 of file atyfb.h.

#define M64F_G3_PB_1_1   0x00008000

Definition at line 215 of file atyfb.h.

#define M64F_GT   0x00002000

Definition at line 213 of file atyfb.h.

#define M64F_GTB_DSP   0x00000004

Definition at line 202 of file atyfb.h.

#define M64F_GX   0x00000400

Definition at line 210 of file atyfb.h.

#define M64F_HW_TRIPLE   0x00200000

Definition at line 221 of file atyfb.h.

#define M64F_INTEGRATED   0x00000040

Definition at line 206 of file atyfb.h.

#define M64F_LT_LCD_REGS   0x00040000

Definition at line 218 of file atyfb.h.

#define M64F_MAGIC_FIFO   0x00000002

Definition at line 201 of file atyfb.h.

#define M64F_MAGIC_POSTDIV   0x00000020

Definition at line 205 of file atyfb.h.

#define M64F_MAGIC_VRAM_SIZE   0x00004000

Definition at line 214 of file atyfb.h.

#define M64F_MFB_FORCE_4   0x00100000

Definition at line 220 of file atyfb.h.

#define M64F_MOBIL_BUS   0x00000200

Definition at line 209 of file atyfb.h.

#define M64F_RESET_3D   0x00000001

Definition at line 200 of file atyfb.h.

#define M64F_SDRAM_MAGIC_PLL   0x00000010

Definition at line 204 of file atyfb.h.

#define M64F_VT   0x00001000

Definition at line 212 of file atyfb.h.

#define M64F_VT_BUS   0x00000100

Definition at line 208 of file atyfb.h.

#define M64F_XL_DLL   0x00080000

Definition at line 219 of file atyfb.h.

#define M64F_XL_MEM   0x00400000

Definition at line 222 of file atyfb.h.

#define POWERDOWN_PLL   0x8

Definition at line 116 of file atyfb.h.

#define USE_CPUCLK   0x4

Definition at line 115 of file atyfb.h.

Function Documentation

int aty_init_cursor ( struct fb_info info)

Definition at line 186 of file mach64_cursor.c.

void aty_init_engine ( struct atyfb_par par,
struct fb_info info 
)

Definition at line 63 of file mach64_accel.c.

u8 aty_ld_pll_ct ( int  offset,
const struct atyfb_par par 
)

Definition at line 22 of file mach64_ct.c.

void aty_reset_engine ( const struct atyfb_par par)

Definition at line 38 of file mach64_accel.c.

void aty_set_pll_ct ( const struct fb_info info,
const union aty_pll pll 
)

Definition at line 280 of file mach64_ct.c.

void atyfb_copyarea ( struct fb_info info,
const struct fb_copyarea area 
)

Definition at line 195 of file mach64_accel.c.

void atyfb_fillrect ( struct fb_info info,
const struct fb_fillrect rect 
)

Definition at line 242 of file mach64_accel.c.

void atyfb_imageblit ( struct fb_info info,
const struct fb_image image 
)

Definition at line 281 of file mach64_accel.c.

Variable Documentation

struct aty_dac_ops aty_dac_ati68860b

Definition at line 278 of file mach64_gx.c.

struct aty_dac_ops aty_dac_att21c498

Definition at line 331 of file mach64_gx.c.

struct aty_dac_ops aty_dac_ct

Definition at line 640 of file mach64_ct.c.

struct aty_dac_ops aty_dac_ibm514

Definition at line 189 of file mach64_gx.c.

struct aty_dac_ops aty_dac_unsupported

Definition at line 902 of file mach64_gx.c.

struct aty_pll_ops aty_pll_ati18818_1

Definition at line 485 of file mach64_gx.c.

struct aty_pll_ops aty_pll_att20c408

Definition at line 872 of file mach64_gx.c.

struct aty_pll_ops aty_pll_ch8398

Definition at line 725 of file mach64_gx.c.

struct aty_pll_ops aty_pll_ct

Definition at line 644 of file mach64_ct.c.

struct aty_pll_ops aty_pll_ibm514

Definition at line 193 of file mach64_gx.c.

struct aty_pll_ops aty_pll_stg1703

Definition at line 601 of file mach64_gx.c.

struct aty_pll_ops aty_pll_unsupported

Definition at line 906 of file mach64_gx.c.