Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sticore.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/font.h>
#include <asm/hardware.h>
#include <asm/page.h>
#include <asm/parisc-device.h>
#include <asm/pdc.h>
#include <asm/cacheflush.h>
#include <asm/grfioctl.h>
#include "../sticore.h"

Go to the source code of this file.

Macros

#define STI_DRIVERVERSION   "Version 0.9a"
 
#define c_fg(sti, c)   col_trans[((c>> 8) & 7)]
 
#define c_bg(sti, c)   col_trans[((c>>11) & 7)]
 
#define c_index(sti, c)   ((c) & 0xff)
 
#define BMODE_RELOCATE(offset)   offset = (offset) / 4;
 
#define BMODE_LAST_ADDR_OFFS   0x50
 

Functions

void sti_putc (struct sti_struct *sti, int c, int y, int x)
 
void sti_set (struct sti_struct *sti, int src_y, int src_x, int height, int width, u8 color)
 
void sti_clear (struct sti_struct *sti, int src_y, int src_x, int height, int width, int c)
 
void sti_bmove (struct sti_struct *sti, int src_y, int src_x, int dst_y, int dst_x, int height, int width)
 
 __setup ("sti=", sti_setup)
 
 MODULE_DEVICE_TABLE (pci, sti_pci_tbl)
 
struct sti_structsti_get_rom (unsigned int index)
 
 EXPORT_SYMBOL (sti_get_rom)
 
 MODULE_AUTHOR ("Philipp Rumpf, Helge Deller, Thomas Bogendoerfer")
 
 MODULE_DESCRIPTION ("Core STI driver for HP's NGLE series graphics cards in HP PARISC machines")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define BMODE_LAST_ADDR_OFFS   0x50

Definition at line 640 of file sticore.c.

#define BMODE_RELOCATE (   offset)    offset = (offset) / 4;

Definition at line 639 of file sticore.c.

#define c_bg (   sti,
  c 
)    col_trans[((c>>11) & 7)]

Definition at line 61 of file sticore.c.

#define c_fg (   sti,
  c 
)    col_trans[((c>> 8) & 7)]

Definition at line 60 of file sticore.c.

#define c_index (   sti,
  c 
)    ((c) & 0xff)

Definition at line 62 of file sticore.c.

#define STI_DRIVERVERSION   "Version 0.9a"

Definition at line 33 of file sticore.c.

Function Documentation

__setup ( )
EXPORT_SYMBOL ( sti_get_rom  )
MODULE_AUTHOR ( "Philipp  Rumpf,
Helge  Deller,
Thomas Bogendoerfer"   
)
MODULE_DESCRIPTION ( "Core STI driver for HP's NGLE series graphics cards in HP PARISC machines"  )
MODULE_DEVICE_TABLE ( pci  ,
sti_pci_tbl   
)
MODULE_LICENSE ( "GPL v2 )
void sti_bmove ( struct sti_struct sti,
int  src_y,
int  src_x,
int  dst_y,
int  dst_x,
int  height,
int  width 
)

Definition at line 212 of file sticore.c.

void sti_clear ( struct sti_struct sti,
int  src_y,
int  src_x,
int  height,
int  width,
int  c 
)

Definition at line 182 of file sticore.c.

struct sti_struct* sti_get_rom ( unsigned int  index)
read

Definition at line 1070 of file sticore.c.

void sti_putc ( struct sti_struct sti,
int  c,
int  y,
int  x 
)

Definition at line 127 of file sticore.c.

void sti_set ( struct sti_struct sti,
int  src_y,
int  src_x,
int  height,
int  width,
u8  color 
)

Definition at line 156 of file sticore.c.