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

Go to the source code of this file.

Data Structures

struct  ipu_di_signal_cfg
 
struct  ipu_cpmem_word
 
struct  ipu_ch_param
 
struct  ipu_rgb
 
struct  ipu_image
 
struct  ipu_client_platformdata
 

Macros

#define IPU_DI_CLKMODE_SYNC   (1 << 0)
 
#define IPU_DI_CLKMODE_EXT   (1 << 1)
 
#define IPU_IRQ_DP_SF_START   (448 + 2)
 
#define IPU_IRQ_DP_SF_END   (448 + 3)
 
#define IPU_IRQ_BG_SF_END   IPU_IRQ_DP_SF_END,
 
#define IPU_IRQ_DC_FC_0   (448 + 8)
 
#define IPU_IRQ_DC_FC_1   (448 + 9)
 
#define IPU_IRQ_DC_FC_2   (448 + 10)
 
#define IPU_IRQ_DC_FC_3   (448 + 11)
 
#define IPU_IRQ_DC_FC_4   (448 + 12)
 
#define IPU_IRQ_DC_FC_6   (448 + 13)
 
#define IPU_IRQ_VSYNC_PRE_0   (448 + 14)
 
#define IPU_IRQ_VSYNC_PRE_1   (448 + 15)
 
#define IPU_DP_FLOW_SYNC_BG   0
 
#define IPU_DP_FLOW_SYNC_FG   1
 
#define IPU_DP_FLOW_ASYNC0_BG   2
 
#define IPU_DP_FLOW_ASYNC0_FG   3
 
#define IPU_DP_FLOW_ASYNC1_BG   4
 
#define IPU_DP_FLOW_ASYNC1_FG   5
 
#define IPU_CPMEM_WORD(word, ofs, size)   ((((word) * 160 + (ofs)) << 8) | (size))
 
#define IPU_FIELD_UBO   IPU_CPMEM_WORD(0, 46, 22)
 
#define IPU_FIELD_VBO   IPU_CPMEM_WORD(0, 68, 22)
 
#define IPU_FIELD_IOX   IPU_CPMEM_WORD(0, 90, 4)
 
#define IPU_FIELD_RDRW   IPU_CPMEM_WORD(0, 94, 1)
 
#define IPU_FIELD_SO   IPU_CPMEM_WORD(0, 113, 1)
 
#define IPU_FIELD_SLY   IPU_CPMEM_WORD(1, 102, 14)
 
#define IPU_FIELD_SLUV   IPU_CPMEM_WORD(1, 128, 14)
 
#define IPU_FIELD_XV   IPU_CPMEM_WORD(0, 0, 10)
 
#define IPU_FIELD_YV   IPU_CPMEM_WORD(0, 10, 9)
 
#define IPU_FIELD_XB   IPU_CPMEM_WORD(0, 19, 13)
 
#define IPU_FIELD_YB   IPU_CPMEM_WORD(0, 32, 12)
 
#define IPU_FIELD_NSB_B   IPU_CPMEM_WORD(0, 44, 1)
 
#define IPU_FIELD_CF   IPU_CPMEM_WORD(0, 45, 1)
 
#define IPU_FIELD_SX   IPU_CPMEM_WORD(0, 46, 12)
 
#define IPU_FIELD_SY   IPU_CPMEM_WORD(0, 58, 11)
 
#define IPU_FIELD_NS   IPU_CPMEM_WORD(0, 69, 10)
 
#define IPU_FIELD_SDX   IPU_CPMEM_WORD(0, 79, 7)
 
#define IPU_FIELD_SM   IPU_CPMEM_WORD(0, 86, 10)
 
#define IPU_FIELD_SCC   IPU_CPMEM_WORD(0, 96, 1)
 
#define IPU_FIELD_SCE   IPU_CPMEM_WORD(0, 97, 1)
 
#define IPU_FIELD_SDY   IPU_CPMEM_WORD(0, 98, 7)
 
#define IPU_FIELD_SDRX   IPU_CPMEM_WORD(0, 105, 1)
 
#define IPU_FIELD_SDRY   IPU_CPMEM_WORD(0, 106, 1)
 
#define IPU_FIELD_BPP   IPU_CPMEM_WORD(0, 107, 3)
 
#define IPU_FIELD_DEC_SEL   IPU_CPMEM_WORD(0, 110, 2)
 
