Home
last modified time | relevance | path

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

/drivers/media/pci/cx23885/
Dcx23885-ioctl.c32 if (dev->v4l_device == NULL) in cx23885_g_chip_info()
46 if (dev->v4l_device == NULL) in cx23417_g_register()
81 if (dev->v4l_device == NULL) in cx23417_s_register()
Dcx23885-417.c1480 if (dev->v4l_device) { in cx23885_417_unregister()
1481 if (video_is_registered(dev->v4l_device)) in cx23885_417_unregister()
1482 video_unregister_device(dev->v4l_device); in cx23885_417_unregister()
1484 video_device_release(dev->v4l_device); in cx23885_417_unregister()
1486 dev->v4l_device = NULL; in cx23885_417_unregister()
1543 dev->v4l_device = cx23885_video_dev_alloc(tsport, in cx23885_417_register()
1560 video_set_drvdata(dev->v4l_device, dev); in cx23885_417_register()
1561 dev->v4l_device->lock = &dev->lock; in cx23885_417_register()
1562 dev->v4l_device->queue = q; in cx23885_417_register()
1563 err = video_register_device(dev->v4l_device, in cx23885_417_register()
[all …]
Dcx23885.h428 struct video_device *v4l_device; member
/drivers/media/pci/saa7164/
Dsaa7164-vbi.c1212 if (!video_is_registered(port->v4l_device)) in fops_poll()
1327 port->v4l_device = saa7164_vbi_alloc(port, in saa7164_vbi_register()
1330 if (!port->v4l_device) { in saa7164_vbi_register()
1338 video_set_drvdata(port->v4l_device, port); in saa7164_vbi_register()
1339 result = video_register_device(port->v4l_device, in saa7164_vbi_register()
1351 dev->name, port->v4l_device->num); in saa7164_vbi_register()
1369 if (port->v4l_device) { in saa7164_vbi_unregister()
1370 if (port->v4l_device->minor != -1) in saa7164_vbi_unregister()
1371 video_unregister_device(port->v4l_device); in saa7164_vbi_unregister()
1373 video_device_release(port->v4l_device); in saa7164_vbi_unregister()
[all …]
Dsaa7164-encoder.c1265 if (!video_is_registered(port->v4l_device)) in fops_poll()
1404 port->v4l_device = saa7164_encoder_alloc(port, in saa7164_encoder_register()
1407 if (!port->v4l_device) { in saa7164_encoder_register()
1414 video_set_drvdata(port->v4l_device, port); in saa7164_encoder_register()
1415 result = video_register_device(port->v4l_device, in saa7164_encoder_register()
1427 dev->name, port->v4l_device->num); in saa7164_encoder_register()
1460 if (port->v4l_device) { in saa7164_encoder_unregister()
1461 if (port->v4l_device->minor != -1) in saa7164_encoder_unregister()
1462 video_unregister_device(port->v4l_device); in saa7164_encoder_unregister()
1464 video_device_release(port->v4l_device); in saa7164_encoder_unregister()
[all …]
Dsaa7164.h407 struct video_device *v4l_device; member
/drivers/media/usb/cx231xx/
Dcx231xx-417.c1862 if (dev->v4l_device) { in cx231xx_417_unregister()
1863 if (-1 != dev->v4l_device->minor) in cx231xx_417_unregister()
1864 video_unregister_device(dev->v4l_device); in cx231xx_417_unregister()
1866 video_device_release(dev->v4l_device); in cx231xx_417_unregister()
1868 dev->v4l_device = NULL; in cx231xx_417_unregister()
1977 dev->v4l_device = cx231xx_video_dev_alloc(dev, in cx231xx_417_register()
1979 err = video_register_device(dev->v4l_device, in cx231xx_417_register()
1988 dev->name, dev->v4l_device->num); in cx231xx_417_register()
Dcx231xx.h723 struct video_device *v4l_device; member