linux_dsm_epyc7002/drivers/media/video/pvrusb2
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
..
Kconfig V4L/DVB (4661): Pvrusb2: improve 24XXX config option description 2006-10-03 15:13:31 -03:00
Makefile V4L/DVB (4604): Fix broken pvrusb2 build 2006-09-26 12:30:35 -03:00
pvrusb2-audio.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-audio.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-context.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-context.h V4L/DVB (5052): Pvrusb2: Remove stream claiming hack from /dev/radio 2007-02-21 13:34:33 -02:00
pvrusb2-ctrl.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-ctrl.h V4L/DVB (4240): Various V4L control enhancements in pvrusb2 2006-06-27 00:17:28 -03:00
pvrusb2-cx2584x-v4l.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-cx2584x-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debug.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-debugifc.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-debugifc.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-eeprom.c V4L/DVB (5092): Pvrusb2: Use ARRAY_SIZE wherever possible 2007-02-21 13:34:41 -02:00
pvrusb2-eeprom.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-encoder.c V4L/DVB (5116): Remove some warnings when compiling on x86_64 2007-02-21 13:34:47 -02:00
pvrusb2-encoder.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-hdw-internal.h V4L/DVB (5083): Pvrusb2: Remove automodeswitch control 2007-02-21 13:34:38 -02:00
pvrusb2-hdw.c V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
pvrusb2-hdw.h V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
pvrusb2-i2c-chips-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.c V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-cmd-v4l2.h V4L/DVB (5093): Pvrusb2: Emit VIDIOC_S_TUNER correctly 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-core.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-i2c-core.h V4L/DVB (5081): Pvrusb2: VIDIOC_G_TUNER cleanup 2007-02-21 13:34:38 -02:00
pvrusb2-io.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-io.h V4L/DVB (4337): Refine dead code elimination in pvrusb2 2006-07-29 17:22:24 -03:00
pvrusb2-ioread.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-ioread.h V4L/DVB (4287): Pvrusb2/: possible cleanups 2006-06-30 15:59:48 -03:00
pvrusb2-main.c V4L/DVB (4339): Removed the remaining config.h stuff 2006-09-26 09:03:16 -03:00
pvrusb2-std.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-std.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-sysfs.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-sysfs.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-tuner.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-tuner.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-util.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-v4l2.c V4L/DVB (5146): Make VIDIOC_INT_[SG]_REGISTER ioctls no longer internal only 2007-02-21 13:34:55 -02:00
pvrusb2-v4l2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-video-v4l.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-video-v4l.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2-wm8775.c V4L/DVB (5091): Pvrusb2: Use kzalloc in place of kmalloc/memset pairs 2007-02-21 13:34:41 -02:00
pvrusb2-wm8775.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00
pvrusb2.h V4L/DVB (4228a): pvrusb2 to kernel 2.6.18 2006-06-27 00:17:15 -03:00