#define IPU_FIELD_DIM   IPU_CPMEM_WORD(0, 112, 1)
 
#define IPU_FIELD_BNDM   IPU_CPMEM_WORD(0, 114, 3)
 
#define IPU_FIELD_BM   IPU_CPMEM_WORD(0, 117, 2)
 
#define IPU_FIELD_ROT   IPU_CPMEM_WORD(0, 119, 1)
 
#define IPU_FIELD_HF   IPU_CPMEM_WORD(0, 120, 1)
 
#define IPU_FIELD_VF   IPU_CPMEM_WORD(0, 121, 1)
 
#define IPU_FIELD_THE   IPU_CPMEM_WORD(0, 122, 1)
 
#define IPU_FIELD_CAP   IPU_CPMEM_WORD(0, 123, 1)
 
#define IPU_FIELD_CAE   IPU_CPMEM_WORD(0, 124, 1)
 
#define IPU_FIELD_FW   IPU_CPMEM_WORD(0, 125, 13)
 
#define IPU_FIELD_FH   IPU_CPMEM_WORD(0, 138, 12)
 
#define IPU_FIELD_EBA0   IPU_CPMEM_WORD(1, 0, 29)
 
#define IPU_FIELD_EBA1   IPU_CPMEM_WORD(1, 29, 29)
 
#define IPU_FIELD_ILO   IPU_CPMEM_WORD(1, 58, 20)
 
#define IPU_FIELD_NPB   IPU_CPMEM_WORD(1, 78, 7)
 
#define IPU_FIELD_PFS   IPU_CPMEM_WORD(1, 85, 4)
 
#define IPU_FIELD_ALU   IPU_CPMEM_WORD(1, 89, 1)
 
#define IPU_FIELD_ALBM   IPU_CPMEM_WORD(1, 90, 3)
 
#define IPU_FIELD_ID   IPU_CPMEM_WORD(1, 93, 2)
 
#define IPU_FIELD_TH   IPU_CPMEM_WORD(1, 95, 7)
 
#define IPU_FIELD_SL   IPU_CPMEM_WORD(1, 102, 14)
 
#define IPU_FIELD_WID0   IPU_CPMEM_WORD(1, 116, 3)
 
#define IPU_FIELD_WID1   IPU_CPMEM_WORD(1, 119, 3)
 
#define IPU_FIELD_WID2   IPU_CPMEM_WORD(1, 122, 3)
 
#define IPU_FIELD_WID3   IPU_CPMEM_WORD(1, 125, 3)
 
#define IPU_FIELD_OFS0   IPU_CPMEM_WORD(1, 128, 5)
 
#define IPU_FIELD_OFS1   IPU_CPMEM_WORD(1, 133, 5)
 
#define IPU_FIELD_OFS2   IPU_CPMEM_WORD(1, 138, 5)
 
#define IPU_FIELD_OFS3   IPU_CPMEM_WORD(1, 143, 5)
 
#define IPU_FIELD_SXYS   IPU_CPMEM_WORD(1, 148, 1)
 
#define IPU_FIELD_CRE   IPU_CPMEM_WORD(1, 149, 1)
 
#define IPU_FIELD_DEC_SEL2   IPU_CPMEM_WORD(1, 150, 1)
 

Enumerations

enum  ipuv3_type { IPUV3EX, IPUV3M, IPUV3H }
 
enum  ipu_color_space {
  IPU_COLORSPACE_RGB, IPU_COLORSPACE_YCBCR, IPU_COLORSPACE_YUV, IPUV3_COLORSPACE_RGB,
  IPUV3_COLORSPACE_YUV, IPUV3_COLORSPACE_UNKNOWN
}
 
enum  ipu_channel_irq { IPU_IRQ_EOF = 0, IPU_IRQ_NFACK = 64, IPU_IRQ_NFB4EOF = 128, IPU_IRQ_EOS = 192 }
 

Functions

int ipu_idmac_channel_irq (struct ipu_soc *ipu, struct ipuv3_channel *channel, enum ipu_channel_irq irq)
 
struct ipuv3_channelipu_idmac_get (struct ipu_soc *ipu, unsigned channel)
 
void ipu_idmac_put (struct ipuv3_channel *)
 
int ipu_idmac_enable_channel (struct ipuv3_channel *channel)
 
int ipu_idmac_disable_channel (struct ipuv3_channel *channel)
 
