aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx18/cx18-av-core.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2009-02-16 00:23:25 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:01 -0400
commitfa3e70360c86480acbaa54c9791e843196327a66 (patch)
treebc8d1f8b68f9aad107d63d6b6c9e884519fe1d34 /drivers/media/video/cx18/cx18-av-core.h
parent5811cf99df2e3c102055be3ea77508e56c9f77c6 (diff)
V4L/DVB (10757): cx18, v4l2-chip-ident: Finish conversion of AV decoder core to v4l2_subdev
Added a new chip identifer to v4l2-chip-ident for the integrated A/V broadcast decoder core internal to the CX23418. Completed separation and encapsulation of the A/V decoder core interface as a v4l2_subdevice. The cx18 driver now compiles and links again. Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-av-core.h')
-rw-r--r--drivers/media/video/cx18/cx18-av-core.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/video/cx18/cx18-av-core.h b/drivers/media/video/cx18/cx18-av-core.h
index 025100aee4b8..90bdca960292 100644
--- a/drivers/media/video/cx18/cx18-av-core.h
+++ b/drivers/media/video/cx18/cx18-av-core.h
@@ -323,6 +323,11 @@ static inline struct cx18_av_state *to_cx18_av_state(struct v4l2_subdev *sd)
323 return container_of(sd, struct cx18_av_state, sd); 323 return container_of(sd, struct cx18_av_state, sd);
324} 324}
325 325
326enum cx18_av_subdev_init_arg {
327 CX18_AV_INIT_NORMAL = 0,
328 CX18_AV_INIT_PLLS = 1,
329};
330
326/* ----------------------------------------------------------------------- */ 331/* ----------------------------------------------------------------------- */
327/* cx18_av-core.c */ 332/* cx18_av-core.c */
328int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); 333int cx18_av_write(struct cx18 *cx, u16 addr, u8 value);
@@ -337,9 +342,8 @@ int cx18_av_and_or(struct cx18 *cx, u16 addr, unsigned mask, u8 value);
337int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value); 342int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value);
338void cx18_av_std_setup(struct cx18 *cx); 343void cx18_av_std_setup(struct cx18 *cx);
339 344
340int cx18_av_cmd(struct cx18 *cx, int cmd, void *arg); /* FIXME - Remove */ 345int cx18_av_probe(struct cx18 *cx, struct v4l2_subdev **sd);
341int cx18_av_init(struct cx18 *cx); 346void cx18_av_exit(struct cx18 *cx, struct v4l2_subdev *sd);
342void cx18_av_fini(struct cx18 *cx);
343 347
344/* ----------------------------------------------------------------------- */ 348/* ----------------------------------------------------------------------- */
345/* cx18_av-firmware.c */ 349/* cx18_av-firmware.c */