Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
cx25840-core.h File Reference
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-ctrls.h>
#include <linux/i2c.h>

Go to the source code of this file.

Data Structures

struct  cx25840_state
 

Functions

int cx25840_write (struct i2c_client *client, u16 addr, u8 value)
 
int cx25840_write4 (struct i2c_client *client, u16 addr, u32 value)
 
u8 cx25840_read (struct i2c_client *client, u16 addr)
 
u32 cx25840_read4 (struct i2c_client *client, u16 addr)
 
int cx25840_and_or (struct i2c_client *client, u16 addr, unsigned mask, u8 value)
 
int cx25840_and_or4 (struct i2c_client *client, u16 addr, u32 and_mask, u32 or_value)
 
void cx25840_std_setup (struct i2c_client *client)
 
int cx25840_loadfw (struct i2c_client *client)
 
void cx25840_audio_set_path (struct i2c_client *client)
 
int cx25840_s_clock_freq (struct v4l2_subdev *sd, u32 freq)
 
int cx25840_s_raw_fmt (struct v4l2_subdev *sd, struct v4l2_vbi_format *fmt)
 
int cx25840_s_sliced_fmt (struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt)
 
int cx25840_g_sliced_fmt (struct v4l2_subdev *sd, struct v4l2_sliced_vbi_format *fmt)
 
int cx25840_decode_vbi_line (struct v4l2_subdev *sd, struct v4l2_decode_vbi_line *vbi)
 
int cx25840_ir_log_status (struct v4l2_subdev *sd)
 
int cx25840_ir_irq_handler (struct v4l2_subdev *sd, u32 status, bool *handled)
 
int cx25840_ir_probe (struct v4l2_subdev *sd)
 
int cx25840_ir_remove (struct v4l2_subdev *sd)
 

Variables

struct v4l2_ctrl_ops cx25840_audio_ctrl_ops
 
struct v4l2_subdev_ir_ops cx25840_ir_ops
 

Function Documentation

int cx25840_and_or ( struct i2c_client client,
u16  addr,
unsigned  mask,
u8  value 
)

Definition at line 161 of file cx25840-core.c.

int cx25840_and_or4 ( struct i2c_client client,
u16  addr,
u32  and_mask,
u32  or_value 
)

Definition at line 169 of file cx25840-core.c.

void cx25840_audio_set_path ( struct i2c_client client)

Definition at line 436 of file cx25840-audio.c.

int cx25840_decode_vbi_line ( struct v4l2_subdev sd,
struct v4l2_decode_vbi_line vbi 
)

Definition at line 211 of file cx25840-vbi.c.

int cx25840_g_sliced_fmt ( struct v4l2_subdev sd,
struct v4l2_sliced_vbi_format fmt 
)

Definition at line 85 of file cx25840-vbi.c.

int cx25840_ir_irq_handler ( struct v4l2_subdev sd,
u32  status,
bool handled 
)

Definition at line 522 of file cx25840-ir.c.

int cx25840_ir_log_status ( struct v4l2_subdev sd)

Definition at line 1038 of file cx25840-ir.c.

int cx25840_ir_probe ( struct v4l2_subdev sd)

Definition at line 1223 of file cx25840-ir.c.

int cx25840_ir_remove ( struct v4l2_subdev sd)

Definition at line 1266 of file cx25840-ir.c.

int cx25840_loadfw ( struct i2c_client client)

Definition at line 108 of file cx25840-firmware.c.

u8 cx25840_read ( struct i2c_client client,
u16  addr 
)

Definition at line 110 of file cx25840-core.c.

u32 cx25840_read4 ( struct i2c_client client,
u16  addr 
)

Definition at line 135 of file cx25840-core.c.

int cx25840_s_clock_freq ( struct v4l2_subdev sd,
u32  freq 
)

Definition at line 517 of file cx25840-audio.c.

int cx25840_s_raw_fmt ( struct v4l2_subdev sd,
struct v4l2_vbi_format fmt 
)

Definition at line 127 of file cx25840-vbi.c.

int cx25840_s_sliced_fmt ( struct v4l2_subdev sd,
struct v4l2_sliced_vbi_format fmt 
)

Definition at line 143 of file cx25840-vbi.c.

void cx25840_std_setup ( struct i2c_client client)

Definition at line 774 of file cx25840-core.c.

int cx25840_write ( struct i2c_client client,
u16  addr,
u8  value 
)

Definition at line 89 of file cx25840-core.c.

int cx25840_write4 ( struct i2c_client client,
u16  addr,
u32  value 
)

Definition at line 98 of file cx25840-core.c.

Variable Documentation

struct v4l2_ctrl_ops cx25840_audio_ctrl_ops

Definition at line 569 of file cx25840-audio.c.

struct v4l2_subdev_ir_ops cx25840_ir_ops

Definition at line 1178 of file cx25840-ir.c.