void ipu_idmac_set_double_buffer (struct ipuv3_channel *channel, bool doublebuffer)
 
void ipu_idmac_select_buffer (struct ipuv3_channel *channel, u32 buf_num)
 
struct ipu_dcipu_dc_get (struct ipu_soc *ipu, int channel)
 
void ipu_dc_put (struct ipu_dc *dc)
 
int ipu_dc_init_sync (struct ipu_dc *dc, struct ipu_di *di, bool interlaced, u32 pixel_fmt, u32 width)
 
void ipu_dc_enable_channel (struct ipu_dc *dc)
 
void ipu_dc_disable_channel (struct ipu_dc *dc)
 
struct ipu_diipu_di_get (struct ipu_soc *ipu, int disp)
 
void ipu_di_put (struct ipu_di *)
 
int ipu_di_disable (struct ipu_di *)
 
int ipu_di_enable (struct ipu_di *)
 
int ipu_di_get_num (struct ipu_di *)
 
int ipu_di_init_sync_panel (struct ipu_di *, struct ipu_di_signal_cfg *sig)
 
int ipu_dmfc_enable_channel (struct dmfc_channel *dmfc)
 
void ipu_dmfc_disable_channel (struct dmfc_channel *dmfc)
 
int ipu_dmfc_alloc_bandwidth (struct dmfc_channel *dmfc, unsigned long bandwidth_mbs, int burstsize)
 
void ipu_dmfc_free_bandwidth (struct dmfc_channel *dmfc)
 
int ipu_dmfc_init_channel (struct dmfc_channel *dmfc, int width)
 
struct dmfc_channelipu_dmfc_get (struct ipu_soc *ipu, int ipuv3_channel)
 
void ipu_dmfc_put (struct dmfc_channel *dmfc)
 
struct ipu_dpipu_dp_get (struct ipu_soc *ipu, unsigned int flow)
 
void ipu_dp_put (struct ipu_dp *)
 
int ipu_dp_enable_channel (struct ipu_dp *dp)
 
void ipu_dp_disable_channel (struct ipu_dp *dp)
 
int ipu_dp_setup_channel (struct ipu_dp *dp, enum ipu_color_space in, enum ipu_color_space out)
 
int ipu_dp_set_window_pos (struct ipu_dp *, u16 x_pos, u16 y_pos)
 
int ipu_dp_set_global_alpha (struct ipu_dp *dp, bool enable, u8 alpha, bool bg_chan)
 
void ipu_ch_param_write_field (struct ipu_ch_param __iomem *base, u32 wbs, u32 v)
 
u32 ipu_ch_param_read_field (struct ipu_ch_param __iomem *base, u32 wbs)
 
struct ipu_ch_param __iomemipu_get_cpmem (struct ipuv3_channel *channel)
 
void ipu_ch_param_dump (struct ipu_ch_param __iomem *p)
 
void ipu_cpmem_set_high_priority (struct ipuv3_channel *channel)
 
int ipu_cpmem_set_format_passthrough (struct ipu_ch_param __iomem *p, int width)
 
int ipu_cpmem_set_format_rgb (struct ipu_ch_param __iomem *, struct ipu_rgb *rgb)
 
void ipu_cpmem_set_yuv_planar (struct ipu_ch_param __iomem *p, u32 pixel_format, int stride, int height)
 
void ipu_cpmem_set_yuv_planar_full (struct ipu_ch_param __iomem *p, u32 pixel_format, int stride, int u_offset, int v_offset)
 
int ipu_cpmem_set_fmt (struct ipu_ch_param __iomem *cpmem, u32 pixelformat)
 
int ipu_cpmem_set_image (struct ipu_ch_param __iomem *cpmem, struct ipu_image *image)
 
enum ipu_color_space ipu_pixelformat_to_colorspace (u32 pixelformat)
 

Macro Definition Documentation

#define IPU_CPMEM_WORD (   word,
  ofs,
  size 
)    ((((word) * 160 + (ofs)) << 8) | (size))

Definition at line 158 of file imx-ipu-v3.h.

#define IPU_DI_CLKMODE_EXT   (1 << 1)

Definition at line 56 of file imx-ipu-v3.h.

#define IPU_DI_CLKMODE_SYNC   (1 << 0)

Definition at line 55 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_ASYNC0_BG   2

Definition at line 143 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_ASYNC0_FG   3

Definition at line 144 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_ASYNC1_BG   4

