Home
last modified time | relevance | path

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

/linux-2.6.39/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.c1726 if (dev->v4l_device) { in cx23885_417_unregister()
1727 if (video_is_registered(dev->v4l_device)) in cx23885_417_unregister()
1728 video_unregister_device(dev->v4l_device); in cx23885_417_unregister()
1730 video_device_release(dev->v4l_device); in cx23885_417_unregister()
1731 dev->v4l_device = NULL; in cx23885_417_unregister()
1782 dev->v4l_device = cx23885_video_dev_alloc(tsport, in cx23885_417_register()
1784 video_set_drvdata(dev->v4l_device, dev); in cx23885_417_register()
1785 err = video_register_device(dev->v4l_device, in cx23885_417_register()
1793 dev->name, video_device_node_name(dev->v4l_device)); in cx23885_417_register()
Dcx23885.h399 struct video_device *v4l_device; member
/linux-2.6.39/drivers/media/video/saa7164/
Dsaa7164-vbi.c1206 if (!video_is_registered(port->v4l_device)) in fops_poll()
1334 port->v4l_device = saa7164_vbi_alloc(port, in saa7164_vbi_register()
1337 if (!port->v4l_device) { in saa7164_vbi_register()
1344 video_set_drvdata(port->v4l_device, port); in saa7164_vbi_register()
1345 result = video_register_device(port->v4l_device, in saa7164_vbi_register()
1357 dev->name, port->v4l_device->num); in saa7164_vbi_register()
1375 if (port->v4l_device) { in saa7164_vbi_unregister()
1376 if (port->v4l_device->minor != -1) in saa7164_vbi_unregister()
1377 video_unregister_device(port->v4l_device); in saa7164_vbi_unregister()
1379 video_device_release(port->v4l_device); in saa7164_vbi_unregister()
[all …]
Dsaa7164-encoder.c1260 if (!video_is_registered(port->v4l_device)) in fops_poll()
1443 port->v4l_device = saa7164_encoder_alloc(port, in saa7164_encoder_register()
1446 if (!port->v4l_device) { in saa7164_encoder_register()
1453 video_set_drvdata(port->v4l_device, port); in saa7164_encoder_register()
1454 result = video_register_device(port->v4l_device, in saa7164_encoder_register()
1466 dev->name, port->v4l_device->num); in saa7164_encoder_register()
1499 if (port->v4l_device) { in saa7164_encoder_unregister()
1500 if (port->v4l_device->minor != -1) in saa7164_encoder_unregister()
1501 video_unregister_device(port->v4l_device); in saa7164_encoder_unregister()
1503 video_device_release(port->v4l_device); in saa7164_encoder_unregister()
[all …]
Dsaa7164.h407 struct video_device *v4l_device; member
/linux-2.6.39/drivers/media/video/cx231xx/
Dcx231xx-417.c1925 if (h->v4l_device->minor == minor) in mpeg_open()
2123 if (dev->v4l_device) { in cx231xx_417_unregister()
2124 if (-1 != dev->v4l_device->minor) in cx231xx_417_unregister()
2125 video_unregister_device(dev->v4l_device); in cx231xx_417_unregister()
2127 video_device_release(dev->v4l_device); in cx231xx_417_unregister()
2128 dev->v4l_device = NULL; in cx231xx_417_unregister()
2179 dev->v4l_device = cx231xx_video_dev_alloc(dev, in cx231xx_417_register()
2181 err = video_register_device(dev->v4l_device, in cx231xx_417_register()
2189 dev->name, dev->v4l_device->num); in cx231xx_417_register()
Dcx231xx.h738 struct video_device *v4l_device; member
/linux-2.6.39/drivers/staging/cx25821/
Dcx25821.h382 struct video_device *v4l_device; member