linux_dsm_epyc7002/include/media
Trent Piepho 52ebc763d8 V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only
The direct register access ioctls were defined as kernel internal only,
but they are very useful for debugging hardware from userspace and are
used as such.  Officially export them.

VIDIOC_INT_[SG]_REGISTER is renamed to VIDIOC_DBG_[SG]_REGISTER 
Definition of ioctl and struct v4l2_register is moved from v4l2-common.h 
to videodev2.h.

Types used in struct v4l2_register are changed to the userspace 
exportable versions (u32 -> __u32, etc). 

Use of VIDIOC_DBG_S_REGISTER requires CAP_SYS_ADMIN permission, so move 
the check into the video_ioctl2() dispatcher so it doesn't need to be 
duplicated in each driver's call-back function. CAP_SYS_ADMIN check is 
added to pvrusb2 (which doesn't use video_ioctl2).

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21 13:34:55 -02:00
..
audiochip.h V4L/DVB (4666): Ensure the WM8775 driver is loaded generically for any board. 2006-10-03 15:13:48 -03:00
cs53l32a.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00
cx2341x.h V4L/DVB (4986): Removed unimplemented cx2341x API commands 2007-02-21 13:34:13 -02:00
cx25840.h V4L/DVB (3610): Added the new routing commands to cx25840. 2006-04-02 04:55:01 -03:00
i2c-addr.h V4L/DVB (3548): Renamed I2C_foo addresses to I2C_ADDR_foo 2006-03-24 16:26:51 -03:00
ir-common.h V4L/DVB (5070): Budget-ci: add support for the Technotrend 1500 bundled remote 2007-02-21 13:34:20 -02:00
ir-kbd-i2c.h V4L/DVB (4023): Subject: Pinnacle PCTV grey remote control support 2006-06-25 02:00:28 -03:00
msp3400.h V4L/DVB (3702): Make msp3400 routing defines more consistent 2006-04-02 04:56:11 -03:00
ovcamchip.h V4L/DVB (4068): Removed all references to kernel stuff from videodev.h and videodev2.h 2006-06-25 02:05:05 -03:00
pwc-ioctl.h V4L/DVB (3835): [PATCH] update pwc driver 2006-06-25 01:58:20 -03:00
rds.h V4L/DVB (3546): Fix Compilation after moving bttv code 2006-03-24 16:26:51 -03:00
saa6752hs.h [PATCH] v4l: SAA7134 hybrid DVB 2005-07-12 16:01:05 -07:00
saa7115.h V4L/DVB (5113): Adds video output routing 2007-02-21 13:34:47 -02:00
saa7127.h V4L/DVB (3608): Implement new routing commands in saa7127.c 2006-04-02 04:54:56 -03:00
saa7146_vv.h V4L/DVB (4068): Removed all references to kernel stuff from videodev.h and videodev2.h 2006-06-25 02:05:05 -03:00
saa7146.h V4L/DVB (4917): Saa7146: Convert SAA7146_IER_{DIS,EN}ABLE macros to inline functions 2006-12-10 09:05:36 -02:00
tuner-types.h V4L/DVB (4935): Added the capability of selecting fm gain by tuner 2006-12-10 09:05:52 -02:00
tuner.h V4L/DVB (4934): Usbvision radio requires GainNormal at e register 2006-12-10 09:05:51 -02:00
tvaudio.h V4L/DVB (3577): Cleanup audio input handling 2006-03-24 16:26:56 -03:00
tveeprom.h V4L/DVB (4812): Detect presence of IR receiver/IR transmitter in tveeprom 2006-12-10 08:51:17 -02:00
tvp5150.h V4L/DVB (3712): Fix video input setting of em28xx, use _INT_S_VIDEO_ROUTING in tvp5150 2006-06-25 01:57:38 -03:00
upd64031a.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
upd64083.h V4L/DVB (3666): Remove trailing newlines 2006-04-02 04:55:52 -03:00
v4l2-common.h V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
v4l2-dev.h V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
video-buf-dvb.h V4L/DVB (3762): Add sysfs device links to dvb devices 2006-06-25 01:57:55 -03:00
video-buf.h V4L/DVB (4065): Several improvements at videodev.c 2006-06-25 02:05:04 -03:00
wm8775.h V4L/DVB (3599): Implement new routing commands for wm8775 and cs53l32a. 2006-03-24 16:27:00 -03:00