Home
last modified time | relevance | path

Searched refs:v4l2_dev (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-device.c17 int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) in v4l2_device_register() argument
19 if (v4l2_dev == NULL) in v4l2_device_register()
22 INIT_LIST_HEAD(&v4l2_dev->subdevs); in v4l2_device_register()
23 spin_lock_init(&v4l2_dev->lock); in v4l2_device_register()
24 v4l2_prio_init(&v4l2_dev->prio); in v4l2_device_register()
25 kref_init(&v4l2_dev->ref); in v4l2_device_register()
27 v4l2_dev->dev = dev; in v4l2_device_register()
30 if (WARN_ON(!v4l2_dev->name[0])) in v4l2_device_register()
36 if (!v4l2_dev->name[0]) in v4l2_device_register()
37 snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s %s", in v4l2_device_register()
[all …]
/linux-6.6.21/include/media/
Dv4l2-device.h58 void (*release)(struct v4l2_device *v4l2_dev);
69 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument
71 kref_get(&v4l2_dev->ref); in v4l2_device_get()
82 int v4l2_device_put(struct v4l2_device *v4l2_dev);
97 struct v4l2_device *v4l2_dev);
126 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename,
140 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev);
148 void v4l2_device_unregister(struct v4l2_device *v4l2_dev);
161 int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev,
187 __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev,
[all …]
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-alsa-main.c49 struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) in to_snd_cx18_card() argument
51 return to_cx18(v4l2_dev)->alsa; in to_snd_cx18_card()
59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free()
60 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free()
76 static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, in snd_cx18_card_create() argument
84 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create()
95 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names()
113 static int snd_cx18_init(struct v4l2_device *v4l2_dev) in snd_cx18_init() argument
115 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init()
137 ret = snd_cx18_card_create(v4l2_dev, sc, &cxsc); in snd_cx18_init()
[all …]
Dcx18-alsa.h11 struct v4l2_device *v4l2_dev; member
27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock()
33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock()
44 v4l2_dev->name , ## args); \
54 printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args)
57 printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args)
60 printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args)
/linux-6.6.21/drivers/media/pci/ivtv/
Divtv-alsa-main.c46 struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) in to_snd_ivtv_card() argument
48 return to_ivtv(v4l2_dev)->alsa; in to_snd_ivtv_card()
56 if (itvsc->v4l2_dev != NULL) in snd_ivtv_card_free()
57 to_ivtv(itvsc->v4l2_dev)->alsa = NULL; in snd_ivtv_card_free()
73 static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, in snd_ivtv_card_create() argument
81 (*itvsc)->v4l2_dev = v4l2_dev; in snd_ivtv_card_create()
92 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names()
110 static int snd_ivtv_init(struct v4l2_device *v4l2_dev) in snd_ivtv_init() argument
112 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init()
136 ret = snd_ivtv_card_create(v4l2_dev, sc, &itvsc); in snd_ivtv_init()
[all …]
Divtv-alsa.h12 struct v4l2_device *v4l2_dev; member
28 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock()
34 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock()
45 v4l2_dev->name , ## args); \
55 pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args)
58 pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args)
61 pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args)
/linux-6.6.21/drivers/media/radio/
Dradio-maxiradio.c73 struct v4l2_device v4l2_dev; member
79 static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) in to_maxiradio() argument
81 return container_of(v4l2_dev, struct maxiradio, v4l2_dev); in to_maxiradio()
122 struct v4l2_device *v4l2_dev; in maxiradio_probe() local
131 v4l2_dev = &dev->v4l2_dev; in maxiradio_probe()
132 v4l2_device_set_name(v4l2_dev, "maxiradio", &maxiradio_instance); in maxiradio_probe()
134 retval = v4l2_device_register(&pdev->dev, v4l2_dev); in maxiradio_probe()
136 v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); in maxiradio_probe()
144 dev->tea.v4l2_dev = v4l2_dev; in maxiradio_probe()
151 pci_resource_len(pdev, 0), v4l2_dev->name)) { in maxiradio_probe()
[all …]
Dradio-shark2.c53 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
59 struct v4l2_device v4l2_dev; member
85 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", in shark_write_reg()
93 v4l2_err(tea->v4l2_dev, "write error: %d\n", res); in shark_write_reg()
113 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); in shark_read_reg()
122 v4l2_err(tea->v4l2_dev, "read error: %d\n", res); in shark_read_reg()
129 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", in shark_read_reg()
162 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work()
213 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds()
217 v4l2_err(&shark->v4l2_dev, in shark_register_leds()
[all …]
Dradio-isa.c39 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap()
133 v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io); in radio_isa_log_status()
134 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); in radio_isa_log_status()
182 struct v4l2_device *v4l2_dev; in radio_isa_alloc() local
189 v4l2_dev = &isa->v4l2_dev; in radio_isa_alloc()
190 strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); in radio_isa_alloc()
201 struct v4l2_device *v4l2_dev = &isa->v4l2_dev; in radio_isa_common_probe() local
204 if (!request_region(isa->io, region_size, v4l2_dev->name)) { in radio_isa_common_probe()
205 v4l2_err(v4l2_dev, "port 0x%x already in use\n", isa->io); in radio_isa_common_probe()
210 res = v4l2_device_register(pdev, v4l2_dev); in radio_isa_common_probe()
[all …]
Dradio-shark.c56 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev)
63 struct v4l2_device v4l2_dev; member
101 v4l2_err(&shark->v4l2_dev, "set-freq error: %d\n", res); in shark_write_val()
117 v4l2_err(&shark->v4l2_dev, "request-status error: %d\n", res); in shark_read_val()
126 v4l2_err(&shark->v4l2_dev, "get-status error: %d\n", res); in shark_read_val()
177 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work()
247 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds()
251 v4l2_err(&shark->v4l2_dev, in shark_register_leds()
282 v4l2_warn(&shark->v4l2_dev, in shark_register_leds()
292 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); in usb_shark_disconnect() local
[all …]
Ddsbr100.c59 #define v4l2_dev_to_radio(d) container_of(d, struct dsbr100_device, v4l2_dev)
68 struct v4l2_device v4l2_dev; member
264 v4l2_device_disconnect(&radio->v4l2_dev); in usb_dsbr100_disconnect()
266 v4l2_device_put(&radio->v4l2_dev); in usb_dsbr100_disconnect()
299 static void usb_dsbr100_release(struct v4l2_device *v4l2_dev) in usb_dsbr100_release() argument
301 struct dsbr100_device *radio = v4l2_dev_to_radio(v4l2_dev); in usb_dsbr100_release()
304 v4l2_device_unregister(&radio->v4l2_dev); in usb_dsbr100_release()
338 struct v4l2_device *v4l2_dev; in usb_dsbr100_probe() local
353 v4l2_dev = &radio->v4l2_dev; in usb_dsbr100_probe()
354 v4l2_dev->release = usb_dsbr100_release; in usb_dsbr100_probe()
[all …]
Dradio-raremono.c108 struct v4l2_device v4l2_dev; member
116 static inline struct raremono_device *to_raremono_dev(struct v4l2_device *v4l2_dev) in to_raremono_dev() argument
118 return container_of(v4l2_dev, struct raremono_device, v4l2_dev); in to_raremono_dev()
150 dev_warn(radio->v4l2_dev.dev, "%s failed (%d)\n", __func__, ret); in raremono_cmd_main()
171 v4l2_device_disconnect(&radio->v4l2_dev); in usb_raremono_disconnect()
173 v4l2_device_put(&radio->v4l2_dev); in usb_raremono_disconnect()
226 dev_warn(radio->v4l2_dev.dev, "%s failed (%d)\n", __func__, ret); in vidioc_g_tuner()
272 static void raremono_device_release(struct v4l2_device *v4l2_dev) in raremono_device_release() argument
274 struct raremono_device *radio = to_raremono_dev(v4l2_dev); in raremono_device_release()
342 retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); in usb_raremono_probe()
[all …]
Dradio-timb.c26 struct v4l2_device v4l2_dev; member
117 strscpy(tr->v4l2_dev.name, DRIVER_NAME, sizeof(tr->v4l2_dev.name)); in timbradio_probe()
118 err = v4l2_device_register(NULL, &tr->v4l2_dev); in timbradio_probe()
122 tr->video_dev.v4l2_dev = &tr->v4l2_dev; in timbradio_probe()
124 tr->sd_tuner = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
126 tr->sd_dsp = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, in timbradio_probe()
133 tr->v4l2_dev.ctrl_handler = tr->sd_dsp->ctrl_handler; in timbradio_probe()
147 v4l2_device_unregister(&tr->v4l2_dev); in timbradio_probe()
159 v4l2_device_unregister(&tr->v4l2_dev); in timbradio_remove()
Dradio-sf16fmi.c49 struct v4l2_device v4l2_dev; member
275 struct v4l2_device *v4l2_dev = &fmi->v4l2_dev; in fmi_init() local
317 strscpy(v4l2_dev->name, "sf16fmi", sizeof(v4l2_dev->name)); in fmi_init()
320 res = v4l2_device_register(NULL, v4l2_dev); in fmi_init()
325 v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); in fmi_init()
332 v4l2_dev->ctrl_handler = hdl; in fmi_init()
335 v4l2_err(v4l2_dev, "Could not register controls\n"); in fmi_init()
337 v4l2_device_unregister(v4l2_dev); in fmi_init()
341 strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); in fmi_init()
342 fmi->vdev.v4l2_dev = v4l2_dev; in fmi_init()
[all …]
Dradio-ma901.c76 struct v4l2_device v4l2_dev; member
87 static inline struct ma901radio_device *to_ma901radio_dev(struct v4l2_device *v4l2_dev) in to_ma901radio_dev() argument
89 return container_of(v4l2_dev, struct ma901radio_device, v4l2_dev); in to_ma901radio_dev()
180 v4l2_device_disconnect(&radio->v4l2_dev); in usb_ma901radio_disconnect()
182 v4l2_device_put(&radio->v4l2_dev); in usb_ma901radio_disconnect()
321 static void usb_ma901radio_release(struct v4l2_device *v4l2_dev) in usb_ma901radio_release() argument
323 struct ma901radio_device *radio = to_ma901radio_dev(v4l2_dev); in usb_ma901radio_release()
326 v4l2_device_unregister(&radio->v4l2_dev); in usb_ma901radio_release()
363 retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); in usb_ma901radio_probe()
390 radio->v4l2_dev.ctrl_handler = &radio->hdl; in usb_ma901radio_probe()
[all …]
Dradio-keene.c51 struct v4l2_device v4l2_dev; member
64 static inline struct keene_device *to_keene_dev(struct v4l2_device *v4l2_dev) in to_keene_dev() argument
66 return container_of(v4l2_dev, struct keene_device, v4l2_dev); in to_keene_dev()
141 v4l2_device_disconnect(&radio->v4l2_dev); in usb_keene_disconnect()
143 v4l2_device_put(&radio->v4l2_dev); in usb_keene_disconnect()
283 static void usb_keene_video_device_release(struct v4l2_device *v4l2_dev) in usb_keene_video_device_release() argument
285 struct keene_device *radio = to_keene_dev(v4l2_dev); in usb_keene_video_device_release()
344 retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); in usb_keene_probe()
352 radio->v4l2_dev.ctrl_handler = hdl; in usb_keene_probe()
353 radio->v4l2_dev.release = usb_keene_video_device_release; in usb_keene_probe()
[all …]
Dradio-miropcm20.c63 struct v4l2_device v4l2_dev; member
206 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", dev->v4l2_dev.name); in vidioc_querycap()
388 dev->v4l2_dev.name); in pcm20_open()
390 v4l2_err(&dev->v4l2_dev, "kernel_thread() failed\n"); in pcm20_open()
435 struct v4l2_device *v4l2_dev = &dev->v4l2_dev; in pcm20_init() local
441 v4l2_err(v4l2_dev, in pcm20_init()
445 strscpy(v4l2_dev->name, "radio-miropcm20", sizeof(v4l2_dev->name)); in pcm20_init()
448 res = v4l2_device_register(NULL, v4l2_dev); in pcm20_init()
450 v4l2_err(v4l2_dev, "could not register v4l2_device\n"); in pcm20_init()
470 v4l2_dev->ctrl_handler = hdl; in pcm20_init()
[all …]
/linux-6.6.21/drivers/media/usb/hdpvr/
Dhdpvr-core.c126 v4l2_err(&dev->v4l2_dev, in device_authorization()
132 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, in device_authorization()
141 v4l2_info(&dev->v4l2_dev, "firmware version 0x%x dated %s\n", in device_authorization()
163 v4l2_info(&dev->v4l2_dev, "untested firmware, the driver might not work.\n"); in device_authorization()
172 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, "challenge: %8ph\n", in device_authorization()
177 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, " response: %8ph\n", in device_authorization()
188 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, in device_authorization()
218 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, in hdpvr_device_init()
229 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, in hdpvr_device_init()
238 v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, in hdpvr_device_init()
[all …]
/linux-6.6.21/drivers/staging/media/tegra-video/
Dvideo.c14 static void tegra_v4l2_dev_release(struct v4l2_device *v4l2_dev) in tegra_v4l2_dev_release() argument
18 vid = container_of(v4l2_dev, struct tegra_video_device, v4l2_dev); in tegra_v4l2_dev_release()
23 v4l2_device_unregister(v4l2_dev); in tegra_v4l2_dev_release()
67 vid->v4l2_dev.mdev = &vid->media_dev; in host1x_video_probe()
68 vid->v4l2_dev.release = tegra_v4l2_dev_release; in host1x_video_probe()
69 vid->v4l2_dev.notify = tegra_v4l2_dev_notify; in host1x_video_probe()
70 ret = v4l2_device_register(&dev->dev, &vid->v4l2_dev); in host1x_video_probe()
101 v4l2_device_unregister(&vid->v4l2_dev); in host1x_video_probe()
120 v4l2_device_put(&vid->v4l2_dev); in host1x_video_remove()
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-camera/
Dbcm2835-camera.c216 v4l2_err(&dev->v4l2_dev, in queue_setup()
225 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in queue_setup()
239 v4l2_err(&dev->v4l2_dev, in queue_setup()
258 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", in queue_setup()
271 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_init()
284 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_prepare()
292 v4l2_err(&dev->v4l2_dev, in buffer_prepare()
308 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_cleanup()
329 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb()
350 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb()
[all …]
/linux-6.6.21/drivers/media/radio/si4713/
Dradio-platform-si4713.c40 struct v4l2_device v4l2_dev; member
75 return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev; in get_v4l2_dev()
157 rval = v4l2_device_register(&pdev->dev, &rsdev->v4l2_dev); in radio_si4713_pdriver_probe()
164 rval = v4l2_device_register_subdev(&rsdev->v4l2_dev, sd); in radio_si4713_pdriver_probe()
171 rsdev->radio_dev.v4l2_dev = &rsdev->v4l2_dev; in radio_si4713_pdriver_probe()
187 v4l2_device_unregister(&rsdev->v4l2_dev); in radio_si4713_pdriver_probe()
195 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); in radio_si4713_pdriver_remove() local
198 rsdev = container_of(v4l2_dev, struct radio_si4713_device, v4l2_dev); in radio_si4713_pdriver_remove()
200 v4l2_device_unregister(&rsdev->v4l2_dev); in radio_si4713_pdriver_remove()
/linux-6.6.21/drivers/staging/most/video/
Dvideo.c38 struct v4l2_device v4l2_dev; member
87 v4l2_err(&mdev->v4l2_dev, "too many clients\n"); in comp_vdev_open()
100 v4l2_err(&mdev->v4l2_dev, "most_start_channel() failed\n"); in comp_vdev_open()
179 v4l2_err(&mdev->v4l2_dev, "read: copy_to_user failed\n"); in comp_vdev_read()
418 mdev->vdev->v4l2_dev = &mdev->v4l2_dev; in comp_register_videodev()
421 mdev->v4l2_dev.name); in comp_register_videodev()
427 v4l2_err(&mdev->v4l2_dev, "video_register_device failed (%d)\n", in comp_register_videodev()
440 static void comp_v4l2_dev_release(struct v4l2_device *v4l2_dev) in comp_v4l2_dev_release() argument
443 container_of(v4l2_dev, struct most_video_dev, v4l2_dev); in comp_v4l2_dev_release()
445 v4l2_device_unregister(v4l2_dev); in comp_v4l2_dev_release()
[all …]
/linux-6.6.21/drivers/media/usb/stk1160/
Dstk1160-core.c111 v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing, in stk1160_select_input()
150 static void stk1160_release(struct v4l2_device *v4l2_dev) in stk1160_release() argument
152 struct stk1160 *dev = container_of(v4l2_dev, struct stk1160, v4l2_dev); in stk1160_release()
159 v4l2_device_unregister(&dev->v4l2_dev); in stk1160_release()
339 dev->v4l2_dev.release = stk1160_release; in stk1160_probe()
340 dev->v4l2_dev.ctrl_handler = &dev->ctrl_handler; in stk1160_probe()
341 rc = v4l2_device_register(dev->dev, &dev->v4l2_dev); in stk1160_probe()
355 dev->sd_saa7115 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, in stk1160_probe()
359 v4l2_device_call_all(&dev->v4l2_dev, 0, core, reset, 0); in stk1160_probe()
360 v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); in stk1160_probe()
[all …]
/linux-6.6.21/drivers/media/platform/sunxi/sun6i-csi/
Dsun6i_csi.c29 struct v4l2_device *v4l2_dev) in sun6i_csi_isp_complete() argument
31 if (csi_dev->v4l2_dev && csi_dev->v4l2_dev != v4l2_dev) in sun6i_csi_isp_complete()
34 csi_dev->v4l2_dev = v4l2_dev; in sun6i_csi_isp_complete()
35 csi_dev->media_dev = v4l2_dev->mdev; in sun6i_csi_isp_complete()
80 struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; in sun6i_csi_v4l2_setup() local
102 v4l2_dev->mdev = media_dev; in sun6i_csi_v4l2_setup()
104 ret = v4l2_device_register(dev, v4l2_dev); in sun6i_csi_v4l2_setup()
110 csi_dev->v4l2_dev = v4l2_dev; in sun6i_csi_v4l2_setup()
127 v4l2_device_unregister(&v4l2->v4l2_dev); in sun6i_csi_v4l2_cleanup()
/linux-6.6.21/drivers/media/pci/tw68/
Dtw68-core.c222 dev->instance = v4l2_device_set_name(&dev->v4l2_dev, "tw68", in tw68_initdev()
225 err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); in tw68_initdev()
236 dev->name = dev->v4l2_dev.name; in tw68_initdev()
336 v4l2_device_unregister(&dev->v4l2_dev); in tw68_initdev()
342 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); in tw68_finidev() local
344 container_of(v4l2_dev, struct tw68_dev, v4l2_dev); in tw68_finidev()
359 v4l2_device_unregister(&dev->v4l2_dev); in tw68_finidev()
365 struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); in tw68_suspend() local
366 struct tw68_dev *dev = container_of(v4l2_dev, in tw68_suspend()
367 struct tw68_dev, v4l2_dev); in tw68_suspend()
[all …]

12345678910>>...17