Home
last modified time | relevance | path

Searched refs:v4l_device (Results 1 – 9 of 9) sorted by relevance

/drivers/media/video/cx23885/
Dcx23885-ioctl.c63 if (dev->v4l_device != NULL) { in cx23885_g_chip_ident()
120 if (dev->v4l_device == NULL) in cx23417_g_register()
172 if (dev->v4l_device == NULL) in cx23417_s_register()
Dcx23885-417.c1712 if (dev->v4l_device) { in cx23885_417_unregister()
1713 if (video_is_registered(dev->v4l_device)) in cx23885_417_unregister()
1714 video_unregister_device(dev->v4l_device); in cx23885_417_unregister()
1716 video_device_release(dev->v4l_device); in cx23885_417_unregister()
1717 dev->v4l_device = NULL; in cx23885_417_unregister()
1768 dev->v4l_device = cx23885_video_dev_alloc(tsport, in cx23885_417_register()
1770 video_set_drvdata(dev->v4l_device, dev); in cx23885_417_register()
1771 err = video_register_device(dev->v4l_device, in cx23885_417_register()
1779 dev->name, video_device_node_name(dev->v4l_device)); in cx23885_417_register()
Dcx23885.h437 struct video_device *v4l_device; member
/drivers/media/video/saa7164/
Dsaa7164-vbi.c1200 if (!video_is_registered(port->v4l_device)) in fops_poll()
1324 port->v4l_device = saa7164_vbi_alloc(port, in saa7164_vbi_register()
1327 if (!port->v4l_device) { in saa7164_vbi_register()
1334 video_set_drvdata(port->v4l_device, port); in saa7164_vbi_register()
1335 result = video_register_device(port->v4l_device, in saa7164_vbi_register()
1347 dev->name, port->v4l_device->num); in saa7164_vbi_register()
1365 if (port->v4l_device) { in saa7164_vbi_unregister()
1366 if (port->v4l_device->minor != -1) in saa7164_vbi_unregister()
1367 video_unregister_device(port->v4l_device); in saa7164_vbi_unregister()
1369 video_device_release(port->v4l_device); in saa7164_vbi_unregister()
[all …]
Dsaa7164-encoder.c1254 if (!video_is_registered(port->v4l_device)) in fops_poll()
1433 port->v4l_device = saa7164_encoder_alloc(port, in saa7164_encoder_register()
1436 if (!port->v4l_device) { in saa7164_encoder_register()
1443 video_set_drvdata(port->v4l_device, port); in saa7164_encoder_register()
1444 result = video_register_device(port->v4l_device, in saa7164_encoder_register()
1456 dev->name, port->v4l_device->num); in saa7164_encoder_register()
1489 if (port->v4l_device) { in saa7164_encoder_unregister()
1490 if (port->v4l_device->minor != -1) in saa7164_encoder_unregister()
1491 video_unregister_device(port->v4l_device); in saa7164_encoder_unregister()
1493 video_device_release(port->v4l_device); in saa7164_encoder_unregister()
[all …]
Dsaa7164.h408 struct video_device *v4l_device; member
/drivers/media/video/cx231xx/
Dcx231xx-417.c1924 if (h->v4l_device->minor == minor) in mpeg_open()
2122 if (dev->v4l_device) { in cx231xx_417_unregister()
2123 if (-1 != dev->v4l_device->minor) in cx231xx_417_unregister()
2124 video_unregister_device(dev->v4l_device); in cx231xx_417_unregister()
2126 video_device_release(dev->v4l_device); in cx231xx_417_unregister()
2127 dev->v4l_device = NULL; in cx231xx_417_unregister()
2178 dev->v4l_device = cx231xx_video_dev_alloc(dev, in cx231xx_417_register()
2180 err = video_register_device(dev->v4l_device, in cx231xx_417_register()
2188 dev->name, dev->v4l_device->num); in cx231xx_417_register()
Dcx231xx.h741 struct video_device *v4l_device; member
/drivers/media/video/cx25821/
Dcx25821.h385 struct video_device *v4l_device; member