Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-ioctl.c22 if (dev->v4l_device == NULL) in cx23885_g_chip_info()
36 if (dev->v4l_device == NULL) in cx23417_g_register()
71 if (dev->v4l_device == NULL) in cx23417_s_register()
Dcx23885-417.c1459 if (dev->v4l_device) { in cx23885_417_unregister()
1460 if (video_is_registered(dev->v4l_device)) in cx23885_417_unregister()
1461 video_unregister_device(dev->v4l_device); in cx23885_417_unregister()
1463 video_device_release(dev->v4l_device); in cx23885_417_unregister()
1465 dev->v4l_device = NULL; in cx23885_417_unregister()
1522 dev->v4l_device = cx23885_video_dev_alloc(tsport, in cx23885_417_register()
1540 video_set_drvdata(dev->v4l_device, dev); in cx23885_417_register()
1541 dev->v4l_device->lock = &dev->lock; in cx23885_417_register()
1542 dev->v4l_device->queue = q; in cx23885_417_register()
1543 dev->v4l_device->device_caps = V4L2_CAP_VIDEO_CAPTURE | in cx23885_417_register()
[all …]
Dcx23885.h437 struct video_device *v4l_device; member
/kernel/linux/linux-5.10/drivers/media/pci/saa7164/
Dsaa7164-vbi.c614 if (!video_is_registered(port->v4l_device)) in fops_poll()
719 port->v4l_device = saa7164_vbi_alloc(port, in saa7164_vbi_register()
722 if (!port->v4l_device) { in saa7164_vbi_register()
730 video_set_drvdata(port->v4l_device, port); in saa7164_vbi_register()
731 result = video_register_device(port->v4l_device, in saa7164_vbi_register()
743 dev->name, port->v4l_device->num); in saa7164_vbi_register()
760 if (port->v4l_device) { in saa7164_vbi_unregister()
761 if (port->v4l_device->minor != -1) in saa7164_vbi_unregister()
762 video_unregister_device(port->v4l_device); in saa7164_vbi_unregister()
764 video_device_release(port->v4l_device); in saa7164_vbi_unregister()
[all …]
Dsaa7164-encoder.c1076 port->v4l_device = saa7164_encoder_alloc(port, in saa7164_encoder_register()
1079 if (!port->v4l_device) { in saa7164_encoder_register()
1086 port->v4l_device->ctrl_handler = hdl; in saa7164_encoder_register()
1088 video_set_drvdata(port->v4l_device, port); in saa7164_encoder_register()
1089 result = video_register_device(port->v4l_device, in saa7164_encoder_register()
1098 dev->name, port->v4l_device->num); in saa7164_encoder_register()
1119 video_device_release(port->v4l_device); in saa7164_encoder_register()
1120 port->v4l_device = NULL; in saa7164_encoder_register()
1135 if (port->v4l_device) { in saa7164_encoder_unregister()
1136 if (port->v4l_device->minor != -1) in saa7164_encoder_unregister()
[all …]
Dsaa7164.h399 struct video_device *v4l_device; member
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-417.c1668 if (video_is_registered(&dev->v4l_device)) { in cx231xx_417_unregister()
1669 video_unregister_device(&dev->v4l_device); in cx231xx_417_unregister()
1776 &dev->v4l_device, &cx231xx_mpeg_template, "mpeg"); in cx231xx_417_register()
1790 dev->v4l_device.queue = q; in cx231xx_417_register()
1792 err = video_register_device(&dev->v4l_device, in cx231xx_417_register()
1801 dev->name, dev->v4l_device.num); in cx231xx_417_register()
Dcx231xx.h708 struct video_device v4l_device; member