videocodec
int videocodec_detach(struct videocodec *codec)
int videocodec_register(const struct videocodec *codec)
zr = videocodec_to_zoran((struct videocodec *)codec);
struct videocodec *codec;
int videocodec_unregister(const struct videocodec *codec)
zr = videocodec_to_zoran((struct videocodec *)codec);
const struct videocodec *codec;
struct videocodec *videocodec_attach(struct videocodec_master *master)
struct videocodec *codec;
codec = kmemdup(h->codec, sizeof(struct videocodec), GFP_KERNEL);
int (*setup)(struct videocodec *codec);
int (*unset)(struct videocodec *codec);
int (*set_mode)(struct videocodec *codec, int mode);
int (*set_video)(struct videocodec *codec, const struct tvnorm *norm,
int (*control)(struct videocodec *codec, int type, int size, void *data);
int (*setup_interrupt)(struct videocodec *codec, long mode);
int (*handle_interrupt)(struct videocodec *codec, int source, long flag);
long (*put_image)(struct videocodec *codec, int tr_type, int block,
long (*get_image)(struct videocodec *codec, int tr_type, int block,
__u32 (*readreg)(struct videocodec *codec, __u16 reg);
void (*writereg)(struct videocodec *codec, __u16 reg, __u32 value);
struct videocodec *videocodec_attach(struct videocodec_master *master);
int videocodec_detach(struct videocodec *codec);
int videocodec_register(const struct videocodec *codec);
int videocodec_unregister(const struct videocodec *codec);
static inline struct zoran *videocodec_to_zoran(struct videocodec *codec)
struct videocodec *codec; /* video codec */
struct videocodec *vfe; /* video front end */
static void zr36060_write(struct videocodec *codec, u16 reg, u32 val)
static u32 zr36050_read(struct videocodec *codec, u16 reg)
static void zr36050_write(struct videocodec *codec, u16 reg, u32 val)
static u32 zr36016_read(struct videocodec *codec, u16 reg)
void zr36016_write(struct videocodec *codec, u16 reg, u32 val)
static u32 zr36060_read(struct videocodec *codec, u16 reg)
void zr36016_write(struct videocodec *codec, u16 reg, u32 val);
static int zr36016_set_mode(struct videocodec *codec, int mode)
static int zr36016_set_video(struct videocodec *codec, const struct tvnorm *norm,
static int zr36016_control(struct videocodec *codec, int type, int size, void *data)
static int zr36016_unset(struct videocodec *codec)
static int zr36016_setup(struct videocodec *codec)
static const struct videocodec zr36016_codec = {
struct videocodec *codec;
static int zr36050_set_mode(struct videocodec *codec, int mode)
static int zr36050_set_video(struct videocodec *codec, const struct tvnorm *norm,
static int zr36050_control(struct videocodec *codec, int type, int size, void *data)
static int zr36050_unset(struct videocodec *codec)
static int zr36050_setup(struct videocodec *codec)
static const struct videocodec zr36050_codec = {
struct videocodec *codec;
static int zr36060_set_mode(struct videocodec *codec, int mode)
static int zr36060_set_video(struct videocodec *codec, const struct tvnorm *norm,
static int zr36060_control(struct videocodec *codec, int type, int size, void *data)
static int zr36060_unset(struct videocodec *codec)
static int zr36060_setup(struct videocodec *codec)
static const struct videocodec zr36060_codec = {
struct videocodec *codec;