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

Go to the source code of this file.

Data Structures

struct  pxafb_dma_descriptor
 
struct  pxafb_dma_buff
 
struct  pxafb_layer_ops
 
struct  pxafb_layer
 
struct  pxafb_info
 

Macros

#define PALETTE_SIZE   (256 * 4)
 
#define CMD_BUFF_SIZE   (1024 * 50)
 
#define NONSTD_TO_XPOS(x)   (((x) >> 0) & 0x3ff)
 
#define NONSTD_TO_YPOS(x)   (((x) >> 10) & 0x3ff)
 
#define NONSTD_TO_PFOR(x)   (((x) >> 20) & 0x7)
 
#define TO_INF(ptr, member)   container_of(ptr,struct pxafb_info,member)
 
#define C_DISABLE   (0)
 
#define C_ENABLE   (1)
 
#define C_DISABLE_CLKCHANGE   (2)
 
#define C_ENABLE_CLKCHANGE   (3)
 
#define C_REENABLE   (4)
 
#define C_DISABLE_PM   (5)
 
#define C_ENABLE_PM   (6)
 
#define C_STARTUP   (7)
 
#define PXA_NAME   "PXA"
 
#define MIN_XRES   64
 
#define MIN_YRES   64
 
#define MAX_XRES   1024
 
#define MAX_YRES   1024
 

Enumerations

enum  {
  PAL_NONE = -1, PAL_BASE = 0, PAL_OV1 = 1, PAL_OV2 = 2,
  PAL_MAX
}
 
enum  {
  DMA_BASE = 0, DMA_UPPER = 0, DMA_LOWER = 1, DMA_OV1 = 1,
  DMA_OV2_Y = 2, DMA_OV2_Cb = 3, DMA_OV2_Cr = 4, DMA_CURSOR = 5,
  DMA_CMD = 6, DMA_MAX
}
 
enum  { OVERLAY1, OVERLAY2 }
 
enum  {
  OVERLAY_FORMAT_RGB = 0, OVERLAY_FORMAT_YUV444_PACKED, OVERLAY_FORMAT_YUV444_PLANAR, OVERLAY_FORMAT_YUV422_PLANAR,
  OVERLAY_FORMAT_YUV420_PLANAR
}
 

Macro Definition Documentation

#define C_DISABLE   (0)

Definition at line 177 of file pxafb.h.

#define C_DISABLE_CLKCHANGE   (2)

Definition at line 179 of file pxafb.h.

#define C_DISABLE_PM   (5)

Definition at line 182 of file pxafb.h.

#define C_ENABLE   (1)

Definition at line 178 of file pxafb.h.

#define C_ENABLE_CLKCHANGE   (3)

Definition at line 180 of file pxafb.h.

#define C_ENABLE_PM   (6)

Definition at line 183 of file pxafb.h.

#define C_REENABLE   (4)

Definition at line 181 of file pxafb.h.

#define C_STARTUP   (7)

Definition at line 184 of file pxafb.h.

#define CMD_BUFF_SIZE   (1024 * 50)

Definition at line 55 of file pxafb.h.

#define MAX_XRES   1024

Definition at line 197 of file pxafb.h.

#define MAX_YRES   1024

Definition at line 198 of file pxafb.h.

#define MIN_XRES   64

Definition at line 191 of file pxafb.h.

#define MIN_YRES   64

Definition at line 192 of file pxafb.h.

#define NONSTD_TO_PFOR (   x)    (((x) >> 20) & 0x7)

Definition at line 82 of file pxafb.h.

#define NONSTD_TO_XPOS (   x)    (((x) >> 0) & 0x3ff)

Definition at line 80 of file pxafb.h.

#define NONSTD_TO_YPOS (   x)    (((x) >> 10) & 0x3ff)

Definition at line 81 of file pxafb.h.

#define PALETTE_SIZE   (256 * 4)

Definition at line 54 of file pxafb.h.

#define PXA_NAME   "PXA"

Definition at line 186 of file pxafb.h.

#define TO_INF (   ptr,
  member 
)    container_of(ptr,struct pxafb_info,member)

Definition at line 172 of file pxafb.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
PAL_NONE 
PAL_BASE 
PAL_OV1 
PAL_OV2 
PAL_MAX 

Definition at line 32 of file pxafb.h.

anonymous enum
Enumerator:
DMA_BASE 
DMA_UPPER 
DMA_LOWER 
DMA_OV1 
DMA_OV2_Y 
DMA_OV2_Cb 
DMA_OV2_Cr 
DMA_CURSOR 
DMA_CMD 
DMA_MAX 

Definition at line 40 of file pxafb.h.

anonymous enum
Enumerator:
OVERLAY1 
OVERLAY2 

Definition at line 67 of file pxafb.h.

anonymous enum
Enumerator:
OVERLAY_FORMAT_RGB 
OVERLAY_FORMAT_YUV444_PACKED 
OVERLAY_FORMAT_YUV444_PLANAR 
OVERLAY_FORMAT_YUV422_PLANAR 
OVERLAY_FORMAT_YUV420_PLANAR 

Definition at line 72 of file pxafb.h.