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

Go to the source code of this file.

Data Structures

struct  idmac_video_param
 
union  ipu_channel_param
 
struct  idmac_tx_desc
 
struct  idmac_channel
 

Macros

#define IPU_CHANNELS_NUM   32
 
#define to_tx_desc(tx)   container_of(tx, struct idmac_tx_desc, txd)
 
#define to_idmac_chan(c)   container_of(c, struct idmac_channel, dma_chan)
 

Enumerations

enum  ipu_channel {
  IDMAC_IC_0 = 0, IDMAC_IC_1 = 1, IDMAC_ADC_0 = 1, IDMAC_IC_2 = 2,
  IDMAC_ADC_1 = 2, IDMAC_IC_3 = 3, IDMAC_IC_4 = 4, IDMAC_IC_5 = 5,
  IDMAC_IC_6 = 6, IDMAC_IC_7 = 7, IDMAC_IC_8 = 8, IDMAC_IC_9 = 9,
  IDMAC_IC_10 = 10, IDMAC_IC_11 = 11, IDMAC_IC_12 = 12, IDMAC_IC_13 = 13,
  IDMAC_SDC_0 = 14, IDMAC_SDC_1 = 15, IDMAC_SDC_2 = 16, IDMAC_SDC_3 = 17,
  IDMAC_ADC_2 = 18, IDMAC_ADC_3 = 19, IDMAC_ADC_4 = 20, IDMAC_ADC_5 = 21,
  IDMAC_ADC_6 = 22, IDMAC_ADC_7 = 23, IDMAC_PF_0 = 24, IDMAC_PF_1 = 25,
  IDMAC_PF_2 = 26, IDMAC_PF_3 = 27, IDMAC_PF_4 = 28, IDMAC_PF_5 = 29,
  IDMAC_PF_6 = 30, IDMAC_PF_7 = 31
}
 
enum  ipu_channel_status { IPU_CHANNEL_FREE, IPU_CHANNEL_INITIALIZED, IPU_CHANNEL_READY, IPU_CHANNEL_ENABLED }
 
enum  pixel_fmt {
  IPU_PIX_FMT_GENERIC, IPU_PIX_FMT_RGB332, IPU_PIX_FMT_YUV420P, IPU_PIX_FMT_YUV422P,
  IPU_PIX_FMT_YUV420P2, IPU_PIX_FMT_YVU422P, IPU_PIX_FMT_RGB565, IPU_PIX_FMT_RGB666,
  IPU_PIX_FMT_BGR666, IPU_PIX_FMT_YUYV, IPU_PIX_FMT_UYVY, IPU_PIX_FMT_RGB24,
  IPU_PIX_FMT_BGR24, IPU_PIX_FMT_GENERIC_32, IPU_PIX_FMT_RGB32, IPU_PIX_FMT_BGR32,
  IPU_PIX_FMT_ABGR32, IPU_PIX_FMT_BGRA32, IPU_PIX_FMT_RGBA32
}
 
enum  ipu_color_space {
  IPU_COLORSPACE_RGB, IPU_COLORSPACE_YCBCR, IPU_COLORSPACE_YUV, IPUV3_COLORSPACE_RGB,
  IPUV3_COLORSPACE_YUV, IPUV3_COLORSPACE_UNKNOWN
}
 
enum  ipu_rotate_mode {
  IPU_ROTATE_NONE = 0, IPU_ROTATE_VERT_FLIP = 1, IPU_ROTATE_HORIZ_FLIP = 2, IPU_ROTATE_180 = 3,
  IPU_ROTATE_90_RIGHT = 4, IPU_ROTATE_90_RIGHT_VFLIP = 5, IPU_ROTATE_90_RIGHT_HFLIP = 6, IPU_ROTATE_90_LEFT = 7
}
 
enum  display_port { DISP0, DISP1, DISP2, DISP3 }
 

Macro Definition Documentation

#define IPU_CHANNELS_NUM   32

Definition at line 64 of file ipu.h.

#define to_idmac_chan (   c)    container_of(c, struct idmac_channel, dma_chan)

Definition at line 175 of file ipu.h.

#define to_tx_desc (   tx)    container_of(tx, struct idmac_tx_desc, txd)

Definition at line 174 of file ipu.h.

Enumeration Type Documentation

Enumerator:
DISP0 
DISP1 
DISP2 
DISP3 

Definition at line 116 of file ipu.h.

Enumerator:
IDMAC_IC_0 
IDMAC_IC_1 
IDMAC_ADC_0 
IDMAC_IC_2 
IDMAC_ADC_1 
IDMAC_IC_3 
IDMAC_IC_4 
IDMAC_IC_5 
IDMAC_IC_6 
IDMAC_IC_7 
IDMAC_IC_8 
IDMAC_IC_9 
IDMAC_IC_10 
IDMAC_IC_11 
IDMAC_IC_12 
IDMAC_IC_13 
IDMAC_SDC_0 
IDMAC_SDC_1 
IDMAC_SDC_2 
IDMAC_SDC_3 
IDMAC_ADC_2 
IDMAC_ADC_3 
IDMAC_ADC_4 
IDMAC_ADC_5 
IDMAC_ADC_6 
IDMAC_ADC_7 
IDMAC_PF_0 
IDMAC_PF_1 
IDMAC_PF_2 
IDMAC_PF_3 
IDMAC_PF_4 
IDMAC_PF_5 
IDMAC_PF_6 
IDMAC_PF_7 

Definition at line 19 of file ipu.h.

Enumerator:
IPU_CHANNEL_FREE 
IPU_CHANNEL_INITIALIZED 
IPU_CHANNEL_READY 
IPU_CHANNEL_ENABLED 

Definition at line 57 of file ipu.h.

Enumerator:
IPU_COLORSPACE_RGB 
IPU_COLORSPACE_YCBCR 
IPU_COLORSPACE_YUV 
IPUV3_COLORSPACE_RGB 
IPUV3_COLORSPACE_YUV 
IPUV3_COLORSPACE_UNKNOWN 

Definition at line 92 of file ipu.h.

Enumerator:
IPU_ROTATE_NONE 
IPU_ROTATE_VERT_FLIP 
IPU_ROTATE_HORIZ_FLIP 
IPU_ROTATE_180 
IPU_ROTATE_90_RIGHT 
IPU_ROTATE_90_RIGHT_VFLIP 
IPU_ROTATE_90_RIGHT_HFLIP 
IPU_ROTATE_90_LEFT 

Definition at line 101 of file ipu.h.

enum pixel_fmt
Enumerator:
IPU_PIX_FMT_GENERIC 
IPU_PIX_FMT_RGB332 
IPU_PIX_FMT_YUV420P 
IPU_PIX_FMT_YUV422P 
IPU_PIX_FMT_YUV420P2 
IPU_PIX_FMT_YVU422P 
IPU_PIX_FMT_RGB565 
IPU_PIX_FMT_RGB666 
IPU_PIX_FMT_BGR666 
IPU_PIX_FMT_YUYV 
IPU_PIX_FMT_UYVY 
IPU_PIX_FMT_RGB24 
IPU_PIX_FMT_BGR24 
IPU_PIX_FMT_GENERIC_32 
IPU_PIX_FMT_RGB32 
IPU_PIX_FMT_BGR32 
IPU_PIX_FMT_ABGR32 
IPU_PIX_FMT_BGRA32 
IPU_PIX_FMT_RGBA32 

Definition at line 66 of file ipu.h.