/linux/drivers/media/v4l2-core/ |
H A D | v4l2-device.c | 17 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/include/media/ |
H A D | v4l2-device.h | 56 void (*release)(struct v4l2_device *v4l2_dev); 67 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument 69 kref_get(&v4l2_dev->ref); in v4l2_device_get() 80 int v4l2_device_put(struct v4l2_device *v4l2_dev); 95 struct v4l2_device *v4l2_dev); 124 int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, 138 void v4l2_device_disconnect(struct v4l2_device *v4l2_dev); 146 void v4l2_device_unregister(struct v4l2_device *v4l2_dev); 159 #define v4l2_device_register_subdev(v4l2_dev, sd) \ argument 160 __v4l2_device_register_subdev(v4l2_dev, sd, THIS_MODULE) [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-alsa-main.c | 49 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 …]
|
H A D | cx18-alsa.h | 11 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)
|
H A D | cx18-alsa-pcm.c | 138 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_open() local 139 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_capture_open() 185 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_capture_close() local 186 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_capture_close() 244 struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; in snd_cx18_pcm_create() local 245 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_pcm_create()
|
/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 46 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 …]
|
H A D | ivtv-alsa.h | 12 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)
|
H A D | ivtv-alsa-pcm.c | 135 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_open() local 136 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_capture_open() 189 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_capture_close() local 190 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_capture_close() 248 struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; in snd_ivtv_pcm_create() local 249 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_pcm_create()
|
/linux/drivers/media/radio/ |
H A D | radio-maxiradio.c | 73 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 …]
|
H A D | radio-shark2.c | 53 #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 …]
|
H A D | radio-shark.c | 56 #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 …]
|
H A D | dsbr100.c | 59 #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 …]
|
H A D | radio-raremono.c | 108 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 …]
|
H A D | radio-sf16fmi.c | 49 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 …]
|
H A D | radio-ma901.c | 76 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 …]
|
H A D | radio-keene.c | 51 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 …]
|
H A D | radio-mr800.c | 120 struct v4l2_device v4l2_dev; member 130 static inline struct amradio_device *to_amradio_dev(struct v4l2_device *v4l2_dev) in to_amradio_dev() argument 132 return container_of(v4l2_dev, struct amradio_device, v4l2_dev); in to_amradio_dev() 249 v4l2_device_disconnect(&radio->v4l2_dev); in usb_amradio_disconnect() 251 v4l2_device_put(&radio->v4l2_dev); in usb_amradio_disconnect() 486 static void usb_amradio_release(struct v4l2_device *v4l2_dev) in usb_amradio_release() argument 488 struct amradio_device *radio = to_amradio_dev(v4l2_dev); in usb_amradio_release() 492 v4l2_device_unregister(&radio->v4l2_dev); in usb_amradio_release() 520 retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); in usb_amradio_probe() 536 radio->v4l2_dev.ctrl_handler = &radio->hdl; in usb_amradio_probe() [all …]
|
/linux/drivers/media/usb/hdpvr/ |
H A D | hdpvr-core.c | 126 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/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 217 v4l2_err(&dev->v4l2_dev, in queue_setup() 226 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in queue_setup() 240 v4l2_err(&dev->v4l2_dev, in queue_setup() 259 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", in queue_setup() 272 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_init() 285 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_prepare() 293 v4l2_err(&dev->v4l2_dev, in buffer_prepare() 309 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_cleanup() 330 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() 351 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() [all …]
|
/linux/drivers/staging/media/tegra-video/ |
H A D | video.c | 14 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/drivers/staging/most/video/ |
H A D | video.c | 38 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/drivers/media/usb/stk1160/ |
H A D | stk1160-core.c | 111 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/drivers/media/pci/tw68/ |
H A D | tw68-core.c | 222 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 …]
|
/linux/drivers/media/radio/si4713/ |
H A D | radio-usb-si4713.c | 52 struct v4l2_device v4l2_dev; member 60 static inline struct si4713_usb_device *to_si4713_dev(struct v4l2_device *v4l2_dev) in to_si4713_dev() argument 62 return container_of(v4l2_dev, struct si4713_usb_device, v4l2_dev); in to_si4713_dev() 128 static void usb_si4713_video_device_release(struct v4l2_device *v4l2_dev) in usb_si4713_video_device_release() argument 130 struct si4713_usb_device *radio = to_si4713_dev(v4l2_dev); in usb_si4713_video_device_release() 134 v4l2_device_unregister(&radio->v4l2_dev); in usb_si4713_video_device_release() 437 usb_set_intfdata(intf, &radio->v4l2_dev); in usb_si4713_probe() 443 retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); in usb_si4713_probe() 456 sd = v4l2_i2c_new_subdev_board(&radio->v4l2_dev, adapter, in usb_si4713_probe() 466 radio->v4l2_dev.release = usb_si4713_video_device_release; in usb_si4713_probe() [all …]
|
/linux/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 37 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 70 v4l2_warn(&imxmd->v4l2_dev, "%s:%u has no vdev list!\n", in imx_media_add_vdev_to_pad() 128 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists() 182 ret = v4l2_device_register_subdev_nodes(&imxmd->v4l2_dev); in imx_media_probe_complete() 350 imxmd->v4l2_dev.mdev = &imxmd->md; in imx_media_dev_init() 351 imxmd->v4l2_dev.notify = imx_media_notify; in imx_media_dev_init() 352 strscpy(imxmd->v4l2_dev.name, "imx-media", in imx_media_dev_init() 353 sizeof(imxmd->v4l2_dev.name)); in imx_media_dev_init() 359 ret = v4l2_device_register(dev, &imxmd->v4l2_dev); in imx_media_dev_init() [all …]
|