Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
fbcon.h File Reference
#include <linux/types.h>
#include <linux/vt_buffer.h>
#include <linux/vt_kern.h>
#include <asm/io.h>

Go to the source code of this file.

Data Structures

struct  display
 
struct  fbcon_ops
 

Macros

#define FBCON_FLAGS_INIT   1
 
#define FBCON_FLAGS_CURSOR_TIMER   2
 
#define attr_fgcol(fgshift, s)   (((s) >> (fgshift)) & 0x0f)
 
#define attr_bgcol(bgshift, s)   (((s) >> (bgshift)) & 0x0f)
 
#define attr_bold(s)   ((s) & 0x200)
 
#define attr_reverse(s)   ((s) & 0x800)
 
#define attr_underline(s)   ((s) & 0x400)
 
#define attr_blink(s)   ((s) & 0x8000)
 
#define attr_bgcol_ec(bgshift, vc, info)   attr_col_ec(bgshift, vc, info, 0)
 
#define attr_fgcol_ec(fgshift, vc, info)   attr_col_ec(fgshift, vc, info, 1)
 
#define REFCOUNT(fd)   (((int *)(fd))[-1])
 
#define FNTSIZE(fd)   (((int *)(fd))[-2])
 
#define FNTCHARCNT(fd)   (((int *)(fd))[-3])
 
#define FNTSUM(fd)   (((int *)(fd))[-4])
 
#define FONT_EXTRA_WORDS   4
 
#define SCROLL_MOVE   0x001
 
#define SCROLL_PAN_MOVE   0x002
 
#define SCROLL_WRAP_MOVE   0x003
 
#define SCROLL_REDRAW   0x004
 
#define SCROLL_PAN_REDRAW   0x005
 
#define FBCON_ATTRIBUTE_UNDERLINE   1
 
#define FBCON_ATTRIBUTE_REVERSE   2
 
#define FBCON_ATTRIBUTE_BOLD   4
 
#define FBCON_SWAP(i, r, v)
 
#define fbcon_set_rotate(x)   do {} while(0)
 

Functions

void fbcon_set_bitops (struct fbcon_ops *ops)
 
int soft_cursor (struct fb_info *info, struct fb_cursor *cursor)
 

Macro Definition Documentation

#define attr_bgcol (   bgshift,
  s 
)    (((s) >> (bgshift)) & 0x0f)

Definition at line 95 of file fbcon.h.

#define attr_bgcol_ec (   bgshift,
  vc,
  info 
)    attr_col_ec(bgshift, vc, info, 0)

Definition at line 150 of file fbcon.h.

#define attr_blink (   s)    ((s) & 0x8000)

Definition at line 105 of file fbcon.h.

#define attr_bold (   s)    ((s) & 0x200)

Definition at line 99 of file fbcon.h.

#define attr_fgcol (   fgshift,
  s 
)    (((s) >> (fgshift)) & 0x0f)

Definition at line 93 of file fbcon.h.

#define attr_fgcol_ec (   fgshift,
  vc,
  info 
)    attr_col_ec(fgshift, vc, info, 1)

Definition at line 151 of file fbcon.h.

#define attr_reverse (   s)    ((s) & 0x800)

Definition at line 101 of file fbcon.h.

#define attr_underline (   s)    ((s) & 0x400)

Definition at line 103 of file fbcon.h.

#define FBCON_ATTRIBUTE_BOLD   4

Definition at line 224 of file fbcon.h.

#define FBCON_ATTRIBUTE_REVERSE   2

Definition at line 223 of file fbcon.h.

#define FBCON_ATTRIBUTE_UNDERLINE   1

Definition at line 222 of file fbcon.h.

#define FBCON_FLAGS_CURSOR_TIMER   2

Definition at line 21 of file fbcon.h.

#define FBCON_FLAGS_INIT   1

Definition at line 20 of file fbcon.h.

#define fbcon_set_rotate (   x)    do {} while(0)

Definition at line 260 of file fbcon.h.

#define FBCON_SWAP (   i,
  r,
  v 
)
Value:
({ \
typeof(r) _r = (r); \
typeof(v) _v = (v); \
(void) (&_r == &_v); \
(i == FB_ROTATE_UR || i == FB_ROTATE_UD) ? _r : _v; })

Definition at line 251 of file fbcon.h.

#define FNTCHARCNT (   fd)    (((int *)(fd))[-3])

Definition at line 156 of file fbcon.h.

#define FNTSIZE (   fd)    (((int *)(fd))[-2])

Definition at line 155 of file fbcon.h.

#define FNTSUM (   fd)    (((int *)(fd))[-4])

Definition at line 157 of file fbcon.h.

#define FONT_EXTRA_WORDS   4

Definition at line 158 of file fbcon.h.

#define REFCOUNT (   fd)    (((int *)(fd))[-1])

Definition at line 154 of file fbcon.h.

#define SCROLL_MOVE   0x001

Definition at line 210 of file fbcon.h.

#define SCROLL_PAN_MOVE   0x002

Definition at line 211 of file fbcon.h.

#define SCROLL_PAN_REDRAW   0x005

Definition at line 214 of file fbcon.h.

#define SCROLL_REDRAW   0x004

Definition at line 213 of file fbcon.h.

#define SCROLL_WRAP_MOVE   0x003

Definition at line 212 of file fbcon.h.

Function Documentation

void fbcon_set_bitops ( struct fbcon_ops ops)

Definition at line 404 of file bitblit.c.

int soft_cursor ( struct fb_info info,
struct fb_cursor cursor 
)

Definition at line 22 of file softcursor.c.