Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
svga.h File Reference
#include <linux/pci.h>
#include <video/vga.h>

Go to the source code of this file.

Data Structures

struct  vga_regset
 
struct  svga_fb_format
 
struct  svga_timing_regs
 
struct  svga_pll
 

Macros

#define VGA_REGSET_END_VAL   0xFF
 
#define VGA_REGSET_END   {VGA_REGSET_END_VAL, 0, 0}
 
#define SVGA_FORMAT_END_VAL   0xFFFF
 
#define SVGA_FORMAT_END   {SVGA_FORMAT_END_VAL, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, 0, 0, 0, 0, 0, 0}
 

Functions

void svga_wcrt_multi (void __iomem *regbase, const struct vga_regset *regset, u32 value)
 
void svga_wseq_multi (void __iomem *regbase, const struct vga_regset *regset, u32 value)
 
void svga_set_default_gfx_regs (void __iomem *regbase)
 
void svga_set_default_atc_regs (void __iomem *regbase)
 
void svga_set_default_seq_regs (void __iomem *regbase)
 
void svga_set_default_crt_regs (void __iomem *regbase)
 
void svga_set_textmode_vga_regs (void __iomem *regbase)
 
void svga_settile (struct fb_info *info, struct fb_tilemap *map)
 
void svga_tilecopy (struct fb_info *info, struct fb_tilearea *area)
 
void svga_tilefill (struct fb_info *info, struct fb_tilerect *rect)
 
void svga_tileblit (struct fb_info *info, struct fb_tileblit *blit)
 
void svga_tilecursor (void __iomem *regbase, struct fb_info *info, struct fb_tilecursor *cursor)
 
int svga_get_tilemax (struct fb_info *info)
 
void svga_get_caps (struct fb_info *info, struct fb_blit_caps *caps, struct fb_var_screeninfo *var)
 
int svga_compute_pll (const struct svga_pll *pll, u32 f_wanted, u16 *m, u16 *n, u16 *r, int node)
 
int svga_check_timings (const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, int node)
 
void svga_set_timings (void __iomem *regbase, const struct svga_timing_regs *tm, struct fb_var_screeninfo *var, u32 hmul, u32 hdiv, u32 vmul, u32 vdiv, u32 hborder, int node)
 
int svga_match_format (const struct svga_fb_format *frm, struct fb_var_screeninfo *var, struct fb_fix_screeninfo *fix)
 

Macro Definition Documentation

#define SVGA_FORMAT_END   {SVGA_FORMAT_END_VAL, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, 0, 0, 0, 0, 0, 0}

Definition at line 21 of file svga.h.

#define SVGA_FORMAT_END_VAL   0xFFFF

Definition at line 20 of file svga.h.

#define VGA_REGSET_END   {VGA_REGSET_END_VAL, 0, 0}

Definition at line 10 of file svga.h.

#define VGA_REGSET_END_VAL   0xFF

Definition at line 9 of file svga.h.

Function Documentation

int svga_check_timings ( const struct svga_timing_regs tm,
struct fb_var_screeninfo var,
int  node 
)

Definition at line 443 of file svgalib.c.

int svga_compute_pll ( const struct svga_pll pll,
u32  f_wanted,
u16 m,
u16 n,
u16 r,
int  node 
)

Definition at line 381 of file svgalib.c.

void svga_get_caps ( struct fb_info info,
struct fb_blit_caps caps,
struct fb_var_screeninfo var 
)

Definition at line 351 of file svgalib.c.

int svga_get_tilemax ( struct fb_info info)

Definition at line 344 of file svgalib.c.

int svga_match_format ( const struct svga_fb_format frm,
struct fb_var_screeninfo var,
struct fb_fix_screeninfo fix 
)

Definition at line 624 of file svgalib.c.

void svga_set_default_atc_regs ( void __iomem regbase)

Definition at line 96 of file svgalib.c.

void svga_set_default_crt_regs ( void __iomem regbase)

Definition at line 130 of file svgalib.c.

void svga_set_default_gfx_regs ( void __iomem regbase)

Definition at line 78 of file svgalib.c.

void svga_set_default_seq_regs ( void __iomem regbase)

Definition at line 119 of file svgalib.c.

void svga_set_textmode_vga_regs ( void __iomem regbase)

Definition at line 140 of file svgalib.c.

void svga_set_timings ( void __iomem regbase,
const struct svga_timing_regs tm,
struct fb_var_screeninfo var,
u32  hmul,
u32  hdiv,
u32  vmul,
u32  vdiv,
u32  hborder,
int  node 
)

Definition at line 510 of file svgalib.c.

void svga_settile ( struct fb_info info,
struct fb_tilemap *  map 
)

Definition at line 193 of file svgalib.c.

void svga_tileblit ( struct fb_info info,
struct fb_tileblit *  blit 
)

Definition at line 277 of file svgalib.c.

void svga_tilecopy ( struct fb_info info,
struct fb_tilearea *  area 
)

Definition at line 218 of file svgalib.c.

void svga_tilecursor ( void __iomem regbase,
struct fb_info info,
struct fb_tilecursor *  cursor 
)

Definition at line 302 of file svgalib.c.

void svga_tilefill ( struct fb_info info,
struct fb_tilerect *  rect 
)

Definition at line 256 of file svgalib.c.

void svga_wcrt_multi ( void __iomem regbase,
const struct vga_regset regset,
u32  value 
)

Definition at line 23 of file svgalib.c.

void svga_wseq_multi ( void __iomem regbase,
const struct vga_regset regset,
u32  value 
)

Definition at line 43 of file svgalib.c.