Home
last modified time | relevance | path

Searched refs:v4l2 (Results 1 – 25 of 65) sorted by relevance

123

/drivers/media/usb/em28xx/
Dem28xx-video.c128 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxw() local
131 return v4l2->sensor_xres; in norm_maxw()
141 struct em28xx_v4l2 *v4l2 = dev->v4l2; in norm_maxh() local
144 return v4l2->sensor_yres; in norm_maxh()
149 return (v4l2->norm & V4L2_STD_625_50) ? 576 : 480; in norm_maxh()
177 struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; in em28xx_wake_i2c()
206 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_set_outfmt() local
208 fmt = v4l2->format->reg; in em28xx_set_outfmt()
224 ret = em28xx_write_reg(dev, EM28XX_R10_VINMODE, v4l2->vinmode); in em28xx_set_outfmt()
228 vinctrl = v4l2->vinctl; in em28xx_set_outfmt()
[all …]
Dem28xx-camera.c304 struct em28xx_v4l2 *v4l2 = dev->v4l2; in em28xx_init_camera() local
316 v4l2->sensor_xres = 640; in em28xx_init_camera()
317 v4l2->sensor_yres = 480; in em28xx_init_camera()
330 v4l2->sensor_xtal = 4300000; in em28xx_init_camera()
331 pdata.xtal = v4l2->sensor_xtal; in em28xx_init_camera()
333 v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, in em28xx_init_camera()
336 v4l2->vinmode = EM28XX_VINMODE_RGB8_GRBG; in em28xx_init_camera()
337 v4l2->vinctl = 0x00; in em28xx_init_camera()
342 v4l2->sensor_xres = 1280; in em28xx_init_camera()
343 v4l2->sensor_yres = 1024; in em28xx_init_camera()
[all …]
Dem28xx-vbi.c26 struct em28xx_v4l2 *v4l2 = dev->v4l2; in vbi_queue_setup() local
27 unsigned long size = v4l2->vbi_width * v4l2->vbi_height * 2; in vbi_queue_setup()
47 struct em28xx_v4l2 *v4l2 = dev->v4l2; in vbi_buffer_prepare() local
50 size = v4l2->vbi_width * v4l2->vbi_height * 2; in vbi_buffer_prepare()
/drivers/media/v4l2-core/
DMakefile11 videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \
12 v4l2-event.o v4l2-subdev.o v4l2-common.o \
13 v4l2-ctrls-core.o v4l2-ctrls-api.o \
14 v4l2-ctrls-request.o v4l2-ctrls-defs.o
18 videodev-$(CONFIG_COMPAT) += v4l2-compat-ioctl32.o
19 videodev-$(CONFIG_MEDIA_CONTROLLER) += v4l2-mc.o
20 videodev-$(CONFIG_SPI) += v4l2-spi.o
21 videodev-$(CONFIG_TRACEPOINTS) += v4l2-trace.o
22 videodev-$(CONFIG_VIDEO_V4L2_I2C) += v4l2-i2c.o
27 obj-$(CONFIG_V4L2_ASYNC) += v4l2-async.o
[all …]
DKconfig39 # Used by drivers that need v4l2-jpeg.ko
43 # Used by drivers that need v4l2-h264.ko
47 # Used by drivers that need v4l2-vp9.ko
51 # Used by drivers that need v4l2-mem2mem.ko
/drivers/gpu/drm/renesas/rcar-du/
Drcar_du_kms.c44 .v4l2 = V4L2_PIX_FMT_RGB565,
52 .v4l2 = V4L2_PIX_FMT_ARGB555,
60 .v4l2 = V4L2_PIX_FMT_XRGB555,
67 .v4l2 = V4L2_PIX_FMT_XBGR32,
75 .v4l2 = V4L2_PIX_FMT_ABGR32,
83 .v4l2 = V4L2_PIX_FMT_UYVY,
91 .v4l2 = V4L2_PIX_FMT_YUYV,
99 .v4l2 = V4L2_PIX_FMT_NV12M,
107 .v4l2 = V4L2_PIX_FMT_NV21M,
115 .v4l2 = V4L2_PIX_FMT_NV16M,
[all …]
/drivers/media/common/v4l2-tpg/
DMakefile2 v4l2-tpg-objs := v4l2-tpg-core.o v4l2-tpg-colors.o
4 obj-$(CONFIG_VIDEO_V4L2_TPG) += v4l2-tpg.o
/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c78 struct sun6i_csi_v4l2 *v4l2 = &csi_dev->v4l2; in sun6i_csi_v4l2_setup() local
79 struct media_device *media_dev = &v4l2->media_dev; in sun6i_csi_v4l2_setup()
80 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; in sun6i_csi_v4l2_setup()
124 struct sun6i_csi_v4l2 *v4l2 = &csi_dev->v4l2; in sun6i_csi_v4l2_cleanup() local
126 media_device_unregister(&v4l2->media_dev); in sun6i_csi_v4l2_cleanup()
127 v4l2_device_unregister(&v4l2->v4l2_dev); in sun6i_csi_v4l2_cleanup()
128 media_device_cleanup(&v4l2->media_dev); in sun6i_csi_v4l2_cleanup()
/drivers/staging/media/atomisp/
DTODO44 * Remove/disable custom v4l2-ctrls
48 * Remove abuse of priv field in various v4l2 userspace API structs
51 picture, the exposure/gain needs to be tuned using v4l2-ctl on the sensor
73 * Ensure that the driver will pass v4l2-compliance tests
75 * Fix not all v4l2 apps working, e.g. cheese does not work
87 now is using v4l2-ctl to select the input and gstreamer for streaming.
91 v4l2-ctl -i <input>
111 v4l2-ctl on the sensor subdev to tweak the exposure ctrl; or by using a GUI
112 app for v4l2-controls which also supports subdev such as the Fedora patched
/drivers/staging/media/sunxi/sun6i-isp/
Dsun6i_isp.c187 struct sun6i_isp_v4l2 *v4l2 = &isp_dev->v4l2; in sun6i_isp_v4l2_setup() local
188 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; in sun6i_isp_v4l2_setup()
189 struct media_device *media_dev = &v4l2->media_dev; in sun6i_isp_v4l2_setup()
230 struct sun6i_isp_v4l2 *v4l2 = &isp_dev->v4l2; in sun6i_isp_v4l2_cleanup() local
232 media_device_unregister(&v4l2->media_dev); in sun6i_isp_v4l2_cleanup()
233 v4l2_device_unregister(&v4l2->v4l2_dev); in sun6i_isp_v4l2_cleanup()
234 media_device_cleanup(&v4l2->media_dev); in sun6i_isp_v4l2_cleanup()
/drivers/staging/vc04_services/bcm2835-camera/
DMakefile2 bcm2835-v4l2-$(CONFIG_VIDEO_BCM2835) := \
6 obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-v4l2.o
/drivers/media/pci/solo6x10/
DMakefile2 solo6x10-y := solo6x10-core.o solo6x10-i2c.o solo6x10-p2m.o solo6x10-v4l2.o \
4 solo6x10-v4l2-enc.o solo6x10-g723.o solo6x10-eeprom.o
/drivers/input/rmi4/
Drmi_f54.c120 struct v4l2_device v4l2; member
699 strscpy(f54->v4l2.name, F54_NAME, sizeof(f54->v4l2.name)); in rmi_f54_probe()
700 ret = v4l2_device_register(&fn->dev, &f54->v4l2); in rmi_f54_probe()
718 f54->vdev.v4l2_dev = &f54->v4l2; in rmi_f54_probe()
733 v4l2_device_unregister(&f54->v4l2); in rmi_f54_probe()
745 v4l2_device_unregister(&f54->v4l2); in rmi_f54_remove()
/drivers/media/usb/au0828/
DKconfig23 bool "Auvitek AU0828 v4l2 analog video support"
32 Choose Y here to include support for v4l2 analog video
/drivers/staging/media/deprecated/atmel/
DKconfig19 as a v4l2 device.
38 available as a v4l2 device.
/drivers/input/touchscreen/
Dsur40.c211 struct v4l2_device v4l2; member
737 snprintf(sur40->v4l2.name, sizeof(sur40->v4l2.name), "%s", DRIVER_LONG); in sur40_probe()
738 error = v4l2_device_register(sur40->dev, &sur40->v4l2); in sur40_probe()
758 sur40->vdev.v4l2_dev = &sur40->v4l2; in sur40_probe()
765 sur40->v4l2.ctrl_handler = &sur40->hdl; in sur40_probe()
810 v4l2_device_unregister(&sur40->v4l2); in sur40_probe()
828 v4l2_device_unregister(&sur40->v4l2); in sur40_disconnect()
/drivers/media/platform/microchip/
DKconfig18 as a v4l2 device.
36 available as a v4l2 device.
/drivers/media/platform/st/sti/bdisp/
DMakefile4 bdisp-objs := bdisp-v4l2.o bdisp-hw.o bdisp-debug.o
/drivers/media/test-drivers/vicodec/
DMakefile2 vicodec-objs := vicodec-core.o codec-fwht.o codec-v4l2-fwht.o
/drivers/media/platform/nvidia/tegra-vde/
DMakefile2 tegra-vde-y := vde.o iommu.o dmabuf-cache.o h264.o v4l2.o
/drivers/media/platform/renesas/rcar-vin/
DMakefile2 rcar-vin-objs = rcar-core.o rcar-dma.o rcar-v4l2.o
/drivers/media/platform/st/sti/hva/
DMakefile3 st-hva-y := hva-v4l2.o hva-hw.o hva-mem.o hva-h264.o
/drivers/media/common/
DMakefile2 obj-y += b2c2/ saa7146/ siano/ v4l2-tpg/ videobuf2/
/drivers/media/platform/st/sti/delta/
DMakefile3 st-delta-y := delta-v4l2.o delta-mem.o delta-ipc.o delta-debug.o
/drivers/staging/media/tegra-video/
DTODO5 * Make sure v4l2-compliance tests pass with all of the above implementations.

123