Definition at line 145 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_ASYNC1_FG   5

Definition at line 146 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_SYNC_BG   0

Definition at line 141 of file imx-ipu-v3.h.

#define IPU_DP_FLOW_SYNC_FG   1

Definition at line 142 of file imx-ipu-v3.h.

#define IPU_FIELD_ALBM   IPU_CPMEM_WORD(1, 90, 3)

Definition at line 203 of file imx-ipu-v3.h.

#define IPU_FIELD_ALU   IPU_CPMEM_WORD(1, 89, 1)

Definition at line 202 of file imx-ipu-v3.h.

#define IPU_FIELD_BM   IPU_CPMEM_WORD(0, 117, 2)

Definition at line 188 of file imx-ipu-v3.h.

#define IPU_FIELD_BNDM   IPU_CPMEM_WORD(0, 114, 3)

Definition at line 187 of file imx-ipu-v3.h.

#define IPU_FIELD_BPP   IPU_CPMEM_WORD(0, 107, 3)

Definition at line 184 of file imx-ipu-v3.h.

#define IPU_FIELD_CAE   IPU_CPMEM_WORD(0, 124, 1)

Definition at line 194 of file imx-ipu-v3.h.

#define IPU_FIELD_CAP   IPU_CPMEM_WORD(0, 123, 1)

Definition at line 193 of file imx-ipu-v3.h.

#define IPU_FIELD_CF   IPU_CPMEM_WORD(0, 45, 1)

Definition at line 173 of file imx-ipu-v3.h.

#define IPU_FIELD_CRE   IPU_CPMEM_WORD(1, 149, 1)

Definition at line 216 of file imx-ipu-v3.h.

#define IPU_FIELD_DEC_SEL   IPU_CPMEM_WORD(0, 110, 2)

Definition at line 185 of file imx-ipu-v3.h.

#define IPU_FIELD_DEC_SEL2   IPU_CPMEM_WORD(1, 150, 1)

Definition at line 217 of file imx-ipu-v3.h.

#define IPU_FIELD_DIM   IPU_CPMEM_WORD(0, 112, 1)

Definition at line 186 of file imx-ipu-v3.h.

#define IPU_FIELD_EBA0   IPU_CPMEM_WORD(1, 0, 29)

Definition at line 197 of file imx-ipu-v3.h.

#define IPU_FIELD_EBA1   IPU_CPMEM_WORD(1, 29, 29)

Definition at line 198 of file imx-ipu-v3.h.

#define IPU_FIELD_FH   IPU_CPMEM_WORD(0, 138, 12)

Definition at line 196 of file imx-ipu-v3.h.

#define IPU_FIELD_FW   IPU_CPMEM_WORD(0, 125, 13)

Definition at line 195 of file imx-ipu-v3.h.

#define IPU_FIELD_HF   IPU_CPMEM_WORD(0, 120, 1)

Definition at line 190 of file imx-ipu-v3.h.

#define IPU_FIELD_ID   IPU_CPMEM_WORD(1, 93, 2)

Definition at line 204 of file imx-ipu-v3.h.

#define IPU_FIELD_ILO   IPU_CPMEM_WORD(1, 58, 20)

Definition at line 199 of file imx-ipu-v3.h.

#define IPU_FIELD_IOX   IPU_CPMEM_WORD(0, 90, 4)

Definition at line 162 of file imx-ipu-v3.h.

#define IPU_FIELD_NPB   IPU_CPMEM_WORD(1, 78, 7)

Definition at line 200 of file imx-ipu-v3.h.

#define IPU_FIELD_NS   IPU_CPMEM_WORD(0, 69, 10)

Definition at line 176 of file imx-ipu-v3.h.

#define IPU_FIELD_NSB_B   IPU_CPMEM_WORD(0, 44, 1)

Definition at line 172 of file imx-ipu-v3.h.

#define IPU_FIELD_OFS0   IPU_CPMEM_WORD(1, 128, 5)

Definition at line 211 of file imx-ipu-v3.h.

#define IPU_FIELD_OFS1   IPU_CPMEM_WORD(1, 133, 5)

Definition at line 212 of file imx-ipu-v3.h.

#define IPU_FIELD_OFS2   IPU_CPMEM_WORD(1, 138, 5)

Definition at line 213 of file imx-ipu-v3.h.

