Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
intelfbhw.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include <linux/pagemap.h>
#include <linux/interrupt.h>
#include <asm/io.h>
#include "intelfb.h"
#include "intelfbhw.h"

Go to the source code of this file.

Data Structures

struct  pll_min_max
 

Macros

#define PLLS_I8xx   0
 
#define PLLS_I9xx   1
 
#define PLLS_MAX   2
 

Functions

int intelfbhw_get_chipset (struct pci_dev *pdev, struct intelfb_info *dinfo)
 
int intelfbhw_get_memory (struct pci_dev *pdev, int *aperture_size, int *stolen_size)
 
int intelfbhw_check_non_crt (struct intelfb_info *dinfo)
 
const charintelfbhw_dvo_to_string (int dvo)
 
int intelfbhw_validate_mode (struct intelfb_info *dinfo, struct fb_var_screeninfo *var)
 
int intelfbhw_pan_display (struct fb_var_screeninfo *var, struct fb_info *info)
 
void intelfbhw_do_blank (int blank, struct fb_info *info)
 
int intelfbhw_active_pipe (const struct intelfb_hwstate *hw)
 
void intelfbhw_setcolreg (struct intelfb_info *dinfo, unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned transp)
 
int intelfbhw_read_hw_state (struct intelfb_info *dinfo, struct intelfb_hwstate *hw, int flag)
 
void intelfbhw_print_hw_state (struct intelfb_info *dinfo, struct intelfb_hwstate *hw)
 
int intelfbhw_mode_to_hw (struct intelfb_info *dinfo, struct intelfb_hwstate *hw, struct fb_var_screeninfo *var)
 
int intelfbhw_program_mode (struct intelfb_info *dinfo, const struct intelfb_hwstate *hw, int blank)
 
void intelfbhw_do_sync (struct intelfb_info *dinfo)
 
void intelfbhw_2d_stop (struct intelfb_info *dinfo)
 
void intelfbhw_2d_start (struct intelfb_info *dinfo)
 
void intelfbhw_do_fillrect (struct intelfb_info *dinfo, u32 x, u32 y, u32 w, u32 h, u32 color, u32 pitch, u32 bpp, u32 rop)
 
void intelfbhw_do_bitblt (struct intelfb_info *dinfo, u32 curx, u32 cury, u32 dstx, u32 dsty, u32 w, u32 h, u32 pitch, u32 bpp)
 
int intelfbhw_do_drawglyph (struct intelfb_info *dinfo, u32 fg, u32 bg, u32 w, u32 h, const u8 *cdat, u32 x, u32 y, u32 pitch, u32 bpp)
 
void intelfbhw_cursor_init (struct intelfb_info *dinfo)
 
void intelfbhw_cursor_hide (struct intelfb_info *dinfo)
 
void intelfbhw_cursor_show (struct intelfb_info *dinfo)
 
void intelfbhw_cursor_setpos (struct intelfb_info *dinfo, int x, int y)
 
void intelfbhw_cursor_setcolor (struct intelfb_info *dinfo, u32 bg, u32 fg)
 
void intelfbhw_cursor_load (struct intelfb_info *dinfo, int width, int height, u8 *data)
 
void intelfbhw_cursor_reset (struct intelfb_info *dinfo)
 
int intelfbhw_enable_irq (struct intelfb_info *dinfo)
 
void intelfbhw_disable_irq (struct intelfb_info *dinfo)
 
int intelfbhw_wait_for_vsync (struct intelfb_info *dinfo, u32 pipe)
 

Macro Definition Documentation

#define PLLS_I8xx   0

Definition at line 49 of file intelfbhw.c.

#define PLLS_I9xx   1

Definition at line 50 of file intelfbhw.c.

#define PLLS_MAX   2

Definition at line 51 of file intelfbhw.c.

Function Documentation

void intelfbhw_2d_start ( struct intelfb_info dinfo)

Definition at line 1637 of file intelfbhw.c.

void intelfbhw_2d_stop ( struct intelfb_info dinfo)

Definition at line 1618 of file intelfbhw.c.

int intelfbhw_active_pipe ( const struct intelfb_hwstate hw)

Definition at line 472 of file intelfbhw.c.

int intelfbhw_check_non_crt ( struct intelfb_info dinfo)

