Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sbuslib.h File Reference

Go to the source code of this file.

Data Structures

struct  sbus_mmap_map
 

Macros

#define SBUS_MMAP_FBSIZE(n)   (-n)
 
#define SBUS_MMAP_EMPTY   0x80000000
 

Functions

void sbusfb_fill_var (struct fb_var_screeninfo *var, struct device_node *dp, int bpp)
 
int sbusfb_mmap_helper (struct sbus_mmap_map *map, unsigned long physbase, unsigned long fbsize, unsigned long iospace, struct vm_area_struct *vma)
 
int sbusfb_ioctl_helper (unsigned long cmd, unsigned long arg, struct fb_info *info, int type, int fb_depth, unsigned long fb_size)
 
int sbusfb_compat_ioctl (struct fb_info *info, unsigned int cmd, unsigned long arg)
 

Macro Definition Documentation

#define SBUS_MMAP_EMPTY   0x80000000

Definition at line 12 of file sbuslib.h.

#define SBUS_MMAP_FBSIZE (   n)    (-n)

Definition at line 11 of file sbuslib.h.

Function Documentation

int sbusfb_compat_ioctl ( struct fb_info info,
unsigned int  cmd,
unsigned long  arg 
)
void sbusfb_fill_var ( struct fb_var_screeninfo var,
struct device_node dp,
int  bpp 
)

Definition at line 19 of file sbuslib.c.

int sbusfb_ioctl_helper ( unsigned long  cmd,
unsigned long  arg,
struct fb_info info,
int  type,
int  fb_depth,
unsigned long  fb_size 
)

Definition at line 99 of file sbuslib.c.

int sbusfb_mmap_helper ( struct sbus_mmap_map map,
unsigned long  physbase,
unsigned long  fbsize,
unsigned long  iospace,
struct vm_area_struct vma 
)

Definition at line 40 of file sbuslib.c.