mirror of
https://github.com/torvalds/linux.git
synced 2026-09-15 15:01:08 -04:00
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (180 commits) V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem ids V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVR V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300. V4L/DVB (4637): Add a default method for VIDIOC_G_PARM V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case V4L/DVB (4634): Zr36120: implement pcipci checks V4L/DVB (4632): Zoran: Implement pcipci failure check V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flag V4L/DVB (4630): Av7110: FW_LOADER depemdency fixed V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309 V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c V4L/DVB (4627): Vivi crashes with mplayer V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run() V4L/DVB (4622): Copy-paste bug in videodev.c V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards V4L/DVB (4619): Fixes some I2C dependencies on V4L devices V4L/DVB (4617): Problem with dibusb-mb.c USB IDs V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa ...
This commit is contained in:
@@ -1135,7 +1135,8 @@ struct v4l2_sliced_vbi_cap
|
||||
(equals frame lines 313-336 for 625 line video
|
||||
standards, 263-286 for 525 line standards) */
|
||||
__u16 service_lines[2][24];
|
||||
__u32 reserved[4]; /* must be 0 */
|
||||
enum v4l2_buf_type type;
|
||||
__u32 reserved[3]; /* must be 0 */
|
||||
};
|
||||
|
||||
struct v4l2_sliced_vbi_data
|
||||
@@ -1242,7 +1243,7 @@ struct v4l2_streamparm
|
||||
#define VIDIOC_G_PRIORITY _IOR ('V', 67, enum v4l2_priority)
|
||||
#define VIDIOC_S_PRIORITY _IOW ('V', 68, enum v4l2_priority)
|
||||
#if 1
|
||||
#define VIDIOC_G_SLICED_VBI_CAP _IOR ('V', 69, struct v4l2_sliced_vbi_cap)
|
||||
#define VIDIOC_G_SLICED_VBI_CAP _IOWR ('V', 69, struct v4l2_sliced_vbi_cap)
|
||||
#endif
|
||||
#define VIDIOC_LOG_STATUS _IO ('V', 70)
|
||||
#define VIDIOC_G_EXT_CTRLS _IOWR ('V', 71, struct v4l2_ext_controls)
|
||||
|
||||
@@ -90,6 +90,8 @@ extern IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE];
|
||||
extern IR_KEYTAB_TYPE ir_codes_pinnacle_color[IR_KEYTAB_SIZE];
|
||||
extern IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE];
|
||||
extern IR_KEYTAB_TYPE ir_codes_npgtech[IR_KEYTAB_SIZE];
|
||||
extern IR_KEYTAB_TYPE ir_codes_norwood[IR_KEYTAB_SIZE];
|
||||
extern IR_KEYTAB_TYPE ir_codes_proteus_2309[IR_KEYTAB_SIZE];
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -72,6 +72,9 @@ struct tuner_params {
|
||||
unsigned int port2_invert_for_secam_lc:1;
|
||||
/* Some cards require PORT1 to be 1 for mono Radio FM and 0 for stereo. */
|
||||
unsigned int port1_set_for_fm_mono:1;
|
||||
/* Select 18% (or according to datasheet 0%) L standard PLL gating,
|
||||
vs the driver default of 36%. */
|
||||
unsigned int default_pll_gating_18:1;
|
||||
/* Default tda9887 TOP value in dB for the low band. Default is 0.
|
||||
Range: -16:+15 */
|
||||
signed int default_top_low:5;
|
||||
|
||||
@@ -144,6 +144,7 @@ extern int tuner_debug;
|
||||
#define TDA9887_DEEMPHASIS_50 (2<<16)
|
||||
#define TDA9887_DEEMPHASIS_75 (3<<16)
|
||||
#define TDA9887_AUTOMUTE (1<<18)
|
||||
#define TDA9887_GATING_18 (1<<19)
|
||||
|
||||
#ifdef __KERNEL__
|
||||
|
||||
|
||||
@@ -121,10 +121,17 @@ enum v4l2_chip_ident {
|
||||
/* general idents: reserved range 0-49 */
|
||||
V4L2_IDENT_UNKNOWN = 0,
|
||||
|
||||
/* module saa7115: reserved range 100-149 */
|
||||
/* module saa7110: just ident= 100 */
|
||||
V4L2_IDENT_SAA7110 = 100,
|
||||
|
||||
/* module saa7111: just ident= 101 */
|
||||
V4L2_IDENT_SAA7111 = 101,
|
||||
|
||||
/* module saa7115: reserved range 102-149 */
|
||||
V4L2_IDENT_SAA7113 = 103,
|
||||
V4L2_IDENT_SAA7114 = 104,
|
||||
V4L2_IDENT_SAA7115 = 105,
|
||||
V4L2_IDENT_SAA7118 = 108,
|
||||
|
||||
/* module saa7127: reserved range 150-199 */
|
||||
V4L2_IDENT_SAA7127 = 157,
|
||||
@@ -166,11 +173,12 @@ enum v4l2_chip_ident {
|
||||
#define VIDIOC_INT_S_STANDBY _IOW('d', 94, u32)
|
||||
|
||||
/* only implemented if CONFIG_VIDEO_ADV_DEBUG is defined */
|
||||
#define VIDIOC_INT_S_REGISTER _IOR ('d', 100, struct v4l2_register)
|
||||
#define VIDIOC_INT_S_REGISTER _IOW ('d', 100, struct v4l2_register)
|
||||
#define VIDIOC_INT_G_REGISTER _IOWR('d', 101, struct v4l2_register)
|
||||
|
||||
/* Reset the I2C chip */
|
||||
#define VIDIOC_INT_RESET _IO ('d', 102)
|
||||
/* Generic reset command. The argument selects which subsystems to reset.
|
||||
Passing 0 will always reset the whole chip. */
|
||||
#define VIDIOC_INT_RESET _IOW ('d', 102, u32)
|
||||
|
||||
/* Set the frequency (in Hz) of the audio clock output.
|
||||
Used to slave an audio processor to the video decoder, ensuring that audio
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
#ifndef _V4L2_DEV_H
|
||||
#define _V4L2_DEV_H
|
||||
|
||||
#define OBSOLETE_OWNER 1 /* to be removed soon */
|
||||
#define OBSOLETE_OWNER 1 /* to be removed soon */
|
||||
#define OBSOLETE_DEVDATA 1 /* to be removed soon */
|
||||
|
||||
#include <linux/poll.h>
|
||||
#include <linux/fs.h>
|
||||
@@ -338,8 +339,6 @@ extern int video_usercopy(struct inode *inode, struct file *file,
|
||||
#ifdef CONFIG_VIDEO_V4L1_COMPAT
|
||||
#include <linux/mm.h>
|
||||
|
||||
extern struct video_device* video_devdata(struct file*);
|
||||
|
||||
#define to_video_device(cd) container_of(cd, struct video_device, class_dev)
|
||||
static inline int __must_check
|
||||
video_device_create_file(struct video_device *vfd,
|
||||
@@ -370,9 +369,14 @@ static inline void video_set_drvdata(struct video_device *dev, void *data)
|
||||
{
|
||||
dev->priv = data;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef OBSOLETE_DEVDATA /* to be removed soon */
|
||||
/* Obsolete stuff - Still needed for radio devices and obsolete drivers */
|
||||
extern struct video_device* video_devdata(struct file*);
|
||||
extern int video_exclusive_open(struct inode *inode, struct file *file);
|
||||
extern int video_exclusive_release(struct inode *inode, struct file *file);
|
||||
#endif
|
||||
|
||||
#endif /* _V4L2_DEV_H */
|
||||
|
||||
Reference in New Issue
Block a user