Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
omapfb.h File Reference
#include <linux/fb.h>
#include <linux/ioctl.h>
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  omapfb_update_window
 
struct  omapfb_update_window_old
 
struct  omapfb_plane_info
 
struct  omapfb_mem_info
 
struct  omapfb_caps
 
struct  omapfb_color_key
 
struct  omapfb_memory_read
 
struct  omapfb_ovl_colormode
 
struct  omapfb_vram_info
 
struct  omapfb_tearsync_info
 
struct  omapfb_display_info
 

Macros

#define OMAP_IOW(num, dtype)   _IOW('O', num, dtype)
 
#define OMAP_IOR(num, dtype)   _IOR('O', num, dtype)
 
#define OMAP_IOWR(num, dtype)   _IOWR('O', num, dtype)
 
#define OMAP_IO(num)   _IO('O', num)
 
#define OMAPFB_MIRROR   OMAP_IOW(31, int)
 
#define OMAPFB_SYNC_GFX   OMAP_IO(37)
 
#define OMAPFB_VSYNC   OMAP_IO(38)
 
#define OMAPFB_SET_UPDATE_MODE   OMAP_IOW(40, int)
 
#define OMAPFB_GET_CAPS   OMAP_IOR(42, struct omapfb_caps)
 
#define OMAPFB_GET_UPDATE_MODE   OMAP_IOW(43, int)
 
#define OMAPFB_LCD_TEST   OMAP_IOW(45, int)
 
#define OMAPFB_CTRL_TEST   OMAP_IOW(46, int)
 
#define OMAPFB_UPDATE_WINDOW_OLD   OMAP_IOW(47, struct omapfb_update_window_old)
 
#define OMAPFB_SET_COLOR_KEY   OMAP_IOW(50, struct omapfb_color_key)
 
#define OMAPFB_GET_COLOR_KEY   OMAP_IOW(51, struct omapfb_color_key)
 
#define OMAPFB_SETUP_PLANE   OMAP_IOW(52, struct omapfb_plane_info)
 
#define OMAPFB_QUERY_PLANE   OMAP_IOW(53, struct omapfb_plane_info)
 
#define OMAPFB_UPDATE_WINDOW   OMAP_IOW(54, struct omapfb_update_window)
 
#define OMAPFB_SETUP_MEM   OMAP_IOW(55, struct omapfb_mem_info)
 
#define OMAPFB_QUERY_MEM   OMAP_IOW(56, struct omapfb_mem_info)
 
#define OMAPFB_WAITFORVSYNC   OMAP_IO(57)
 
#define OMAPFB_MEMORY_READ   OMAP_IOR(58, struct omapfb_memory_read)
 
#define OMAPFB_GET_OVERLAY_COLORMODE   OMAP_IOR(59, struct omapfb_ovl_colormode)
 
#define OMAPFB_WAITFORGO   OMAP_IO(60)
 
#define OMAPFB_GET_VRAM_INFO   OMAP_IOR(61, struct omapfb_vram_info)
 
#define OMAPFB_SET_TEARSYNC   OMAP_IOW(62, struct omapfb_tearsync_info)
 
#define OMAPFB_GET_DISPLAY_INFO   OMAP_IOR(63, struct omapfb_display_info)
 
#define OMAPFB_CAPS_GENERIC_MASK   0x00000fff
 
#define OMAPFB_CAPS_LCDC_MASK   0x00fff000
 
#define OMAPFB_CAPS_PANEL_MASK   0xff000000
 
#define OMAPFB_CAPS_MANUAL_UPDATE   0x00001000
 
#define OMAPFB_CAPS_TEARSYNC   0x00002000
 
#define OMAPFB_CAPS_PLANE_RELOCATE_MEM   0x00004000
 
#define OMAPFB_CAPS_PLANE_SCALE   0x00008000
 
#define OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE   0x00010000
 
#define OMAPFB_CAPS_WINDOW_SCALE   0x00020000
 
#define OMAPFB_CAPS_WINDOW_OVERLAY   0x00040000
 
#define OMAPFB_CAPS_WINDOW_ROTATE   0x00080000
 
#define OMAPFB_CAPS_SET_BACKLIGHT   0x01000000
 
#define OMAPFB_FORMAT_MASK   0x00ff
 
#define OMAPFB_FORMAT_FLAG_DOUBLE   0x0100
 
#define OMAPFB_FORMAT_FLAG_TEARSYNC   0x0200
 
#define OMAPFB_FORMAT_FLAG_FORCE_VSYNC   0x0400
 
#define OMAPFB_FORMAT_FLAG_ENABLE_OVERLAY   0x0800
 
#define OMAPFB_FORMAT_FLAG_DISABLE_OVERLAY   0x1000
 
#define OMAPFB_MEMTYPE_SDRAM   0
 
#define OMAPFB_MEMTYPE_SRAM   1
 
#define OMAPFB_MEMTYPE_MAX   1
 
#define OMAPFB_MEM_IDX_ENABLED   0x80
 
