Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
svgalib.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/fb.h>
#include <linux/svga.h>
#include <asm/types.h>
#include <asm/io.h>

Go to the source code of this file.

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)
 
 EXPORT_SYMBOL (svga_get_caps)
 
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)
 
 EXPORT_SYMBOL (svga_wcrt_multi)
 
 EXPORT_SYMBOL (svga_wseq_multi)
 
 EXPORT_SYMBOL (svga_set_default_gfx_regs)
 
 EXPORT_SYMBOL (svga_set_default_atc_regs)
 
 EXPORT_SYMBOL (svga_set_default_seq_regs)
 
 EXPORT_SYMBOL (svga_set_default_crt_regs)
 
 EXPORT_SYMBOL (svga_set_textmode_vga_regs)
 
 EXPORT_SYMBOL (svga_settile)
 
 EXPORT_SYMBOL (svga_tilecopy)
 
 EXPORT_SYMBOL (svga_tilefill)
 
 EXPORT_SYMBOL (svga_tileblit)
 
 EXPORT_SYMBOL (svga_tilecursor)
 
 EXPORT_SYMBOL (svga_get_tilemax)
 
 EXPORT_SYMBOL (svga_compute_pll)
 
 EXPORT_SYMBOL (svga_check_timings)
 
 EXPORT_SYMBOL (svga_set_timings)
 
 EXPORT_SYMBOL (svga_match_format)
 
 MODULE_AUTHOR ("Ondrej Zajicek <[email protected]>")
 
 MODULE_DESCRIPTION ("Common utility functions for VGA-based graphics cards")
 
 MODULE_LICENSE ("GPL")
 

Function Documentation

EXPORT_SYMBOL ( svga_get_caps  )
EXPORT_SYMBOL ( svga_wcrt_multi  )
EXPORT_SYMBOL ( svga_wseq_multi  )
EXPORT_SYMBOL ( svga_set_default_gfx_regs  )
EXPORT_SYMBOL ( svga_set_default_atc_regs  )
EXPORT_SYMBOL ( svga_set_default_seq_regs  )
EXPORT_SYMBOL ( svga_set_default_crt_regs  )
EXPORT_SYMBOL ( svga_set_textmode_vga_regs  )
EXPORT_SYMBOL ( svga_settile  )
EXPORT_SYMBOL ( svga_tilecopy  )
EXPORT_SYMBOL ( svga_tilefill  )
EXPORT_SYMBOL ( svga_tileblit  )
EXPORT_SYMBOL ( svga_tilecursor  )
EXPORT_SYMBOL ( svga_get_tilemax  )
EXPORT_SYMBOL ( svga_compute_pll  )
EXPORT_SYMBOL ( svga_check_timings  )
EXPORT_SYMBOL ( svga_set_timings  )
EXPORT_SYMBOL ( svga_match_format  )
MODULE_AUTHOR ( "Ondrej Zajicek <[email protected]>"  )
MODULE_DESCRIPTION ( "Common utility functions for VGA-based graphics cards )
MODULE_LICENSE ( "GPL"  )
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.