/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | Makefile | 7 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ 8 v4l2-event.o v4l2-ctrls.o v4l2-subdev.o v4l2-clk.o \ 9 v4l2-async.o 11 videodev-objs += v4l2-compat-ioctl32.o 14 videodev-objs += v4l2-of.o 18 obj-$(CONFIG_VIDEO_V4L2) += v4l2-common.o 19 obj-$(CONFIG_VIDEO_V4L2) += v4l2-dv-timings.o 23 obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o
|
H A D | v4l2-fh.c | 2 * v4l2-fh.c 28 #include <media/v4l2-dev.h> 29 #include <media/v4l2-fh.h> 30 #include <media/v4l2-event.h> 31 #include <media/v4l2-ioctl.h>
|
H A D | v4l2-event.c | 2 * v4l2-event.c 25 #include <media/v4l2-dev.h> 26 #include <media/v4l2-fh.h> 27 #include <media/v4l2-event.h>
|
H A D | v4l2-async.c | 21 #include <media/v4l2-async.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-subdev.h>
|
H A D | v4l2-subdev.c | 29 #include <media/v4l2-ctrls.h> 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/v4l2-fh.h> 33 #include <media/v4l2-event.h>
|
H A D | v4l2-common.c | 61 #include <media/v4l2-common.h> 62 #include <media/v4l2-device.h> 63 #include <media/v4l2-ctrls.h> 68 MODULE_DESCRIPTION("misc helper functions for v4l2 device drivers");
|
H A D | v4l2-clk.c | 21 #include <media/v4l2-clk.h> 22 #include <media/v4l2-subdev.h>
|
H A D | v4l2-device.c | 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ctrls.h>
|
H A D | v4l2-mem2mem.c | 21 #include <media/v4l2-mem2mem.h> 22 #include <media/v4l2-dev.h> 23 #include <media/v4l2-fh.h> 24 #include <media/v4l2-event.h> 202 * to be drained before doing streamoff), allow scheduling without v4l2 buffers
|
/linux-4.1.27/drivers/media/pci/solo6x10/ |
H A D | Makefile | 1 solo6x10-y := solo6x10-core.o solo6x10-i2c.o solo6x10-p2m.o solo6x10-v4l2.o \ 3 solo6x10-v4l2-enc.o solo6x10-g723.o solo6x10-eeprom.o
|
H A D | solo6x10.h | 35 #include <media/v4l2-dev.h> 36 #include <media/v4l2-device.h> 37 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-video.c | 42 #include <media/v4l2-common.h> 43 #include <media/v4l2-ioctl.h> 44 #include <media/v4l2-event.h> 45 #include <media/v4l2-clk.h> 80 MODULE_DESCRIPTION(DRIVER_DESC " - v4l2 interface"); 145 struct em28xx_v4l2 *v4l2 = dev->v4l2; norm_maxw() local 148 return v4l2->sensor_xres; norm_maxw() 158 struct em28xx_v4l2 *v4l2 = dev->v4l2; norm_maxh() local 161 return v4l2->sensor_yres; norm_maxh() 166 return (v4l2->norm & V4L2_STD_625_50) ? 576 : 480; norm_maxh() 194 struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; em28xx_wake_i2c() 224 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_set_outfmt() local 226 fmt = v4l2->format->reg; em28xx_set_outfmt() 242 ret = em28xx_write_reg(dev, EM28XX_R10_VINMODE, v4l2->vinmode); em28xx_set_outfmt() 246 vinctrl = v4l2->vinctl; em28xx_set_outfmt() 250 em28xx_write_reg(dev, EM28XX_R36_VBI_WIDTH, v4l2->vbi_width/4); em28xx_set_outfmt() 251 em28xx_write_reg(dev, EM28XX_R37_VBI_HEIGHT, v4l2->vbi_height); em28xx_set_outfmt() 252 if (v4l2->norm & V4L2_STD_525_60) { em28xx_set_outfmt() 255 } else if (v4l2->norm & V4L2_STD_625_50) { em28xx_set_outfmt() 330 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_resolution_set() local 335 v4l2->vbi_width = 720; em28xx_resolution_set() 336 if (v4l2->norm & V4L2_STD_525_60) em28xx_resolution_set() 337 v4l2->vbi_height = 12; em28xx_resolution_set() 339 v4l2->vbi_height = 18; em28xx_resolution_set() 357 return em28xx_scaler_set(dev, v4l2->hscale, v4l2->vscale); em28xx_resolution_set() 363 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_set_alternate() local 366 unsigned int min_pkt_size = v4l2->width * 2 + 4; em28xx_set_alternate() 383 if (v4l2->width * 2 * v4l2->height > 720 * 240 * 2) em28xx_set_alternate() 436 buf->vb.v4l2_buf.sequence = dev->v4l2->field_count++; finish_buffer() 437 if (dev->v4l2->progressive) finish_buffer() 454 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_copy_video() local 457 int bytesperline = v4l2->width << 1; em28xx_copy_video() 465 if (v4l2->progressive || buf->top_field) em28xx_copy_video() 473 if (v4l2->progressive) em28xx_copy_video() 497 if (v4l2->progressive) em28xx_copy_video() 543 offset += dev->v4l2->vbi_width * dev->v4l2->vbi_height; em28xx_copy_vbi() 619 struct em28xx_v4l2 *v4l2 = dev->v4l2; finish_field_prepare_next() local 621 if (v4l2->progressive || v4l2->top_field) { /* Brand new frame */ finish_field_prepare_next() 627 buf->top_field = v4l2->top_field; finish_field_prepare_next() 641 struct em28xx_v4l2 *v4l2 = dev->v4l2; process_frame_data_em28xx() local 661 v4l2->capture_type = 0; process_frame_data_em28xx() 662 v4l2->vbi_read = 0; process_frame_data_em28xx() 664 v4l2->top_field = !(data_pkt[2] & 1); process_frame_data_em28xx() 669 v4l2->capture_type = 2; process_frame_data_em28xx() 671 v4l2->top_field = !(data_pkt[2] & 1); process_frame_data_em28xx() 679 if (v4l2->capture_type == 0) { process_frame_data_em28xx() 682 v4l2->capture_type = 1; process_frame_data_em28xx() 685 if (v4l2->capture_type == 1) { process_frame_data_em28xx() 686 int vbi_size = v4l2->vbi_width * v4l2->vbi_height; process_frame_data_em28xx() 687 int vbi_data_len = ((v4l2->vbi_read + data_len) > vbi_size) ? process_frame_data_em28xx() 688 (vbi_size - v4l2->vbi_read) : data_len; process_frame_data_em28xx() 693 v4l2->vbi_read += vbi_data_len; process_frame_data_em28xx() 697 v4l2->capture_type = 2; process_frame_data_em28xx() 703 if (v4l2->capture_type == 2) { process_frame_data_em28xx() 706 v4l2->capture_type = 3; process_frame_data_em28xx() 709 if (v4l2->capture_type == 3 && buf != NULL && data_len > 0) process_frame_data_em28xx() 722 struct em28xx_v4l2 *v4l2 = dev->v4l2; process_frame_data_em25xx() local 731 v4l2->top_field = !(data_pkt[1] & process_frame_data_em25xx() 880 struct em28xx_v4l2 *v4l2 = dev->v4l2; queue_setup() local 887 (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; queue_setup() 905 struct em28xx_v4l2 *v4l2 = dev->v4l2; buffer_prepare() local 911 size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3; buffer_prepare() 926 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_start_analog_streaming() local 938 if (v4l2->streaming_users == 0) { em28xx_start_analog_streaming() 949 v4l2->capture_type = -1; em28xx_start_analog_streaming() 967 f.frequency = v4l2->frequency; em28xx_start_analog_streaming() 972 v4l2_device_call_all(&v4l2->v4l2_dev, em28xx_start_analog_streaming() 976 v4l2->streaming_users++; em28xx_start_analog_streaming() 984 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_stop_streaming() local 992 if (v4l2->streaming_users-- == 1) { em28xx_stop_streaming() 1015 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_stop_vbi_streaming() local 1023 if (v4l2->streaming_users-- == 1) { em28xx_stop_vbi_streaming() 1074 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_vb2_setup() local 1077 q = &v4l2->vb_vidq; em28xx_vb2_setup() 1091 q = &v4l2->vb_vbiq; em28xx_vb2_setup() 1107 /********************* v4l2 interface **************************************/ 1111 struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; video_mux() 1166 struct em28xx_v4l2 *v4l2 = em28xx_s_ctrl() local 1168 struct em28xx *dev = v4l2->dev; em28xx_s_ctrl() 1242 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_g_fmt_vid_cap() local 1244 f->fmt.pix.width = v4l2->width; vidioc_g_fmt_vid_cap() 1245 f->fmt.pix.height = v4l2->height; vidioc_g_fmt_vid_cap() 1246 f->fmt.pix.pixelformat = v4l2->format->fourcc; vidioc_g_fmt_vid_cap() 1247 f->fmt.pix.bytesperline = (v4l2->width * v4l2->format->depth + 7) >> 3; vidioc_g_fmt_vid_cap() 1248 f->fmt.pix.sizeimage = f->fmt.pix.bytesperline * v4l2->height; vidioc_g_fmt_vid_cap() 1252 if (v4l2->progressive) vidioc_g_fmt_vid_cap() 1255 f->fmt.pix.field = v4l2->interlaced_fieldmode ? vidioc_g_fmt_vid_cap() 1275 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_try_fmt_vid_cap() local 1317 if (v4l2->progressive) vidioc_try_fmt_vid_cap() 1320 f->fmt.pix.field = v4l2->interlaced_fieldmode ? vidioc_try_fmt_vid_cap() 1331 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_set_video_format() local 1337 v4l2->format = fmt; em28xx_set_video_format() 1338 v4l2->width = width; em28xx_set_video_format() 1339 v4l2->height = height; em28xx_set_video_format() 1342 size_to_scale(dev, v4l2->width, v4l2->height, em28xx_set_video_format() 1343 &v4l2->hscale, &v4l2->vscale); em28xx_set_video_format() 1354 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_s_fmt_vid_cap() local 1356 if (vb2_is_busy(&v4l2->vb_vidq)) vidioc_s_fmt_vid_cap() 1369 *norm = dev->v4l2->norm; vidioc_g_std() 1378 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, video, querystd, norm); vidioc_querystd() 1386 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_s_std() local 1389 if (norm == v4l2->norm) vidioc_s_std() 1392 if (v4l2->streaming_users > 0) vidioc_s_std() 1395 v4l2->norm = norm; vidioc_s_std() 1403 v4l2->width = f.fmt.pix.width; vidioc_s_std() 1404 v4l2->height = f.fmt.pix.height; vidioc_s_std() 1405 size_to_scale(dev, v4l2->width, v4l2->height, vidioc_s_std() 1406 &v4l2->hscale, &v4l2->vscale); vidioc_s_std() 1409 v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm); vidioc_s_std() 1418 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_g_parm() local 1423 rc = v4l2_device_call_until_err(&v4l2->v4l2_dev, 0, vidioc_g_parm() 1426 v4l2_video_std_frame_period(v4l2->norm, vidioc_g_parm() 1438 return v4l2_device_call_until_err(&dev->v4l2->v4l2_dev, vidioc_s_parm() 1475 i->std = dev->v4l2->vdev.tvnorms; vidioc_enum_input() 1572 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, g_tuner, t); vidioc_g_tuner() 1584 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, s_tuner, t); vidioc_s_tuner() 1592 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_g_frequency() local 1597 f->frequency = v4l2->frequency; vidioc_g_frequency() 1606 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_s_frequency() local 1611 v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, s_frequency, f); vidioc_s_frequency() 1612 v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, g_frequency, &new_freq); vidioc_s_frequency() 1613 v4l2->frequency = new_freq.frequency; vidioc_s_frequency() 1630 dev->v4l2->v4l2_dev.name, sizeof(chip->name)); vidioc_g_chip_info() 1711 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_querycap() local 1733 if (video_is_registered(&v4l2->vbi_dev)) vidioc_querycap() 1735 if (video_is_registered(&v4l2->radio_dev)) vidioc_querycap() 1800 struct em28xx_v4l2 *v4l2 = dev->v4l2; vidioc_g_fmt_vbi_cap() local 1802 format->fmt.vbi.samples_per_line = v4l2->vbi_width; vidioc_g_fmt_vbi_cap() 1807 format->fmt.vbi.count[0] = v4l2->vbi_height; vidioc_g_fmt_vbi_cap() 1808 format->fmt.vbi.count[1] = v4l2->vbi_height; vidioc_g_fmt_vbi_cap() 1812 if (v4l2->norm & V4L2_STD_525_60) { vidioc_g_fmt_vbi_cap() 1816 } else if (v4l2->norm & V4L2_STD_625_50) { vidioc_g_fmt_vbi_cap() 1839 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, g_tuner, t); radio_g_tuner() 1852 v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, s_tuner, t); radio_s_tuner() 1866 struct em28xx_v4l2 *v4l2 = container_of(ref, struct em28xx_v4l2, ref); em28xx_free_v4l2() local 1868 v4l2->dev->v4l2 = NULL; em28xx_free_v4l2() 1869 kfree(v4l2); em28xx_free_v4l2() 1880 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_v4l2_open() local 1899 v4l2->users); em28xx_v4l2_open() 1912 if (v4l2->users == 0) { em28xx_v4l2_open() 1927 v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, s_radio); em28xx_v4l2_open() 1931 kref_get(&v4l2->ref); em28xx_v4l2_open() 1932 v4l2->users++; em28xx_v4l2_open() 1941 * unregisters the v4l2,i2c and usb devices 1946 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_v4l2_fini() local 1954 /* This device does not support the v4l2 extension */ em28xx_v4l2_fini() 1958 if (v4l2 == NULL) em28xx_v4l2_fini() 1965 v4l2_device_disconnect(&v4l2->v4l2_dev); em28xx_v4l2_fini() 1969 if (video_is_registered(&v4l2->radio_dev)) { em28xx_v4l2_fini() 1971 video_device_node_name(&v4l2->radio_dev)); em28xx_v4l2_fini() 1972 video_unregister_device(&v4l2->radio_dev); em28xx_v4l2_fini() 1974 if (video_is_registered(&v4l2->vbi_dev)) { em28xx_v4l2_fini() 1976 video_device_node_name(&v4l2->vbi_dev)); em28xx_v4l2_fini() 1977 video_unregister_device(&v4l2->vbi_dev); em28xx_v4l2_fini() 1979 if (video_is_registered(&v4l2->vdev)) { em28xx_v4l2_fini() 1981 video_device_node_name(&v4l2->vdev)); em28xx_v4l2_fini() 1982 video_unregister_device(&v4l2->vdev); em28xx_v4l2_fini() 1985 v4l2_ctrl_handler_free(&v4l2->ctrl_handler); em28xx_v4l2_fini() 1986 v4l2_device_unregister(&v4l2->v4l2_dev); em28xx_v4l2_fini() 1988 if (v4l2->clk) { em28xx_v4l2_fini() 1989 v4l2_clk_unregister_fixed(v4l2->clk); em28xx_v4l2_fini() 1990 v4l2->clk = NULL; em28xx_v4l2_fini() 1993 kref_put(&v4l2->ref, em28xx_free_v4l2); em28xx_v4l2_fini() 2030 * stops streaming and deallocates all resources allocated by the v4l2 2036 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_v4l2_close() local 2039 em28xx_videodbg("users=%d\n", v4l2->users); em28xx_v4l2_close() 2044 if (v4l2->users == 1) { em28xx_v4l2_close() 2050 v4l2_device_call_all(&v4l2->v4l2_dev, 0, core, s_power, 0); em28xx_v4l2_close() 2066 v4l2->users--; em28xx_v4l2_close() 2067 kref_put(&v4l2->ref, em28xx_free_v4l2); em28xx_v4l2_close() 2188 vfd->v4l2_dev = &dev->v4l2->v4l2_dev; em28xx_vdev_init() 2201 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_tuner_setup() local 2202 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; em28xx_tuner_setup() 2256 v4l2->frequency = f.frequency; em28xx_tuner_setup() 2266 struct em28xx_v4l2 *v4l2; em28xx_v4l2_init() local 2274 /* This device does not support the v4l2 extension */ em28xx_v4l2_init() 2282 v4l2 = kzalloc(sizeof(struct em28xx_v4l2), GFP_KERNEL); em28xx_v4l2_init() 2283 if (v4l2 == NULL) { em28xx_v4l2_init() 2288 kref_init(&v4l2->ref); em28xx_v4l2_init() 2289 v4l2->dev = dev; em28xx_v4l2_init() 2290 dev->v4l2 = v4l2; em28xx_v4l2_init() 2292 ret = v4l2_device_register(&dev->udev->dev, &v4l2->v4l2_dev); em28xx_v4l2_init() 2298 hdl = &v4l2->ctrl_handler; em28xx_v4l2_init() 2300 v4l2->v4l2_dev.ctrl_handler = hdl; em28xx_v4l2_init() 2303 v4l2->progressive = true; em28xx_v4l2_init() 2308 v4l2->vinmode = 0x10; em28xx_v4l2_init() 2309 v4l2->vinctl = EM28XX_VINCTRL_INTERLACED | em28xx_v4l2_init() 2315 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2320 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2325 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2330 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2341 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2347 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2356 sd = v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2364 v4l2_i2c_new_subdev(&v4l2->v4l2_dev, em28xx_v4l2_init() 2422 v4l2->norm = V4L2_STD_PAL; em28xx_v4l2_init() 2423 v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm); em28xx_v4l2_init() 2424 v4l2->interlaced_fieldmode = EM28XX_INTERLACED_DEFAULT; em28xx_v4l2_init() 2427 v4l2->format = &format[0]; em28xx_v4l2_init() 2487 em28xx_vdev_init(dev, &v4l2->vdev, &em28xx_video_template, "video"); em28xx_v4l2_init() 2488 mutex_init(&v4l2->vb_queue_lock); em28xx_v4l2_init() 2489 mutex_init(&v4l2->vb_vbi_queue_lock); em28xx_v4l2_init() 2490 v4l2->vdev.queue = &v4l2->vb_vidq; em28xx_v4l2_init() 2491 v4l2->vdev.queue->lock = &v4l2->vb_queue_lock; em28xx_v4l2_init() 2495 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_QUERYSTD); em28xx_v4l2_init() 2496 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_G_STD); em28xx_v4l2_init() 2497 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_S_STD); em28xx_v4l2_init() 2499 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_S_PARM); em28xx_v4l2_init() 2502 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_G_TUNER); em28xx_v4l2_init() 2503 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_S_TUNER); em28xx_v4l2_init() 2504 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_G_FREQUENCY); em28xx_v4l2_init() 2505 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_S_FREQUENCY); em28xx_v4l2_init() 2508 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_G_AUDIO); em28xx_v4l2_init() 2509 v4l2_disable_ioctl(&v4l2->vdev, VIDIOC_S_AUDIO); em28xx_v4l2_init() 2512 /* register v4l2 video video_device */ em28xx_v4l2_init() 2513 ret = video_register_device(&v4l2->vdev, VFL_TYPE_GRABBER, em28xx_v4l2_init() 2523 em28xx_vdev_init(dev, &v4l2->vbi_dev, &em28xx_video_template, em28xx_v4l2_init() 2526 v4l2->vbi_dev.queue = &v4l2->vb_vbiq; em28xx_v4l2_init() 2527 v4l2->vbi_dev.queue->lock = &v4l2->vb_vbi_queue_lock; em28xx_v4l2_init() 2530 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_S_PARM); em28xx_v4l2_init() 2532 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_G_TUNER); em28xx_v4l2_init() 2533 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_S_TUNER); em28xx_v4l2_init() 2534 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_G_FREQUENCY); em28xx_v4l2_init() 2535 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_S_FREQUENCY); em28xx_v4l2_init() 2538 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_G_AUDIO); em28xx_v4l2_init() 2539 v4l2_disable_ioctl(&v4l2->vbi_dev, VIDIOC_S_AUDIO); em28xx_v4l2_init() 2542 /* register v4l2 vbi video_device */ em28xx_v4l2_init() 2543 ret = video_register_device(&v4l2->vbi_dev, VFL_TYPE_VBI, em28xx_v4l2_init() 2552 em28xx_vdev_init(dev, &v4l2->radio_dev, &em28xx_radio_template, em28xx_v4l2_init() 2554 ret = video_register_device(&v4l2->radio_dev, VFL_TYPE_RADIO, em28xx_v4l2_init() 2561 video_device_node_name(&v4l2->radio_dev)); em28xx_v4l2_init() 2565 video_device_node_name(&v4l2->vdev)); em28xx_v4l2_init() 2567 if (video_is_registered(&v4l2->vbi_dev)) em28xx_v4l2_init() 2569 video_device_node_name(&v4l2->vbi_dev)); em28xx_v4l2_init() 2572 v4l2_device_call_all(&v4l2->v4l2_dev, 0, core, s_power, 0); em28xx_v4l2_init() 2585 v4l2_ctrl_handler_free(&v4l2->ctrl_handler); em28xx_v4l2_init() 2586 v4l2_device_unregister(&v4l2->v4l2_dev); em28xx_v4l2_init() 2588 dev->v4l2 = NULL; em28xx_v4l2_init() 2589 kref_put(&v4l2->ref, em28xx_free_v4l2); em28xx_v4l2_init() 2596 .name = "Em28xx v4l2 Extension",
|
H A D | em28xx-vbi.c | 39 struct em28xx_v4l2 *v4l2 = dev->v4l2; vbi_queue_setup() local 45 size = v4l2->vbi_width * v4l2->vbi_height * 2; vbi_queue_setup() 63 struct em28xx_v4l2 *v4l2 = dev->v4l2; vbi_buffer_prepare() local 67 size = v4l2->vbi_width * v4l2->vbi_height * 2; vbi_buffer_prepare()
|
H A D | em28xx-camera.c | 25 #include <media/v4l2-clk.h> 26 #include <media/v4l2-common.h> 328 struct em28xx_v4l2 *v4l2 = dev->v4l2; em28xx_init_camera() local 333 v4l2->clk = v4l2_clk_register_fixed(clk_name, -EINVAL); em28xx_init_camera() 334 if (IS_ERR(v4l2->clk)) em28xx_init_camera() 335 return PTR_ERR(v4l2->clk); em28xx_init_camera() 347 v4l2->sensor_xres = 640; em28xx_init_camera() 348 v4l2->sensor_yres = 480; em28xx_init_camera() 361 v4l2->sensor_xtal = 4300000; em28xx_init_camera() 362 pdata.xtal = v4l2->sensor_xtal; em28xx_init_camera() 364 v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, em28xx_init_camera() 370 v4l2->vinmode = 0x0d; em28xx_init_camera() 371 v4l2->vinctl = 0x00; em28xx_init_camera() 376 v4l2->sensor_xres = 1280; em28xx_init_camera() 377 v4l2->sensor_yres = 1024; em28xx_init_camera() 382 v4l2->vinmode = 0x0c; em28xx_init_camera() 383 v4l2->vinctl = 0x00; em28xx_init_camera() 387 v4l2->sensor_xres = 640; em28xx_init_camera() 388 v4l2->sensor_yres = 512; em28xx_init_camera() 394 v4l2->vinmode = 0x0a; em28xx_init_camera() 395 v4l2->vinctl = 0x00; em28xx_init_camera() 417 v4l2->sensor_xres = 640; em28xx_init_camera() 418 v4l2->sensor_yres = 480; em28xx_init_camera() 421 v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, em28xx_init_camera() 436 v4l2->vinmode = 0x08; em28xx_init_camera() 437 v4l2->vinctl = 0x00; em28xx_init_camera() 447 v4l2_clk_unregister_fixed(v4l2->clk); em28xx_init_camera() 448 v4l2->clk = NULL; em28xx_init_camera()
|
H A D | em28xx.h | 39 #include <media/v4l2-device.h> 40 #include <media/v4l2-ctrls.h> 41 #include <media/v4l2-fh.h> 259 u32 fourcc; /* v4l2 format id */ 604 struct em28xx_v4l2 *v4l2; member in struct:em28xx
|
/linux-4.1.27/drivers/media/usb/go7007/ |
H A D | Makefile | 6 go7007-y := go7007-v4l2.o go7007-driver.o go7007-i2c.o go7007-fw.o \
|
H A D | go7007-priv.h | 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fh.h> 299 /* go7007-v4l2.c */
|
H A D | s2250-board.c | 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-common.h> 21 #include <media/v4l2-subdev.h> 24 MODULE_DESCRIPTION("Sensoray 2250/2251 i2c v4l2 subdev driver");
|
/linux-4.1.27/drivers/media/radio/wl128x/ |
H A D | fmdrv_v4l2.h | 26 #include <media/v4l2-ioctl.h> 27 #include <media/v4l2-common.h> 28 #include <media/v4l2-ctrls.h>
|
H A D | fmdrv.h | 31 #include <media/v4l2-ioctl.h> 32 #include <media/v4l2-common.h> 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/platform/vsp1/ |
H A D | vsp1_sru.h | 17 #include <media/v4l2-ctrls.h> 18 #include <media/v4l2-subdev.h>
|
H A D | vsp1_bru.h | 17 #include <media/v4l2-ctrls.h> 18 #include <media/v4l2-subdev.h>
|
H A D | vsp1_hsit.h | 17 #include <media/v4l2-subdev.h>
|
H A D | vsp1_lif.h | 17 #include <media/v4l2-subdev.h>
|
H A D | vsp1_lut.h | 17 #include <media/v4l2-subdev.h>
|
H A D | vsp1.h | 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-subdev.h>
|
H A D | vsp1_rwpf.h | 17 #include <media/v4l2-ctrls.h> 18 #include <media/v4l2-subdev.h>
|
H A D | vsp1_uds.h | 17 #include <media/v4l2-subdev.h>
|
H A D | vsp1_entity.c | 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-subdev.h>
|
H A D | vsp1_entity.h | 19 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/Documentation/DocBook/media/ |
H A D | Makefile | 13 v4l2.xml \ 67 $(shell perl -ne 'print "$$1 " if /\#define\s+([^\s]+)\s+_IO/' $(srctree)/include/uapi/linux/v4l2-subdev.h) \ 89 $(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-mediabus.h) \ 90 $(shell perl -ne 'print "$$1 " if /^enum\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-subdev.h) 101 $(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-subdev.h) \ 102 $(shell perl -ne 'print "$$1 " if /^struct\s+([^\s]+)\s+/' $(srctree)/include/uapi/linux/v4l2-mediabus.h) 179 -e "s/v4l2\-mpeg\-vbi\-ITV0/v4l2-mpeg-vbi-itv0-1/g" 203 $(MEDIA_OBJ_DIR)/v4l2.xml: $(OBJIMGFILES) 208 $(MEDIA_OBJ_DIR)/videodev2.h.xml: $(srctree)/include/uapi/linux/videodev2.h $(MEDIA_OBJ_DIR)/v4l2.xml 219 $(MEDIA_OBJ_DIR)/audio.h.xml: $(srctree)/include/uapi/linux/dvb/audio.h $(MEDIA_OBJ_DIR)/v4l2.xml 230 $(MEDIA_OBJ_DIR)/ca.h.xml: $(srctree)/include/uapi/linux/dvb/ca.h $(MEDIA_OBJ_DIR)/v4l2.xml 241 $(MEDIA_OBJ_DIR)/dmx.h.xml: $(srctree)/include/uapi/linux/dvb/dmx.h $(MEDIA_OBJ_DIR)/v4l2.xml 252 $(MEDIA_OBJ_DIR)/frontend.h.xml: $(srctree)/include/uapi/linux/dvb/frontend.h $(MEDIA_OBJ_DIR)/v4l2.xml 263 $(MEDIA_OBJ_DIR)/net.h.xml: $(srctree)/include/uapi/linux/dvb/net.h $(MEDIA_OBJ_DIR)/v4l2.xml 274 $(MEDIA_OBJ_DIR)/video.h.xml: $(srctree)/include/uapi/linux/dvb/video.h $(MEDIA_OBJ_DIR)/v4l2.xml 285 $(MEDIA_OBJ_DIR)/media-entities.tmpl: $(MEDIA_OBJ_DIR)/v4l2.xml 328 entity=`echo $$ident | tr _ - | sed s/v4l2-mpeg-vbi-ITV0/v4l2-mpeg-vbi-itv0-1/g` ; \ 362 $(MEDIA_OBJ_DIR)/media-indices.tmpl: $(MEDIA_OBJ_DIR)/v4l2.xml 382 id=`echo $$ident | tr _ - | sed s/v4l2-mpeg-vbi-ITV0/v4l2-mpeg-vbi-itv0-1/g` ; \
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
H A D | xilinx-vipp.h | 21 #include <media/v4l2-async.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-device.h>
|
H A D | xilinx-dma.h | 24 #include <media/v4l2-dev.h>
|
H A D | xilinx-vipp.c | 22 #include <media/v4l2-async.h> 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-of.h>
|
/linux-4.1.27/drivers/media/pci/cx25821/ |
H A D | cx25821-video.h | 40 #include <media/v4l2-common.h> 41 #include <media/v4l2-ioctl.h> 42 #include <media/v4l2-event.h>
|
H A D | cx25821.h | 34 #include <media/v4l2-common.h> 35 #include <media/v4l2-device.h> 36 #include <media/v4l2-ctrls.h> 102 u32 fourcc; /* v4l2 format id */
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-cs53l32a.c | 35 #include <media/v4l2-common.h> 67 pvr2_trace(PVR2_TRACE_CHIPS, "subdev v4l2 set_input(%d)", pvr2_cs53l32a_subdev_update() 75 "*** WARNING *** subdev v4l2 set_input:" pvr2_cs53l32a_subdev_update()
|
H A D | pvrusb2-video-v4l.c | 37 #include <media/v4l2-common.h> 85 pvr2_trace(PVR2_TRACE_CHIPS, "subdev v4l2 set_input(%d)", pvr2_saa7115_subdev_update() 94 "*** WARNING *** subdev v4l2 set_input:" pvr2_saa7115_subdev_update()
|
H A D | Makefile | 9 pvrusb2-main.o pvrusb2-hdw.o pvrusb2-v4l2.o \
|
H A D | pvrusb2-audio.c | 27 #include <media/v4l2-common.h> 67 pvr2_trace(PVR2_TRACE_CHIPS, "subdev msp3400 v4l2 set_stereo"); pvr2_msp3400_subdev_update()
|
H A D | pvrusb2-wm8775.c | 35 #include <media/v4l2-common.h>
|
H A D | pvrusb2-cx2584x-v4l.c | 37 #include <media/v4l2-common.h>
|
H A D | pvrusb2-main.c | 32 #include "pvrusb2-v4l2.h"
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-aztech.c | 15 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ioctl.h> 27 #include <media/v4l2-ctrls.h>
|
H A D | radio-tea5777.h | 5 * v4l2 driver for TEA5777 Philips AM/FM radio tuner chips 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-dev.h> 33 #include <media/v4l2-device.h>
|
H A D | radio-maxiradio.c | 46 #include <media/v4l2-device.h> 47 #include <media/v4l2-ioctl.h> 48 #include <media/v4l2-fh.h> 49 #include <media/v4l2-ctrls.h> 50 #include <media/v4l2-event.h>
|
H A D | radio-rtrack2.c | 12 * Fully tested with actual hardware and the v4l2-compliance tool. 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-ioctl.h>
|
H A D | radio-aimslab.c | 26 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 36 #include <media/v4l2-device.h> 37 #include <media/v4l2-ioctl.h> 38 #include <media/v4l2-ctrls.h>
|
H A D | radio-timb.c | 20 #include <media/v4l2-ioctl.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-event.h>
|
H A D | radio-sf16fmi.c | 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-ioctl.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-event.h>
|
H A D | dsbr100.c | 18 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 44 #include <media/v4l2-device.h> 45 #include <media/v4l2-ioctl.h> 46 #include <media/v4l2-ctrls.h> 47 #include <media/v4l2-event.h>
|
H A D | radio-isa.c | 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/v4l2-fh.h> 33 #include <media/v4l2-ctrls.h> 34 #include <media/v4l2-event.h>
|
H A D | radio-miropcm20.c | 34 #include <media/v4l2-device.h> 35 #include <media/v4l2-ioctl.h> 36 #include <media/v4l2-ctrls.h> 37 #include <media/v4l2-fh.h> 38 #include <media/v4l2-event.h>
|
H A D | radio-tea5777.c | 2 * v4l2 driver for TEA5777 Philips AM/FM radio tuner chips 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-dev.h> 33 #include <media/v4l2-fh.h> 34 #include <media/v4l2-ioctl.h> 35 #include <media/v4l2-event.h>
|
H A D | radio-isa.h | 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ctrls.h>
|
H A D | radio-terratec.c | 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h>
|
H A D | radio-trust.c | 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ioctl.h>
|
H A D | radio-typhoon.c | 37 #include <media/v4l2-device.h> 38 #include <media/v4l2-ioctl.h>
|
H A D | tef6862.c | 26 #include <media/v4l2-ioctl.h> 27 #include <media/v4l2-device.h>
|
H A D | radio-keene.c | 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ioctl.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-event.h>
|
H A D | radio-raremono.c | 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-ioctl.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-event.h>
|
H A D | radio-zoltrix.c | 38 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 49 #include <media/v4l2-device.h> 50 #include <media/v4l2-ioctl.h>
|
H A D | radio-cadet.c | 42 #include <media/v4l2-device.h> 43 #include <media/v4l2-ioctl.h> 44 #include <media/v4l2-ctrls.h> 45 #include <media/v4l2-fh.h> 46 #include <media/v4l2-event.h>
|
H A D | radio-tea5764.c | 40 #include <media/v4l2-common.h> 41 #include <media/v4l2-ioctl.h> 42 #include <media/v4l2-device.h> 43 #include <media/v4l2-ctrls.h> 44 #include <media/v4l2-event.h>
|
H A D | tea575x.c | 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-dev.h> 31 #include <media/v4l2-fh.h> 32 #include <media/v4l2-ioctl.h> 33 #include <media/v4l2-event.h>
|
H A D | radio-gemtek.c | 22 * Fully tested with the Keene USB FM Transmitter and the v4l2-compliance tool. 34 #include <media/v4l2-ioctl.h> 35 #include <media/v4l2-device.h>
|
H A D | radio-ma901.c | 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ioctl.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-event.h>
|
/linux-4.1.27/drivers/media/radio/si4713/ |
H A D | radio-platform-si4713.c | 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-common.h> 33 #include <media/v4l2-ioctl.h> 34 #include <media/v4l2-fh.h> 35 #include <media/v4l2-ctrls.h> 36 #include <media/v4l2-event.h> 86 * v4l2 ioctl call backs. 175 dev_err(&pdev->dev, "Failed to register v4l2 device.\n"); radio_si4713_pdriver_probe() 182 dev_err(&pdev->dev, "Cannot get v4l2 subdevice\n"); radio_si4713_pdriver_probe()
|
H A D | si4713.h | 21 #include <media/v4l2-subdev.h> 22 #include <media/v4l2-ctrls.h>
|
H A D | radio-usb-si4713.c | 30 #include <media/v4l2-common.h> 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-ioctl.h> 33 #include <media/v4l2-event.h> 478 dev_err(&intf->dev, "cannot get v4l2 subdevice\n"); usb_si4713_probe()
|
/linux-4.1.27/drivers/media/ |
H A D | Makefile | 21 obj-$(CONFIG_VIDEO_DEV) += v4l2-core/
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | msp3400-driver.h | 8 #include <media/v4l2-device.h> 9 #include <media/v4l2-ctrls.h> 88 /* v4l2 */
|
H A D | cs5345.c | 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ctrls.h>
|
H A D | tlv320aic23b.c | 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ctrls.h>
|
H A D | tw9906.c | 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-ctrls.h>
|
H A D | ml86v7667.c | 19 #include <media/v4l2-subdev.h> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/v4l2-ctrls.h>
|
H A D | ov7640.c | 22 #include <media/v4l2-device.h>
|
H A D | uda1342.c | 22 #include <media/v4l2-device.h>
|
H A D | s5k6a3.c | 25 #include <media/v4l2-async.h> 26 #include <media/v4l2-subdev.h> 50 * @subdev: the image sensor's v4l2 subdev
|
H A D | sony-btf-mpx.c | 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-ioctl.h> 25 #include <media/v4l2-device.h>
|
H A D | lm3560.c | 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-device.h> 166 /* v4l2 controls */ lm3560_get_ctrl()
|
H A D | saa6588.c | 35 #include <media/v4l2-device.h> 56 MODULE_DESCRIPTION("v4l2 driver module for SAA6588 RDS decoder"); 289 Byte order according to v4l2 specification: saa6588_i2c_poll()
|
H A D | tda7432.c | 36 #include <media/v4l2-device.h> 37 #include <media/v4l2-ioctl.h> 38 #include <media/v4l2-ctrls.h>
|
H A D | tw2804.c | 24 #include <media/v4l2-subdev.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ctrls.h>
|
H A D | adv7343.c | 32 #include <media/v4l2-async.h> 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ctrls.h>
|
H A D | tea6415c.c | 35 #include <media/v4l2-device.h>
|
H A D | tea6420.c | 35 #include <media/v4l2-device.h>
|
H A D | ths8200.c | 23 #include <linux/v4l2-dv-timings.h> 25 #include <media/v4l2-dv-timings.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-device.h>
|
H A D | ak881x.c | 19 #include <media/v4l2-common.h> 20 #include <media/v4l2-device.h>
|
H A D | cs53l32a.c | 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ctrls.h>
|
H A D | lm3646.c | 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-device.h>
|
H A D | ov2659.c | 41 #include <media/v4l2-common.h> 42 #include <media/v4l2-ctrls.h> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-event.h> 45 #include <media/v4l2-image-sizes.h> 46 #include <media/v4l2-mediabus.h> 47 #include <media/v4l2-of.h> 48 #include <media/v4l2-subdev.h>
|
H A D | tvp514x.c | 37 #include <linux/v4l2-mediabus.h> 41 #include <media/v4l2-async.h> 42 #include <media/v4l2-device.h> 43 #include <media/v4l2-common.h> 44 #include <media/v4l2-mediabus.h> 45 #include <media/v4l2-of.h> 46 #include <media/v4l2-ctrls.h> 78 * @standard: v4l2 standard structure information
|
H A D | tw9903.c | 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-ctrls.h>
|
H A D | wm8739.c | 31 #include <media/v4l2-device.h> 32 #include <media/v4l2-ctrls.h>
|
H A D | wm8775.c | 35 #include <media/v4l2-device.h> 36 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/usb/stkwebcam/ |
H A D | stk-webcam.h | 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-common.h>
|
/linux-4.1.27/include/media/davinci/ |
H A D | vpbe_display.h | 18 #include <media/v4l2-common.h> 19 #include <media/v4l2-fh.h> 107 /* facilitation of ioctl ops lock by v4l2*/
|
H A D | vpbe.h | 23 #include <media/v4l2-dev.h> 24 #include <media/v4l2-ioctl.h> 25 #include <media/v4l2-device.h> 169 /* external encoder v4l2 sub devices */ 173 /* external amplifier v4l2 subdevice */
|
H A D | vpfe_capture.h | 25 #include <media/v4l2-dev.h> 29 #include <media/v4l2-fh.h> 30 #include <media/v4l2-ioctl.h> 31 #include <media/v4l2-device.h> 196 * possibility of extending the v4l2 api to include this
|
H A D | vpbe_venc.h | 20 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/include/media/ |
H A D | tea575x.h | 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-dev.h> 28 #include <media/v4l2-device.h>
|
H A D | s3c_camif.h | 15 #include <media/v4l2-mediabus.h>
|
H A D | adp1653.h | 34 #include <media/v4l2-ctrls.h> 35 #include <media/v4l2-subdev.h>
|
H A D | v4l2-device.h | 25 #include <media/v4l2-subdev.h> 26 #include <media/v4l2-dev.h> 31 It allows easy access to sub-devices (see v4l2-subdev.h) and provides 106 /* Register a subdev with a v4l2 device. While registered the subdev module 111 /* Unregister a subdev with a v4l2 device. Can also be called if the subdev 115 /* Register device nodes for all subdev of the v4l2 device that are marked with
|
H A D | exynos-fimc.h | 16 #include <media/v4l2-dev.h> 17 #include <media/v4l2-mediabus.h> 98 * @colorspace: v4l2 colorspace (V4L2_COLORSPACE_*)
|
H A D | as3645a.h | 27 #include <media/v4l2-subdev.h>
|
H A D | lm3560.h | 28 #include <media/v4l2-subdev.h>
|
H A D | lm3646.h | 17 #include <media/v4l2-subdev.h>
|
H A D | s5c73m3.h | 21 #include <media/v4l2-mediabus.h>
|
H A D | s5k6aa.h | 15 #include <media/v4l2-mediabus.h>
|
H A D | soc_camera_platform.h | 16 #include <media/v4l2-mediabus.h>
|
H A D | v4l2-common.h | 2 v4l2 common internal API header 5 internal low-level v4l2 drivers. 29 #include <media/v4l2-dev.h> 154 v4l2-int-device.h (v4l2_routing). To remove these ioctls some more cleanup
|
H A D | smiapp.h | 28 #include <media/v4l2-subdev.h>
|
H A D | v4l2-async.h | 60 /* v4l2-async core private: not to be used by drivers */
|
H A D | saa7146_vv.h | 4 #include <media/v4l2-common.h> 5 #include <media/v4l2-ioctl.h> 6 #include <media/v4l2-fh.h>
|
H A D | soc_camera.h | 22 #include <media/v4l2-async.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 377 /* This is only temporary here - until v4l2-subdev begins to link to video_device */
|
H A D | soc_mediabus.h | 15 #include <linux/v4l2-mediabus.h>
|
H A D | v4l2-mediabus.h | 14 #include <linux/v4l2-mediabus.h>
|
H A D | v4l2-of.h | 22 #include <media/v4l2-mediabus.h>
|
H A D | v4l2-subdev.h | 25 #include <linux/v4l2-subdev.h> 27 #include <media/v4l2-async.h> 28 #include <media/v4l2-common.h> 29 #include <media/v4l2-dev.h> 30 #include <media/v4l2-fh.h> 31 #include <media/v4l2-mediabus.h> 397 * struct v4l2_subdev_sensor_ops - v4l2-subdev sensor operations 496 * struct v4l2_subdev_pad_ops - v4l2-subdev pad level operations 552 * Internal ops. Never call this from drivers, only the v4l2 framework can call
|
H A D | v4l2-event.h | 2 * v4l2-event.h 39 * The v4l2-fh struct has a list of subscribed events. The v4l2_subscribed_event
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-radio-tx.c | 24 #include <linux/v4l2-dv-timings.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-dv-timings.h>
|
H A D | vivid-kthread-out.c | 32 #include <linux/v4l2-dv-timings.h> 35 #include <media/v4l2-dv-timings.h> 36 #include <media/v4l2-ioctl.h> 37 #include <media/v4l2-fh.h> 38 #include <media/v4l2-event.h>
|
H A D | vivid-osd.c | 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ioctl.h> 35 #include <media/v4l2-ctrls.h> 36 #include <media/v4l2-fh.h> 37 #include <media/v4l2-event.h> 38 #include <media/v4l2-common.h>
|
H A D | vivid-radio-rx.c | 24 #include <linux/v4l2-dv-timings.h> 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-dv-timings.h>
|
H A D | vivid-core.h | 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-dev.h> 27 #include <media/v4l2-ctrls.h> 81 u32 fourcc; /* v4l2 format id */
|
H A D | vivid-sdr-cap.c | 26 #include <linux/v4l2-dv-timings.h> 27 #include <media/v4l2-common.h> 28 #include <media/v4l2-event.h> 29 #include <media/v4l2-dv-timings.h>
|
/linux-4.1.27/drivers/staging/media/davinci_vpfe/ |
H A D | dm365_isif.h | 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-device.h> 68 /* v4l2 pixel format */ 115 /* v4l2 pixel format */
|
H A D | vpfe.h | 26 #include <linux/v4l2-subdev.h> 47 /* v4l2 subdev */
|
H A D | vpfe_mc_capture.c | 330 * register_i2c_devices() - register all i2c v4l2 subdevs 333 * register all i2c v4l2 subdevs 380 "v4l2 sub device %s registered\n", register_i2c_devices() 390 "v4l2 sub device %s is not registered\n", register_i2c_devices() 405 * vpfe_register_entities() - register all v4l2 subdevs and media entities 408 * register all v4l2 subdevs, media entities, and creates links 498 * vpfe_unregister_entities() - unregister all v4l2 subdevs and media entities 501 * unregister all v4l2 subdevs and media entities 512 * vpfe_cleanup_modules() - cleanup all non-i2c v4l2 subdevs 516 * cleanup all v4l2 subdevs 528 * vpfe_initialize_modules() - initialize all non-i2c v4l2 subdevs 532 * intialize all v4l2 subdevs and media entities 652 v4l2_err(pdev->dev.driver, "Unable to register v4l2 device.\n"); vpfe_probe() 656 v4l2_info(&vpfe_dev->v4l2_dev, "v4l2 device registered\n"); vpfe_probe()
|
H A D | dm365_ipipe.h | 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-subdev.h>
|
H A D | dm365_ipipeif.h | 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-subdev.h>
|
H A D | dm365_ipipe.c | 1347 * @sd: pointer to v4l2 subdev structure 1394 * @sd: pointer to v4l2 subdev structure 1437 * @fmt: pointer to v4l2 format structure. 1477 * @sd: pointer to v4l2 subdev structure 1479 * @fmt: pointer to v4l2 subdev format structure 1514 * @sd: pointer to v4l2 subdev structure. 1516 * @fmt: pointer to v4l2 subdev format structure. 1534 * @sd: pointer to v4l2 subdev structure. 1570 * @sd: pointer to v4l2 subdev structure. 1600 * @ctrl: pointer to v4l2 control structure 1628 * @sd: pointer to v4l2 subdev structure. 1685 /* v4l2 subdev operation */ 1762 * @vdev: pointer to v4l2 device structure. 1773 pr_err("Failed to register ipipe as v4l2 subdevice\n"); vpfe_ipipe_register_entities()
|
H A D | dm365_ipipeif.c | 184 * @sd: pointer to v4l2 subdev structure 458 * @sd: pointer to v4l2 subdev structure 482 * @ctrl: pointer to v4l2 control structure 525 * @sd: pointer to v4l2 subdev structure 546 * @sd: pointer to v4l2 subdev structure 579 * @sd: pointer to v4l2 subdev structure 581 * @fmt: pointer to v4l2 subdev format structure 605 * @fmt: pointer to v4l2 format structure. 694 * @sd: pointer to v4l2 subdev structure 696 * @fmt: pointer to v4l2 subdev format structure
|
/linux-4.1.27/include/uapi/linux/ |
H A D | v4l2-subdev.h | 28 #include <linux/v4l2-common.h> 29 #include <linux/v4l2-mediabus.h> 139 * defined in v4l2-common.h; V4L2_SEL_TGT_* . 140 * @flags: constraint flags, defined in v4l2-common.h; V4L2_SEL_FLAG_*.
|
H A D | v4l2-common.h | 2 * include/linux/v4l2-common.h 7 * (V4L2) or through v4l2-subdev.h (V4L2 subdev) rather than to refer
|
H A D | xilinx-v4l2-controls.h | 23 #include <linux/v4l2-controls.h>
|
/linux-4.1.27/drivers/media/platform/s5p-g2d/ |
H A D | g2d.h | 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | rtl2832_sdr.h | 29 #include <media/v4l2-subdev.h> 41 * @v4l2_subdev: Tuner v4l2 controls.
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
H A D | gsc-core.h | 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mem2mem.h> 26 #include <media/v4l2-mediabus.h> 212 * struct gsc_m2m_device - v4l2 memory-to-memory device data 213 * @vfd: the video device node for v4l2 m2m mode 214 * @m2m_dev: v4l2 memory-to-memory device data 361 * @fh: v4l2 file handle 362 * @ctrl_handler: v4l2 controls handler
|
/linux-4.1.27/drivers/media/pci/tw68/ |
H A D | tw68.h | 35 #include <media/v4l2-common.h> 36 #include <media/v4l2-ioctl.h> 37 #include <media/v4l2-ctrls.h> 38 #include <media/v4l2-device.h> 148 u32 fourcc; /* v4l2 format id */
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
H A D | fimc-lite.h | 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mediabus.h> 115 * @fh: v4l2 file handle 121 * @ctrl_handler: v4l2 control handler
|
H A D | fimc-isp.h | 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-mediabus.h> 155 * @ctrls: v4l2 controls structure
|
H A D | media-dev.h | 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-subdev.h> 84 * @subdev: image sensor v4l2 subdev
|
H A D | fimc-core.h | 26 #include <media/v4l2-ctrls.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-mem2mem.h> 29 #include <media/v4l2-mediabus.h> 267 * struct fimc_m2m_device - v4l2 memory-to-memory device data 268 * @vfd: the video device node for v4l2 m2m mode 269 * @m2m_dev: v4l2 memory-to-memory device data 305 * @inh_sensor_ctrls: a flag indicating v4l2 controls are inherited from 443 * struct fimc_ctrls - v4l2 controls structure 484 * @fh: v4l2 file handle 485 * @ctrls: v4l2 controls structure
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
H A D | jpeg-core.h | 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-fh.h> 19 #include <media/v4l2-ctrls.h> 97 * @v4l2_dev: v4l2 device for mem2mem mode 100 * @m2m_dev: v4l2 mem2mem device data
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
H A D | sh_mobile_csi2.c | 25 #include <media/v4l2-common.h> 26 #include <media/v4l2-dev.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-mediabus.h> 29 #include <media/v4l2-subdev.h>
|
H A D | soc_camera_platform.c | 19 #include <media/v4l2-subdev.h>
|
H A D | soc_mediabus.c | 14 #include <media/v4l2-device.h> 15 #include <media/v4l2-mediabus.h>
|
/linux-4.1.27/drivers/media/radio/si470x/ |
H A D | radio-si470x.h | 37 #include <media/v4l2-common.h> 38 #include <media/v4l2-ioctl.h> 39 #include <media/v4l2-ctrls.h> 40 #include <media/v4l2-event.h> 41 #include <media/v4l2-device.h>
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
H A D | hdpvr.h | 18 #include <media/v4l2-device.h> 19 #include <media/v4l2-ctrls.h> 74 /* v4l2-device unused */ 81 /* v4l2 format */ 315 /* v4l2 registration */
|
/linux-4.1.27/drivers/media/i2c/m5mols/ |
H A D | m5mols_capture.c | 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/drivers/media/usb/stk1160/ |
H A D | stk1160.h | 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-ctrls.h> 115 u32 fourcc; /* v4l2 format id */
|
H A D | stk1160-v4l.c | 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-common.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/v4l2-fh.h> 33 #include <media/v4l2-event.h> 674 * Provide mutexes for v4l2 core and for videobuf2 queue. stk1160_video_register() 675 * It will be used to protect *only* v4l2 ioctls. stk1160_video_register()
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | e4000_priv.h | 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | uvc.h | 60 #include <media/v4l2-fh.h> 61 #include <media/v4l2-device.h>
|
H A D | uvc_v4l2.c | 21 #include <media/v4l2-dev.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-ioctl.h>
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | sur40.c | 15 * and from the v4l2-pci-skeleton driver, 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-dev.h> 40 #include <media/v4l2-ioctl.h> 148 struct v4l2_device v4l2; member in struct:sur40_state 552 snprintf(sur40->v4l2.name, sizeof(sur40->v4l2.name), "%s", DRIVER_LONG); sur40_probe() 553 error = v4l2_device_register(sur40->dev, &sur40->v4l2); sur40_probe() 577 sur40->vdev.v4l2_dev = &sur40->v4l2; sur40_probe() 598 v4l2_device_unregister(&sur40->v4l2); sur40_probe() 615 v4l2_device_unregister(&sur40->v4l2); sur40_disconnect()
|
/linux-4.1.27/drivers/media/usb/gspca/m5602/ |
H A D | m5602_sensor.h | 10 * v4l2 interface modeled after the V4L2 driver
|
/linux-4.1.27/drivers/media/platform/s3c-camif/ |
H A D | camif-core.h | 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-dev.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-mediabus.h> 254 * @ctrl_handler: v4l2 control handler (owned by @subdev)
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000.h | 24 #include <media/v4l2-common.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-fh.h> 80 u32 fourcc; /* v4l2 format id */
|
/linux-4.1.27/drivers/media/platform/davinci/ |
H A D | vpbe.c | 31 #include <media/v4l2-device.h> 586 * display controller. This will then registers v4l2 device and the sub 587 * devices and sets a current encoder sub device for display. v4l2 display 605 * v4l2 abd FBDev frame buffer devices will get the vpbe_dev pointer vpbe_initialize() 636 /* First register a v4l2 device */ vpbe_initialize() 640 "Unable to register v4l2 device.\n"); vpbe_initialize() 643 v4l2_info(&vpbe_dev->v4l2_dev, "vpbe v4l2 device registered\n"); vpbe_initialize() 705 "v4l2 sub device %s registered\n", vpbe_initialize() 734 "v4l2 sub device %s registered\n", vpbe_initialize()
|
H A D | vpif_capture.h | 24 #include <media/v4l2-device.h>
|
H A D | vpif_display.h | 21 #include <media/v4l2-device.h>
|
/linux-4.1.27/drivers/media/usb/pwc/ |
H A D | pwc.h | 37 #include <media/v4l2-common.h> 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-ioctl.h> 40 #include <media/v4l2-ctrls.h> 41 #include <media/v4l2-fh.h> 42 #include <media/v4l2-event.h>
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-streams.c | 26 * and external (v4l2, etc) 46 #include <media/v4l2-event.h> 76 #define IVTV_V4L2_DEC_MPG_OFFSET 16 /* offset from 0 to register decoder mpg v4l2 minors on */ 77 #define IVTV_V4L2_ENC_PCM_OFFSET 24 /* offset from 0 to register pcm v4l2 minors on */ 78 #define IVTV_V4L2_ENC_YUV_OFFSET 32 /* offset from 0 to register yuv v4l2 minors on */ 79 #define IVTV_V4L2_DEC_YUV_OFFSET 48 /* offset from 0 to register decoder yuv v4l2 minors on */ 80 #define IVTV_V4L2_DEC_VBI_OFFSET 8 /* offset from 0 to register decoder vbi input v4l2 minors on */ 81 #define IVTV_V4L2_DEC_VOUT_OFFSET 16 /* offset from 0 to register vbi output v4l2 minors on */ 251 /* Initialize v4l2 variables and prepare v4l2 devices */ ivtv_streams_setup() 299 IVTV_ERR("Couldn't register v4l2 device for %s (device node number %d)\n", ivtv_reg_dev() 326 /* Register v4l2 devices */ ivtv_streams_register() 344 /* Unregister v4l2 devices */ ivtv_streams_cleanup()
|
H A D | ivtv-alsa.h | 38 * need to be serialized. Use the same lock we use for v4l2 file ops.
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.h | 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/i2c/smiapp/ |
H A D | smiapp.h | 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/drivers/media/i2c/s5c73m3/ |
H A D | s5c73m3-ctrls.c | 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-subdev.h> 34 #include <media/v4l2-mediabus.h>
|
H A D | s5c73m3.h | 23 #include <media/v4l2-common.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-subdev.h>
|
/linux-4.1.27/drivers/media/i2c/soc_camera/ |
H A D | imx074.c | 15 #include <linux/v4l2-mediabus.h> 21 #include <media/v4l2-async.h> 22 #include <media/v4l2-clk.h> 23 #include <media/v4l2-subdev.h>
|
H A D | ov9640.c | 27 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-clk.h> 32 #include <media/v4l2-common.h> 33 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-alsa.h | 37 * need to be serialized. Use the same lock we use for v4l2 file ops.
|
H A D | cx18-streams.c | 49 /* offset from 0 to register ts v4l2 minors on */ 51 /* offset from 0 to register pcm v4l2 minors on */ 53 /* offset from 0 to register yuv v4l2 minors on */ 369 /* initialize the v4l2 video device structure */ cx18_prep_dev() 386 /* Initialize v4l2 variables and register v4l2 devices */ cx18_streams_setup() 443 CX18_ERR("Couldn't register v4l2 device for %s (device node number %d)\n", cx18_reg_dev() 478 /* Register v4l2 devices */ cx18_streams_register() 500 /* Unregister v4l2 devices */ cx18_streams_cleanup()
|
/linux-4.1.27/drivers/media/usb/uvc/ |
H A D | uvc_entity.c | 18 #include <media/v4l2-common.h>
|
/linux-4.1.27/drivers/media/platform/am437x/ |
H A D | am437x-vpfe.h | 31 #include <media/v4l2-dev.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-ioctl.h>
|
/linux-4.1.27/drivers/media/platform/coda/ |
H A D | coda.h | 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-fh.h>
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
H A D | ispvideo.h | 19 #include <linux/v4l2-mediabus.h> 21 #include <media/v4l2-dev.h> 22 #include <media/v4l2-fh.h>
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828.h | 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ctrls.h> 35 #include <media/v4l2-fh.h>
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | gspca.h | 8 #include <media/v4l2-common.h> 9 #include <media/v4l2-ctrls.h> 10 #include <media/v4l2-device.h>
|
/linux-4.1.27/drivers/staging/media/omap4iss/ |
H A D | iss_video.h | 17 #include <linux/v4l2-mediabus.h> 19 #include <media/v4l2-dev.h> 20 #include <media/v4l2-fh.h>
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
H A D | saa7134.h | 3 * v4l2 device driver for philips saa7134 based TV cards 36 #include <media/v4l2-common.h> 37 #include <media/v4l2-ioctl.h> 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-fh.h> 40 #include <media/v4l2-ctrls.h>
|
H A D | saa7134-go7007.c | 26 #include <media/v4l2-common.h> 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-subdev.h>
|
H A D | saa7134-empress.c | 26 #include <media/v4l2-common.h> 27 #include <media/v4l2-event.h>
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_common.h | 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-ioctl.h> 531 * @sequence: counter for the sequence number for v4l2 560 * v4l2 control framework 561 * @ctrl_handler: handler for v4l2 framework
|
/linux-4.1.27/drivers/media/platform/ |
H A D | vim2m.c | 2 * A virtual v4l2-mem2mem example device. 27 #include <media/v4l2-mem2mem.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-ioctl.h> 30 #include <media/v4l2-ctrls.h> 31 #include <media/v4l2-event.h>
|
/linux-4.1.27/drivers/media/platform/marvell-ccic/ |
H A D | mcam-core.h | 10 #include <media/v4l2-common.h> 11 #include <media/v4l2-ctrls.h> 12 #include <media/v4l2-dev.h>
|
/linux-4.1.27/drivers/media/usb/cpia2/ |
H A D | cpia2.h | 37 #include <media/v4l2-common.h> 38 #include <media/v4l2-device.h> 39 #include <media/v4l2-ctrls.h>
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-ir.c | 19 #include <media/v4l2-device.h>
|
H A D | cx23885.h | 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-fh.h> 25 #include <media/v4l2-ctrls.h> 131 u32 fourcc; /* v4l2 format id */
|
/linux-4.1.27/drivers/media/usb/usbtv/ |
H A D | usbtv-core.c | 123 /* the usbtv structure will be deallocated when v4l2 will be usbtv_disconnect()
|
H A D | usbtv.h | 26 #include <media/v4l2-device.h>
|
/linux-4.1.27/include/trace/events/ |
H A D | v4l2.h | 2 #define TRACE_SYSTEM v4l2
|
/linux-4.1.27/include/linux/ |
H A D | videodev2.h | 46 * All kernel-specific stuff were moved to media/v4l2-dev.h, so
|
/linux-4.1.27/drivers/media/platform/blackfin/ |
H A D | bfin_capture.c | 35 #include <media/v4l2-common.h> 36 #include <media/v4l2-ctrls.h> 37 #include <media/v4l2-device.h> 38 #include <media/v4l2-ioctl.h> 64 /* v4l2 control handler */ 824 "Unable to register v4l2 device\n"); bcap_probe() 827 v4l2_info(&bcap_dev->v4l2_dev, "v4l2 device registered\n"); bcap_probe() 900 v4l2_info(&bcap_dev->v4l2_dev, "v4l2 sub device registered\n"); bcap_probe()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
H A D | hdmi_drv.c | 25 #include <media/v4l2-subdev.h> 34 #include <linux/v4l2-dv-timings.h> 37 #include <media/v4l2-common.h> 38 #include <media/v4l2-dev.h> 39 #include <media/v4l2-device.h> 40 #include <media/v4l2-dv-timings.h> 938 /* setting v4l2 name to prevent WARN_ON in v4l2_device_register */ hdmi_probe() 944 dev_err(dev, "could not register v4l2 device.\n"); hdmi_probe()
|
/linux-4.1.27/Documentation/video4linux/ |
H A D | v4l2-pci-skeleton.c | 33 #include <linux/v4l2-dv-timings.h> 34 #include <media/v4l2-device.h> 35 #include <media/v4l2-dev.h> 36 #include <media/v4l2-ioctl.h> 37 #include <media/v4l2-dv-timings.h> 38 #include <media/v4l2-ctrls.h> 39 #include <media/v4l2-event.h> 49 * @v4l2_dev: top-level v4l2 device struct
|
/linux-4.1.27/drivers/media/usb/airspy/ |
H A D | airspy.c | 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-ioctl.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-event.h> 1041 dev_err(s->dev, "Failed to register v4l2-device (%d)\n", ret); airspy_probe()
|