#define OMAPFB_MEM_IDX_MASK   0x7f
 

Enumerations

enum  omapfb_color_format {
  OMAPFB_COLOR_RGB565 = 0, OMAPFB_COLOR_YUV422, OMAPFB_COLOR_YUV420, OMAPFB_COLOR_CLUT_8BPP,
  OMAPFB_COLOR_CLUT_4BPP, OMAPFB_COLOR_CLUT_2BPP, OMAPFB_COLOR_CLUT_1BPP, OMAPFB_COLOR_RGB444,
  OMAPFB_COLOR_YUY422, OMAPFB_COLOR_ARGB16, OMAPFB_COLOR_RGB24U, OMAPFB_COLOR_RGB24P,
  OMAPFB_COLOR_ARGB32, OMAPFB_COLOR_RGBA32, OMAPFB_COLOR_RGBX32
}
 
enum  omapfb_plane { OMAPFB_PLANE_GFX = 0, OMAPFB_PLANE_VID1, OMAPFB_PLANE_VID2 }
 
enum  omapfb_channel_out { OMAPFB_CHANNEL_OUT_LCD = 0, OMAPFB_CHANNEL_OUT_DIGIT }
 
enum  omapfb_color_key_type { OMAPFB_COLOR_KEY_DISABLED = 0, OMAPFB_COLOR_KEY_GFX_DST, OMAPFB_COLOR_KEY_VID_SRC }
 
enum  omapfb_update_mode { OMAPFB_UPDATE_DISABLED = 0, OMAPFB_AUTO_UPDATE, OMAPFB_MANUAL_UPDATE }
 

Macro Definition Documentation

#define OMAP_IO (   num)    _IO('O', num)

Definition at line 36 of file omapfb.h.

#define OMAP_IOR (   num,
  dtype 
)    _IOR('O', num, dtype)

Definition at line 34 of file omapfb.h.

#define OMAP_IOW (   num,
  dtype 
)    _IOW('O', num, dtype)

Definition at line 33 of file omapfb.h.

#define OMAP_IOWR (   num,
  dtype 
)    _IOWR('O', num, dtype)

Definition at line 35 of file omapfb.h.

#define OMAPFB_CAPS_GENERIC_MASK   0x00000fff

Definition at line 62 of file omapfb.h.

#define OMAPFB_CAPS_LCDC_MASK   0x00fff000

Definition at line 63 of file omapfb.h.

#define OMAPFB_CAPS_MANUAL_UPDATE   0x00001000

Definition at line 66 of file omapfb.h.

#define OMAPFB_CAPS_PANEL_MASK   0xff000000

Definition at line 64 of file omapfb.h.

#define OMAPFB_CAPS_PLANE_RELOCATE_MEM   0x00004000

Definition at line 68 of file omapfb.h.

#define OMAPFB_CAPS_PLANE_SCALE   0x00008000

Definition at line 69 of file omapfb.h.

#define OMAPFB_CAPS_SET_BACKLIGHT   0x01000000

Definition at line 74 of file omapfb.h.

#define OMAPFB_CAPS_TEARSYNC   0x00002000

Definition at line 67 of file omapfb.h.

#define OMAPFB_CAPS_WINDOW_OVERLAY   0x00040000

Definition at line 72 of file omapfb.h.

#define OMAPFB_CAPS_WINDOW_PIXEL_DOUBLE   0x00010000

Definition at line 70 of file omapfb.h.

#define OMAPFB_CAPS_WINDOW_ROTATE   0x00080000

Definition at line 73 of file omapfb.h.

#define OMAPFB_CAPS_WINDOW_SCALE   0x00020000

Definition at line 71 of file omapfb.h.

#define OMAPFB_CTRL_TEST   OMAP_IOW(46, int)

Definition at line 45 of file omapfb.h.

#define OMAPFB_FORMAT_FLAG_DISABLE_OVERLAY   0x1000

Definition at line 82 of file omapfb.h.

#define OMAPFB_FORMAT_FLAG_DOUBLE   0x0100

Definition at line 78 of file omapfb.h.

#define OMAPFB_FORMAT_FLAG_ENABLE_OVERLAY   0x0800

Definition at line 81 of file omapfb.h.

#define OMAPFB_FORMAT_FLAG_FORCE_VSYNC   0x0400

Definition at line 80 of file omapfb.h.

#define OMAPFB_FORMAT_FLAG_TEARSYNC   0x0200

Definition at line 79 of file omapfb.h.

#define OMAPFB_FORMAT_MASK   0x00ff

Definition at line 77 of file omapfb.h.

#define OMAPFB_GET_CAPS   OMAP_IOR(42, struct omapfb_caps)

Definition at line 42 of file omapfb.h.

#define OMAPFB_GET_COLOR_KEY   OMAP_IOW(51, struct omapfb_color_key)

Definition at line 48 of file omapfb.h.

#define OMAPFB_GET_DISPLAY_INFO   OMAP_IOR(63, struct omapfb_display_info)

