History log of /include/media/cx2341x.h
Revision Date Author Comments
513521eaee4375a1a0da0b73c7131a165a9fe4d9 29-Dec-2010 Hans Verkuil <hverkuil@xs4all.nl> [media] v4l2-ctrls: use const char * const * for the menu arrays

This prevents checkpatch warnings generated when defining
'static const char *foo[]' arrays. It makes sense to use
const char * const * anyway since the pointers in the array
are indeed const.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
f6e114eed0414fbba9eb73480cd8efdaba96aaa7 24-May-2010 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB: cx2341x: convert to the control framework

Since this module is also used by drivers that are not yet converted, the old
and new code have to co-exist.

The source is split into three parts: a common part at the top, which is used
by both old and new code, then the old code followed by the new control
framework implementation. This new code is much more readable (and shorter!)
than the original code.

Once all bridge drivers that use this are converted the old code can be
deleted.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
31230c5f6f3a3e549f16857b7af45f5e08ca6f30 03-Jan-2009 Andy Walls <awalls@radix.net> V4L/DVB (10277): cx18, cx2341x: Fix bugs in cx18 AC3 control and comply with V4L2 spec

Fix bugs in the cx18 AC3 control implementation that would have affected
ivtv and other drivers via the cx2341x module. Bring AC3 controls
behavior into comliance with V4L2 specification. Thanks to Hans Verkuil
for reviewing the previous patch and pointing out the problems.

Reported-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
0d82fe801d7c6d8cb8987e66b570f6decde9e235 01-Jan-2009 Andy Walls <awalls@radix.net> V4L/DVB (10276): cx18, cx2341x, ivtv: Add AC-3 audio encoding control to cx18

Initial addition of controls to set AC-3 audio encoding for the CX23418 - it
does not work yet due to firmware or cx18 driver issues. This change affects
the common cx2341x and ivtv modules due to shared structures and
common functions.

Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
e0e31cdb91cddc4cfbf6d5ffa8212f694723269b 22-Jun-2008 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (8105): cx2341x: add TS capability

The cx18 can support transport streams with newer firmwares. Add a TS
capability to the generic cx2341x module.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
ea48c13ad0e5626b827bd7076c22df1a352e3983 12-Dec-2007 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (6861): cx2341x: command argument should be u32 instead of int

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
01f1e44fe8455b6c6c557a62119b8622fb99f5f2 21-Aug-2007 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (6088): cx2341x: some controls can't be changed while the device is busy

The driver should now pass the 'busy' state of the device to the cx2341x
module whenever controls are set or tried. -EBUSY will be returned if
the device is busy and the user attempts to modify certain 'dangerous'
controls. It concerns controls that change the audio or video
compression mode and bitrates.

The cx88-blackbird and pvrusb2 drivers currently always pass '0' (not busy)
to the cx2341x, effectively keeping the old behavior for now.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
0b20060f6c2cc69c5394cf9782513e7b526e87b9 27-Apr-2007 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (5336): Cx23416 doc updates + rename CX2341X_ENC_UNKNOWN

The documentation of Several miscellaneous commands was updated.
As a result of which the CX2341X_ENC_UNKNOWN command was renamed to
CX2341X_ENC_SET_VERT_CROP_LINE.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
5eee72e88416ef11f55791626440ac3c9018c4c0 27-Apr-2007 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (5268): Add support for three new MPEG controls.

Added V4L2_CID_MPEG_AUDIO_MUTE, V4L2_CID_MPEG_VIDEO_MUTE and
V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS controls together with
their implementation in the cx2341x module.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
75558ab92dc95c3b5a99df7c77e95a6e8484e05c 19-Dec-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4986): Removed unimplemented cx2341x API commands

The commands CX2341X_DEC_SET_AUDIO_OUTPUT, CX2341X_DEC_SET_AV_DELAY and
CX2341X_ENC_SET_3_2_PULLDOWN are not implemented in the Conexant firmware.
So these commands are removed. This also means that the V4L2_CID_MPEG_VIDEO_PULLDOWN
control in cx2341x.c and pvrusb2-hdw.c is removed.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
cb2c7b4927c8f376b7ba9557978d8c59ed472664 20-Dec-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4988): Cx2341x audio_properties is an u16, not u8

This bug broke the MPEG audio mode controls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
99eb44fe941b35b28914881774515005fa2ab7f6 26-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4259): Pass an explicit log prefix to cx2341x_log_status

A card number is not unique enough. Instead, let the caller specify the
prefix of the status messages.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
4d6b5aee9d19d1a982d9db0b5ffea20ee94816c6 26-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4257): Fix 64-bit compile warnings.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
8cbde94be34f95c01515ba19ce32bcd51ab3949e 24-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4223): Add V4L2_CID_MPEG_STREAM_VBI_FMT control

V4L2_CID_MPEG_STREAM_VBI_FMT controls if and how VBI data is embedded in
an MPEG stream. Currently only one format is supported: the format designed
for the ivtv driver. This should be extended with new standard formats
(such as defined for DVB) in the future.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
0ccac4af1a8f22e2e96d89b9bf8766dc7286a972 23-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4203): Explicitly set the enum values.

It's better to use explicit enums. It reduces the chance of someone
inserting new enums in the middle which would break things.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
45ad9f8b44b06bf1e91b4b3c338406c2233f0482 21-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4202): allow selecting CX2341x port mode

CX2341X port was always set to 'memory', but 'streaming' is also possible

ivtv uses the memory (DMA) interface with the CX2341X, while pvrusb2 and
cx88-blackbird use the streaming interface. This setting is now selectable
by the driver.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
cc7bc648690d4e6f3992cfadb18a4c7e0181e6ea 19-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4199): Add cx2341x-specific control array to cx2341x.c

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
5d1a9ae6d9d7fc14b2259cd550eb87364a21190a 18-Jun-2006 Hans Verkuil <hverkuil@xs4all.nl> V4L/DVB (4191): Add CX2341X MPEG encoder module.

Adds the cx2341x.c module that handles the programming of the Conexant
cx23415/6 MPEG encoder chip used by cx88-blackbird, pvrusb2 and ivtv.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
ebfbc305bda90deadf73898493c707cce3b465e6 22-May-2006 Mauro Carvalho Chehab <mchehab@infradead.org> V4L/DVB (3809c): Added cx2341x header file

Date:

There are several drivers now using those cx2341x registers. This patch
creates a separate header for those registers.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>