android_kernel_xiaomi_sm8350/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
cx2341x.h V4L/DVB (4986): Removed unimplemented cx2341x API commands 2007-02-21 13:34:13 -02:00
cx25840.h
i2c-addr.h
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
msp3400.h
ovcamchip.h
pwc-ioctl.h
rds.h
saa6752hs.h
saa7115.h V4L/DVB (5113): Adds video output routing 2007-02-21 13:34:47 -02:00
saa7127.h
saa7146_vv.h
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
tveeprom.h V4L/DVB (4812): Detect presence of IR receiver/IR transmitter in tveeprom 2006-12-10 08:51:17 -02:00
tvp5150.h
upd64031a.h
upd64083.h
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
video-buf.h
wm8775.h