Definition at line 60 of file omapfb.h.

#define OMAPFB_GET_OVERLAY_COLORMODE   OMAP_IOR(59, struct omapfb_ovl_colormode)

Definition at line 56 of file omapfb.h.

#define OMAPFB_GET_UPDATE_MODE   OMAP_IOW(43, int)

Definition at line 43 of file omapfb.h.

#define OMAPFB_GET_VRAM_INFO   OMAP_IOR(61, struct omapfb_vram_info)

Definition at line 58 of file omapfb.h.

#define OMAPFB_LCD_TEST   OMAP_IOW(45, int)

Definition at line 44 of file omapfb.h.

#define OMAPFB_MEM_IDX_ENABLED   0x80

Definition at line 88 of file omapfb.h.

#define OMAPFB_MEM_IDX_MASK   0x7f

Definition at line 89 of file omapfb.h.

#define OMAPFB_MEMORY_READ   OMAP_IOR(58, struct omapfb_memory_read)

Definition at line 55 of file omapfb.h.

#define OMAPFB_MEMTYPE_MAX   1

Definition at line 86 of file omapfb.h.

#define OMAPFB_MEMTYPE_SDRAM   0

Definition at line 84 of file omapfb.h.

#define OMAPFB_MEMTYPE_SRAM   1

Definition at line 85 of file omapfb.h.

#define OMAPFB_MIRROR   OMAP_IOW(31, int)

Definition at line 38 of file omapfb.h.

#define OMAPFB_QUERY_MEM   OMAP_IOW(56, struct omapfb_mem_info)

Definition at line 53 of file omapfb.h.

#define OMAPFB_QUERY_PLANE   OMAP_IOW(53, struct omapfb_plane_info)

Definition at line 50 of file omapfb.h.

#define OMAPFB_SET_COLOR_KEY   OMAP_IOW(50, struct omapfb_color_key)

Definition at line 47 of file omapfb.h.

#define OMAPFB_SET_TEARSYNC   OMAP_IOW(62, struct omapfb_tearsync_info)

Definition at line 59 of file omapfb.h.

#define OMAPFB_SET_UPDATE_MODE   OMAP_IOW(40, int)

Definition at line 41 of file omapfb.h.

#define OMAPFB_SETUP_MEM   OMAP_IOW(55, struct omapfb_mem_info)

Definition at line 52 of file omapfb.h.

#define OMAPFB_SETUP_PLANE   OMAP_IOW(52, struct omapfb_plane_info)

Definition at line 49 of file omapfb.h.

#define OMAPFB_SYNC_GFX   OMAP_IO(37)

Definition at line 39 of file omapfb.h.

#define OMAPFB_UPDATE_WINDOW   OMAP_IOW(54, struct omapfb_update_window)

Definition at line 51 of file omapfb.h.

#define OMAPFB_UPDATE_WINDOW_OLD   OMAP_IOW(47, struct omapfb_update_window_old)

Definition at line 46 of file omapfb.h.

#define OMAPFB_VSYNC   OMAP_IO(38)

Definition at line 40 of file omapfb.h.

#define OMAPFB_WAITFORGO   OMAP_IO(60)

Definition at line 57 of file omapfb.h.

#define OMAPFB_WAITFORVSYNC   OMAP_IO(57)

Definition at line 54 of file omapfb.h.

Enumeration Type Documentation

Enumerator:
OMAPFB_CHANNEL_OUT_LCD 
OMAPFB_CHANNEL_OUT_DIGIT 

Definition at line 131 of file omapfb.h.

Enumerator:
OMAPFB_COLOR_RGB565 
OMAPFB_COLOR_YUV422 
OMAPFB_COLOR_YUV420 
OMAPFB_COLOR_CLUT_8BPP 
OMAPFB_COLOR_CLUT_4BPP 
OMAPFB_COLOR_CLUT_2BPP 
OMAPFB_COLOR_CLUT_1BPP 
OMAPFB_COLOR_RGB444 
OMAPFB_COLOR_YUY422 
OMAPFB_COLOR_ARGB16 
OMAPFB_COLOR_RGB24U 
OMAPFB_COLOR_RGB24P 
OMAPFB_COLOR_ARGB32 
OMAPFB_COLOR_RGBA32 
OMAPFB_COLOR_RGBX32 

Definition at line 91 of file omapfb.h.

Enumerator:
OMAPFB_COLOR_KEY_DISABLED 
OMAPFB_COLOR_KEY_GFX_DST 
OMAPFB_COLOR_KEY_VID_SRC 

Definition at line 160 of file omapfb.h.

Enumerator:
OMAPFB_PLANE_GFX 
OMAPFB_PLANE_VID1 
OMAPFB_PLANE_VID2 

Definition at line 125 of file omapfb.h.

Enumerator:
OMAPFB_UPDATE_DISABLED 
OMAPFB_AUTO_UPDATE 
OMAPFB_MANUAL_UPDATE 

Definition at line 173 of file omapfb.h.