diff options
author | Andy Walls <awalls@radix.net> | 2009-02-16 00:23:25 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:43:01 -0400 |
commit | fa3e70360c86480acbaa54c9791e843196327a66 (patch) | |
tree | bc8d1f8b68f9aad107d63d6b6c9e884519fe1d34 /drivers/media/video/cx18/cx18-av-core.h | |
parent | 5811cf99df2e3c102055be3ea77508e56c9f77c6 (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.h | 10 |
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 | ||
326 | enum 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 */ |
328 | int cx18_av_write(struct cx18 *cx, u16 addr, u8 value); | 333 | int 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); | |||
337 | int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value); | 342 | int cx18_av_and_or4(struct cx18 *cx, u16 addr, u32 mask, u32 value); |
338 | void cx18_av_std_setup(struct cx18 *cx); | 343 | void cx18_av_std_setup(struct cx18 *cx); |
339 | 344 | ||
340 | int cx18_av_cmd(struct cx18 *cx, int cmd, void *arg); /* FIXME - Remove */ | 345 | int cx18_av_probe(struct cx18 *cx, struct v4l2_subdev **sd); |
341 | int cx18_av_init(struct cx18 *cx); | 346 | void cx18_av_exit(struct cx18 *cx, struct v4l2_subdev *sd); |
342 | void cx18_av_fini(struct cx18 *cx); | ||
343 | 347 | ||
344 | /* ----------------------------------------------------------------------- */ | 348 | /* ----------------------------------------------------------------------- */ |
345 | /* cx18_av-firmware.c */ | 349 | /* cx18_av-firmware.c */ |