#define IPU_FIELD_OFS3   IPU_CPMEM_WORD(1, 143, 5)

Definition at line 214 of file imx-ipu-v3.h.

#define IPU_FIELD_PFS   IPU_CPMEM_WORD(1, 85, 4)

Definition at line 201 of file imx-ipu-v3.h.

#define IPU_FIELD_RDRW   IPU_CPMEM_WORD(0, 94, 1)

Definition at line 163 of file imx-ipu-v3.h.

#define IPU_FIELD_ROT   IPU_CPMEM_WORD(0, 119, 1)

Definition at line 189 of file imx-ipu-v3.h.

#define IPU_FIELD_SCC   IPU_CPMEM_WORD(0, 96, 1)

Definition at line 179 of file imx-ipu-v3.h.

#define IPU_FIELD_SCE   IPU_CPMEM_WORD(0, 97, 1)

Definition at line 180 of file imx-ipu-v3.h.

#define IPU_FIELD_SDRX   IPU_CPMEM_WORD(0, 105, 1)

Definition at line 182 of file imx-ipu-v3.h.

#define IPU_FIELD_SDRY   IPU_CPMEM_WORD(0, 106, 1)

Definition at line 183 of file imx-ipu-v3.h.

#define IPU_FIELD_SDX   IPU_CPMEM_WORD(0, 79, 7)

Definition at line 177 of file imx-ipu-v3.h.

#define IPU_FIELD_SDY   IPU_CPMEM_WORD(0, 98, 7)

Definition at line 181 of file imx-ipu-v3.h.

#define IPU_FIELD_SL   IPU_CPMEM_WORD(1, 102, 14)

Definition at line 206 of file imx-ipu-v3.h.

#define IPU_FIELD_SLUV   IPU_CPMEM_WORD(1, 128, 14)

Definition at line 166 of file imx-ipu-v3.h.

#define IPU_FIELD_SLY   IPU_CPMEM_WORD(1, 102, 14)

Definition at line 165 of file imx-ipu-v3.h.

#define IPU_FIELD_SM   IPU_CPMEM_WORD(0, 86, 10)

Definition at line 178 of file imx-ipu-v3.h.

#define IPU_FIELD_SO   IPU_CPMEM_WORD(0, 113, 1)

Definition at line 164 of file imx-ipu-v3.h.

#define IPU_FIELD_SX   IPU_CPMEM_WORD(0, 46, 12)

Definition at line 174 of file imx-ipu-v3.h.

#define IPU_FIELD_SXYS   IPU_CPMEM_WORD(1, 148, 1)

Definition at line 215 of file imx-ipu-v3.h.

#define IPU_FIELD_SY   IPU_CPMEM_WORD(0, 58, 11)

Definition at line 175 of file imx-ipu-v3.h.

#define IPU_FIELD_TH   IPU_CPMEM_WORD(1, 95, 7)

Definition at line 205 of file imx-ipu-v3.h.

#define IPU_FIELD_THE   IPU_CPMEM_WORD(0, 122, 1)

Definition at line 192 of file imx-ipu-v3.h.

#define IPU_FIELD_UBO   IPU_CPMEM_WORD(0, 46, 22)

Definition at line 160 of file imx-ipu-v3.h.

#define IPU_FIELD_VBO   IPU_CPMEM_WORD(0, 68, 22)

Definition at line 161 of file imx-ipu-v3.h.

#define IPU_FIELD_VF   IPU_CPMEM_WORD(0, 121, 1)

Definition at line 191 of file imx-ipu-v3.h.

#define IPU_FIELD_WID0   IPU_CPMEM_WORD(1, 116, 3)

Definition at line 207 of file imx-ipu-v3.h.

#define IPU_FIELD_WID1   IPU_CPMEM_WORD(1, 119, 3)

Definition at line 208 of file imx-ipu-v3.h.

#define IPU_FIELD_WID2   IPU_CPMEM_WORD(1, 122, 3)

Definition at line 209 of file imx-ipu-v3.h.

#define IPU_FIELD_WID3   IPU_CPMEM_WORD(1, 125, 3)

Definition at line 210 of file imx-ipu-v3.h.

#define IPU_FIELD_XB   IPU_CPMEM_WORD(0, 19, 13)

Definition at line 170 of file imx-ipu-v3.h.

#define IPU_FIELD_XV   IPU_CPMEM_WORD(0, 0, 10)

