Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
cx2341x.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <media/tuner.h>
#include <media/cx2341x.h>
#include <media/v4l2-common.h>

Go to the source code of this file.

Macros

#define CX2341X_AUDIO_ENCODING_METHOD_MPEG   0
 
#define CX2341X_AUDIO_ENCODING_METHOD_AC3   1
 
#define CX2341X_AUDIO_ENCODING_METHOD_LPCM   2
 
#define NEQ(field)   (old->field != new->field)
 

Functions

 MODULE_DESCRIPTION ("cx23415/6/8 driver")
 
 MODULE_AUTHOR ("Hans Verkuil")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Debug level (0-1)")
 
 EXPORT_SYMBOL (cx2341x_mpeg_ctrls)
 
int cx2341x_ctrl_query (const struct cx2341x_mpeg_params *params, struct v4l2_queryctrl *qctrl)
 
 EXPORT_SYMBOL (cx2341x_ctrl_query)
 
const char *constcx2341x_ctrl_get_menu (const struct cx2341x_mpeg_params *p, u32 id)
 
 EXPORT_SYMBOL (cx2341x_ctrl_get_menu)
 
int cx2341x_ext_ctrls (struct cx2341x_mpeg_params *params, int busy, struct v4l2_ext_controls *ctrls, unsigned int cmd)
 
 EXPORT_SYMBOL (cx2341x_ext_ctrls)
 
void cx2341x_fill_defaults (struct cx2341x_mpeg_params *p)
 
 EXPORT_SYMBOL (cx2341x_fill_defaults)
 
int cx2341x_update (void *priv, cx2341x_mbox_func func, const struct cx2341x_mpeg_params *old, const struct cx2341x_mpeg_params *new)
 
 EXPORT_SYMBOL (cx2341x_update)
 
void cx2341x_log_status (const struct cx2341x_mpeg_params *p, const char *prefix)
 
 EXPORT_SYMBOL (cx2341x_log_status)
 
int cx2341x_handler_init (struct cx2341x_handler *cxhdl, unsigned nr_of_controls_hint)
 
 EXPORT_SYMBOL (cx2341x_handler_init)
 
void cx2341x_handler_set_50hz (struct cx2341x_handler *cxhdl, int is_50hz)
 
 EXPORT_SYMBOL (cx2341x_handler_set_50hz)
 
int cx2341x_handler_setup (struct cx2341x_handler *cxhdl)
 
 EXPORT_SYMBOL (cx2341x_handler_setup)
 
void cx2341x_handler_set_busy (struct cx2341x_handler *cxhdl, int busy)
 
 EXPORT_SYMBOL (cx2341x_handler_set_busy)
 

Variables

const u32 cx2341x_mpeg_ctrls []
 

Macro Definition Documentation

#define CX2341X_AUDIO_ENCODING_METHOD_AC3   1

Definition at line 45 of file cx2341x.c.

#define CX2341X_AUDIO_ENCODING_METHOD_LPCM   2

Definition at line 46 of file cx2341x.c.

#define CX2341X_AUDIO_ENCODING_METHOD_MPEG   0

Definition at line 44 of file cx2341x.c.

#define NEQ (   field)    (old->field != new->field)

Definition at line 1006 of file cx2341x.c.

Function Documentation

const char* const* cx2341x_ctrl_get_menu ( const struct cx2341x_mpeg_params p,
u32  id 
)

Definition at line 856 of file cx2341x.c.

int cx2341x_ctrl_query ( const struct cx2341x_mpeg_params params,
struct v4l2_queryctrl qctrl 
)

Definition at line 584 of file cx2341x.c.

int cx2341x_ext_ctrls ( struct cx2341x_mpeg_params params,
int  busy,
struct v4l2_ext_controls ctrls,
unsigned int  cmd 
)

Definition at line 934 of file cx2341x.c.

void cx2341x_fill_defaults ( struct cx2341x_mpeg_params p)

Definition at line 984 of file cx2341x.c.

int cx2341x_handler_init ( struct cx2341x_handler cxhdl,
unsigned  nr_of_controls_hint 
)

Definition at line 1522 of file cx2341x.c.

void cx2341x_handler_set_50hz ( struct cx2341x_handler cxhdl,
int  is_50hz 
)

Definition at line 1683 of file cx2341x.c.

void cx2341x_handler_set_busy ( struct cx2341x_handler cxhdl,
int  busy 
)

Definition at line 1714 of file cx2341x.c.

int cx2341x_handler_setup ( struct cx2341x_handler cxhdl)

Definition at line 1690 of file cx2341x.c.

void cx2341x_log_status ( const struct cx2341x_mpeg_params p,
const char prefix 
)

Definition at line 1155 of file cx2341x.c.

int cx2341x_update ( void priv,
cx2341x_mbox_func  func,
const struct cx2341x_mpeg_params old,
const struct cx2341x_mpeg_params new 
)

Definition at line 1008 of file cx2341x.c.

EXPORT_SYMBOL ( cx2341x_mpeg_ctrls  )
EXPORT_SYMBOL ( cx2341x_ctrl_query  )
EXPORT_SYMBOL ( cx2341x_ctrl_get_menu  )
EXPORT_SYMBOL ( cx2341x_ext_ctrls  )
EXPORT_SYMBOL ( cx2341x_fill_defaults  )
EXPORT_SYMBOL ( cx2341x_update  )
EXPORT_SYMBOL ( cx2341x_log_status  )
EXPORT_SYMBOL ( cx2341x_handler_init  )
EXPORT_SYMBOL ( cx2341x_handler_set_50hz  )
EXPORT_SYMBOL ( cx2341x_handler_setup  )
EXPORT_SYMBOL ( cx2341x_handler_set_busy  )
MODULE_AUTHOR ( "Hans Verkuil"  )
MODULE_DESCRIPTION ( "cx23415/6/8 driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-1)"   
)

Variable Documentation

const u32 cx2341x_mpeg_ctrls[]

Definition at line 181 of file cx2341x.c.