Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mixer_reg.c File Reference
#include "mixer.h"
#include "regs-mixer.h"
#include "regs-vp.h"
#include <linux/delay.h>

Go to the source code of this file.

Macros

#define DUMPREG(reg_id)
 
#define DUMPREG(reg_id)
 

Functions

void mxr_vsync_set_update (struct mxr_device *mdev, int en)
 
void mxr_reg_reset (struct mxr_device *mdev)
 
void mxr_reg_graph_format (struct mxr_device *mdev, int idx, const struct mxr_format *fmt, const struct mxr_geometry *geo)
 
void mxr_reg_vp_format (struct mxr_device *mdev, const struct mxr_format *fmt, const struct mxr_geometry *geo)
 
void mxr_reg_graph_buffer (struct mxr_device *mdev, int idx, dma_addr_t addr)
 
void mxr_reg_vp_buffer (struct mxr_device *mdev, dma_addr_t luma_addr[2], dma_addr_t chroma_addr[2])
 
irqreturn_t mxr_irq_handler (int irq, void *dev_data)
 
void mxr_reg_s_output (struct mxr_device *mdev, int cookie)
 
void mxr_reg_streamon (struct mxr_device *mdev)
 
void mxr_reg_streamoff (struct mxr_device *mdev)
 
int mxr_reg_wait4vsync (struct mxr_device *mdev)
 
void mxr_reg_set_mbus_fmt (struct mxr_device *mdev, struct v4l2_mbus_framefmt *fmt)
 
void mxr_reg_graph_layer_stream (struct mxr_device *mdev, int idx, int en)
 
void mxr_reg_vp_layer_stream (struct mxr_device *mdev, int en)
 
void mxr_reg_dump (struct mxr_device *mdev)
 

Macro Definition Documentation

#define DUMPREG (   reg_id)
Value:
do { \
mxr_dbg(mdev, #reg_id " = %08x\n", \
(u32)readl(mdev->res.mxr_regs + reg_id)); \
} while (0)
#define DUMPREG (   reg_id)
Value:
do { \
mxr_dbg(mdev, #reg_id " = %08x\n", \
(u32) readl(mdev->res.vp_regs + reg_id)); \
} while (0)

Function Documentation

irqreturn_t mxr_irq_handler ( int  irq,
void dev_data 
)

Definition at line 288 of file mixer_reg.c.

void mxr_reg_dump ( struct mxr_device mdev)

Definition at line 548 of file mixer_reg.c.

void mxr_reg_graph_buffer ( struct mxr_device mdev,
int  idx,
dma_addr_t  addr 
)

Definition at line 214 of file mixer_reg.c.

void mxr_reg_graph_format ( struct mxr_device mdev,
int  idx,
const struct mxr_format fmt,
const struct mxr_geometry geo 
)

Definition at line 136 of file mixer_reg.c.

void mxr_reg_graph_layer_stream ( struct mxr_device mdev,
int  idx,
int  en 
)

Definition at line 419 of file mixer_reg.c.

void mxr_reg_reset ( struct mxr_device mdev)

Definition at line 84 of file mixer_reg.c.

void mxr_reg_s_output ( struct mxr_device mdev,
int  cookie 
)

Definition at line 323 of file mixer_reg.c.

void mxr_reg_set_mbus_fmt ( struct mxr_device mdev,
struct v4l2_mbus_framefmt *  fmt 
)

Definition at line 375 of file mixer_reg.c.

void mxr_reg_streamoff ( struct mxr_device mdev)

Definition at line 345 of file mixer_reg.c.

void mxr_reg_streamon ( struct mxr_device mdev)

Definition at line 331 of file mixer_reg.c.

void mxr_reg_vp_buffer ( struct mxr_device mdev,
dma_addr_t  luma_addr[2],
dma_addr_t  chroma_addr[2] 
)

Definition at line 232 of file mixer_reg.c.

void mxr_reg_vp_format ( struct mxr_device mdev,
const struct mxr_format fmt,
const struct mxr_geometry geo 
)

Definition at line 171 of file mixer_reg.c.

void mxr_reg_vp_layer_stream ( struct mxr_device mdev,
int  en 
)

Definition at line 424 of file mixer_reg.c.

int mxr_reg_wait4vsync ( struct mxr_device mdev)

Definition at line 358 of file mixer_reg.c.

void mxr_vsync_set_update ( struct mxr_device mdev,
int  en 
)

Definition at line 60 of file mixer_reg.c.