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

Go to the source code of this file.

Data Structures

struct  xenfb_update
 
struct  xenfb_resize
 
union  xenfb_out_event
 
union  xenfb_in_event
 
struct  xenfb_page
 

Macros

#define XENFB_TYPE_UPDATE   2
 
#define XENFB_TYPE_RESIZE   3
 
#define XENFB_OUT_EVENT_SIZE   40
 
#define XENFB_IN_EVENT_SIZE   40
 
#define XENFB_IN_RING_SIZE   1024
 
#define XENFB_IN_RING_LEN   (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE)
 
#define XENFB_IN_RING_OFFS   1024
 
#define XENFB_IN_RING(page)   ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS))
 
#define XENFB_IN_RING_REF(page, idx)   (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN])
 
#define XENFB_OUT_RING_SIZE   2048
 
#define XENFB_OUT_RING_LEN   (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE)
 
#define XENFB_OUT_RING_OFFS   (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE)
 
#define XENFB_OUT_RING(page)   ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS))
 
#define XENFB_OUT_RING_REF(page, idx)   (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN])
 

Macro Definition Documentation

#define XENFB_IN_EVENT_SIZE   40

Definition at line 83 of file fbif.h.

#define XENFB_IN_RING (   page)    ((union xenfb_in_event *)((char *)(page) + XENFB_IN_RING_OFFS))

Definition at line 95 of file fbif.h.

#define XENFB_IN_RING_LEN   (XENFB_IN_RING_SIZE / XENFB_IN_EVENT_SIZE)

Definition at line 93 of file fbif.h.

#define XENFB_IN_RING_OFFS   1024

Definition at line 94 of file fbif.h.

#define XENFB_IN_RING_REF (   page,
  idx 
)    (XENFB_IN_RING((page))[(idx) % XENFB_IN_RING_LEN])

Definition at line 97 of file fbif.h.

#define XENFB_IN_RING_SIZE   1024

Definition at line 92 of file fbif.h.

#define XENFB_OUT_EVENT_SIZE   40

Definition at line 67 of file fbif.h.

#define XENFB_OUT_RING (   page)    ((union xenfb_out_event *)((char *)(page) + XENFB_OUT_RING_OFFS))

Definition at line 103 of file fbif.h.

#define XENFB_OUT_RING_LEN   (XENFB_OUT_RING_SIZE / XENFB_OUT_EVENT_SIZE)

Definition at line 101 of file fbif.h.

#define XENFB_OUT_RING_OFFS   (XENFB_IN_RING_OFFS + XENFB_IN_RING_SIZE)

Definition at line 102 of file fbif.h.

#define XENFB_OUT_RING_REF (   page,
  idx 
)    (XENFB_OUT_RING((page))[(idx) % XENFB_OUT_RING_LEN])

Definition at line 105 of file fbif.h.

#define XENFB_OUT_RING_SIZE   2048

Definition at line 100 of file fbif.h.

#define XENFB_TYPE_RESIZE   3

Definition at line 56 of file fbif.h.

#define XENFB_TYPE_UPDATE   2

Definition at line 42 of file fbif.h.