Definition at line 168 of file imx-ipu-v3.h.

#define IPU_FIELD_YB   IPU_CPMEM_WORD(0, 32, 12)

Definition at line 171 of file imx-ipu-v3.h.

#define IPU_FIELD_YV   IPU_CPMEM_WORD(0, 10, 9)

Definition at line 169 of file imx-ipu-v3.h.

#define IPU_IRQ_BG_SF_END   IPU_IRQ_DP_SF_END,

Definition at line 80 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_0   (448 + 8)

Definition at line 81 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_1   (448 + 9)

Definition at line 82 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_2   (448 + 10)

Definition at line 83 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_3   (448 + 11)

Definition at line 84 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_4   (448 + 12)

Definition at line 85 of file imx-ipu-v3.h.

#define IPU_IRQ_DC_FC_6   (448 + 13)

Definition at line 86 of file imx-ipu-v3.h.

#define IPU_IRQ_DP_SF_END   (448 + 3)

Definition at line 79 of file imx-ipu-v3.h.

#define IPU_IRQ_DP_SF_START   (448 + 2)

Definition at line 78 of file imx-ipu-v3.h.

#define IPU_IRQ_VSYNC_PRE_0   (448 + 14)

Definition at line 87 of file imx-ipu-v3.h.

#define IPU_IRQ_VSYNC_PRE_1   (448 + 15)

Definition at line 88 of file imx-ipu-v3.h.

Enumeration Type Documentation

Enumerator:
IPU_IRQ_EOF 
IPU_IRQ_NFACK 
IPU_IRQ_NFB4EOF 
IPU_IRQ_EOS 

Definition at line 68 of file imx-ipu-v3.h.

Enumerator:
IPU_COLORSPACE_RGB 
IPU_COLORSPACE_YCBCR 
IPU_COLORSPACE_YUV 
IPUV3_COLORSPACE_RGB 
IPUV3_COLORSPACE_YUV 
IPUV3_COLORSPACE_UNKNOWN 

Definition at line 60 of file imx-ipu-v3.h.

enum ipuv3_type
Enumerator:
IPUV3EX 
IPUV3M 
IPUV3H 

Definition at line 23 of file imx-ipu-v3.h.

Function Documentation

void ipu_ch_param_dump ( struct ipu_ch_param __iomem p)
u32 ipu_ch_param_read_field ( struct ipu_ch_param __iomem base,
u32  wbs 
)

Definition at line 114 of file ipu-common.c.

void ipu_ch_param_write_field ( struct ipu_ch_param __iomem base,
u32  wbs,
u32  v 
)

Definition at line 88 of file ipu-common.c.

int ipu_cpmem_set_fmt ( struct ipu_ch_param __iomem cpmem,
u32  pixelformat 
)

Definition at line 306 of file ipu-common.c.

int ipu_cpmem_set_format_passthrough ( struct ipu_ch_param __iomem p,
int  width 
)

Definition at line 194 of file ipu-common.c.

int ipu_cpmem_set_format_rgb ( struct ipu_ch_param __iomem ,
struct ipu_rgb rgb 
)

Definition at line 139 of file ipu-common.c.

void ipu_cpmem_set_high_priority ( struct ipuv3_channel channel)

Definition at line 73 of file ipu-common.c.

int ipu_cpmem_set_image ( struct ipu_ch_param __iomem cpmem,
struct ipu_image image 
)

Definition at line 354 of file ipu-common.c.

void ipu_cpmem_set_yuv_planar ( struct ipu_ch_param __iomem p,
u32  pixel_format,
int  stride,
int  height 
)

Definition at line 241 of file ipu-common.c.

void ipu_cpmem_set_yuv_planar_full ( struct ipu_ch_param __iomem p,
u32  pixel_format,
int  stride,
int  u_offset,
int  v_offset 
)

Definition at line 228 of file ipu-common.c.

void ipu_dc_disable_channel ( struct ipu_dc dc)

Definition at line 220 of file ipu-dc.c.

void ipu_dc_enable_channel ( struct ipu_dc dc)

Definition at line 207 of file ipu-dc.c.

struct ipu_dc* ipu_dc_get ( struct ipu_soc ipu,
int  channel 
)
read

Definition at line 280 of file ipu-dc.c.

int ipu_dc_init_sync ( struct ipu_dc dc,
struct ipu_di di,
bool  interlaced,
u32  pixel_fmt,
u32  width 
)