Definition at line 280 of file intelfbhw.c.

void intelfbhw_cursor_hide ( struct intelfb_info dinfo)

Definition at line 1871 of file intelfbhw.c.

void intelfbhw_cursor_init ( struct intelfb_info dinfo)

Definition at line 1840 of file intelfbhw.c.

void intelfbhw_cursor_load ( struct intelfb_info dinfo,
int  width,
int  height,
u8 data 
)

Definition at line 1959 of file intelfbhw.c.

void intelfbhw_cursor_reset ( struct intelfb_info dinfo)

Definition at line 1988 of file intelfbhw.c.

void intelfbhw_cursor_setcolor ( struct intelfb_info dinfo,
u32  bg,
u32  fg 
)

Definition at line 1947 of file intelfbhw.c.

void intelfbhw_cursor_setpos ( struct intelfb_info dinfo,
int  x,
int  y 
)

Definition at line 1925 of file intelfbhw.c.

void intelfbhw_cursor_show ( struct intelfb_info dinfo)

Definition at line 1896 of file intelfbhw.c.

void intelfbhw_disable_irq ( struct intelfb_info dinfo)

Definition at line 2073 of file intelfbhw.c.

void intelfbhw_do_bitblt ( struct intelfb_info dinfo,
u32  curx,
u32  cury,
u32  dstx,
u32  dsty,
u32  w,
u32  h,
u32  pitch,
u32  bpp 
)

Definition at line 1706 of file intelfbhw.c.

void intelfbhw_do_blank ( int  blank,
struct fb_info info 
)

Definition at line 415 of file intelfbhw.c.

int intelfbhw_do_drawglyph ( struct intelfb_info dinfo,
u32  fg,
u32  bg,
u32  w,
u32  h,
const u8 cdat,
u32  x,
u32  y,
u32  pitch,
u32  bpp 
)

Definition at line 1751 of file intelfbhw.c.

void intelfbhw_do_fillrect ( struct intelfb_info dinfo,
u32  x,
u32  y,
u32  w,
u32  h,
u32  color,
u32  pitch,
u32  bpp,
u32  rop 
)

Definition at line 1661 of file intelfbhw.c.

void intelfbhw_do_sync ( struct intelfb_info dinfo)

Definition at line 1558 of file intelfbhw.c.

const char* intelfbhw_dvo_to_string ( int  dvo)

Definition at line 296 of file intelfbhw.c.

int intelfbhw_enable_irq ( struct intelfb_info dinfo)

Definition at line 2044 of file intelfbhw.c.

int intelfbhw_get_chipset ( struct pci_dev pdev,
struct intelfb_info dinfo 
)

Definition at line 67 of file intelfbhw.c.

int intelfbhw_get_memory ( struct pci_dev pdev,
int aperture_size,
int stolen_size 
)

Definition at line 173 of file intelfbhw.c.

int intelfbhw_mode_to_hw ( struct intelfb_info dinfo,
struct intelfb_hwstate hw,
struct fb_var_screeninfo var 
)

Definition at line 1043 of file intelfbhw.c.

int intelfbhw_pan_display ( struct fb_var_screeninfo var,
struct fb_info info 
)

Definition at line 381 of file intelfbhw.c.

void intelfbhw_print_hw_state ( struct intelfb_info dinfo,
struct intelfb_hwstate hw 
)

Definition at line 710 of file intelfbhw.c.

int intelfbhw_program_mode ( struct intelfb_info dinfo,
const struct intelfb_hwstate hw,
int  blank 
)

Definition at line 1281 of file intelfbhw.c.

int intelfbhw_read_hw_state ( struct intelfb_info dinfo,
struct intelfb_hwstate hw,
int  flag 
)

Definition at line 516 of file intelfbhw.c.

void intelfbhw_setcolreg ( struct intelfb_info dinfo,
unsigned  regno,
unsigned  red,
unsigned  green,
unsigned  blue,
unsigned  transp 
)

Definition at line 497 of file intelfbhw.c.

int intelfbhw_validate_mode ( struct intelfb_info dinfo,
struct fb_var_screeninfo var 
)

Definition at line 311 of file intelfbhw.c.

int intelfbhw_wait_for_vsync ( struct intelfb_info dinfo,
u32  pipe 
)

Definition at line 2092 of file intelfbhw.c.