Definition at line 144 of file ipu-dc.c.

void ipu_dc_put ( struct ipu_dc dc)

Definition at line 305 of file ipu-dc.c.

int ipu_di_disable ( struct ipu_di )

Definition at line 574 of file ipu-di.c.

int ipu_di_enable ( struct ipu_di )

Definition at line 564 of file ipu-di.c.

struct ipu_di* ipu_di_get ( struct ipu_soc ipu,
int  disp 
)
read

Definition at line 592 of file ipu-di.c.

int ipu_di_get_num ( struct ipu_di )

Definition at line 584 of file ipu-di.c.

int ipu_di_init_sync_panel ( struct ipu_di ,
struct ipu_di_signal_cfg sig 
)

Definition at line 459 of file ipu-di.c.

void ipu_di_put ( struct ipu_di )

Definition at line 616 of file ipu-di.c.

int ipu_dmfc_alloc_bandwidth ( struct dmfc_channel dmfc,
unsigned long  bandwidth_mbs,
int  burstsize 
)

Definition at line 290 of file ipu-dmfc.c.

void ipu_dmfc_disable_channel ( struct dmfc_channel dmfc)

Definition at line 136 of file ipu-dmfc.c.

int ipu_dmfc_enable_channel ( struct dmfc_channel dmfc)

Definition at line 120 of file ipu-dmfc.c.

void ipu_dmfc_free_bandwidth ( struct dmfc_channel dmfc)

Definition at line 248 of file ipu-dmfc.c.

struct dmfc_channel* ipu_dmfc_get ( struct ipu_soc ipu,
int  ipuv3_channel 
)
read

Definition at line 343 of file ipu-dmfc.c.

int ipu_dmfc_init_channel ( struct dmfc_channel dmfc,
int  width 
)

Definition at line 325 of file ipu-dmfc.c.

void ipu_dmfc_put ( struct dmfc_channel dmfc)

Definition at line 355 of file ipu-dmfc.c.

void ipu_dp_disable_channel ( struct ipu_dp dp)

Definition at line 244 of file ipu-dp.c.

int ipu_dp_enable_channel ( struct ipu_dp dp)

Definition at line 216 of file ipu-dp.c.

struct ipu_dp* ipu_dp_get ( struct ipu_soc ipu,
unsigned int  flow 
)
read

Definition at line 278 of file ipu-dp.c.

void ipu_dp_put ( struct ipu_dp )

Definition at line 300 of file ipu-dp.c.

int ipu_dp_set_global_alpha ( struct ipu_dp dp,
bool  enable,
u8  alpha,
bool  bg_chan 
)

Definition at line 85 of file ipu-dp.c.

int ipu_dp_set_window_pos ( struct ipu_dp ,
u16  x_pos,
u16  y_pos 
)

Definition at line 121 of file ipu-dp.c.

int ipu_dp_setup_channel ( struct ipu_dp dp,
enum ipu_color_space  in,
enum ipu_color_space  out 
)

Definition at line 174 of file ipu-dp.c.

struct ipu_ch_param __iomem* ipu_get_cpmem ( struct ipuv3_channel channel)
read

Definition at line 65 of file ipu-common.c.

int ipu_idmac_channel_irq ( struct ipu_soc ipu,
struct ipuv3_channel channel,
enum ipu_channel_irq  irq 
)

Definition at line 861 of file ipu-common.c.

int ipu_idmac_disable_channel ( struct ipuv3_channel channel)

Definition at line 583 of file ipu-common.c.

int ipu_idmac_enable_channel ( struct ipuv3_channel channel)

Definition at line 565 of file ipu-common.c.

struct ipuv3_channel* ipu_idmac_get ( struct ipu_soc ipu,
unsigned  channel 
)
read

Definition at line 431 of file ipu-common.c.

void ipu_idmac_put ( struct ipuv3_channel )

Definition at line 459 of file ipu-common.c.

void ipu_idmac_select_buffer ( struct ipuv3_channel channel,
u32  buf_num 
)

Definition at line 547 of file ipu-common.c.

void ipu_idmac_set_double_buffer ( struct ipuv3_channel channel,
bool  doublebuffer 
)

Definition at line 475 of file ipu-common.c.

enum ipu_color_space ipu_pixelformat_to_colorspace ( u32  pixelformat)

Definition at line 412 of file ipu-common.c.