v4l2_dev 704 drivers/input/rmi4/rmi_f54.c f54->vdev.v4l2_dev = &f54->v4l2; v4l2_dev 2612 drivers/input/touchscreen/atmel_mxt_ts.c dbg->vdev.v4l2_dev = &dbg->v4l2; v4l2_dev 745 drivers/input/touchscreen/sur40.c sur40->vdev.v4l2_dev = &sur40->v4l2; v4l2_dev 465 drivers/media/common/saa7146/saa7146_core.c pci_set_drvdata(pci, &dev->v4l2_dev); v4l2_dev 497 drivers/media/common/saa7146/saa7146_core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 498 drivers/media/common/saa7146/saa7146_core.c struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); v4l2_dev 476 drivers/media/common/saa7146/saa7146_fops.c err = v4l2_device_register(&dev->pci->dev, &dev->v4l2_dev); v4l2_dev 496 drivers/media/common/saa7146/saa7146_fops.c dev->v4l2_dev.ctrl_handler = hdl; v4l2_dev 580 drivers/media/common/saa7146/saa7146_fops.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 606 drivers/media/common/saa7146/saa7146_fops.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 384 drivers/media/common/saa7146/saa7146_i2c.c struct v4l2_device *v4l2_dev = i2c_get_adapdata(adapter); v4l2_dev 385 drivers/media/common/saa7146/saa7146_i2c.c struct saa7146_dev *dev = to_saa7146_dev(v4l2_dev); v4l2_dev 412 drivers/media/common/saa7146/saa7146_i2c.c i2c_set_adapdata(i2c_adapter, &dev->v4l2_dev); v4l2_dev 961 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_prepare_buf(vdev->queue, vdev->v4l2_dev->mdev, p); v4l2_dev 980 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_qbuf(vdev->queue, vdev->v4l2_dev->mdev, p); v4l2_dev 110 drivers/media/dvb-frontends/rtl2832_sdr.c struct v4l2_device v4l2_dev; v4l2_dev 1298 drivers/media/dvb-frontends/rtl2832_sdr.c container_of(v, struct rtl2832_sdr_dev, v4l2_dev); v4l2_dev 1304 drivers/media/dvb-frontends/rtl2832_sdr.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1429 drivers/media/dvb-frontends/rtl2832_sdr.c dev->v4l2_dev.release = rtl2832_sdr_video_release; v4l2_dev 1430 drivers/media/dvb-frontends/rtl2832_sdr.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 1436 drivers/media/dvb-frontends/rtl2832_sdr.c dev->v4l2_dev.ctrl_handler = &dev->hdl; v4l2_dev 1437 drivers/media/dvb-frontends/rtl2832_sdr.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1455 drivers/media/dvb-frontends/rtl2832_sdr.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1476 drivers/media/dvb-frontends/rtl2832_sdr.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 1480 drivers/media/dvb-frontends/rtl2832_sdr.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 36 drivers/media/i2c/adv748x/adv748x-csi2.c struct v4l2_device *v4l2_dev, v4l2_dev 43 drivers/media/i2c/adv748x/adv748x-csi2.c if (!src->v4l2_dev) { v4l2_dev 44 drivers/media/i2c/adv748x/adv748x-csi2.c ret = v4l2_device_register_subdev(v4l2_dev, src); v4l2_dev 85 drivers/media/i2c/adv748x/adv748x-csi2.c ret = adv748x_csi2_register_link(tx, sd->v4l2_dev, v4l2_dev 101 drivers/media/i2c/adv748x/adv748x-csi2.c ret = adv748x_csi2_register_link(tx, sd->v4l2_dev, &state->hdmi.sd, v4l2_dev 431 drivers/media/i2c/adv748x/adv748x.h struct v4l2_device *v4l2_dev); v4l2_dev 242 drivers/media/i2c/bt819.c if (sd->v4l2_dev == NULL || sd->v4l2_dev->notify == NULL) v4l2_dev 294 drivers/media/i2c/bt819.c if (sd->v4l2_dev == NULL || sd->v4l2_dev->notify == NULL) v4l2_dev 1471 drivers/media/i2c/s5c73m3/s5c73m3-core.c ret = v4l2_device_register_subdev(sd->v4l2_dev, &state->sensor_sd); v4l2_dev 1473 drivers/media/i2c/s5c73m3/s5c73m3-core.c v4l2_err(sd->v4l2_dev, "Failed to register %s\n", v4l2_dev 333 drivers/media/i2c/s5k4ecgx.c err = request_firmware(&fw, S5K4ECGX_FIRMWARE, sd->v4l2_dev->dev); v4l2_dev 1751 drivers/media/i2c/s5k5baf.c ret = v4l2_device_register_subdev(sd->v4l2_dev, &state->cis_sd); v4l2_dev 2523 drivers/media/i2c/smiapp/smiapp-core.c rval = v4l2_device_register_subdev(sensor->src->sd.v4l2_dev, v4l2_dev 1373 drivers/media/i2c/tvp5150.c ret = media_device_register_entity(sd->v4l2_dev->mdev, input); v4l2_dev 52 drivers/media/i2c/video-i2c.c struct v4l2_device v4l2_dev; v4l2_dev 527 drivers/media/i2c/video-i2c.c "%s-vid-cap", data->v4l2_dev.name); v4l2_dev 573 drivers/media/i2c/video-i2c.c strscpy(vcap->driver, data->v4l2_dev.name, sizeof(vcap->driver)); v4l2_dev 747 drivers/media/i2c/video-i2c.c v4l2_device_unregister(&data->v4l2_dev); v4l2_dev 758 drivers/media/i2c/video-i2c.c struct v4l2_device *v4l2_dev; v4l2_dev 779 drivers/media/i2c/video-i2c.c v4l2_dev = &data->v4l2_dev; v4l2_dev 780 drivers/media/i2c/video-i2c.c strscpy(v4l2_dev->name, VIDEO_I2C_DRIVER, sizeof(v4l2_dev->name)); v4l2_dev 782 drivers/media/i2c/video-i2c.c ret = v4l2_device_register(&client->dev, v4l2_dev); v4l2_dev 810 drivers/media/i2c/video-i2c.c data->vdev.v4l2_dev = v4l2_dev; v4l2_dev 879 drivers/media/i2c/video-i2c.c v4l2_device_unregister(v4l2_dev); v4l2_dev 3537 drivers/media/pci/bt8xx/bttv-cards.c sd = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3562 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_msp34xx = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3576 drivers/media/pci/bt8xx/bttv-cards.c if (v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3584 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_tvaudio = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3603 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_msp34xx = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3607 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_msp34xx = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3617 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_tvaudio = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3622 drivers/media/pci/bt8xx/bttv-cards.c v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3633 drivers/media/pci/bt8xx/bttv-cards.c btv->sd_tda7432 = v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3659 drivers/media/pci/bt8xx/bttv-cards.c v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3662 drivers/media/pci/bt8xx/bttv-cards.c v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 3665 drivers/media/pci/bt8xx/bttv-cards.c v4l2_i2c_new_subdev(&btv->c.v4l2_dev, v4l2_dev 1861 drivers/media/pci/bt8xx/bttv-driver.c v4l2_ctrl_handler_log_status(vdev->ctrl_handler, btv->c.v4l2_dev.name); v4l2_dev 3371 drivers/media/pci/bt8xx/bttv-driver.c btv->c.v4l2_dev.name, risc->cpu, (unsigned long)risc->dma); v4l2_dev 3374 drivers/media/pci/bt8xx/bttv-driver.c btv->c.v4l2_dev.name, v4l2_dev 3379 drivers/media/pci/bt8xx/bttv-driver.c btv->c.v4l2_dev.name, v4l2_dev 3872 drivers/media/pci/bt8xx/bttv-driver.c vfd->v4l2_dev = &btv->c.v4l2_dev; v4l2_dev 3992 drivers/media/pci/bt8xx/bttv-driver.c snprintf(btv->c.v4l2_dev.name, sizeof(btv->c.v4l2_dev.name), v4l2_dev 4024 drivers/media/pci/bt8xx/bttv-driver.c btv->c.v4l2_dev.name)) { v4l2_dev 4033 drivers/media/pci/bt8xx/bttv-driver.c result = v4l2_device_register(&dev->dev, &btv->c.v4l2_dev); v4l2_dev 4040 drivers/media/pci/bt8xx/bttv-driver.c btv->c.v4l2_dev.ctrl_handler = hdl; v4l2_dev 4064 drivers/media/pci/bt8xx/bttv-driver.c IRQF_SHARED, btv->c.v4l2_dev.name, (void *)btv); v4l2_dev 4206 drivers/media/pci/bt8xx/bttv-driver.c v4l2_device_unregister(&btv->c.v4l2_dev); v4l2_dev 4219 drivers/media/pci/bt8xx/bttv-driver.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 4220 drivers/media/pci/bt8xx/bttv-driver.c struct bttv *btv = to_bttv(v4l2_dev); v4l2_dev 4259 drivers/media/pci/bt8xx/bttv-driver.c v4l2_device_unregister(&btv->c.v4l2_dev); v4l2_dev 4269 drivers/media/pci/bt8xx/bttv-driver.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 4270 drivers/media/pci/bt8xx/bttv-driver.c struct bttv *btv = to_bttv(v4l2_dev); v4l2_dev 4305 drivers/media/pci/bt8xx/bttv-driver.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 4306 drivers/media/pci/bt8xx/bttv-driver.c struct bttv *btv = to_bttv(v4l2_dev); v4l2_dev 222 drivers/media/pci/bt8xx/bttv-i2c.c struct v4l2_device *v4l2_dev = i2c_get_adapdata(i2c_adap); v4l2_dev 223 drivers/media/pci/bt8xx/bttv-i2c.c struct bttv *btv = to_bttv(v4l2_dev); v4l2_dev 367 drivers/media/pci/bt8xx/bttv-i2c.c i2c_set_adapdata(&btv->c.i2c_adap, &btv->c.v4l2_dev); v4l2_dev 379 drivers/media/pci/bt8xx/bttv-i2c.c do_i2c_scan(btv->c.v4l2_dev.name, &btv->i2c_client); v4l2_dev 205 drivers/media/pci/bt8xx/bttv.h struct v4l2_device v4l2_dev; v4l2_dev 366 drivers/media/pci/bt8xx/bttv.h v4l2_device_call_all(&btv->c.v4l2_dev, 0, o, f, ##args) v4l2_dev 369 drivers/media/pci/bt8xx/bttv.h v4l2_device_call_until_err(&btv->c.v4l2_dev, 0, o, f, ##args) v4l2_dev 498 drivers/media/pci/bt8xx/bttvp.h static inline struct bttv *to_bttv(struct v4l2_device *v4l2_dev) v4l2_dev 500 drivers/media/pci/bt8xx/bttvp.h return container_of(v4l2_dev, struct bttv, c.v4l2_dev); v4l2_dev 812 drivers/media/pci/bt8xx/dvb-bt8xx.c strscpy(card->card_name, sub->core->v4l2_dev.name, v4l2_dev 125 drivers/media/pci/cobalt/cobalt-driver.c struct cobalt *cobalt = to_cobalt(sd->v4l2_dev); v4l2_dev 138 drivers/media/pci/cobalt/cobalt-driver.c struct cobalt *cobalt = to_cobalt(sd->v4l2_dev); v4l2_dev 379 drivers/media/pci/cobalt/cobalt-driver.c cobalt->v4l2_dev.name, (void *)cobalt)) { v4l2_dev 512 drivers/media/pci/cobalt/cobalt-driver.c s[i].sd = v4l2_i2c_new_subdev_board(&cobalt->v4l2_dev, v4l2_dev 604 drivers/media/pci/cobalt/cobalt-driver.c s->sd = v4l2_i2c_new_subdev_board(&cobalt->v4l2_dev, v4l2_dev 632 drivers/media/pci/cobalt/cobalt-driver.c s->sd = v4l2_i2c_new_subdev_board(&cobalt->v4l2_dev, v4l2_dev 671 drivers/media/pci/cobalt/cobalt-driver.c retval = v4l2_device_register(&pci_dev->dev, &cobalt->v4l2_dev); v4l2_dev 678 drivers/media/pci/cobalt/cobalt-driver.c snprintf(cobalt->v4l2_dev.name, sizeof(cobalt->v4l2_dev.name), v4l2_dev 680 drivers/media/pci/cobalt/cobalt-driver.c cobalt->v4l2_dev.notify = cobalt_notify; v4l2_dev 684 drivers/media/pci/cobalt/cobalt-driver.c create_singlethread_workqueue(cobalt->v4l2_dev.name); v4l2_dev 727 drivers/media/pci/cobalt/cobalt-driver.c v4l2_device_call_all(&cobalt->v4l2_dev, 0, core, v4l2_dev 749 drivers/media/pci/cobalt/cobalt-driver.c v4l2_device_unregister(&cobalt->v4l2_dev); v4l2_dev 756 drivers/media/pci/cobalt/cobalt-driver.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 757 drivers/media/pci/cobalt/cobalt-driver.c struct cobalt *cobalt = to_cobalt(v4l2_dev); v4l2_dev 784 drivers/media/pci/cobalt/cobalt-driver.c v4l2_device_unregister(v4l2_dev); v4l2_dev 158 drivers/media/pci/cobalt/cobalt-driver.h #define cobalt_err(fmt, arg...) v4l2_err(&cobalt->v4l2_dev, fmt, ## arg) v4l2_dev 159 drivers/media/pci/cobalt/cobalt-driver.h #define cobalt_warn(fmt, arg...) v4l2_warn(&cobalt->v4l2_dev, fmt, ## arg) v4l2_dev 160 drivers/media/pci/cobalt/cobalt-driver.h #define cobalt_info(fmt, arg...) v4l2_info(&cobalt->v4l2_dev, fmt, ## arg) v4l2_dev 162 drivers/media/pci/cobalt/cobalt-driver.h v4l2_dbg(level, cobalt_debug, &cobalt->v4l2_dev, fmt, ## arg) v4l2_dev 253 drivers/media/pci/cobalt/cobalt-driver.h struct v4l2_device v4l2_dev; v4l2_dev 290 drivers/media/pci/cobalt/cobalt-driver.h static inline struct cobalt *to_cobalt(struct v4l2_device *v4l2_dev) v4l2_dev 292 drivers/media/pci/cobalt/cobalt-driver.h return container_of(v4l2_dev, struct cobalt, v4l2_dev); v4l2_dev 357 drivers/media/pci/cobalt/cobalt-i2c.c i2c_set_adapdata(adap, &cobalt->v4l2_dev); v4l2_dev 1212 drivers/media/pci/cobalt/cobalt-v4l2.c "%s-%d", cobalt->v4l2_dev.name, node); v4l2_dev 1233 drivers/media/pci/cobalt/cobalt-v4l2.c vdev->v4l2_dev = &cobalt->v4l2_dev; v4l2_dev 50 drivers/media/pci/cx18/cx18-alsa-main.c struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) v4l2_dev 52 drivers/media/pci/cx18/cx18-alsa-main.c return to_cx18(v4l2_dev)->alsa; v4l2_dev 56 drivers/media/pci/cx18/cx18-alsa-main.c struct snd_cx18_card *p_to_snd_cx18_card(struct v4l2_device **v4l2_dev) v4l2_dev 58 drivers/media/pci/cx18/cx18-alsa-main.c return container_of(v4l2_dev, struct snd_cx18_card, v4l2_dev); v4l2_dev 66 drivers/media/pci/cx18/cx18-alsa-main.c if (cxsc->v4l2_dev != NULL) v4l2_dev 67 drivers/media/pci/cx18/cx18-alsa-main.c to_cx18(cxsc->v4l2_dev)->alsa = NULL; v4l2_dev 83 drivers/media/pci/cx18/cx18-alsa-main.c static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, v4l2_dev 91 drivers/media/pci/cx18/cx18-alsa-main.c (*cxsc)->v4l2_dev = v4l2_dev; v4l2_dev 102 drivers/media/pci/cx18/cx18-alsa-main.c struct cx18 *cx = to_cx18(cxsc->v4l2_dev); v4l2_dev 120 drivers/media/pci/cx18/cx18-alsa-main.c static int snd_cx18_init(struct v4l2_device *v4l2_dev) v4l2_dev 122 drivers/media/pci/cx18/cx18-alsa-main.c struct cx18 *cx = to_cx18(v4l2_dev); v4l2_dev 144 drivers/media/pci/cx18/cx18-alsa-main.c ret = snd_cx18_card_create(v4l2_dev, sc, &cxsc); v4l2_dev 188 drivers/media/pci/cx18/cx18-alsa-main.c struct v4l2_device *v4l2_dev = &cx->v4l2_dev; v4l2_dev 191 drivers/media/pci/cx18/cx18-alsa-main.c if (v4l2_dev == NULL) { v4l2_dev 197 drivers/media/pci/cx18/cx18-alsa-main.c cx = to_cx18(v4l2_dev); v4l2_dev 204 drivers/media/pci/cx18/cx18-alsa-main.c if (s->video_dev.v4l2_dev == NULL) { v4l2_dev 216 drivers/media/pci/cx18/cx18-alsa-main.c if (snd_cx18_init(v4l2_dev)) { v4l2_dev 235 drivers/media/pci/cx18/cx18-alsa-main.c struct cx18 *cx = to_cx18(cxsc->v4l2_dev); v4l2_dev 245 drivers/media/pci/cx18/cx18-alsa-main.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 248 drivers/media/pci/cx18/cx18-alsa-main.c if (v4l2_dev == NULL) { v4l2_dev 254 drivers/media/pci/cx18/cx18-alsa-main.c cxsc = to_snd_cx18_card(v4l2_dev); v4l2_dev 139 drivers/media/pci/cx18/cx18-alsa-pcm.c struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; v4l2_dev 140 drivers/media/pci/cx18/cx18-alsa-pcm.c struct cx18 *cx = to_cx18(v4l2_dev); v4l2_dev 186 drivers/media/pci/cx18/cx18-alsa-pcm.c struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; v4l2_dev 187 drivers/media/pci/cx18/cx18-alsa-pcm.c struct cx18 *cx = to_cx18(v4l2_dev); v4l2_dev 318 drivers/media/pci/cx18/cx18-alsa-pcm.c struct v4l2_device *v4l2_dev = cxsc->v4l2_dev; v4l2_dev 319 drivers/media/pci/cx18/cx18-alsa-pcm.c struct cx18 *cx = to_cx18(v4l2_dev); v4l2_dev 11 drivers/media/pci/cx18/cx18-alsa.h struct v4l2_device *v4l2_dev; v4l2_dev 27 drivers/media/pci/cx18/cx18-alsa.h struct cx18 *cx = to_cx18(cxsc->v4l2_dev); v4l2_dev 33 drivers/media/pci/cx18/cx18-alsa.h struct cx18 *cx = to_cx18(cxsc->v4l2_dev); v4l2_dev 44 drivers/media/pci/cx18/cx18-alsa.h v4l2_dev->name , ## args); \ v4l2_dev 54 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 57 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 60 drivers/media/pci/cx18/cx18-alsa.h printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 1318 drivers/media/pci/cx18/cx18-av-core.c "%s %03x", cx->v4l2_dev.name, (state->rev >> 4)); v4l2_dev 1352 drivers/media/pci/cx18/cx18-av-core.c err = v4l2_device_register_subdev(&cx->v4l2_dev, sd); v4l2_dev 690 drivers/media/pci/cx18/cx18-driver.c cx->v4l2_dev.name); v4l2_dev 743 drivers/media/pci/cx18/cx18-driver.c cx->v4l2_dev.ctrl_handler = &cx->cxhdl.hdl; v4l2_dev 910 drivers/media/pci/cx18/cx18-driver.c retval = v4l2_device_register(&pci_dev->dev, &cx->v4l2_dev); v4l2_dev 917 drivers/media/pci/cx18/cx18-driver.c snprintf(cx->v4l2_dev.name, sizeof(cx->v4l2_dev.name), "cx18-%d", v4l2_dev 1020 drivers/media/pci/cx18/cx18-driver.c IRQF_SHARED, cx->v4l2_dev.name, (void *)cx); v4l2_dev 1130 drivers/media/pci/cx18/cx18-driver.c v4l2_device_unregister(&cx->v4l2_dev); v4l2_dev 1246 drivers/media/pci/cx18/cx18-driver.c if (cx->streams[i].video_dev.v4l2_dev) v4l2_dev 1252 drivers/media/pci/cx18/cx18-driver.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 1253 drivers/media/pci/cx18/cx18-driver.c struct cx18 *cx = to_cx18(v4l2_dev); v4l2_dev 1299 drivers/media/pci/cx18/cx18-driver.c v4l2_device_unregister(v4l2_dev); v4l2_dev 162 drivers/media/pci/cx18/cx18-driver.h v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ v4l2_dev 176 drivers/media/pci/cx18/cx18-driver.h v4l2_info(&cx->v4l2_dev, " " type ": " fmt , ## args); \ v4l2_dev 188 drivers/media/pci/cx18/cx18-driver.h #define CX18_ERR(fmt, args...) v4l2_err(&cx->v4l2_dev, fmt , ## args) v4l2_dev 189 drivers/media/pci/cx18/cx18-driver.h #define CX18_WARN(fmt, args...) v4l2_warn(&cx->v4l2_dev, fmt , ## args) v4l2_dev 190 drivers/media/pci/cx18/cx18-driver.h #define CX18_INFO(fmt, args...) v4l2_info(&cx->v4l2_dev, fmt , ## args) v4l2_dev 565 drivers/media/pci/cx18/cx18-driver.h struct v4l2_device v4l2_dev; v4l2_dev 664 drivers/media/pci/cx18/cx18-driver.h static inline struct cx18 *to_cx18(struct v4l2_device *v4l2_dev) v4l2_dev 666 drivers/media/pci/cx18/cx18-driver.h return container_of(v4l2_dev, struct cx18, v4l2_dev); v4l2_dev 696 drivers/media/pci/cx18/cx18-driver.h v4l2_device_mask_call_all(&(cx)->v4l2_dev, hw, o, f, ##args) v4l2_dev 704 drivers/media/pci/cx18/cx18-driver.h v4l2_device_mask_call_until_err(&(cx)->v4l2_dev, hw, o, f, ##args) v4l2_dev 303 drivers/media/pci/cx18/cx18-gpio.c snprintf(sd->name, sizeof(sd->name), "%s %s", cx->v4l2_dev.name, str); v4l2_dev 305 drivers/media/pci/cx18/cx18-gpio.c return v4l2_device_register_subdev(&cx->v4l2_dev, sd); v4l2_dev 105 drivers/media/pci/cx18/cx18-i2c.c sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, v4l2_dev 109 drivers/media/pci/cx18/cx18-i2c.c sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, v4l2_dev 113 drivers/media/pci/cx18/cx18-i2c.c sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, v4l2_dev 128 drivers/media/pci/cx18/cx18-i2c.c sd = v4l2_i2c_new_subdev(&cx->v4l2_dev, adap, type, hw_addrs[idx], v4l2_dev 141 drivers/media/pci/cx18/cx18-i2c.c spin_lock(&cx->v4l2_dev.lock); v4l2_dev 142 drivers/media/pci/cx18/cx18-i2c.c v4l2_device_for_each_subdev(sd, &cx->v4l2_dev) { v4l2_dev 148 drivers/media/pci/cx18/cx18-i2c.c spin_unlock(&cx->v4l2_dev.lock); v4l2_dev 234 drivers/media/pci/cx18/cx18-i2c.c i2c_set_adapdata(&cx->i2c_adap[i], &cx->v4l2_dev); v4l2_dev 1025 drivers/media/pci/cx18/cx18-ioctl.c v4l2_ctrl_handler_log_status(&cx->cxhdl.hdl, cx->v4l2_dev.name); v4l2_dev 1030 drivers/media/pci/cx18/cx18-ioctl.c if (s->video_dev.v4l2_dev == NULL || s->buffers == 0) v4l2_dev 310 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = NULL; v4l2_dev 355 drivers/media/pci/cx18/cx18-streams.c cx->v4l2_dev.name, s->name); v4l2_dev 358 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = &cx->v4l2_dev; v4l2_dev 410 drivers/media/pci/cx18/cx18-streams.c if (s->video_dev.v4l2_dev == NULL) v4l2_dev 419 drivers/media/pci/cx18/cx18-streams.c if (s_mpg->video_dev.v4l2_dev) v4l2_dev 430 drivers/media/pci/cx18/cx18-streams.c s->video_dev.v4l2_dev = NULL; v4l2_dev 525 drivers/media/pci/cx18/cx18-streams.c if (vdev->v4l2_dev == NULL) v4l2_dev 1018 drivers/media/pci/cx18/cx18-streams.c if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE)) v4l2_dev 22 drivers/media/pci/cx18/cx18-streams.h return s->video_dev.v4l2_dev || v4l2_dev 1486 drivers/media/pci/cx23885/cx23885-417.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 2375 drivers/media/pci/cx23885/cx23885-cards.c dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 2391 drivers/media/pci/cx23885/cx23885-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 2397 drivers/media/pci/cx23885/cx23885-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 2401 drivers/media/pci/cx23885/cx23885-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 861 drivers/media/pci/cx23885/cx23885-core.c spin_lock(&dev->v4l2_dev.lock); v4l2_dev 862 drivers/media/pci/cx23885/cx23885-core.c v4l2_device_for_each_subdev(sd, &dev->v4l2_dev) { v4l2_dev 868 drivers/media/pci/cx23885/cx23885-core.c spin_unlock(&dev->v4l2_dev.lock); v4l2_dev 1949 drivers/media/pci/cx23885/cx23885-core.c dev = to_cx23885(sd->v4l2_dev); v4l2_dev 1968 drivers/media/pci/cx23885/cx23885-core.c dev->v4l2_dev.notify = cx23885_v4l2_dev_notify; v4l2_dev 2113 drivers/media/pci/cx23885/cx23885-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 2123 drivers/media/pci/cx23885/cx23885-core.c dev->v4l2_dev.ctrl_handler = hdl; v4l2_dev 2187 drivers/media/pci/cx23885/cx23885-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2195 drivers/media/pci/cx23885/cx23885-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 2196 drivers/media/pci/cx23885/cx23885-core.c struct cx23885_dev *dev = to_cx23885(v4l2_dev); v4l2_dev 2210 drivers/media/pci/cx23885/cx23885-core.c v4l2_device_unregister(v4l2_dev); v4l2_dev 313 drivers/media/pci/cx23885/cx23885-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); v4l2_dev 26 drivers/media/pci/cx23885/cx23885-ioctl.c strscpy(chip->name, dev->v4l2_dev.name, sizeof(chip->name)); v4l2_dev 65 drivers/media/pci/cx23885/cx23885-ir.c struct cx23885_dev *dev = to_cx23885(sd->v4l2_dev); v4l2_dev 90 drivers/media/pci/cx23885/cx23885-ir.c struct cx23885_dev *dev = to_cx23885(sd->v4l2_dev); v4l2_dev 154 drivers/media/pci/cx23885/cx23885-video.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1213 drivers/media/pci/cx23885/cx23885-video.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 1217 drivers/media/pci/cx23885/cx23885-video.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 354 drivers/media/pci/cx23885/cx23885.h struct v4l2_device v4l2_dev; v4l2_dev 448 drivers/media/pci/cx23885/cx23885.h static inline struct cx23885_dev *to_cx23885(struct v4l2_device *v4l2_dev) v4l2_dev 450 drivers/media/pci/cx23885/cx23885.h return container_of(v4l2_dev, struct cx23885_dev, v4l2_dev); v4l2_dev 454 drivers/media/pci/cx23885/cx23885.h v4l2_device_call_all(&dev->v4l2_dev, 0, o, f, ##args) v4l2_dev 460 drivers/media/pci/cx23885/cx23885.h v4l2_device_call_all(&dev->v4l2_dev, grpid, o, f, ##args) v4l2_dev 1182 drivers/media/pci/cx23885/cx23888-ir.c ret = v4l2_device_register_subdev(&dev->v4l2_dev, sd); v4l2_dev 778 drivers/media/pci/cx25821/cx25821-alsa.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 779 drivers/media/pci/cx25821/cx25821-alsa.c struct cx25821_dev *cxdev = get_cx25821(v4l2_dev); v4l2_dev 797 drivers/media/pci/cx25821/cx25821-alsa.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 798 drivers/media/pci/cx25821/cx25821-alsa.c struct cx25821_dev *cxdev = get_cx25821(v4l2_dev); v4l2_dev 1278 drivers/media/pci/cx25821/cx25821-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 1328 drivers/media/pci/cx25821/cx25821-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1337 drivers/media/pci/cx25821/cx25821-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 1338 drivers/media/pci/cx25821/cx25821-core.c struct cx25821_dev *dev = get_cx25821(v4l2_dev); v4l2_dev 1348 drivers/media/pci/cx25821/cx25821-core.c v4l2_device_unregister(v4l2_dev); v4l2_dev 302 drivers/media/pci/cx25821/cx25821-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); v4l2_dev 750 drivers/media/pci/cx25821/cx25821-video.c vdev->v4l2_dev = &dev->v4l2_dev; v4l2_dev 222 drivers/media/pci/cx25821/cx25821.h struct v4l2_device v4l2_dev; v4l2_dev 289 drivers/media/pci/cx25821/cx25821.h static inline struct cx25821_dev *get_cx25821(struct v4l2_device *v4l2_dev) v4l2_dev 291 drivers/media/pci/cx25821/cx25821.h return container_of(v4l2_dev, struct cx25821_dev, v4l2_dev); v4l2_dev 3687 drivers/media/pci/cx88/cx88-cards.c strscpy(core->v4l2_dev.name, core->name, sizeof(core->v4l2_dev.name)); v4l2_dev 3688 drivers/media/pci/cx88/cx88-cards.c if (v4l2_device_register(NULL, &core->v4l2_dev)) { v4l2_dev 3694 drivers/media/pci/cx88/cx88-cards.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 3701 drivers/media/pci/cx88/cx88-cards.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 3709 drivers/media/pci/cx88/cx88-cards.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 3725 drivers/media/pci/cx88/cx88-cards.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 3788 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, v4l2_dev 3792 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, v4l2_dev 3796 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, v4l2_dev 3800 drivers/media/pci/cx88/cx88-cards.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, v4l2_dev 1022 drivers/media/pci/cx88/cx88-core.c vfd->v4l2_dev = &core->v4l2_dev; v4l2_dev 1083 drivers/media/pci/cx88/cx88-core.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 137 drivers/media/pci/cx88/cx88-i2c.c i2c_set_adapdata(&core->i2c_adap, &core->v4l2_dev); v4l2_dev 1363 drivers/media/pci/cx88/cx88-video.c sd = v4l2_i2c_new_subdev_board(&core->v4l2_dev, &core->i2c_adap, v4l2_dev 1376 drivers/media/pci/cx88/cx88-video.c v4l2_i2c_new_subdev(&core->v4l2_dev, &core->i2c_adap, v4l2_dev 355 drivers/media/pci/cx88/cx88.h struct v4l2_device v4l2_dev; v4l2_dev 411 drivers/media/pci/cx88/cx88.h static inline struct cx88_core *to_core(struct v4l2_device *v4l2_dev) v4l2_dev 413 drivers/media/pci/cx88/cx88.h return container_of(v4l2_dev, struct cx88_core, v4l2_dev); v4l2_dev 421 drivers/media/pci/cx88/cx88.h v4l2_device_call_all(&core->v4l2_dev, \ v4l2_dev 505 drivers/media/pci/dt3155/dt3155.c err = v4l2_device_register(&pdev->dev, &pd->v4l2_dev); v4l2_dev 509 drivers/media/pci/dt3155/dt3155.c pd->vdev.v4l2_dev = &pd->v4l2_dev; v4l2_dev 568 drivers/media/pci/dt3155/dt3155.c v4l2_device_unregister(&pd->v4l2_dev); v4l2_dev 574 drivers/media/pci/dt3155/dt3155.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 575 drivers/media/pci/dt3155/dt3155.c struct dt3155_priv *pd = container_of(v4l2_dev, struct dt3155_priv, v4l2_dev 576 drivers/media/pci/dt3155/dt3155.c v4l2_dev); v4l2_dev 581 drivers/media/pci/dt3155/dt3155.c v4l2_device_unregister(&pd->v4l2_dev); v4l2_dev 171 drivers/media/pci/dt3155/dt3155.h struct v4l2_device v4l2_dev; v4l2_dev 1469 drivers/media/pci/intel/ipu3/ipu3-cio2.c return v4l2_device_register_subdev_nodes(&cio2->v4l2_dev); v4l2_dev 1530 drivers/media/pci/intel/ipu3/ipu3-cio2.c ret = v4l2_async_notifier_register(&cio2->v4l2_dev, &cio2->notifier); v4l2_dev 1615 drivers/media/pci/intel/ipu3/ipu3-cio2.c r = v4l2_device_register_subdev(&cio2->v4l2_dev, subdev); v4l2_dev 1646 drivers/media/pci/intel/ipu3/ipu3-cio2.c vdev->v4l2_dev = &cio2->v4l2_dev; v4l2_dev 1809 drivers/media/pci/intel/ipu3/ipu3-cio2.c cio2->v4l2_dev.mdev = &cio2->media_dev; v4l2_dev 1810 drivers/media/pci/intel/ipu3/ipu3-cio2.c r = v4l2_device_register(&pci_dev->dev, &cio2->v4l2_dev); v4l2_dev 1845 drivers/media/pci/intel/ipu3/ipu3-cio2.c v4l2_device_unregister(&cio2->v4l2_dev); v4l2_dev 1865 drivers/media/pci/intel/ipu3/ipu3-cio2.c v4l2_device_unregister(&cio2->v4l2_dev); v4l2_dev 357 drivers/media/pci/intel/ipu3/ipu3-cio2.h struct v4l2_device v4l2_dev; v4l2_dev 47 drivers/media/pci/ivtv/ivtv-alsa-main.c struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) v4l2_dev 49 drivers/media/pci/ivtv/ivtv-alsa-main.c return to_ivtv(v4l2_dev)->alsa; v4l2_dev 53 drivers/media/pci/ivtv/ivtv-alsa-main.c struct snd_ivtv_card *p_to_snd_ivtv_card(struct v4l2_device **v4l2_dev) v4l2_dev 55 drivers/media/pci/ivtv/ivtv-alsa-main.c return container_of(v4l2_dev, struct snd_ivtv_card, v4l2_dev); v4l2_dev 63 drivers/media/pci/ivtv/ivtv-alsa-main.c if (itvsc->v4l2_dev != NULL) v4l2_dev 64 drivers/media/pci/ivtv/ivtv-alsa-main.c to_ivtv(itvsc->v4l2_dev)->alsa = NULL; v4l2_dev 80 drivers/media/pci/ivtv/ivtv-alsa-main.c static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, v4l2_dev 88 drivers/media/pci/ivtv/ivtv-alsa-main.c (*itvsc)->v4l2_dev = v4l2_dev; v4l2_dev 99 drivers/media/pci/ivtv/ivtv-alsa-main.c struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); v4l2_dev 117 drivers/media/pci/ivtv/ivtv-alsa-main.c static int snd_ivtv_init(struct v4l2_device *v4l2_dev) v4l2_dev 119 drivers/media/pci/ivtv/ivtv-alsa-main.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 143 drivers/media/pci/ivtv/ivtv-alsa-main.c ret = snd_ivtv_card_create(v4l2_dev, sc, &itvsc); v4l2_dev 190 drivers/media/pci/ivtv/ivtv-alsa-main.c struct v4l2_device *v4l2_dev = &itv->v4l2_dev; v4l2_dev 193 drivers/media/pci/ivtv/ivtv-alsa-main.c if (v4l2_dev == NULL) { v4l2_dev 199 drivers/media/pci/ivtv/ivtv-alsa-main.c itv = to_ivtv(v4l2_dev); v4l2_dev 206 drivers/media/pci/ivtv/ivtv-alsa-main.c if (s->vdev.v4l2_dev == NULL) { v4l2_dev 217 drivers/media/pci/ivtv/ivtv-alsa-main.c if (snd_ivtv_init(v4l2_dev)) { v4l2_dev 235 drivers/media/pci/ivtv/ivtv-alsa-main.c struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); v4l2_dev 245 drivers/media/pci/ivtv/ivtv-alsa-main.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 248 drivers/media/pci/ivtv/ivtv-alsa-main.c if (v4l2_dev == NULL) { v4l2_dev 254 drivers/media/pci/ivtv/ivtv-alsa-main.c itvsc = to_snd_ivtv_card(v4l2_dev); v4l2_dev 137 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; v4l2_dev 138 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 191 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; v4l2_dev 192 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 323 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct v4l2_device *v4l2_dev = itvsc->v4l2_dev; v4l2_dev 324 drivers/media/pci/ivtv/ivtv-alsa-pcm.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 12 drivers/media/pci/ivtv/ivtv-alsa.h struct v4l2_device *v4l2_dev; v4l2_dev 28 drivers/media/pci/ivtv/ivtv-alsa.h struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); v4l2_dev 34 drivers/media/pci/ivtv/ivtv-alsa.h struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); v4l2_dev 45 drivers/media/pci/ivtv/ivtv-alsa.h v4l2_dev->name , ## args); \ v4l2_dev 55 drivers/media/pci/ivtv/ivtv-alsa.h pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 58 drivers/media/pci/ivtv/ivtv-alsa.h pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 61 drivers/media/pci/ivtv/ivtv-alsa.h pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args) v4l2_dev 756 drivers/media/pci/ivtv/ivtv-driver.c "%s", itv->v4l2_dev.name); v4l2_dev 1006 drivers/media/pci/ivtv/ivtv-driver.c itv->instance = v4l2_device_set_name(&itv->v4l2_dev, "ivtv", v4l2_dev 1009 drivers/media/pci/ivtv/ivtv-driver.c retval = v4l2_device_register(&pdev->dev, &itv->v4l2_dev); v4l2_dev 1028 drivers/media/pci/ivtv/ivtv-driver.c itv->v4l2_dev.ctrl_handler = &itv->cxhdl.hdl; v4l2_dev 1214 drivers/media/pci/ivtv/ivtv-driver.c struct v4l2_ctrl_handler *hdl = itv->v4l2_dev.ctrl_handler; v4l2_dev 1252 drivers/media/pci/ivtv/ivtv-driver.c IRQF_SHARED, itv->v4l2_dev.name, (void *)itv); v4l2_dev 1295 drivers/media/pci/ivtv/ivtv-driver.c v4l2_device_unregister(&itv->v4l2_dev); v4l2_dev 1394 drivers/media/pci/ivtv/ivtv-driver.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); v4l2_dev 1395 drivers/media/pci/ivtv/ivtv-driver.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 1456 drivers/media/pci/ivtv/ivtv-driver.c v4l2_device_unregister(&itv->v4l2_dev); v4l2_dev 146 drivers/media/pci/ivtv/ivtv-driver.h v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \ v4l2_dev 162 drivers/media/pci/ivtv/ivtv-driver.h v4l2_info(&itv->v4l2_dev, " " type ": " fmt , ##args); \ v4l2_dev 176 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_ERR(fmt, args...) v4l2_err(&itv->v4l2_dev, fmt , ## args) v4l2_dev 177 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_WARN(fmt, args...) v4l2_warn(&itv->v4l2_dev, fmt , ## args) v4l2_dev 178 drivers/media/pci/ivtv/ivtv-driver.h #define IVTV_INFO(fmt, args...) v4l2_info(&itv->v4l2_dev, fmt , ## args) v4l2_dev 634 drivers/media/pci/ivtv/ivtv-driver.h struct v4l2_device v4l2_dev; v4l2_dev 760 drivers/media/pci/ivtv/ivtv-driver.h static inline struct ivtv *to_ivtv(struct v4l2_device *v4l2_dev) v4l2_dev 762 drivers/media/pci/ivtv/ivtv-driver.h return container_of(v4l2_dev, struct ivtv, v4l2_dev); v4l2_dev 832 drivers/media/pci/ivtv/ivtv-driver.h v4l2_device_mask_call_all(&(itv)->v4l2_dev, hw, o, f, ##args) v4l2_dev 840 drivers/media/pci/ivtv/ivtv-driver.h v4l2_device_mask_call_until_err(&(itv)->v4l2_dev, hw, o, f, ##args) v4l2_dev 345 drivers/media/pci/ivtv/ivtv-gpio.c snprintf(itv->sd_gpio.name, sizeof(itv->sd_gpio.name), "%s-gpio", itv->v4l2_dev.name); v4l2_dev 354 drivers/media/pci/ivtv/ivtv-gpio.c return v4l2_device_register_subdev(&itv->v4l2_dev, &itv->sd_gpio); v4l2_dev 250 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, adap, type, 0, v4l2_dev 254 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, adap, type, 0, v4l2_dev 258 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, adap, type, 0, v4l2_dev 274 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, v4l2_dev 286 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev_board(&itv->v4l2_dev, adap, v4l2_dev 289 drivers/media/pci/ivtv/ivtv-i2c.c sd = v4l2_i2c_new_subdev(&itv->v4l2_dev, v4l2_dev 302 drivers/media/pci/ivtv/ivtv-i2c.c spin_lock(&itv->v4l2_dev.lock); v4l2_dev 303 drivers/media/pci/ivtv/ivtv-i2c.c v4l2_device_for_each_subdev(sd, &itv->v4l2_dev) { v4l2_dev 309 drivers/media/pci/ivtv/ivtv-i2c.c spin_unlock(&itv->v4l2_dev.lock); v4l2_dev 580 drivers/media/pci/ivtv/ivtv-i2c.c struct v4l2_device *v4l2_dev = i2c_get_adapdata(i2c_adap); v4l2_dev 581 drivers/media/pci/ivtv/ivtv-i2c.c struct ivtv *itv = to_ivtv(v4l2_dev); v4l2_dev 710 drivers/media/pci/ivtv/ivtv-i2c.c i2c_set_adapdata(&itv->i2c_adap, &itv->v4l2_dev); v4l2_dev 1571 drivers/media/pci/ivtv/ivtv-ioctl.c v4l2_ctrl_handler_log_status(&itv->cxhdl.hdl, itv->v4l2_dev.name); v4l2_dev 1576 drivers/media/pci/ivtv/ivtv-ioctl.c if (s->vdev.v4l2_dev == NULL || s->buffers == 0) v4l2_dev 66 drivers/media/pci/ivtv/ivtv-irq.c s->vdev.v4l2_dev == NULL || !ivtv_use_pio(s)) { v4l2_dev 123 drivers/media/pci/ivtv/ivtv-irq.c if (s->vdev.v4l2_dev == NULL) { v4l2_dev 881 drivers/media/pci/ivtv/ivtv-irq.c if (s && s->vdev.v4l2_dev) v4l2_dev 207 drivers/media/pci/ivtv/ivtv-streams.c s->vdev.v4l2_dev = NULL; v4l2_dev 229 drivers/media/pci/ivtv/ivtv-streams.c itv->v4l2_dev.name, s->name); v4l2_dev 232 drivers/media/pci/ivtv/ivtv-streams.c s->vdev.v4l2_dev = &itv->v4l2_dev; v4l2_dev 237 drivers/media/pci/ivtv/ivtv-streams.c s->vdev.ctrl_handler = itv->v4l2_dev.ctrl_handler; v4l2_dev 269 drivers/media/pci/ivtv/ivtv-streams.c if (itv->streams[type].vdev.v4l2_dev == NULL) v4l2_dev 291 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 299 drivers/media/pci/ivtv/ivtv-streams.c if (s_mpg->vdev.v4l2_dev) v4l2_dev 368 drivers/media/pci/ivtv/ivtv-streams.c if (vdev->v4l2_dev == NULL) v4l2_dev 373 drivers/media/pci/ivtv/ivtv-streams.c itv->streams[type].vdev.v4l2_dev = NULL; v4l2_dev 497 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 666 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 728 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 783 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 798 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 922 drivers/media/pci/ivtv/ivtv-streams.c if (s->vdev.v4l2_dev == NULL) v4l2_dev 987 drivers/media/pci/ivtv/ivtv-streams.c if (yuv_stream->vdev.v4l2_dev == NULL || dec_stream->vdev.v4l2_dev == NULL) v4l2_dev 1234 drivers/media/pci/ivtv/ivtvfb.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 1235 drivers/media/pci/ivtv/ivtvfb.c struct ivtv *itv = container_of(v4l2_dev, struct ivtv, v4l2_dev); v4l2_dev 1240 drivers/media/pci/ivtv/ivtvfb.c itv->v4l2_dev.name); v4l2_dev 1249 drivers/media/pci/ivtv/ivtvfb.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 1250 drivers/media/pci/ivtv/ivtvfb.c struct ivtv *itv = container_of(v4l2_dev, struct ivtv, v4l2_dev); v4l2_dev 1595 drivers/media/pci/meye/meye.c struct v4l2_device *v4l2_dev = &meye.v4l2_dev; v4l2_dev 1604 drivers/media/pci/meye/meye.c ret = v4l2_device_register(&pcidev->dev, v4l2_dev); v4l2_dev 1606 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); v4l2_dev 1627 drivers/media/pci/meye/meye.c meye.vdev.v4l2_dev = &meye.v4l2_dev; v4l2_dev 1631 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: unable to power on the camera\n"); v4l2_dev 1632 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: did you enable the camera in sonypi using the module options ?\n"); v4l2_dev 1638 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: pci_enable_device failed\n"); v4l2_dev 1645 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: mchip has no device base address\n"); v4l2_dev 1651 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: request_mem_region failed\n"); v4l2_dev 1656 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "meye: ioremap failed\n"); v4l2_dev 1663 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "request_irq failed\n"); v4l2_dev 1707 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "couldn't register controls\n"); v4l2_dev 1716 drivers/media/pci/meye/meye.c v4l2_err(v4l2_dev, "video_register_device failed\n"); v4l2_dev 1720 drivers/media/pci/meye/meye.c v4l2_info(v4l2_dev, "Motion Eye Camera Driver v%s.\n", v4l2_dev 1722 drivers/media/pci/meye/meye.c v4l2_info(v4l2_dev, "mchip KL5A72002 rev. %d, base %lx, irq %d\n", v4l2_dev 280 drivers/media/pci/meye/meye.h struct v4l2_device v4l2_dev; /* Main v4l2_device struct */ v4l2_dev 8032 drivers/media/pci/saa7134/saa7134-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 8036 drivers/media/pci/saa7134/saa7134-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 8043 drivers/media/pci/saa7134/saa7134-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 8047 drivers/media/pci/saa7134/saa7134-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 954 drivers/media/pci/saa7134/saa7134-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1039 drivers/media/pci/saa7134/saa7134-core.c dev->v4l2_dev.mdev = dev->media_dev; v4l2_dev 1042 drivers/media/pci/saa7134/saa7134-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 1169 drivers/media/pci/saa7134/saa7134-core.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 1180 drivers/media/pci/saa7134/saa7134-core.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 1299 drivers/media/pci/saa7134/saa7134-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1310 drivers/media/pci/saa7134/saa7134-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 1311 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_dev *dev = container_of(v4l2_dev, struct saa7134_dev, v4l2_dev); v4l2_dev 1365 drivers/media/pci/saa7134/saa7134-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1402 drivers/media/pci/saa7134/saa7134-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 1403 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_dev *dev = container_of(v4l2_dev, struct saa7134_dev, v4l2_dev); v4l2_dev 1439 drivers/media/pci/saa7134/saa7134-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 1440 drivers/media/pci/saa7134/saa7134-core.c struct saa7134_dev *dev = container_of(v4l2_dev, struct saa7134_dev, v4l2_dev); v4l2_dev 250 drivers/media/pci/saa7134/saa7134-empress.c dev->empress_dev->v4l2_dev = &dev->v4l2_dev; v4l2_dev 460 drivers/media/pci/saa7134/saa7134-go7007.c if (v4l2_device_register_subdev(&go->v4l2_dev, sd) < 0) v4l2_dev 498 drivers/media/pci/saa7134/saa7134-go7007.c v4l2_device_put(&go->v4l2_dev); v4l2_dev 437 drivers/media/pci/saa7134/saa7134-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); v4l2_dev 549 drivers/media/pci/saa7134/saa7134.h struct v4l2_device v4l2_dev; v4l2_dev 718 drivers/media/pci/saa7134/saa7134.h v4l2_device_call_all(&(dev)->v4l2_dev, 0, o, f , ##args); \ v4l2_dev 727 drivers/media/pci/saa7134/saa7134.h _rc = v4l2_device_call_until_err(&(dev)->v4l2_dev, \ v4l2_dev 171 drivers/media/pci/saa7146/mxb.c v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args) v4l2_dev 244 drivers/media/pci/saa7146/mxb.c mxb->saa7111a = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 246 drivers/media/pci/saa7146/mxb.c mxb->tea6420_1 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 248 drivers/media/pci/saa7146/mxb.c mxb->tea6420_2 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 250 drivers/media/pci/saa7146/mxb.c mxb->tea6415c = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 252 drivers/media/pci/saa7146/mxb.c mxb->tda9840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 254 drivers/media/pci/saa7146/mxb.c mxb->tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, &mxb->i2c_adapter, v4l2_dev 1215 drivers/media/pci/saa7164/saa7164-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 1399 drivers/media/pci/saa7164/saa7164-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1476 drivers/media/pci/saa7164/saa7164-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 991 drivers/media/pci/saa7164/saa7164-encoder.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 694 drivers/media/pci/saa7164/saa7164-vbi.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 424 drivers/media/pci/saa7164/saa7164.h struct v4l2_device v4l2_dev; v4l2_dev 153 drivers/media/pci/solo6x10/solo6x10-core.c v4l2_device_unregister(&solo_dev->v4l2_dev); v4l2_dev 465 drivers/media/pci/solo6x10/solo6x10-core.c ret = v4l2_device_register(&pdev->dev, &solo_dev->v4l2_dev); v4l2_dev 635 drivers/media/pci/solo6x10/solo6x10-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 636 drivers/media/pci/solo6x10/solo6x10-core.c struct solo_dev *solo_dev = container_of(v4l2_dev, struct solo_dev, v4l2_dev); v4l2_dev 1302 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c solo_enc->vfd->v4l2_dev = &solo_dev->v4l2_dev; v4l2_dev 656 drivers/media/pci/solo6x10/solo6x10-v4l2.c solo_dev->vfd->v4l2_dev = &solo_dev->v4l2_dev; v4l2_dev 193 drivers/media/pci/solo6x10/solo6x10.h struct v4l2_device v4l2_dev; v4l2_dev 113 drivers/media/pci/sta2x11/sta2x11_vip.c struct v4l2_device v4l2_dev; v4l2_dev 290 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_err(&vip->v4l2_dev, "buffer too small (%lu < %lu)\n", v4l2_dev 590 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_warn(&vip->v4l2_dev, "Invalid format, only UYVY supported\n"); v4l2_dev 654 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_err(&vip->v4l2_dev, "device busy\n"); v4l2_dev 678 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_err(&vip->v4l2_dev, "unknown field format\n"); v4l2_dev 845 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_err(&vip->v4l2_dev, "Cannot configure coherent mask"); v4l2_dev 874 drivers/media/pci/sta2x11/sta2x11_vip.c vip->v4l2_dev.ctrl_handler = &vip->ctrl_hdl; v4l2_dev 1027 drivers/media/pci/sta2x11/sta2x11_vip.c ret = v4l2_device_register(&pdev->dev, &vip->v4l2_dev); v4l2_dev 1067 drivers/media/pci/sta2x11/sta2x11_vip.c vip->video_dev.v4l2_dev = &vip->v4l2_dev; v4l2_dev 1084 drivers/media/pci/sta2x11/sta2x11_vip.c vip->decoder = v4l2_i2c_new_subdev(&vip->v4l2_dev, vip->adapter, v4l2_dev 1114 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_device_unregister(&vip->v4l2_dev); v4l2_dev 1142 drivers/media/pci/sta2x11/sta2x11_vip.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 1144 drivers/media/pci/sta2x11/sta2x11_vip.c container_of(v4l2_dev, struct sta2x11_vip, v4l2_dev); v4l2_dev 1156 drivers/media/pci/sta2x11/sta2x11_vip.c v4l2_device_unregister(&vip->v4l2_dev); v4l2_dev 1184 drivers/media/pci/sta2x11/sta2x11_vip.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 1186 drivers/media/pci/sta2x11/sta2x11_vip.c container_of(v4l2_dev, struct sta2x11_vip, v4l2_dev); v4l2_dev 1228 drivers/media/pci/sta2x11/sta2x11_vip.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 1230 drivers/media/pci/sta2x11/sta2x11_vip.c container_of(v4l2_dev, struct sta2x11_vip, v4l2_dev); v4l2_dev 251 drivers/media/pci/tw5864/tw5864-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 318 drivers/media/pci/tw5864/tw5864-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 324 drivers/media/pci/tw5864/tw5864-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 326 drivers/media/pci/tw5864/tw5864-core.c container_of(v4l2_dev, struct tw5864_dev, v4l2_dev); v4l2_dev 339 drivers/media/pci/tw5864/tw5864-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1120 drivers/media/pci/tw5864/tw5864-video.c input->vdev.v4l2_dev = &input->root->v4l2_dev; v4l2_dev 146 drivers/media/pci/tw5864/tw5864.h struct v4l2_device v4l2_dev; v4l2_dev 222 drivers/media/pci/tw68/tw68-core.c dev->instance = v4l2_device_set_name(&dev->v4l2_dev, "tw68", v4l2_dev 225 drivers/media/pci/tw68/tw68-core.c err = v4l2_device_register(&pci_dev->dev, &dev->v4l2_dev); v4l2_dev 236 drivers/media/pci/tw68/tw68-core.c dev->name = dev->v4l2_dev.name; v4l2_dev 336 drivers/media/pci/tw68/tw68-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 342 drivers/media/pci/tw68/tw68-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 344 drivers/media/pci/tw68/tw68-core.c container_of(v4l2_dev, struct tw68_dev, v4l2_dev); v4l2_dev 359 drivers/media/pci/tw68/tw68-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 366 drivers/media/pci/tw68/tw68-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 367 drivers/media/pci/tw68/tw68-core.c struct tw68_dev *dev = container_of(v4l2_dev, v4l2_dev 368 drivers/media/pci/tw68/tw68-core.c struct tw68_dev, v4l2_dev); v4l2_dev 385 drivers/media/pci/tw68/tw68-core.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pci_dev); v4l2_dev 386 drivers/media/pci/tw68/tw68-core.c struct tw68_dev *dev = container_of(v4l2_dev, v4l2_dev 387 drivers/media/pci/tw68/tw68-core.c struct tw68_dev, v4l2_dev); v4l2_dev 929 drivers/media/pci/tw68/tw68-video.c dev->v4l2_dev.ctrl_handler = hdl; v4l2_dev 961 drivers/media/pci/tw68/tw68-video.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 134 drivers/media/pci/tw68/tw68.h struct v4l2_device v4l2_dev; v4l2_dev 224 drivers/media/pci/tw686x/tw686x-core.c static void tw686x_dev_release(struct v4l2_device *v4l2_dev) v4l2_dev 226 drivers/media/pci/tw686x/tw686x-core.c struct tw686x_dev *dev = container_of(v4l2_dev, struct tw686x_dev, v4l2_dev 227 drivers/media/pci/tw686x/tw686x-core.c v4l2_dev); v4l2_dev 233 drivers/media/pci/tw686x/tw686x-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 332 drivers/media/pci/tw686x/tw686x-core.c dev->v4l2_dev.release = tw686x_dev_release; v4l2_dev 396 drivers/media/pci/tw686x/tw686x-core.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 116 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 239 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 283 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 516 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1104 drivers/media/pci/tw686x/tw686x-video.c v4l2_printk(KERN_DEBUG, &dev->v4l2_dev, v4l2_dev 1121 drivers/media/pci/tw686x/tw686x-video.c v4l2_printk(KERN_DEBUG, &dev->v4l2_dev, v4l2_dev 1132 drivers/media/pci/tw686x/tw686x-video.c v4l2_printk(KERN_DEBUG, &dev->v4l2_dev, v4l2_dev 1176 drivers/media/pci/tw686x/tw686x-video.c err = v4l2_device_register(&dev->pci_dev->dev, &dev->v4l2_dev); v4l2_dev 1235 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1242 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1264 drivers/media/pci/tw686x/tw686x-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1274 drivers/media/pci/tw686x/tw686x-video.c vdev->v4l2_dev = &dev->v4l2_dev; v4l2_dev 122 drivers/media/pci/tw686x/tw686x.h struct v4l2_device v4l2_dev; v4l2_dev 52 drivers/media/platform/am437x/am437x-vpfe.c v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ##arg) v4l2_dev 54 drivers/media/platform/am437x/am437x-vpfe.c v4l2_info(&dev->v4l2_dev, fmt, ##arg) v4l2_dev 56 drivers/media/platform/am437x/am437x-vpfe.c v4l2_err(&dev->v4l2_dev, fmt, ##arg) v4l2_dev 1402 drivers/media/platform/am437x/am437x-vpfe.c "platform:%s", vpfe->v4l2_dev.name); v4l2_dev 1430 drivers/media/platform/am437x/am437x-vpfe.c ret = v4l2_device_call_until_err(&vpfe->v4l2_dev, v4l2_dev 1778 drivers/media/platform/am437x/am437x-vpfe.c vpfe->v4l2_dev.ctrl_handler = sdinfo->sd->ctrl_handler; v4l2_dev 1817 drivers/media/platform/am437x/am437x-vpfe.c return v4l2_device_call_until_err(&vpfe->v4l2_dev, sdinfo->grp_id, v4l2_dev 1844 drivers/media/platform/am437x/am437x-vpfe.c ret = v4l2_device_call_until_err(&vpfe->v4l2_dev, sdinfo->grp_id, v4l2_dev 2282 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_device *vpfe = container_of(notifier->v4l2_dev, v4l2_dev 2283 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_device, v4l2_dev); v4l2_dev 2346 drivers/media/platform/am437x/am437x-vpfe.c vpfe->v4l2_dev.ctrl_handler = vpfe->sd[0]->ctrl_handler; v4l2_dev 2378 drivers/media/platform/am437x/am437x-vpfe.c vdev->v4l2_dev = &vpfe->v4l2_dev; v4l2_dev 2395 drivers/media/platform/am437x/am437x-vpfe.c v4l2_device_unregister(&vpfe->v4l2_dev); v4l2_dev 2401 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_device *vpfe = container_of(notifier->v4l2_dev, v4l2_dev 2402 drivers/media/platform/am437x/am437x-vpfe.c struct vpfe_device, v4l2_dev); v4l2_dev 2560 drivers/media/platform/am437x/am437x-vpfe.c ret = v4l2_device_register(&pdev->dev, &vpfe->v4l2_dev); v4l2_dev 2589 drivers/media/platform/am437x/am437x-vpfe.c ret = v4l2_async_notifier_register(&vpfe->v4l2_dev, &vpfe->notifier); v4l2_dev 2599 drivers/media/platform/am437x/am437x-vpfe.c v4l2_device_unregister(&vpfe->v4l2_dev); v4l2_dev 2618 drivers/media/platform/am437x/am437x-vpfe.c v4l2_device_unregister(&vpfe->v4l2_dev); v4l2_dev 226 drivers/media/platform/am437x/am437x-vpfe.h struct v4l2_device v4l2_dev; v4l2_dev 214 drivers/media/platform/aspeed-video.c struct v4l2_device v4l2_dev; v4l2_dev 244 drivers/media/platform/aspeed-video.c #define to_aspeed_video(x) container_of((x), struct aspeed_video, v4l2_dev) v4l2_dev 1506 drivers/media/platform/aspeed-video.c struct v4l2_device *v4l2_dev = &video->v4l2_dev; v4l2_dev 1517 drivers/media/platform/aspeed-video.c rc = v4l2_device_register(video->dev, v4l2_dev); v4l2_dev 1534 drivers/media/platform/aspeed-video.c v4l2_device_unregister(v4l2_dev); v4l2_dev 1541 drivers/media/platform/aspeed-video.c v4l2_dev->ctrl_handler = &video->ctrl_handler; v4l2_dev 1545 drivers/media/platform/aspeed-video.c vbq->dev = v4l2_dev->dev; v4l2_dev 1557 drivers/media/platform/aspeed-video.c v4l2_device_unregister(v4l2_dev); v4l2_dev 1567 drivers/media/platform/aspeed-video.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 1580 drivers/media/platform/aspeed-video.c v4l2_device_unregister(v4l2_dev); v4l2_dev 1696 drivers/media/platform/aspeed-video.c struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 1697 drivers/media/platform/aspeed-video.c struct aspeed_video *video = to_aspeed_video(v4l2_dev); v4l2_dev 1710 drivers/media/platform/aspeed-video.c v4l2_device_unregister(v4l2_dev); v4l2_dev 556 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "buffer too small (%lu < %lu)\n", v4l2_dev 692 drivers/media/platform/atmel/atmel-isc-base.c v4l2_warn(&isc->v4l2_dev, "Time out to update profile\n"); v4l2_dev 779 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "stream on failed in subdev %d\n", v4l2_dev 841 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, v4l2_dev 852 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "stream off failed in subdev\n"); v4l2_dev 918 drivers/media/platform/atmel/atmel-isc-base.c "platform:%s", isc->v4l2_dev.name); v4l2_dev 1019 drivers/media/platform/atmel/atmel-isc-base.c v4l2_dbg(1, debug, &isc->v4l2_dev, v4l2_dev 1241 drivers/media/platform/atmel/atmel-isc-base.c v4l2_dbg(1, debug, &isc->v4l2_dev, v4l2_dev 1252 drivers/media/platform/atmel/atmel-isc-base.c v4l2_dbg(1, debug, &isc->v4l2_dev, v4l2_dev 1311 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "Could not find any possible format for a working pipeline\n"); v4l2_dev 1346 drivers/media/platform/atmel/atmel-isc-base.c v4l2_dbg(1, debug, &isc->v4l2_dev, "New ISC configuration in place\n"); v4l2_dev 1787 drivers/media/platform/atmel/atmel-isc-base.c v4l2_info(&isc->v4l2_dev, v4l2_dev 1846 drivers/media/platform/atmel/atmel-isc-base.c v4l2_dbg(1, debug, &isc->v4l2_dev, v4l2_dev 1903 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device *isc = container_of(notifier->v4l2_dev, v4l2_dev 1904 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device, v4l2_dev); v4l2_dev 1909 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "only supports one sub-device.\n"); v4l2_dev 1922 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device *isc = container_of(notifier->v4l2_dev, v4l2_dev 1923 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device, v4l2_dev); v4l2_dev 1963 drivers/media/platform/atmel/atmel-isc-base.c v4l2_warn(&isc->v4l2_dev, "Mbus code %x not supported\n", v4l2_dev 2015 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device *isc = container_of(notifier->v4l2_dev, v4l2_dev 2016 drivers/media/platform/atmel/atmel-isc-base.c struct isc_device, v4l2_dev); v4l2_dev 2023 drivers/media/platform/atmel/atmel-isc-base.c ret = v4l2_device_register_subdev_nodes(&isc->v4l2_dev); v4l2_dev 2025 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "Failed to register subdev nodes\n"); v4l2_dev 2048 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, v4l2_dev 2060 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, v4l2_dev 2067 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "Could not set default format\n"); v4l2_dev 2073 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, "Init isc ctrols failed: %d\n", ret); v4l2_dev 2082 drivers/media/platform/atmel/atmel-isc-base.c vdev->v4l2_dev = &isc->v4l2_dev; v4l2_dev 2092 drivers/media/platform/atmel/atmel-isc-base.c v4l2_err(&isc->v4l2_dev, v4l2_dev 197 drivers/media/platform/atmel/atmel-isc.h struct v4l2_device v4l2_dev; v4l2_dev 120 drivers/media/platform/atmel/atmel-isi.c struct v4l2_device v4l2_dev; v4l2_dev 1143 drivers/media/platform/atmel/atmel-isi.c ret = v4l2_async_notifier_register(&isi->v4l2_dev, &isi->notifier); v4l2_dev 1184 drivers/media/platform/atmel/atmel-isi.c ret = v4l2_device_register(&pdev->dev, &isi->v4l2_dev); v4l2_dev 1196 drivers/media/platform/atmel/atmel-isi.c isi->vdev->v4l2_dev = &isi->v4l2_dev; v4l2_dev 1284 drivers/media/platform/atmel/atmel-isi.c v4l2_device_unregister(&isi->v4l2_dev); v4l2_dev 1300 drivers/media/platform/atmel/atmel-isi.c v4l2_device_unregister(&isi->v4l2_dev); v4l2_dev 212 drivers/media/platform/atmel/atmel-sama5d2-isc.c ret = v4l2_device_register(dev, &isc->v4l2_dev); v4l2_dev 243 drivers/media/platform/atmel/atmel-sama5d2-isc.c ret = v4l2_async_notifier_register(&isc->v4l2_dev, v4l2_dev 264 drivers/media/platform/atmel/atmel-sama5d2-isc.c v4l2_device_unregister(&isc->v4l2_dev); v4l2_dev 284 drivers/media/platform/atmel/atmel-sama5d2-isc.c v4l2_device_unregister(&isc->v4l2_dev); v4l2_dev 211 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, "failed to flush bitstream\n"); v4l2_dev 263 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, "trying to queue empty buffer\n"); v4l2_dev 285 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 305 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, "bitstream buffer overflow\n"); v4l2_dev 364 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 660 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "CODA_COMMAND_ENCODE_HEADER timeout\n"); v4l2_dev 957 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "firmware get command error\n"); v4l2_dev 964 drivers/media/platform/coda/coda-bit.c v4l2_info(&dev->v4l2_dev, "Firmware code revision: %d\n", v4l2_dev 979 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 986 drivers/media/platform/coda/coda-bit.c v4l2_info(&dev->v4l2_dev, "Initialized %s.\n", v4l2_dev 990 drivers/media/platform/coda/coda-bit.c v4l2_info(&dev->v4l2_dev, "Firmware version: %u.%u.%u\n", v4l2_dev 993 drivers/media/platform/coda/coda-bit.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1062 drivers/media/platform/coda/coda-bit.c struct v4l2_device *v4l2_dev = &dev->v4l2_dev; v4l2_dev 1080 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, "coda is not initialized.\n"); v4l2_dev 1201 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, v4l2_dev 1304 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, "CODA_COMMAND_SEQ_INIT timeout\n"); v4l2_dev 1309 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, "CODA_COMMAND_SEQ_INIT failed\n"); v4l2_dev 1322 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, "failed to allocate framebuffers\n"); v4l2_dev 1367 drivers/media/platform/coda/coda-bit.c v4l2_err(v4l2_dev, "CODA_COMMAND_SET_FRAME_BUF timeout\n"); v4l2_dev 1480 drivers/media/platform/coda/coda-bit.c v4l2_warn(&ctx->dev->v4l2_dev, "parameter change failed: %d\n", v4l2_dev 1557 drivers/media/platform/coda/coda-bit.c v4l2_warn(&ctx->dev->v4l2_dev, v4l2_dev 1570 drivers/media/platform/coda/coda-bit.c v4l2_warn(&ctx->dev->v4l2_dev, v4l2_dev 1702 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1759 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 1825 drivers/media/platform/coda/coda-bit.c v4l2_warn(&dev->v4l2_dev, "Unknown H264 Profile: %u\n", v4l2_dev 1912 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "CODA_COMMAND_SEQ_INIT timeout\n"); v4l2_dev 1922 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1938 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "stream is %dx%d, not %dx%d\n", v4l2_dev 1960 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2041 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "failed to allocate framebuffers\n"); v4l2_dev 2098 drivers/media/platform/coda/coda-bit.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 2148 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "failed to start decoding\n"); v4l2_dev 2291 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "decode failed\n"); v4l2_dev 2295 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2299 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2336 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2388 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2412 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2421 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, "empty timestamp list!\n"); v4l2_dev 2448 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2588 drivers/media/platform/coda/coda-bit.c v4l2_err(&dev->v4l2_dev, v4l2_dev 77 drivers/media/platform/coda/coda-common.c v4l2_dbg(3, coda_debug, &dev->v4l2_dev, v4l2_dev 87 drivers/media/platform/coda/coda-common.c v4l2_dbg(3, coda_debug, &dev->v4l2_dev, v4l2_dev 700 drivers/media/platform/coda/coda-common.c v4l2_err(&ctx->dev->v4l2_dev, "%s: %s queue busy: %d\n", v4l2_dev 785 drivers/media/platform/coda/coda-common.c v4l2_err(&ctx->dev->v4l2_dev, "failed to determine codec\n"); v4l2_dev 827 drivers/media/platform/coda/coda-common.c v4l2_err(&ctx->dev->v4l2_dev, "failed to determine codec\n"); v4l2_dev 1609 drivers/media/platform/coda/coda-common.c v4l2_warn(&ctx->dev->v4l2_dev, v4l2_dev 1616 drivers/media/platform/coda/coda-common.c v4l2_warn(&ctx->dev->v4l2_dev, v4l2_dev 1701 drivers/media/platform/coda/coda-common.c v4l2_warn(&ctx->dev->v4l2_dev, "Invalid %s profile: %u\n", v4l2_dev 1710 drivers/media/platform/coda/coda-common.c v4l2_warn(&ctx->dev->v4l2_dev, "Invalid %s level: %u\n", v4l2_dev 1801 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1837 drivers/media/platform/coda/coda-common.c struct v4l2_device *v4l2_dev = &ctx->dev->v4l2_dev; v4l2_dev 1861 drivers/media/platform/coda/coda-common.c v4l2_err(v4l2_dev, "start payload < 512\n"); v4l2_dev 1890 drivers/media/platform/coda/coda-common.c v4l2_err(v4l2_dev, "can't convert %dx%d to %dx%d\n", v4l2_dev 2321 drivers/media/platform/coda/coda-common.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 2469 drivers/media/platform/coda/coda-common.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 2477 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "failed to power up: %d\n", ret); v4l2_dev 2495 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "%s return error (%d)\n", v4l2_dev 2502 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "failed to setup coda controls\n"); v4l2_dev 2697 drivers/media/platform/coda/coda-common.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 2709 drivers/media/platform/coda/coda-common.c v4l2_info(&dev->v4l2_dev, "%s registered as %s\n", v4l2_dev 2774 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "firmware request failed\n"); v4l2_dev 2800 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "HW initialization failed\n"); v4l2_dev 2810 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 2817 drivers/media/platform/coda/coda-common.c v4l2_err(&dev->v4l2_dev, v4l2_dev 3021 drivers/media/platform/coda/coda-common.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 3090 drivers/media/platform/coda/coda-common.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 3106 drivers/media/platform/coda/coda-common.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 3128 drivers/media/platform/coda/coda-common.c v4l2_err(&cdev->v4l2_dev, "HW initialization failed\n"); v4l2_dev 71 drivers/media/platform/coda/coda.h struct v4l2_device v4l2_dev; v4l2_dev 282 drivers/media/platform/coda/coda.h v4l2_dbg((level), coda_debug, &(ctx)->dev->v4l2_dev, \ v4l2_dev 600 drivers/media/platform/davinci/vpbe.c ret = v4l2_device_register(dev, &vpbe_dev->v4l2_dev); v4l2_dev 606 drivers/media/platform/davinci/vpbe.c v4l2_info(&vpbe_dev->v4l2_dev, "vpbe v4l2 device registered\n"); v4l2_dev 615 drivers/media/platform/davinci/vpbe.c vpbe_dev->venc = venc_sub_dev_init(&vpbe_dev->v4l2_dev, v4l2_dev 619 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 629 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 661 drivers/media/platform/davinci/vpbe.c &vpbe_dev->v4l2_dev, i2c_adap, v4l2_dev 664 drivers/media/platform/davinci/vpbe.c v4l2_info(&vpbe_dev->v4l2_dev, v4l2_dev 668 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, "encoder %s failed to register", v4l2_dev 674 drivers/media/platform/davinci/vpbe.c v4l2_warn(&vpbe_dev->v4l2_dev, "non-i2c encoders currently not supported"); v4l2_dev 682 drivers/media/platform/davinci/vpbe.c &vpbe_dev->v4l2_dev, i2c_adap, v4l2_dev 685 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 691 drivers/media/platform/davinci/vpbe.c v4l2_info(&vpbe_dev->v4l2_dev, v4l2_dev 696 drivers/media/platform/davinci/vpbe.c v4l2_warn(&vpbe_dev->v4l2_dev, "non-i2c amplifiers currently not supported"); v4l2_dev 711 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, "Failed to set default output %s", v4l2_dev 719 drivers/media/platform/davinci/vpbe.c v4l2_err(&vpbe_dev->v4l2_dev, "Failed to set default mode %s", v4l2_dev 733 drivers/media/platform/davinci/vpbe.c v4l2_device_unregister(&vpbe_dev->v4l2_dev); v4l2_dev 755 drivers/media/platform/davinci/vpbe.c v4l2_device_unregister(&vpbe_dev->v4l2_dev); v4l2_dev 55 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 201 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 210 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 231 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "vpbe_buffer_setup\n"); v4l2_dev 261 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 391 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 405 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 517 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 534 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 652 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 677 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 691 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 718 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 754 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_CROPCAP ioctl\n"); v4l2_dev 769 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 775 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, "invalid type\n"); v4l2_dev 790 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 794 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, "Invalid format index\n"); v4l2_dev 818 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 826 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "invalid type\n"); v4l2_dev 848 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 881 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 901 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_TRY_FMT\n"); v4l2_dev 904 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, "invalid type\n"); v4l2_dev 926 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_S_STD\n"); v4l2_dev 934 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 957 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_G_STD\n"); v4l2_dev 981 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_ENUM_OUTPUT\n"); v4l2_dev 989 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 1008 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_S_OUTPUT\n"); v4l2_dev 1018 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 1036 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_G_OUTPUT\n"); v4l2_dev 1057 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_ENUM_DV_TIMINGS\n"); v4l2_dev 1065 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 1087 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_S_DV_TIMINGS\n"); v4l2_dev 1098 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 1119 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "VIDIOC_G_DV_TIMINGS\n"); v4l2_dev 1149 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, "v4l2_fh_open failed\n"); v4l2_dev 1166 drivers/media/platform/davinci/vpbe_display.c v4l2_err(&vpbe_dev->v4l2_dev, v4l2_dev 1174 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, v4l2_dev 1192 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "vpbe_display_release\n"); v4l2_dev 1303 drivers/media/platform/davinci/vpbe_display.c vbd->v4l2_dev = &disp_dev->vpbe_dev->v4l2_dev; v4l2_dev 1333 drivers/media/platform/davinci/vpbe_display.c v4l2_info(&disp_dev->vpbe_dev->v4l2_dev, v4l2_dev 1335 drivers/media/platform/davinci/vpbe_display.c v4l2_info(&disp_dev->vpbe_dev->v4l2_dev, v4l2_dev 1366 drivers/media/platform/davinci/vpbe_display.c struct v4l2_device *v4l2_dev; v4l2_dev 1390 drivers/media/platform/davinci/vpbe_display.c v4l2_dev = &disp_dev->vpbe_dev->v4l2_dev; v4l2_dev 1396 drivers/media/platform/davinci/vpbe_display.c v4l2_err(v4l2_dev, "Error initing vpbe\n"); v4l2_dev 1411 drivers/media/platform/davinci/vpbe_display.c v4l2_err(v4l2_dev, "Unable to get VENC interrupt resource\n"); v4l2_dev 1420 drivers/media/platform/davinci/vpbe_display.c v4l2_err(v4l2_dev, "VPBE IRQ request failed\n"); v4l2_dev 1440 drivers/media/platform/davinci/vpbe_display.c v4l2_err(v4l2_dev, "vb2_queue_init() failed\n"); v4l2_dev 1452 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, v4l2_dev, v4l2_dev 1479 drivers/media/platform/davinci/vpbe_display.c v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "vpbe_display_remove\n"); v4l2_dev 594 drivers/media/platform/davinci/vpbe_venc.c struct v4l2_subdev *venc_sub_dev_init(struct v4l2_device *v4l2_dev, v4l2_dev 607 drivers/media/platform/davinci/vpbe_venc.c if (v4l2_device_register_subdev(v4l2_dev, &venc->sd) < 0) { v4l2_dev 608 drivers/media/platform/davinci/vpbe_venc.c v4l2_err(v4l2_dev, v4l2_dev 613 drivers/media/platform/davinci/vpbe_venc.c v4l2_err(v4l2_dev, v4l2_dev 254 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 319 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "standard not supported\n"); v4l2_dev 346 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, v4l2_dev 350 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 389 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "ccdc device not registered\n"); v4l2_dev 395 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Couldn't lock ccdc module\n"); v4l2_dev 422 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_open\n"); v4l2_dev 425 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "No decoder registered\n"); v4l2_dev 495 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "\nStarting vpfe_isr...\n"); v4l2_dev 508 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dev 520 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "field id = %x:%x.\n", v4l2_dev 570 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "\nInside vdint1_isr...\n"); v4l2_dev 634 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_release\n"); v4l2_dev 642 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, v4l2_dev 646 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 685 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_mmap\n"); v4l2_dev 697 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_poll\n"); v4l2_dev 815 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, "width = %d, height = %d, bpp = %d\n", v4l2_dev 837 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, "adjusted width = %d, height = %d, bpp = %d, bytesperline = %d, sizeimage = %d\n", v4l2_dev 848 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querycap\n"); v4l2_dev 861 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_fmt_vid_cap\n"); v4l2_dev 874 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_fmt_vid_cap\n"); v4l2_dev 895 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_fmt_vid_cap\n"); v4l2_dev 899 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Streaming is started\n"); v4l2_dev 928 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_try_fmt_vid_cap\n"); v4l2_dev 993 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_input\n"); v4l2_dev 999 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "input information not found for the subdev\n"); v4l2_dev 1011 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_input\n"); v4l2_dev 1027 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_input\n"); v4l2_dev 1038 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Streaming is on\n"); v4l2_dev 1047 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "invalid input index\n"); v4l2_dev 1066 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 1073 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->v4l2_dev.ctrl_handler = sd->ctrl_handler; v4l2_dev 1096 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querystd\n"); v4l2_dev 1103 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, v4l2_dev 1115 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_std\n"); v4l2_dev 1125 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "streaming is started\n"); v4l2_dev 1130 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, v4l2_dev 1133 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Failed to set standard\n"); v4l2_dev 1147 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_std\n"); v4l2_dev 1162 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buffer_setup\n"); v4l2_dev 1170 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dev 1184 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buffer_prepare\n"); v4l2_dev 1215 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_buffer_queue\n"); v4l2_dev 1233 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_videobuf_release\n"); v4l2_dev 1264 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_reqbufs\n"); v4l2_dev 1267 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buffer type\n"); v4l2_dev 1276 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Only one IO user allowed\n"); v4l2_dev 1305 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_querybuf\n"); v4l2_dev 1308 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buf type\n"); v4l2_dev 1313 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid memory\n"); v4l2_dev 1326 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_qbuf\n"); v4l2_dev 1329 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buf type\n"); v4l2_dev 1338 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n"); v4l2_dev 1349 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_dqbuf\n"); v4l2_dev 1352 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buf type\n"); v4l2_dev 1367 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_calculate_offsets\n"); v4l2_dev 1396 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_streamon\n"); v4l2_dev 1399 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buf type\n"); v4l2_dev 1405 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n"); v4l2_dev 1410 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, v4l2_dev 1414 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "stream on failed in subdev\n"); v4l2_dev 1420 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "buffer queue is empty\n"); v4l2_dev 1449 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 1455 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 1479 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_streamoff\n"); v4l2_dev 1482 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Invalid buf type\n"); v4l2_dev 1488 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "fh->io_allowed\n"); v4l2_dev 1494 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "device started\n"); v4l2_dev 1506 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, sdinfo->grp_id, v4l2_dev 1510 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "stream off failed in subdev\n"); v4l2_dev 1521 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_pixelaspect\n"); v4l2_dev 1538 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_g_selection\n"); v4l2_dev 1565 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_s_selection\n"); v4l2_dev 1573 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 1583 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, v4l2_dev 1597 drivers/media/platform/davinci/vpfe_capture.c v4l2_err(&vpfe_dev->v4l2_dev, "Error in S_SELECTION params\n"); v4l2_dev 1752 drivers/media/platform/davinci/vpfe_capture.c vfd->v4l2_dev = &vpfe_dev->v4l2_dev; v4l2_dev 1761 drivers/media/platform/davinci/vpfe_capture.c ret = v4l2_device_register(&pdev->dev, &vpfe_dev->v4l2_dev); v4l2_dev 1767 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, "v4l2 device registered\n"); v4l2_dev 1776 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dev 1778 drivers/media/platform/davinci/vpfe_capture.c v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, v4l2_dev 1790 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, "video device registered\n"); v4l2_dev 1812 drivers/media/platform/davinci/vpfe_capture.c v4l2_i2c_new_subdev_board(&vpfe_dev->v4l2_dev, v4l2_dev 1817 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, v4l2_dev 1827 drivers/media/platform/davinci/vpfe_capture.c v4l2_info(&vpfe_dev->v4l2_dev, v4l2_dev 1837 drivers/media/platform/davinci/vpfe_capture.c vpfe_dev->v4l2_dev.ctrl_handler = vpfe_dev->sd[0]->ctrl_handler; v4l2_dev 1848 drivers/media/platform/davinci/vpfe_capture.c v4l2_device_unregister(&vpfe_dev->v4l2_dev); v4l2_dev 1870 drivers/media/platform/davinci/vpfe_capture.c v4l2_device_unregister(&vpfe_dev->v4l2_dev); v4l2_dev 30 drivers/media/platform/davinci/vpif_capture.c #define vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) v4l2_dev 32 drivers/media/platform/davinci/vpif_capture.c v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) v4l2_dev 1292 drivers/media/platform/davinci/vpif_capture.c v4l2_device_call_all(&vpif_obj.v4l2_dev, 0, core, log_status); v4l2_dev 1462 drivers/media/platform/davinci/vpif_capture.c vdev->v4l2_dev = &vpif_obj.v4l2_dev; v4l2_dev 1474 drivers/media/platform/davinci/vpif_capture.c v4l2_info(&vpif_obj.v4l2_dev, "VPIF capture driver initialized\n"); v4l2_dev 1486 drivers/media/platform/davinci/vpif_capture.c v4l2_device_unregister(&vpif_obj.v4l2_dev); v4l2_dev 1642 drivers/media/platform/davinci/vpif_capture.c err = v4l2_device_register(vpif_dev, &vpif_obj.v4l2_dev); v4l2_dev 1677 drivers/media/platform/davinci/vpif_capture.c v4l2_i2c_new_subdev_board(&vpif_obj.v4l2_dev, v4l2_dev 1688 drivers/media/platform/davinci/vpif_capture.c v4l2_info(&vpif_obj.v4l2_dev, v4l2_dev 1697 drivers/media/platform/davinci/vpif_capture.c err = v4l2_async_notifier_register(&vpif_obj.v4l2_dev, v4l2_dev 1712 drivers/media/platform/davinci/vpif_capture.c v4l2_device_unregister(&vpif_obj.v4l2_dev); v4l2_dev 1734 drivers/media/platform/davinci/vpif_capture.c v4l2_device_unregister(&vpif_obj.v4l2_dev); v4l2_dev 100 drivers/media/platform/davinci/vpif_capture.h struct v4l2_device v4l2_dev; v4l2_dev 34 drivers/media/platform/davinci/vpif_display.c #define vpif_err(fmt, arg...) v4l2_err(&vpif_obj.v4l2_dev, fmt, ## arg) v4l2_dev 36 drivers/media/platform/davinci/vpif_display.c v4l2_dbg(level, debug, &vpif_obj.v4l2_dev, fmt, ## arg) v4l2_dev 709 drivers/media/platform/davinci/vpif_display.c ret = v4l2_device_call_until_err(&vpif_obj.v4l2_dev, 1, video, v4l2_dev 716 drivers/media/platform/davinci/vpif_display.c ret = v4l2_device_call_until_err(&vpif_obj.v4l2_dev, 1, video, v4l2_dev 1041 drivers/media/platform/davinci/vpif_display.c v4l2_device_call_all(&vpif_obj.v4l2_dev, 0, core, log_status); v4l2_dev 1211 drivers/media/platform/davinci/vpif_display.c vdev->v4l2_dev = &vpif_obj.v4l2_dev; v4l2_dev 1270 drivers/media/platform/davinci/vpif_display.c err = v4l2_device_register(vpif_dev, &vpif_obj.v4l2_dev); v4l2_dev 1304 drivers/media/platform/davinci/vpif_display.c v4l2_i2c_new_subdev_board(&vpif_obj.v4l2_dev, v4l2_dev 1331 drivers/media/platform/davinci/vpif_display.c err = v4l2_async_notifier_register(&vpif_obj.v4l2_dev, v4l2_dev 1347 drivers/media/platform/davinci/vpif_display.c v4l2_device_unregister(&vpif_obj.v4l2_dev); v4l2_dev 1367 drivers/media/platform/davinci/vpif_display.c v4l2_device_unregister(&vpif_obj.v4l2_dev); v4l2_dev 118 drivers/media/platform/davinci/vpif_display.h struct v4l2_device v4l2_dev; v4l2_dev 1178 drivers/media/platform/exynos-gsc/gsc-core.c ret = v4l2_device_register(dev, &gsc->v4l2_dev); v4l2_dev 1201 drivers/media/platform/exynos-gsc/gsc-core.c v4l2_device_unregister(&gsc->v4l2_dev); v4l2_dev 1216 drivers/media/platform/exynos-gsc/gsc-core.c v4l2_device_unregister(&gsc->v4l2_dev); v4l2_dev 339 drivers/media/platform/exynos-gsc/gsc-core.h struct v4l2_device v4l2_dev; v4l2_dev 759 drivers/media/platform/exynos-gsc/gsc-m2m.c gsc->vdev.v4l2_dev = &gsc->v4l2_dev; v4l2_dev 890 drivers/media/platform/exynos4-is/fimc-capture.c v4l2_err(sensor->v4l2_dev, "Unsupported buffer size: %u\n", v4l2_dev 1731 drivers/media/platform/exynos4-is/fimc-capture.c struct v4l2_device *v4l2_dev) v4l2_dev 1756 drivers/media/platform/exynos4-is/fimc-capture.c vfd->v4l2_dev = v4l2_dev; v4l2_dev 1815 drivers/media/platform/exynos4-is/fimc-capture.c v4l2_info(v4l2_dev, "Registered %s as /dev/%s\n", v4l2_dev 1838 drivers/media/platform/exynos4-is/fimc-capture.c ret = fimc_register_m2m_device(fimc, sd->v4l2_dev); v4l2_dev 1844 drivers/media/platform/exynos4-is/fimc-capture.c ret = fimc_register_capture_device(fimc, sd->v4l2_dev); v4l2_dev 430 drivers/media/platform/exynos4-is/fimc-core.h struct v4l2_device *v4l2_dev; v4l2_dev 606 drivers/media/platform/exynos4-is/fimc-core.h v4l2_err(ctx->fimc_dev->v4l2_dev, v4l2_dev 640 drivers/media/platform/exynos4-is/fimc-core.h struct v4l2_device *v4l2_dev); v4l2_dev 248 drivers/media/platform/exynos4-is/fimc-is.h struct v4l2_device *v4l2_dev; v4l2_dev 565 drivers/media/platform/exynos4-is/fimc-isp-video.c struct v4l2_device *v4l2_dev, v4l2_dev 609 drivers/media/platform/exynos4-is/fimc-isp-video.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 628 drivers/media/platform/exynos4-is/fimc-isp-video.c v4l2_info(v4l2_dev, "Registered %s as /dev/%s\n", v4l2_dev 16 drivers/media/platform/exynos4-is/fimc-isp-video.h struct v4l2_device *v4l2_dev, v4l2_dev 29 drivers/media/platform/exynos4-is/fimc-isp-video.h struct v4l2_device *v4l2_dev, v4l2_dev 394 drivers/media/platform/exynos4-is/fimc-isp.c ret = fimc_isp_video_device_register(isp, sd->v4l2_dev, v4l2_dev 1267 drivers/media/platform/exynos4-is/fimc-lite.c vfd->v4l2_dev = sd->v4l2_dev; v4l2_dev 1307 drivers/media/platform/exynos4-is/fimc-lite.c v4l2_info(sd->v4l2_dev, "Registered %s as /dev/%s\n", v4l2_dev 145 drivers/media/platform/exynos4-is/fimc-lite.h struct v4l2_device *v4l2_dev; v4l2_dev 718 drivers/media/platform/exynos4-is/fimc-m2m.c struct v4l2_device *v4l2_dev) v4l2_dev 723 drivers/media/platform/exynos4-is/fimc-m2m.c fimc->v4l2_dev = v4l2_dev; v4l2_dev 728 drivers/media/platform/exynos4-is/fimc-m2m.c vfd->v4l2_dev = v4l2_dev; v4l2_dev 741 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_err(v4l2_dev, "failed to initialize v4l2-m2m device\n"); v4l2_dev 753 drivers/media/platform/exynos4-is/fimc-m2m.c v4l2_info(v4l2_dev, "Registered %s as /dev/%s\n", v4l2_dev 413 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "Remote device at %pOF not found\n", v4l2_dev 431 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, "Wrong port id (%u) at node %pOF\n", v4l2_dev 573 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register_subdev(&fmd->v4l2_dev, sd); v4l2_dev 577 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, "Failed to register FIMC.LITE%d\n", v4l2_dev 600 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register_subdev(&fmd->v4l2_dev, sd); v4l2_dev 607 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, "Failed to register FIMC.%d (%d)\n", v4l2_dev 629 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register_subdev(&fmd->v4l2_dev, sd); v4l2_dev 633 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, v4l2_dev 651 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register_subdev(&fmd->v4l2_dev, sd); v4l2_dev 653 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, v4l2_dev 778 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "Unregistered all entities\n"); v4l2_dev 830 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "created link [%s] %c> [%s]\n", v4l2_dev 850 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "created link [%s] -> [%s]\n", v4l2_dev 970 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "created link [%s] => [%s]\n", v4l2_dev 983 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, "Wrong bus_type: %x\n", v4l2_dev 1092 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(&fmd->v4l2_dev, "Failed to get clock: %s\n", v4l2_dev 1394 drivers/media/platform/exynos4-is/media-dev.c v4l2_info(&fmd->v4l2_dev, "Registered sensor subdevice: %s (%d)\n", v4l2_dev 1413 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register_subdev_nodes(&fmd->v4l2_dev); v4l2_dev 1430 drivers/media/platform/exynos4-is/media-dev.c struct v4l2_device *v4l2_dev; v4l2_dev 1447 drivers/media/platform/exynos4-is/media-dev.c v4l2_dev = &fmd->v4l2_dev; v4l2_dev 1448 drivers/media/platform/exynos4-is/media-dev.c v4l2_dev->mdev = &fmd->media_dev; v4l2_dev 1449 drivers/media/platform/exynos4-is/media-dev.c v4l2_dev->notify = fimc_sensor_notify; v4l2_dev 1450 drivers/media/platform/exynos4-is/media-dev.c strscpy(v4l2_dev->name, "s5p-fimc-md", sizeof(v4l2_dev->name)); v4l2_dev 1457 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_device_register(dev, &fmd->v4l2_dev); v4l2_dev 1459 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(v4l2_dev, "Failed to register v4l2_device: %d\n", ret); v4l2_dev 1496 drivers/media/platform/exynos4-is/media-dev.c v4l2_err(v4l2_dev, "clock provider registration failed\n"); v4l2_dev 1504 drivers/media/platform/exynos4-is/media-dev.c ret = v4l2_async_notifier_register(&fmd->v4l2_dev, v4l2_dev 1523 drivers/media/platform/exynos4-is/media-dev.c v4l2_device_unregister(&fmd->v4l2_dev); v4l2_dev 1540 drivers/media/platform/exynos4-is/media-dev.c v4l2_device_unregister(&fmd->v4l2_dev); v4l2_dev 131 drivers/media/platform/exynos4-is/media-dev.h struct v4l2_device v4l2_dev; v4l2_dev 116 drivers/media/platform/fsl-viu.c struct v4l2_device v4l2_dev; v4l2_dev 1436 drivers/media/platform/fsl-viu.c snprintf(viu_dev->v4l2_dev.name, v4l2_dev 1437 drivers/media/platform/fsl-viu.c sizeof(viu_dev->v4l2_dev.name), "%s", "VIU"); v4l2_dev 1438 drivers/media/platform/fsl-viu.c ret = v4l2_device_register(viu_dev->dev, &viu_dev->v4l2_dev); v4l2_dev 1459 drivers/media/platform/fsl-viu.c viu_dev->v4l2_dev.ctrl_handler = &viu_dev->hdl; v4l2_dev 1460 drivers/media/platform/fsl-viu.c viu_dev->decoder = v4l2_i2c_new_subdev(&viu_dev->v4l2_dev, ad, v4l2_dev 1476 drivers/media/platform/fsl-viu.c vdev->v4l2_dev = &viu_dev->v4l2_dev; v4l2_dev 1535 drivers/media/platform/fsl-viu.c v4l2_device_unregister(&viu_dev->v4l2_dev); v4l2_dev 1543 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); v4l2_dev 1544 drivers/media/platform/fsl-viu.c struct viu_dev *dev = container_of(v4l2_dev, struct viu_dev, v4l2_dev); v4l2_dev 1545 drivers/media/platform/fsl-viu.c struct v4l2_subdev *sdev = list_entry(v4l2_dev->subdevs.next, v4l2_dev 1557 drivers/media/platform/fsl-viu.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1564 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); v4l2_dev 1565 drivers/media/platform/fsl-viu.c struct viu_dev *dev = container_of(v4l2_dev, struct viu_dev, v4l2_dev); v4l2_dev 1573 drivers/media/platform/fsl-viu.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&op->dev); v4l2_dev 1574 drivers/media/platform/fsl-viu.c struct viu_dev *dev = container_of(v4l2_dev, struct viu_dev, v4l2_dev); v4l2_dev 56 drivers/media/platform/imx-pxp.c v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 189 drivers/media/platform/imx-pxp.c struct v4l2_device v4l2_dev; v4l2_dev 750 drivers/media/platform/imx-pxp.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1183 drivers/media/platform/imx-pxp.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 1211 drivers/media/platform/imx-pxp.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 1237 drivers/media/platform/imx-pxp.c v4l2_err(&ctx->dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 1325 drivers/media/platform/imx-pxp.c v4l2_err(&ctx->dev->v4l2_dev, "Invalid control\n"); v4l2_dev 1483 drivers/media/platform/imx-pxp.c src_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 1497 drivers/media/platform/imx-pxp.c dst_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 1686 drivers/media/platform/imx-pxp.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 1696 drivers/media/platform/imx-pxp.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1700 drivers/media/platform/imx-pxp.c v4l2_info(&dev->v4l2_dev, v4l2_dev 1707 drivers/media/platform/imx-pxp.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 1714 drivers/media/platform/imx-pxp.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1723 drivers/media/platform/imx-pxp.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1739 drivers/media/platform/imx-pxp.c v4l2_info(&dev->v4l2_dev, "Removing " MEM2MEM_NAME); v4l2_dev 1742 drivers/media/platform/imx-pxp.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 37 drivers/media/platform/m2m-deinterlace.c v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 122 drivers/media/platform/m2m-deinterlace.c struct v4l2_device v4l2_dev; v4l2_dev 228 drivers/media/platform/m2m-deinterlace.c v4l2_err(&pcdev->v4l2_dev, v4l2_dev 330 drivers/media/platform/m2m-deinterlace.c v4l2_warn(&pcdev->v4l2_dev, "DMA interleaved prep error\n"); v4l2_dev 341 drivers/media/platform/m2m-deinterlace.c v4l2_warn(&pcdev->v4l2_dev, v4l2_dev 592 drivers/media/platform/m2m-deinterlace.c v4l2_err(&ctx->dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 598 drivers/media/platform/m2m-deinterlace.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 667 drivers/media/platform/m2m-deinterlace.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 677 drivers/media/platform/m2m-deinterlace.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 686 drivers/media/platform/m2m-deinterlace.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 808 drivers/media/platform/m2m-deinterlace.c src_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 827 drivers/media/platform/m2m-deinterlace.c dst_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 944 drivers/media/platform/m2m-deinterlace.c ret = v4l2_device_register(&pdev->dev, &pcdev->v4l2_dev); v4l2_dev 954 drivers/media/platform/m2m-deinterlace.c vfd->v4l2_dev = &pcdev->v4l2_dev; v4l2_dev 958 drivers/media/platform/m2m-deinterlace.c v4l2_err(&pcdev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 963 drivers/media/platform/m2m-deinterlace.c v4l2_info(&pcdev->v4l2_dev, MEM2MEM_TEST_MODULE_NAME v4l2_dev 970 drivers/media/platform/m2m-deinterlace.c v4l2_err(&pcdev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 980 drivers/media/platform/m2m-deinterlace.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 991 drivers/media/platform/m2m-deinterlace.c v4l2_info(&pcdev->v4l2_dev, "Removing " MEM2MEM_TEST_MODULE_NAME); v4l2_dev 994 drivers/media/platform/m2m-deinterlace.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 148 drivers/media/platform/marvell-ccic/cafe-driver.c struct mcam_camera *m = container_of(dev, struct mcam_camera, v4l2_dev); v4l2_dev 595 drivers/media/platform/marvell-ccic/cafe-driver.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); v4l2_dev 596 drivers/media/platform/marvell-ccic/cafe-driver.c struct cafe_camera *cam = to_cam(v4l2_dev); v4l2_dev 613 drivers/media/platform/marvell-ccic/cafe-driver.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); v4l2_dev 614 drivers/media/platform/marvell-ccic/cafe-driver.c struct cafe_camera *cam = to_cam(v4l2_dev); v4l2_dev 628 drivers/media/platform/marvell-ccic/cafe-driver.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); v4l2_dev 629 drivers/media/platform/marvell-ccic/cafe-driver.c struct cafe_camera *cam = to_cam(v4l2_dev); v4l2_dev 1801 drivers/media/platform/marvell-ccic/mcam-core.c cam->vdev.v4l2_dev = &cam->v4l2_dev; v4l2_dev 1846 drivers/media/platform/marvell-ccic/mcam-core.c cam->v4l2_dev.ctrl_handler = &cam->ctrl_handler; v4l2_dev 1883 drivers/media/platform/marvell-ccic/mcam-core.c ret = v4l2_device_register(cam->dev, &cam->v4l2_dev); v4l2_dev 1904 drivers/media/platform/marvell-ccic/mcam-core.c ret = v4l2_async_notifier_register(&cam->v4l2_dev, &cam->notifier); v4l2_dev 1942 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 1963 drivers/media/platform/marvell-ccic/mcam-core.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 143 drivers/media/platform/marvell-ccic/mcam-core.h struct v4l2_device v4l2_dev; v4l2_dev 251 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(2, debug, &jpeg->v4l2_dev, "wxh:%ux%u\n", v4l2_dev 254 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(2, debug, &jpeg->v4l2_dev, v4l2_dev 290 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "(%d) g_fmt:%c%c%c%c wxh:%ux%u\n", v4l2_dev 305 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, v4l2_dev 325 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(2, debug, &ctx->jpeg->v4l2_dev, "(%d) try_fmt:%c%c%c%c\n", v4l2_dev 346 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(2, debug, &ctx->jpeg->v4l2_dev, "(%d) try_fmt:%c%c%c%c\n", v4l2_dev 373 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_err(&jpeg->v4l2_dev, "queue busy\n"); v4l2_dev 388 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "(%d) s_fmt:%c%c%c%c wxh:%ux%u\n", v4l2_dev 400 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, v4l2_dev 567 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "(%d) buf_req count=%u\n", v4l2_dev 577 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "sizeimage[%d]=%u\n", v4l2_dev 608 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "Picture size change\n"); v4l2_dev 615 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "format change\n"); v4l2_dev 644 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, v4l2_dev 662 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(2, debug, &jpeg->v4l2_dev, "(%d) buf_q id=%d, vb=%p\n", v4l2_dev 673 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_dbg(1, debug, &jpeg->v4l2_dev, "Got eos\n"); v4l2_dev 679 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_err(&jpeg->v4l2_dev, "Header invalid.\n"); v4l2_dev 927 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_err(&jpeg->v4l2_dev, "Context is NULL\n"); v4l2_dev 1122 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c ret = v4l2_device_register(&pdev->dev, &jpeg->v4l2_dev); v4l2_dev 1131 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_err(&jpeg->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 1148 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c jpeg->dec_vdev->v4l2_dev = &jpeg->v4l2_dev; v4l2_dev 1155 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_err(&jpeg->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1160 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_info(&jpeg->v4l2_dev, v4l2_dev 1177 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_device_unregister(&jpeg->v4l2_dev); v4l2_dev 1196 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c v4l2_device_unregister(&jpeg->v4l2_dev); v4l2_dev 57 drivers/media/platform/mtk-jpeg/mtk_jpeg_core.h struct v4l2_device v4l2_dev; v4l2_dev 177 drivers/media/platform/mtk-mdp/mtk_mdp_core.c ret = v4l2_device_register(dev, &mdp->v4l2_dev); v4l2_dev 186 drivers/media/platform/mtk-mdp/mtk_mdp_core.c v4l2_err(&mdp->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 204 drivers/media/platform/mtk-mdp/mtk_mdp_core.c v4l2_device_unregister(&mdp->v4l2_dev); v4l2_dev 230 drivers/media/platform/mtk-mdp/mtk_mdp_core.c v4l2_device_unregister(&mdp->v4l2_dev); v4l2_dev 163 drivers/media/platform/mtk-mdp/mtk_mdp_core.h struct v4l2_device v4l2_dev; v4l2_dev 1220 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c mdp->vdev->v4l2_dev = &mdp->v4l2_dev; v4l2_dev 1238 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c v4l2_info(&mdp->v4l2_dev, "driver registered as /dev/video%d", v4l2_dev 292 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s", v4l2_dev 295 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 313 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c vfd_dec->v4l2_dev = &dev->v4l2_dev; v4l2_dev 358 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 383 drivers/media/platform/mtk-vcodec/mtk_vcodec_dec_drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 340 drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h struct v4l2_device v4l2_dev; v4l2_dev 309 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), "%s", v4l2_dev 312 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 331 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c vfd_enc->v4l2_dev = &dev->v4l2_dev; v4l2_dev 377 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 402 drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 58 drivers/media/platform/mx2_emmaprp.c v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 197 drivers/media/platform/mx2_emmaprp.c struct v4l2_device v4l2_dev; v4l2_dev 293 drivers/media/platform/mx2_emmaprp.c v4l2_err(&pcdev->v4l2_dev, v4l2_dev 505 drivers/media/platform/mx2_emmaprp.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 522 drivers/media/platform/mx2_emmaprp.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 546 drivers/media/platform/mx2_emmaprp.c v4l2_err(&ctx->dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 697 drivers/media/platform/mx2_emmaprp.c src_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 711 drivers/media/platform/mx2_emmaprp.c dst_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 830 drivers/media/platform/mx2_emmaprp.c ret = v4l2_device_register(&pdev->dev, &pcdev->v4l2_dev); v4l2_dev 838 drivers/media/platform/mx2_emmaprp.c v4l2_err(&pcdev->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 845 drivers/media/platform/mx2_emmaprp.c vfd->v4l2_dev = &pcdev->v4l2_dev; v4l2_dev 849 drivers/media/platform/mx2_emmaprp.c v4l2_info(&pcdev->v4l2_dev, EMMAPRP_MODULE_NAME v4l2_dev 864 drivers/media/platform/mx2_emmaprp.c v4l2_err(&pcdev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 871 drivers/media/platform/mx2_emmaprp.c v4l2_err(&pcdev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 883 drivers/media/platform/mx2_emmaprp.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 894 drivers/media/platform/mx2_emmaprp.c v4l2_info(&pcdev->v4l2_dev, "Removing " EMMAPRP_MODULE_NAME); v4l2_dev 898 drivers/media/platform/mx2_emmaprp.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 229 drivers/media/platform/omap/omap_vout.c v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, "%s Offset:%x\n", v4l2_dev 332 drivers/media/platform/omap/omap_vout.c v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, v4l2_dev 348 drivers/media/platform/omap/omap_vout.c v4l2_warn(&vout->vid_dev->v4l2_dev, "setup_overlay failed\n"); v4l2_dev 413 drivers/media/platform/omap/omap_vout.c v4l2_warn(&vout->vid_dev->v4l2_dev, "apply_changes failed\n"); v4l2_dev 970 drivers/media/platform/omap/omap_vout.c v4l2_dbg(1, debug, &vout->vid_dev->v4l2_dev, v4l2_dev 1030 drivers/media/platform/omap/omap_vout.c v4l2_err(&vout->vid_dev->v4l2_dev, v4l2_dev 1040 drivers/media/platform/omap/omap_vout.c v4l2_err(&vout->vid_dev->v4l2_dev, "failed to change mode\n"); v4l2_dev 1069 drivers/media/platform/omap/omap_vout.c v4l2_err(&vout->vid_dev->v4l2_dev, v4l2_dev 1103 drivers/media/platform/omap/omap_vout.c v4l2_err(&vout->vid_dev->v4l2_dev, v4l2_dev 1386 drivers/media/platform/omap/omap_vout.c vfd->v4l2_dev = &vout->vid_dev->v4l2_dev; v4l2_dev 1399 drivers/media/platform/omap/omap_vout.c vq->dev = vfd->v4l2_dev->dev; v4l2_dev 1421 drivers/media/platform/omap/omap_vout.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 1423 drivers/media/platform/omap/omap_vout.c container_of(v4l2_dev, struct omap2video_device, v4l2_dev); v4l2_dev 1444 drivers/media/platform/omap/omap_vout.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 1445 drivers/media/platform/omap/omap_vout.c struct omap2video_device *vid_dev = container_of(v4l2_dev, v4l2_dev 1446 drivers/media/platform/omap/omap_vout.c struct omap2video_device, v4l2_dev); v4l2_dev 1573 drivers/media/platform/omap/omap_vout.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 1574 drivers/media/platform/omap/omap_vout.c struct omap2video_device *vid_dev = container_of(v4l2_dev, struct v4l2_dev 1575 drivers/media/platform/omap/omap_vout.c omap2video_device, v4l2_dev); v4l2_dev 1577 drivers/media/platform/omap/omap_vout.c v4l2_device_unregister(v4l2_dev); v4l2_dev 1677 drivers/media/platform/omap/omap_vout.c if (v4l2_device_register(&pdev->dev, &vid_dev->v4l2_dev) < 0) { v4l2_dev 1698 drivers/media/platform/omap/omap_vout.c v4l2_device_unregister(&vid_dev->v4l2_dev); v4l2_dev 99 drivers/media/platform/omap/omap_vout_vrfb.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 101 drivers/media/platform/omap/omap_vout_vrfb.c container_of(v4l2_dev, struct omap2video_device, v4l2_dev); v4l2_dev 106 drivers/media/platform/omap/omap_voutdef.h struct v4l2_device v4l2_dev; v4l2_dev 1606 drivers/media/platform/omap3isp/isp.c v4l2_device_unregister(&isp->v4l2_dev); v4l2_dev 1692 drivers/media/platform/omap3isp/isp.c isp->v4l2_dev.mdev = &isp->media_dev; v4l2_dev 1693 drivers/media/platform/omap3isp/isp.c ret = v4l2_device_register(isp->dev, &isp->v4l2_dev); v4l2_dev 1701 drivers/media/platform/omap3isp/isp.c ret = omap3isp_ccp2_register_entities(&isp->isp_ccp2, &isp->v4l2_dev); v4l2_dev 1705 drivers/media/platform/omap3isp/isp.c ret = omap3isp_csi2_register_entities(&isp->isp_csi2a, &isp->v4l2_dev); v4l2_dev 1709 drivers/media/platform/omap3isp/isp.c ret = omap3isp_ccdc_register_entities(&isp->isp_ccdc, &isp->v4l2_dev); v4l2_dev 1714 drivers/media/platform/omap3isp/isp.c &isp->v4l2_dev); v4l2_dev 1718 drivers/media/platform/omap3isp/isp.c ret = omap3isp_resizer_register_entities(&isp->isp_res, &isp->v4l2_dev); v4l2_dev 1722 drivers/media/platform/omap3isp/isp.c ret = omap3isp_stat_register_entities(&isp->isp_aewb, &isp->v4l2_dev); v4l2_dev 1726 drivers/media/platform/omap3isp/isp.c ret = omap3isp_stat_register_entities(&isp->isp_af, &isp->v4l2_dev); v4l2_dev 1730 drivers/media/platform/omap3isp/isp.c ret = omap3isp_stat_register_entities(&isp->isp_hist, &isp->v4l2_dev); v4l2_dev 2029 drivers/media/platform/omap3isp/isp.c struct v4l2_device *v4l2_dev = &isp->v4l2_dev; v4l2_dev 2037 drivers/media/platform/omap3isp/isp.c list_for_each_entry(sd, &v4l2_dev->subdevs, list) { v4l2_dev 2047 drivers/media/platform/omap3isp/isp.c ret = v4l2_device_register_subdev_nodes(&isp->v4l2_dev); v4l2_dev 2425 drivers/media/platform/omap3isp/isp.c ret = v4l2_async_notifier_register(&isp->v4l2_dev, &isp->notifier); v4l2_dev 173 drivers/media/platform/omap3isp/isp.h struct v4l2_device v4l2_dev; v4l2_dev 231 drivers/media/platform/omap3isp/isp.h container_of(dev, struct isp_device, v4l2_dev) v4l2_dev 265 drivers/media/platform/omap3isp/isp.h struct v4l2_device *v4l2_dev); v4l2_dev 936 drivers/media/platform/omap3isp/ispvideo.c ret = vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b); v4l2_dev 1485 drivers/media/platform/omap3isp/ispvideo.c video->video.v4l2_dev = vdev; v4l2_dev 686 drivers/media/platform/pxa_camera.c struct v4l2_device v4l2_dev; v4l2_dev 753 drivers/media/platform/pxa_camera.c struct v4l2_device *v4l2_dev, struct v4l2_subdev *subdev, v4l2_dev 774 drivers/media/platform/pxa_camera.c ret = get_formats(v4l2_dev, i, NULL); v4l2_dev 790 drivers/media/platform/pxa_camera.c ret = get_formats(v4l2_dev, i, user_formats + fmts); v4l2_dev 815 drivers/media/platform/pxa_camera.c return pcdev->v4l2_dev.dev; v4l2_dev 818 drivers/media/platform/pxa_camera.c static struct pxa_camera_dev *v4l2_dev_to_pcdev(struct v4l2_device *v4l2_dev) v4l2_dev 820 drivers/media/platform/pxa_camera.c return container_of(v4l2_dev, struct pxa_camera_dev, v4l2_dev); v4l2_dev 1583 drivers/media/platform/pxa_camera.c vq->dev = pcdev->v4l2_dev.dev; v4l2_dev 1717 drivers/media/platform/pxa_camera.c static int pxa_camera_get_formats(struct v4l2_device *v4l2_dev, v4l2_dev 1721 drivers/media/platform/pxa_camera.c struct pxa_camera_dev *pcdev = v4l2_dev_to_pcdev(v4l2_dev); v4l2_dev 1793 drivers/media/platform/pxa_camera.c xlate = pxa_mbus_build_fmts_xlate(&pcdev->v4l2_dev, pcdev->sensor, v4l2_dev 2137 drivers/media/platform/pxa_camera.c struct v4l2_device *v4l2_dev = notifier->v4l2_dev; v4l2_dev 2138 drivers/media/platform/pxa_camera.c struct pxa_camera_dev *pcdev = v4l2_dev_to_pcdev(v4l2_dev); v4l2_dev 2150 drivers/media/platform/pxa_camera.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 2154 drivers/media/platform/pxa_camera.c pcdev->vdev.v4l2_dev = &pcdev->v4l2_dev; v4l2_dev 2196 drivers/media/platform/pxa_camera.c v4l2_err(v4l2_dev, "register video device failed: %d\n", err); v4l2_dev 2215 drivers/media/platform/pxa_camera.c struct pxa_camera_dev *pcdev = v4l2_dev_to_pcdev(notifier->v4l2_dev); v4l2_dev 2486 drivers/media/platform/pxa_camera.c err = v4l2_device_register(&pdev->dev, &pcdev->v4l2_dev); v4l2_dev 2520 drivers/media/platform/pxa_camera.c err = v4l2_async_notifier_register(&pcdev->v4l2_dev, &pcdev->notifier); v4l2_dev 2530 drivers/media/platform/pxa_camera.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 2559 drivers/media/platform/pxa_camera.c v4l2_device_unregister(&pcdev->v4l2_dev); v4l2_dev 1316 drivers/media/platform/qcom/camss/camss-csid.c struct v4l2_device *v4l2_dev) v4l2_dev 1367 drivers/media/platform/qcom/camss/camss-csid.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 71 drivers/media/platform/qcom/camss/camss-csid.h struct v4l2_device *v4l2_dev); v4l2_dev 717 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_device *v4l2_dev) v4l2_dev 748 drivers/media/platform/qcom/camss/camss-csiphy.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 85 drivers/media/platform/qcom/camss/camss-csiphy.h struct v4l2_device *v4l2_dev); v4l2_dev 1300 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_device *v4l2_dev) v4l2_dev 1335 drivers/media/platform/qcom/camss/camss-ispif.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 74 drivers/media/platform/qcom/camss/camss-ispif.h struct v4l2_device *v4l2_dev); v4l2_dev 2231 drivers/media/platform/qcom/camss/camss-vfe.c struct v4l2_device *v4l2_dev) v4l2_dev 2277 drivers/media/platform/qcom/camss/camss-vfe.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 2292 drivers/media/platform/qcom/camss/camss-vfe.c ret = msm_video_register(video_out, v4l2_dev, name, v4l2_dev 174 drivers/media/platform/qcom/camss/camss-vfe.h struct v4l2_device *v4l2_dev); v4l2_dev 849 drivers/media/platform/qcom/camss/camss-video.c int msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev, v4l2_dev 873 drivers/media/platform/qcom/camss/camss-video.c dev_err(v4l2_dev->dev, "Failed to init vb2 queue: %d\n", ret); v4l2_dev 880 drivers/media/platform/qcom/camss/camss-video.c dev_err(v4l2_dev->dev, "Failed to init video entity: %d\n", v4l2_dev 909 drivers/media/platform/qcom/camss/camss-video.c dev_err(v4l2_dev->dev, "Failed to init format: %d\n", ret); v4l2_dev 918 drivers/media/platform/qcom/camss/camss-video.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 926 drivers/media/platform/qcom/camss/camss-video.c dev_err(v4l2_dev->dev, "Failed to register video device: %d\n", v4l2_dev 57 drivers/media/platform/qcom/camss/camss-video.h int msm_video_register(struct camss_video *video, struct v4l2_device *v4l2_dev, v4l2_dev 596 drivers/media/platform/qcom/camss/camss.c &camss->v4l2_dev); v4l2_dev 607 drivers/media/platform/qcom/camss/camss.c &camss->v4l2_dev); v4l2_dev 616 drivers/media/platform/qcom/camss/camss.c ret = msm_ispif_register_entities(&camss->ispif, &camss->v4l2_dev); v4l2_dev 625 drivers/media/platform/qcom/camss/camss.c &camss->v4l2_dev); v4l2_dev 756 drivers/media/platform/qcom/camss/camss.c struct v4l2_device *v4l2_dev = &camss->v4l2_dev; v4l2_dev 760 drivers/media/platform/qcom/camss/camss.c list_for_each_entry(sd, &v4l2_dev->subdevs, list) { v4l2_dev 790 drivers/media/platform/qcom/camss/camss.c ret = v4l2_device_register_subdev_nodes(&camss->v4l2_dev); v4l2_dev 876 drivers/media/platform/qcom/camss/camss.c camss->v4l2_dev.mdev = &camss->media_dev; v4l2_dev 877 drivers/media/platform/qcom/camss/camss.c ret = v4l2_device_register(camss->dev, &camss->v4l2_dev); v4l2_dev 890 drivers/media/platform/qcom/camss/camss.c ret = v4l2_async_notifier_register(&camss->v4l2_dev, v4l2_dev 899 drivers/media/platform/qcom/camss/camss.c ret = v4l2_device_register_subdev_nodes(&camss->v4l2_dev); v4l2_dev 936 drivers/media/platform/qcom/camss/camss.c v4l2_device_unregister(&camss->v4l2_dev); v4l2_dev 945 drivers/media/platform/qcom/camss/camss.c v4l2_device_unregister(&camss->v4l2_dev); v4l2_dev 72 drivers/media/platform/qcom/camss/camss.h struct v4l2_device v4l2_dev; v4l2_dev 314 drivers/media/platform/qcom/venus/core.c ret = v4l2_device_register(dev, &core->v4l2_dev); v4l2_dev 325 drivers/media/platform/qcom/venus/core.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 358 drivers/media/platform/qcom/venus/core.c v4l2_device_unregister(&core->v4l2_dev); v4l2_dev 120 drivers/media/platform/qcom/venus/core.h struct v4l2_device v4l2_dev; v4l2_dev 1454 drivers/media/platform/qcom/venus/vdec.c vdev->v4l2_dev = &core->v4l2_dev; v4l2_dev 1277 drivers/media/platform/qcom/venus/venc.c vdev->v4l2_dev = &core->v4l2_dev; v4l2_dev 45 drivers/media/platform/rcar-vin/rcar-core.c #define v4l2_dev_to_vin(d) container_of(d, struct rvin_dev, v4l2_dev) v4l2_dev 363 drivers/media/platform/rcar-vin/rcar-core.c vin->v4l2_dev.mdev = &group->mdev; v4l2_dev 380 drivers/media/platform/rcar-vin/rcar-core.c vin->v4l2_dev.mdev = NULL; v4l2_dev 539 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 544 drivers/media/platform/rcar-vin/rcar-core.c ret = v4l2_device_register_subdev_nodes(&vin->v4l2_dev); v4l2_dev 576 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 589 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 664 drivers/media/platform/rcar-vin/rcar-core.c ret = v4l2_async_notifier_register(&vin->v4l2_dev, &vin->notifier); v4l2_dev 680 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 685 drivers/media/platform/rcar-vin/rcar-core.c ret = v4l2_device_register_subdev_nodes(&vin->v4l2_dev); v4l2_dev 747 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 771 drivers/media/platform/rcar-vin/rcar-core.c struct rvin_dev *vin = v4l2_dev_to_vin(notifier->v4l2_dev); v4l2_dev 876 drivers/media/platform/rcar-vin/rcar-core.c ret = v4l2_async_notifier_register(&vin->v4l2_dev, v4l2_dev 1342 drivers/media/platform/rcar-vin/rcar-core.c if (&vin->v4l2_dev == vin->group->notifier.v4l2_dev) { v4l2_dev 1369 drivers/media/platform/rcar-vin/rcar-core.c if (&vin->v4l2_dev == vin->group->notifier.v4l2_dev) { v4l2_dev 1266 drivers/media/platform/rcar-vin/rcar-dma.c v4l2_device_unregister(&vin->v4l2_dev); v4l2_dev 1275 drivers/media/platform/rcar-vin/rcar-dma.c ret = v4l2_device_register(vin->dev, &vin->v4l2_dev); v4l2_dev 870 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l2_info(&vin->v4l2_dev, "Removing %s\n", v4l2_dev 881 drivers/media/platform/rcar-vin/rcar-v4l2.c container_of(sd->v4l2_dev, struct rvin_dev, v4l2_dev); v4l2_dev 897 drivers/media/platform/rcar-vin/rcar-v4l2.c vin->v4l2_dev.notify = rvin_notify; v4l2_dev 900 drivers/media/platform/rcar-vin/rcar-v4l2.c vdev->v4l2_dev = &vin->v4l2_dev; v4l2_dev 933 drivers/media/platform/rcar-vin/rcar-v4l2.c v4l2_info(&vin->v4l2_dev, "Device registered as %s\n", v4l2_dev 190 drivers/media/platform/rcar-vin/rcar-vin.h struct v4l2_device v4l2_dev; v4l2_dev 139 drivers/media/platform/rcar_drif.c dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg) v4l2_dev 142 drivers/media/platform/rcar_drif.c dev_err(sdr->v4l2_dev.dev, fmt, ## arg) v4l2_dev 215 drivers/media/platform/rcar_drif.c struct v4l2_device v4l2_dev; /* V4L2 device */ v4l2_dev 1078 drivers/media/platform/rcar_drif.c sdr->vdev->v4l2_dev = &sdr->v4l2_dev; v4l2_dev 1136 drivers/media/platform/rcar_drif.c sdr->v4l2_dev.ctrl_handler = NULL; v4l2_dev 1160 drivers/media/platform/rcar_drif.c sdr->v4l2_dev.ctrl_handler = &sdr->ctrl_hdl; v4l2_dev 1161 drivers/media/platform/rcar_drif.c ret = v4l2_device_register_subdev_nodes(&sdr->v4l2_dev); v4l2_dev 1341 drivers/media/platform/rcar_drif.c ret = v4l2_device_register(sdr->dev, &sdr->v4l2_dev); v4l2_dev 1358 drivers/media/platform/rcar_drif.c ret = v4l2_async_notifier_register(&sdr->v4l2_dev, &sdr->notifier); v4l2_dev 1369 drivers/media/platform/rcar_drif.c v4l2_device_unregister(&sdr->v4l2_dev); v4l2_dev 1379 drivers/media/platform/rcar_drif.c v4l2_device_unregister(&sdr->v4l2_dev); v4l2_dev 59 drivers/media/platform/rcar_fdp1.c v4l2_dbg(1, debug, &fdp1->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 556 drivers/media/platform/rcar_fdp1.c struct v4l2_device v4l2_dev; v4l2_dev 1317 drivers/media/platform/rcar_fdp1.c v4l2_err(&fdp1->v4l2_dev, v4l2_dev 1667 drivers/media/platform/rcar_fdp1.c v4l2_err(&ctx->fdp1->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 2325 drivers/media/platform/rcar_fdp1.c ret = v4l2_device_register(&pdev->dev, &fdp1->v4l2_dev); v4l2_dev 2327 drivers/media/platform/rcar_fdp1.c v4l2_err(&fdp1->v4l2_dev, "Failed to register video device\n"); v4l2_dev 2334 drivers/media/platform/rcar_fdp1.c v4l2_err(&fdp1->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 2343 drivers/media/platform/rcar_fdp1.c vfd->v4l2_dev = &fdp1->v4l2_dev; v4l2_dev 2349 drivers/media/platform/rcar_fdp1.c v4l2_err(&fdp1->v4l2_dev, "Failed to register video device\n"); v4l2_dev 2353 drivers/media/platform/rcar_fdp1.c v4l2_info(&fdp1->v4l2_dev, "Device registered as /dev/video%d\n", v4l2_dev 2391 drivers/media/platform/rcar_fdp1.c v4l2_device_unregister(&fdp1->v4l2_dev); v4l2_dev 2402 drivers/media/platform/rcar_fdp1.c v4l2_device_unregister(&fdp1->v4l2_dev); v4l2_dev 207 drivers/media/platform/rcar_jpu.c struct v4l2_device v4l2_dev; v4l2_dev 860 drivers/media/platform/rcar_jpu.c v4l2_err(&ctx->jpu->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 1205 drivers/media/platform/rcar_jpu.c src_vq->dev = ctx->jpu->v4l2_dev.dev; v4l2_dev 1220 drivers/media/platform/rcar_jpu.c dst_vq->dev = ctx->jpu->v4l2_dev.dev; v4l2_dev 1637 drivers/media/platform/rcar_jpu.c ret = v4l2_device_register(&pdev->dev, &jpu->v4l2_dev); v4l2_dev 1646 drivers/media/platform/rcar_jpu.c v4l2_err(&jpu->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 1661 drivers/media/platform/rcar_jpu.c jpu->vfd_encoder.v4l2_dev = &jpu->v4l2_dev; v4l2_dev 1668 drivers/media/platform/rcar_jpu.c v4l2_err(&jpu->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1680 drivers/media/platform/rcar_jpu.c jpu->vfd_decoder.v4l2_dev = &jpu->v4l2_dev; v4l2_dev 1687 drivers/media/platform/rcar_jpu.c v4l2_err(&jpu->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1694 drivers/media/platform/rcar_jpu.c v4l2_info(&jpu->v4l2_dev, "encoder device registered as /dev/video%d\n", v4l2_dev 1696 drivers/media/platform/rcar_jpu.c v4l2_info(&jpu->v4l2_dev, "decoder device registered as /dev/video%d\n", v4l2_dev 1708 drivers/media/platform/rcar_jpu.c v4l2_device_unregister(&jpu->v4l2_dev); v4l2_dev 1720 drivers/media/platform/rcar_jpu.c v4l2_device_unregister(&jpu->v4l2_dev); v4l2_dev 174 drivers/media/platform/renesas-ceu.c struct v4l2_device v4l2_dev; v4l2_dev 209 drivers/media/platform/renesas-ceu.c static inline struct ceu_device *v4l2_to_ceu(struct v4l2_device *v4l2_dev) v4l2_dev 211 drivers/media/platform/renesas-ceu.c return container_of(v4l2_dev, struct ceu_device, v4l2_dev); v4l2_dev 1386 drivers/media/platform/renesas-ceu.c struct v4l2_device *v4l2_dev = notifier->v4l2_dev; v4l2_dev 1387 drivers/media/platform/renesas-ceu.c struct ceu_device *ceudev = v4l2_to_ceu(v4l2_dev); v4l2_dev 1398 drivers/media/platform/renesas-ceu.c struct v4l2_device *v4l2_dev = notifier->v4l2_dev; v4l2_dev 1399 drivers/media/platform/renesas-ceu.c struct ceu_device *ceudev = v4l2_to_ceu(v4l2_dev); v4l2_dev 1415 drivers/media/platform/renesas-ceu.c q->dev = ceudev->v4l2_dev.dev; v4l2_dev 1442 drivers/media/platform/renesas-ceu.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 1455 drivers/media/platform/renesas-ceu.c v4l2_err(vdev->v4l2_dev, v4l2_dev 1675 drivers/media/platform/renesas-ceu.c ret = v4l2_device_register(dev, &ceudev->v4l2_dev); v4l2_dev 1699 drivers/media/platform/renesas-ceu.c ceudev->notifier.v4l2_dev = &ceudev->v4l2_dev; v4l2_dev 1701 drivers/media/platform/renesas-ceu.c ret = v4l2_async_notifier_register(&ceudev->v4l2_dev, v4l2_dev 1713 drivers/media/platform/renesas-ceu.c v4l2_device_unregister(&ceudev->v4l2_dev); v4l2_dev 1732 drivers/media/platform/renesas-ceu.c v4l2_device_unregister(&ceudev->v4l2_dev); v4l2_dev 110 drivers/media/platform/rockchip/rga/rga.c src_vq->dev = ctx->rga->v4l2_dev.dev; v4l2_dev 124 drivers/media/platform/rockchip/rga/rga.c dst_vq->dev = ctx->rga->v4l2_dev.dev; v4l2_dev 179 drivers/media/platform/rockchip/rga/rga.c v4l2_err(&rga->v4l2_dev, "%s failed\n", __func__); v4l2_dev 536 drivers/media/platform/rockchip/rga/rga.c v4l2_err(&rga->v4l2_dev, "queue (%d) bust\n", f->type); v4l2_dev 647 drivers/media/platform/rockchip/rga/rga.c v4l2_dbg(debug, 1, &rga->v4l2_dev, v4l2_dev 655 drivers/media/platform/rockchip/rga/rga.c v4l2_dbg(debug, 1, &rga->v4l2_dev, "unsupported crop value.\n"); v4l2_dev 845 drivers/media/platform/rockchip/rga/rga.c ret = v4l2_device_register(&pdev->dev, &rga->v4l2_dev); v4l2_dev 850 drivers/media/platform/rockchip/rga/rga.c v4l2_err(&rga->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 856 drivers/media/platform/rockchip/rga/rga.c vfd->v4l2_dev = &rga->v4l2_dev; v4l2_dev 864 drivers/media/platform/rockchip/rga/rga.c v4l2_err(&rga->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 874 drivers/media/platform/rockchip/rga/rga.c v4l2_info(&rga->v4l2_dev, "HW Version: 0x%02x.%02x\n", v4l2_dev 894 drivers/media/platform/rockchip/rga/rga.c v4l2_err(&rga->v4l2_dev, "Failed to register video device\n"); v4l2_dev 898 drivers/media/platform/rockchip/rga/rga.c v4l2_info(&rga->v4l2_dev, "Registered %s as /dev/%s\n", v4l2_dev 908 drivers/media/platform/rockchip/rga/rga.c v4l2_device_unregister(&rga->v4l2_dev); v4l2_dev 925 drivers/media/platform/rockchip/rga/rga.c v4l2_info(&rga->v4l2_dev, "Removing\n"); v4l2_dev 929 drivers/media/platform/rockchip/rga/rga.c v4l2_device_unregister(&rga->v4l2_dev); v4l2_dev 64 drivers/media/platform/rockchip/rga/rga.h struct v4l2_device v4l2_dev; v4l2_dev 936 drivers/media/platform/s3c-camif/camif-capture.c return vb2_qbuf(&vp->vb_queue, vp->vdev.v4l2_dev->mdev, buf); v4l2_dev 974 drivers/media/platform/s3c-camif/camif-capture.c return vb2_prepare_buf(&vp->vb_queue, vp->vdev.v4l2_dev->mdev, b); v4l2_dev 1113 drivers/media/platform/s3c-camif/camif-capture.c vfd->v4l2_dev = &camif->v4l2_dev; v4l2_dev 1131 drivers/media/platform/s3c-camif/camif-capture.c q->dev = camif->v4l2_dev.dev; v4l2_dev 1165 drivers/media/platform/s3c-camif/camif-capture.c v4l2_info(&camif->v4l2_dev, "registered %s as /dev/%s\n", v4l2_dev 1430 drivers/media/platform/s3c-camif/camif-capture.c v4l2_dbg(1, debug, &camif->v4l2_dev, "crop: (%d,%d)/%dx%d, fmt: %ux%u\n", v4l2_dev 190 drivers/media/platform/s3c-camif/camif-core.c struct v4l2_device *v4l2_dev = &camif->v4l2_dev; v4l2_dev 203 drivers/media/platform/s3c-camif/camif-core.c v4l2_warn(v4l2_dev, "failed to get I2C adapter %d\n", v4l2_dev 208 drivers/media/platform/s3c-camif/camif-core.c sd = v4l2_i2c_new_subdev_board(v4l2_dev, adapter, v4l2_dev 212 drivers/media/platform/s3c-camif/camif-core.c v4l2_warn(v4l2_dev, "failed to acquire subdev %s\n", v4l2_dev 218 drivers/media/platform/s3c-camif/camif-core.c v4l2_info(v4l2_dev, "registered sensor subdevice %s\n", sd->name); v4l2_dev 302 drivers/media/platform/s3c-camif/camif-core.c struct v4l2_device *v4l2_dev = &camif->v4l2_dev; v4l2_dev 314 drivers/media/platform/s3c-camif/camif-core.c strscpy(v4l2_dev->name, "s3c-camif", sizeof(v4l2_dev->name)); v4l2_dev 315 drivers/media/platform/s3c-camif/camif-core.c v4l2_dev->mdev = md; v4l2_dev 319 drivers/media/platform/s3c-camif/camif-core.c ret = v4l2_device_register(camif->dev, v4l2_dev); v4l2_dev 473 drivers/media/platform/s3c-camif/camif-core.c ret = v4l2_device_register_subdev(&camif->v4l2_dev, &camif->subdev); v4l2_dev 477 drivers/media/platform/s3c-camif/camif-core.c ret = v4l2_device_register_subdev_nodes(&camif->v4l2_dev); v4l2_dev 497 drivers/media/platform/s3c-camif/camif-core.c v4l2_device_unregister(&camif->v4l2_dev); v4l2_dev 521 drivers/media/platform/s3c-camif/camif-core.c v4l2_device_unregister(&camif->v4l2_dev); v4l2_dev 263 drivers/media/platform/s3c-camif/camif-core.h struct v4l2_device v4l2_dev; v4l2_dev 154 drivers/media/platform/s5p-g2d/g2d.c src_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 168 drivers/media/platform/s5p-g2d/g2d.c dst_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 223 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, "g2d_setup_ctrls failed\n"); v4l2_dev 270 drivers/media/platform/s5p-g2d/g2d.c v4l2_info(&dev->v4l2_dev, "instance opened\n"); v4l2_dev 283 drivers/media/platform/s5p-g2d/g2d.c v4l2_info(&dev->v4l2_dev, "instance closed\n"); v4l2_dev 373 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, "queue (%d) bust\n", f->type); v4l2_dev 467 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, v4l2_dev 684 drivers/media/platform/s5p-g2d/g2d.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 689 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 696 drivers/media/platform/s5p-g2d/g2d.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 700 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 705 drivers/media/platform/s5p-g2d/g2d.c v4l2_info(&dev->v4l2_dev, "device registered as /dev/video%d\n", v4l2_dev 710 drivers/media/platform/s5p-g2d/g2d.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 731 drivers/media/platform/s5p-g2d/g2d.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 748 drivers/media/platform/s5p-g2d/g2d.c v4l2_info(&dev->v4l2_dev, "Removing " G2D_NAME); v4l2_dev 751 drivers/media/platform/s5p-g2d/g2d.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 18 drivers/media/platform/s5p-g2d/g2d.h struct v4l2_device v4l2_dev; v4l2_dev 1484 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&ctx->jpeg->v4l2_dev, v4l2_dev 1541 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&ctx->jpeg->v4l2_dev, v4l2_dev 1601 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&ct->jpeg->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 2916 drivers/media/platform/s5p-jpeg/jpeg-core.c ret = v4l2_device_register(&pdev->dev, &jpeg->v4l2_dev); v4l2_dev 2925 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&jpeg->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 2935 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&jpeg->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 2946 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg->vfd_encoder->v4l2_dev = &jpeg->v4l2_dev; v4l2_dev 2952 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&jpeg->v4l2_dev, "Failed to register video device\n"); v4l2_dev 2958 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_info(&jpeg->v4l2_dev, v4l2_dev 2965 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&jpeg->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 2976 drivers/media/platform/s5p-jpeg/jpeg-core.c jpeg->vfd_decoder->v4l2_dev = &jpeg->v4l2_dev; v4l2_dev 2982 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_err(&jpeg->v4l2_dev, "Failed to register video device\n"); v4l2_dev 2988 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_info(&jpeg->v4l2_dev, v4l2_dev 2997 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_info(&jpeg->v4l2_dev, "Samsung S5P JPEG codec\n"); v4l2_dev 3008 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_device_unregister(&jpeg->v4l2_dev); v4l2_dev 3024 drivers/media/platform/s5p-jpeg/jpeg-core.c v4l2_device_unregister(&jpeg->v4l2_dev); v4l2_dev 125 drivers/media/platform/s5p-jpeg/jpeg-core.h struct v4l2_device v4l2_dev; v4l2_dev 1331 drivers/media/platform/s5p-mfc/s5p_mfc.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 1338 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_err(&dev->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 1346 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1357 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_err(&dev->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 1365 drivers/media/platform/s5p-mfc/s5p_mfc.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1381 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1384 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_info(&dev->v4l2_dev, v4l2_dev 1389 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1392 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_info(&dev->v4l2_dev, v4l2_dev 1406 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1424 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_info(&dev->v4l2_dev, "Removing %s\n", pdev->name); v4l2_dev 1448 drivers/media/platform/s5p-mfc/s5p_mfc.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 299 drivers/media/platform/s5p-mfc/s5p_mfc_common.h struct v4l2_device v4l2_dev; v4l2_dev 406 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c v4l2_err(&dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 724 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c v4l2_err(&dev->v4l2_dev, "Decoding not initialised\n"); v4l2_dev 734 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c v4l2_err(&dev->v4l2_dev, "Decoding not initialised\n"); v4l2_dev 1432 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l2_err(&dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 2192 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l2_err(&dev->v4l2_dev, "Invalid control, id=%d, val=%d\n", v4l2_dev 2211 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l2_err(&dev->v4l2_dev, "Encoding not initialised\n"); v4l2_dev 2221 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l2_err(&dev->v4l2_dev, "Encoding not initialised\n"); v4l2_dev 106 drivers/media/platform/sh_veu.c struct v4l2_device v4l2_dev; v4l2_dev 550 drivers/media/platform/sh_veu.c v4l2_err(&veu_file->veu_dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 934 drivers/media/platform/sh_veu.c src_vq->dev = veu->v4l2_dev.dev; v4l2_dev 949 drivers/media/platform/sh_veu.c dst_vq->dev = veu->v4l2_dev.dev; v4l2_dev 1133 drivers/media/platform/sh_veu.c ret = v4l2_device_register(&pdev->dev, &veu->v4l2_dev); v4l2_dev 1142 drivers/media/platform/sh_veu.c vdev->v4l2_dev = &veu->v4l2_dev; v4l2_dev 1156 drivers/media/platform/sh_veu.c v4l2_err(&veu->v4l2_dev, "Failed to init mem2mem device: %d\n", ret); v4l2_dev 1174 drivers/media/platform/sh_veu.c v4l2_device_unregister(&veu->v4l2_dev); v4l2_dev 1180 drivers/media/platform/sh_veu.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 1181 drivers/media/platform/sh_veu.c struct sh_veu_dev *veu = container_of(v4l2_dev, v4l2_dev 1182 drivers/media/platform/sh_veu.c struct sh_veu_dev, v4l2_dev); v4l2_dev 1187 drivers/media/platform/sh_veu.c v4l2_device_unregister(&veu->v4l2_dev); v4l2_dev 74 drivers/media/platform/sh_vou.c struct v4l2_device v4l2_dev; v4l2_dev 245 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 261 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 265 drivers/media/platform/sh_vou.c dev_warn(vou_dev->v4l2_dev.dev, "buffer too small (%lu < %u)\n", v4l2_dev 294 drivers/media/platform/sh_vou.c ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, v4l2_dev 312 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s: first buffer status 0x%x\n", v4l2_dev 341 drivers/media/platform/sh_vou.c v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, v4l2_dev 373 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 390 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 402 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 464 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, v4l2_dev 485 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "0x%08x: scaling 0x%x\n", v4l2_dev 659 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 718 drivers/media/platform/sh_vou.c ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad, v4l2_dev 724 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u -> %ux%u\n", __func__, v4l2_dev 751 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s(): %ux%u\n", __func__, v4l2_dev 820 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s(): 0x%llx\n", __func__, std_id); v4l2_dev 828 drivers/media/platform/sh_vou.c ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, video, v4l2_dev 861 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "%s()\n", __func__); v4l2_dev 978 drivers/media/platform/sh_vou.c v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad, v4l2_dev 982 drivers/media/platform/sh_vou.c ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad, v4l2_dev 1025 drivers/media/platform/sh_vou.c dev_warn(vou_dev->v4l2_dev.dev, "IRQ status 0x%x!\n", v4l2_dev 1033 drivers/media/platform/sh_vou.c dev_warn(vou_dev->v4l2_dev.dev, v4l2_dev 1042 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, v4l2_dev 1101 drivers/media/platform/sh_vou.c dev_dbg(vou_dev->v4l2_dev.dev, "Reset took %dus\n", 100 - i); v4l2_dev 1136 drivers/media/platform/sh_vou.c pm_runtime_get_sync(vou_dev->v4l2_dev.dev); v4l2_dev 1139 drivers/media/platform/sh_vou.c pm_runtime_put(vou_dev->v4l2_dev.dev); v4l2_dev 1162 drivers/media/platform/sh_vou.c pm_runtime_put(vou_dev->v4l2_dev.dev); v4l2_dev 1271 drivers/media/platform/sh_vou.c ret = v4l2_device_register(&pdev->dev, &vou_dev->v4l2_dev); v4l2_dev 1281 drivers/media/platform/sh_vou.c vdev->v4l2_dev = &vou_dev->v4l2_dev; v4l2_dev 1319 drivers/media/platform/sh_vou.c subdev = v4l2_i2c_new_subdev_board(&vou_dev->v4l2_dev, i2c_adap, v4l2_dev 1338 drivers/media/platform/sh_vou.c v4l2_device_unregister(&vou_dev->v4l2_dev); v4l2_dev 1344 drivers/media/platform/sh_vou.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 1345 drivers/media/platform/sh_vou.c struct sh_vou_device *vou_dev = container_of(v4l2_dev, v4l2_dev 1346 drivers/media/platform/sh_vou.c struct sh_vou_device, v4l2_dev); v4l2_dev 1347 drivers/media/platform/sh_vou.c struct v4l2_subdev *sd = list_entry(v4l2_dev->subdevs.next, v4l2_dev 1354 drivers/media/platform/sh_vou.c v4l2_device_unregister(&vou_dev->v4l2_dev); v4l2_dev 555 drivers/media/platform/sti/bdisp/bdisp-v4l2.c src_vq->dev = ctx->bdisp_dev->v4l2_dev.dev; v4l2_dev 570 drivers/media/platform/sti/bdisp/bdisp-v4l2.c dst_vq->dev = ctx->bdisp_dev->v4l2_dev.dev; v4l2_dev 1055 drivers/media/platform/sti/bdisp/bdisp-v4l2.c bdisp->vdev.v4l2_dev = &bdisp->v4l2_dev; v4l2_dev 1272 drivers/media/platform/sti/bdisp/bdisp-v4l2.c v4l2_device_unregister(&bdisp->v4l2_dev); v4l2_dev 1352 drivers/media/platform/sti/bdisp/bdisp-v4l2.c ret = v4l2_device_register(dev, &bdisp->v4l2_dev); v4l2_dev 1401 drivers/media/platform/sti/bdisp/bdisp-v4l2.c v4l2_device_unregister(&bdisp->v4l2_dev); v4l2_dev 186 drivers/media/platform/sti/bdisp/bdisp.h struct v4l2_device v4l2_dev; v4l2_dev 1780 drivers/media/platform/sti/delta/delta-v4l2.c vdev->v4l2_dev = &delta->v4l2_dev; v4l2_dev 1873 drivers/media/platform/sti/delta/delta-v4l2.c ret = v4l2_device_register(dev, &delta->v4l2_dev); v4l2_dev 1901 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_device_unregister(&delta->v4l2_dev); v4l2_dev 1919 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_device_unregister(&delta->v4l2_dev); v4l2_dev 492 drivers/media/platform/sti/delta/delta.h struct v4l2_device v4l2_dev; v4l2_dev 278 drivers/media/platform/sti/hva/hva-debugfs.c seq_printf(s, "[%s]\n", hva->v4l2_dev.name); v4l2_dev 1315 drivers/media/platform/sti/hva/hva-v4l2.c vdev->v4l2_dev = &hva->v4l2_dev; v4l2_dev 1383 drivers/media/platform/sti/hva/hva-v4l2.c ret = v4l2_device_register(dev, &hva->v4l2_dev); v4l2_dev 1418 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_device_unregister(&hva->v4l2_dev); v4l2_dev 1440 drivers/media/platform/sti/hva/hva-v4l2.c v4l2_device_unregister(&hva->v4l2_dev); v4l2_dev 337 drivers/media/platform/sti/hva/hva.h struct v4l2_device v4l2_dev; v4l2_dev 139 drivers/media/platform/stm32/stm32-dcmi.c struct v4l2_device v4l2_dev; v4l2_dev 1822 drivers/media/platform/stm32/stm32-dcmi.c ret = v4l2_async_notifier_register(&dcmi->v4l2_dev, &dcmi->notifier); v4l2_dev 1932 drivers/media/platform/stm32/stm32-dcmi.c dcmi->v4l2_dev.mdev = &dcmi->mdev; v4l2_dev 1942 drivers/media/platform/stm32/stm32-dcmi.c ret = v4l2_device_register(&pdev->dev, &dcmi->v4l2_dev); v4l2_dev 1954 drivers/media/platform/stm32/stm32-dcmi.c dcmi->vdev->v4l2_dev = &dcmi->v4l2_dev; v4l2_dev 2035 drivers/media/platform/stm32/stm32-dcmi.c v4l2_device_unregister(&dcmi->v4l2_dev); v4l2_dev 2052 drivers/media/platform/stm32/stm32-dcmi.c v4l2_device_unregister(&dcmi->v4l2_dev); v4l2_dev 360 drivers/media/platform/sunxi/sun4i-csi/sun4i_v4l2.c vdev->v4l2_dev = &csi->v4l; v4l2_dev 670 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c struct v4l2_device *v4l2_dev = &csi->v4l2_dev; v4l2_dev 676 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c sd = list_first_entry(&v4l2_dev->subdevs, struct v4l2_subdev, list); v4l2_dev 684 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c ret = v4l2_device_register_subdev_nodes(&csi->v4l2_dev); v4l2_dev 723 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c v4l2_device_unregister(&csi->v4l2_dev); v4l2_dev 747 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c csi->v4l2_dev.mdev = &csi->media_dev; v4l2_dev 748 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c csi->v4l2_dev.ctrl_handler = &csi->ctrl_handler; v4l2_dev 749 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c ret = v4l2_device_register(csi->dev, &csi->v4l2_dev); v4l2_dev 769 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c ret = v4l2_async_notifier_register(&csi->v4l2_dev, &csi->notifier); v4l2_dev 780 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.c v4l2_device_unregister(&csi->v4l2_dev); v4l2_dev 38 drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h struct v4l2_device v4l2_dev; v4l2_dev 118 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c v4l2_err(video->vdev.v4l2_dev, "buffer too small (%lu < %lu)\n", v4l2_dev 642 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c v4l2_err(&csi->v4l2_dev, "vb2_queue_init failed: %d\n", ret); v4l2_dev 653 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c vdev->v4l2_dev = &csi->v4l2_dev; v4l2_dev 661 drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c v4l2_err(&csi->v4l2_dev, v4l2_dev 58 drivers/media/platform/ti-vpe/cal.c v4l2_dbg(level, debug, &caldev->v4l2_dev, fmt, ##arg) v4l2_dev 60 drivers/media/platform/ti-vpe/cal.c v4l2_info(&caldev->v4l2_dev, fmt, ##arg) v4l2_dev 62 drivers/media/platform/ti-vpe/cal.c v4l2_err(&caldev->v4l2_dev, fmt, ##arg) v4l2_dev 65 drivers/media/platform/ti-vpe/cal.c v4l2_dbg(level, debug, &ctx->v4l2_dev, fmt, ##arg) v4l2_dev 67 drivers/media/platform/ti-vpe/cal.c v4l2_info(&ctx->v4l2_dev, fmt, ##arg) v4l2_dev 69 drivers/media/platform/ti-vpe/cal.c v4l2_err(&ctx->v4l2_dev, fmt, ##arg) v4l2_dev 248 drivers/media/platform/ti-vpe/cal.c struct v4l2_device v4l2_dev; v4l2_dev 262 drivers/media/platform/ti-vpe/cal.c struct v4l2_device v4l2_dev; v4l2_dev 913 drivers/media/platform/ti-vpe/cal.c "platform:%s", ctx->v4l2_dev.name); v4l2_dev 1544 drivers/media/platform/ti-vpe/cal.c q->dev = ctx->v4l2_dev.dev; v4l2_dev 1555 drivers/media/platform/ti-vpe/cal.c vfd->v4l2_dev = &ctx->v4l2_dev; v4l2_dev 1569 drivers/media/platform/ti-vpe/cal.c v4l2_info(&ctx->v4l2_dev, "V4L2 device registered as %s\n", v4l2_dev 1739 drivers/media/platform/ti-vpe/cal.c ret = v4l2_async_notifier_register(&ctx->v4l2_dev, v4l2_dev 1775 drivers/media/platform/ti-vpe/cal.c snprintf(ctx->v4l2_dev.name, sizeof(ctx->v4l2_dev.name), v4l2_dev 1777 drivers/media/platform/ti-vpe/cal.c ret = v4l2_device_register(&dev->pdev->dev, &ctx->v4l2_dev); v4l2_dev 1787 drivers/media/platform/ti-vpe/cal.c ctx->v4l2_dev.ctrl_handler = hdl; v4l2_dev 1805 drivers/media/platform/ti-vpe/cal.c v4l2_device_unregister(&ctx->v4l2_dev); v4l2_dev 1823 drivers/media/platform/ti-vpe/cal.c strscpy(dev->v4l2_dev.name, CAL_MODULE_NAME, v4l2_dev 1824 drivers/media/platform/ti-vpe/cal.c sizeof(dev->v4l2_dev.name)); v4l2_dev 1890 drivers/media/platform/ti-vpe/cal.c v4l2_device_unregister(&ctx->v4l2_dev); v4l2_dev 1917 drivers/media/platform/ti-vpe/cal.c v4l2_device_unregister(&ctx->v4l2_dev); v4l2_dev 83 drivers/media/platform/ti-vpe/vpe.c dev_dbg((vpedev)->v4l2_dev.dev, fmt, ##arg) v4l2_dev 85 drivers/media/platform/ti-vpe/vpe.c dev_err((vpedev)->v4l2_dev.dev, fmt, ##arg) v4l2_dev 365 drivers/media/platform/ti-vpe/vpe.c struct v4l2_device v4l2_dev; v4l2_dev 541 drivers/media/platform/ti-vpe/vpe.c struct device *dev = ctx->dev->v4l2_dev.dev; v4l2_dev 1326 drivers/media/platform/ti-vpe/vpe.c dev_warn(ctx->dev->v4l2_dev.dev, v4l2_dev 1332 drivers/media/platform/ti-vpe/vpe.c dev_warn(ctx->dev->v4l2_dev.dev, v4l2_dev 1384 drivers/media/platform/ti-vpe/vpe.c dev_warn(dev->v4l2_dev.dev, "Unexpected interrupt: INT0_STATUS0 = 0x%08x, INT0_STATUS1 = 0x%08x\n", v4l2_dev 2207 drivers/media/platform/ti-vpe/vpe.c src_vq->dev = dev->v4l2_dev.dev; v4l2_dev 2222 drivers/media/platform/ti-vpe/vpe.c dst_vq->dev = dev->v4l2_dev.dev; v4l2_dev 2461 drivers/media/platform/ti-vpe/vpe.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 2471 drivers/media/platform/ti-vpe/vpe.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2477 drivers/media/platform/ti-vpe/vpe.c dev_info(dev->v4l2_dev.dev, "Device registered as /dev/video%d\n", v4l2_dev 2492 drivers/media/platform/ti-vpe/vpe.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 2570 drivers/media/platform/ti-vpe/vpe.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2579 drivers/media/platform/ti-vpe/vpe.c v4l2_info(&dev->v4l2_dev, "Removing " VPE_MODULE_NAME); v4l2_dev 2583 drivers/media/platform/ti-vpe/vpe.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 61 drivers/media/platform/via-camera.c struct v4l2_device v4l2_dev; v4l2_dev 1195 drivers/media/platform/via-camera.c ret = v4l2_device_register(&pdev->dev, &cam->v4l2_dev); v4l2_dev 1203 drivers/media/platform/via-camera.c cam->v4l2_dev.ctrl_handler = &cam->ctrl_handler; v4l2_dev 1228 drivers/media/platform/via-camera.c cam->sensor = v4l2_i2c_new_subdev_board(&cam->v4l2_dev, sensor_adapter, v4l2_dev 1250 drivers/media/platform/via-camera.c vq->dev = cam->v4l2_dev.dev; v4l2_dev 1261 drivers/media/platform/via-camera.c cam->vdev.v4l2_dev = &cam->v4l2_dev; v4l2_dev 1288 drivers/media/platform/via-camera.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 1300 drivers/media/platform/via-camera.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 48 drivers/media/platform/vicodec/vicodec-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 105 drivers/media/platform/vicodec/vicodec-core.c struct v4l2_device v4l2_dev; v4l2_dev 309 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2037 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 2041 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 2050 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&ctx->dev->v4l2_dev, "Missing codec control\n"); v4l2_dev 2056 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 2103 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to init vicodec enc device\n"); v4l2_dev 2110 drivers/media/platform/vicodec/vicodec-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 2125 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to register video device '%s'\n", name); v4l2_dev 2129 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&dev->v4l2_dev, "Device '%s' registered as /dev/video%d\n", v4l2_dev 2134 drivers/media/platform/vicodec/vicodec-core.c static void vicodec_v4l2_dev_release(struct v4l2_device *v4l2_dev) v4l2_dev 2136 drivers/media/platform/vicodec/vicodec-core.c struct vicodec_dev *dev = container_of(v4l2_dev, struct vicodec_dev, v4l2_dev); v4l2_dev 2138 drivers/media/platform/vicodec/vicodec-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2157 drivers/media/platform/vicodec/vicodec-core.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 2161 drivers/media/platform/vicodec/vicodec-core.c dev->v4l2_dev.release = vicodec_v4l2_dev_release; v4l2_dev 2170 drivers/media/platform/vicodec/vicodec-core.c dev->v4l2_dev.mdev = &dev->mdev; v4l2_dev 2192 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem media controller for enc\n"); v4l2_dev 2200 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem media controller for dec\n"); v4l2_dev 2208 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem media controller for stateless dec\n"); v4l2_dev 2214 drivers/media/platform/vicodec/vicodec-core.c v4l2_err(&dev->v4l2_dev, "Failed to register mem2mem media device\n"); v4l2_dev 2238 drivers/media/platform/vicodec/vicodec-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2249 drivers/media/platform/vicodec/vicodec-core.c v4l2_info(&dev->v4l2_dev, "Removing " VICODEC_NAME); v4l2_dev 2261 drivers/media/platform/vicodec/vicodec-core.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 79 drivers/media/platform/vim2m.c v4l2_dbg(lvl, debug, &(dev)->v4l2_dev, "%s: " fmt, __func__, ## arg) v4l2_dev 191 drivers/media/platform/vim2m.c struct v4l2_device v4l2_dev; v4l2_dev 473 drivers/media/platform/vim2m.c v4l2_err(&dev->v4l2_dev, v4l2_dev 811 drivers/media/platform/vim2m.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 836 drivers/media/platform/vim2m.c v4l2_err(&ctx->dev->v4l2_dev, v4l2_dev 861 drivers/media/platform/vim2m.c v4l2_err(&ctx->dev->v4l2_dev, "%s queue busy\n", __func__); v4l2_dev 946 drivers/media/platform/vim2m.c v4l2_err(&ctx->dev->v4l2_dev, "Invalid control\n"); v4l2_dev 1276 drivers/media/platform/vim2m.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1324 drivers/media/platform/vim2m.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 1334 drivers/media/platform/vim2m.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1338 drivers/media/platform/vim2m.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 1343 drivers/media/platform/vim2m.c v4l2_info(&dev->v4l2_dev, v4l2_dev 1350 drivers/media/platform/vim2m.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 1363 drivers/media/platform/vim2m.c dev->v4l2_dev.mdev = &dev->mdev; v4l2_dev 1368 drivers/media/platform/vim2m.c v4l2_err(&dev->v4l2_dev, "Failed to init mem2mem media controller\n"); v4l2_dev 1374 drivers/media/platform/vim2m.c v4l2_err(&dev->v4l2_dev, "Failed to register mem2mem media device\n"); v4l2_dev 1389 drivers/media/platform/vim2m.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1400 drivers/media/platform/vim2m.c v4l2_info(&dev->v4l2_dev, "Removing " MEM2MEM_NAME); v4l2_dev 397 drivers/media/platform/vimc/vimc-capture.c struct v4l2_device *v4l2_dev = master_data; v4l2_dev 475 drivers/media/platform/vimc/vimc-capture.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 368 drivers/media/platform/vimc/vimc-common.c struct v4l2_device *v4l2_dev, v4l2_dev 406 drivers/media/platform/vimc/vimc-common.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 408 drivers/media/platform/vimc/vimc-common.c dev_err(v4l2_dev->dev, v4l2_dev 188 drivers/media/platform/vimc/vimc-common.h struct v4l2_device *v4l2_dev, v4l2_dev 38 drivers/media/platform/vimc/vimc-core.c struct v4l2_device v4l2_dev; v4l2_dev 175 drivers/media/platform/vimc/vimc-core.c ret = v4l2_device_register(vimc->mdev.dev, &vimc->v4l2_dev); v4l2_dev 183 drivers/media/platform/vimc/vimc-core.c ret = component_bind_all(master, &vimc->v4l2_dev); v4l2_dev 201 drivers/media/platform/vimc/vimc-core.c ret = v4l2_device_register_subdev_nodes(&vimc->v4l2_dev); v4l2_dev 217 drivers/media/platform/vimc/vimc-core.c v4l2_device_unregister(&vimc->v4l2_dev); v4l2_dev 232 drivers/media/platform/vimc/vimc-core.c v4l2_device_unregister(&vimc->v4l2_dev); v4l2_dev 307 drivers/media/platform/vimc/vimc-core.c vimc->v4l2_dev.mdev = &vimc->mdev; v4l2_dev 508 drivers/media/platform/vimc/vimc-debayer.c struct v4l2_device *v4l2_dev = master_data; v4l2_dev 519 drivers/media/platform/vimc/vimc-debayer.c ret = vimc_ent_sd_register(&vdeb->ved, &vdeb->sd, v4l2_dev, v4l2_dev 368 drivers/media/platform/vimc/vimc-scaler.c struct v4l2_device *v4l2_dev = master_data; v4l2_dev 379 drivers/media/platform/vimc/vimc-scaler.c ret = vimc_ent_sd_register(&vsca->ved, &vsca->sd, v4l2_dev, v4l2_dev 333 drivers/media/platform/vimc/vimc-sensor.c struct v4l2_device *v4l2_dev = master_data; v4l2_dev 366 drivers/media/platform/vimc/vimc-sensor.c ret = vimc_ent_sd_register(&vsen->ved, &vsen->sd, v4l2_dev, v4l2_dev 203 drivers/media/platform/vivid/vivid-core.c "platform:%s", dev->v4l2_dev.name); v4l2_dev 454 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "reconnect\n"); v4l2_dev 613 drivers/media/platform/vivid/vivid-core.c static void vivid_dev_release(struct v4l2_device *v4l2_dev) v4l2_dev 615 drivers/media/platform/vivid/vivid-core.c struct vivid_dev *dev = container_of(v4l2_dev, struct vivid_dev, v4l2_dev); v4l2_dev 618 drivers/media/platform/vivid/vivid-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 685 drivers/media/platform/vivid/vivid-core.c dev->v4l2_dev.mdev = &dev->mdev; v4l2_dev 697 drivers/media/platform/vivid/vivid-core.c snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), v4l2_dev 699 drivers/media/platform/vivid/vivid-core.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 704 drivers/media/platform/vivid/vivid-core.c dev->v4l2_dev.release = vivid_dev_release; v4l2_dev 710 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "using %splanar format API\n", v4l2_dev 803 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "Capture Crop: %c Compose: %c Scaler: %c\n", v4l2_dev 818 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "Output Crop: %c Compose: %c Scaler: %c\n", v4l2_dev 1121 drivers/media/platform/vivid/vivid-core.c q->dev = dev->v4l2_dev.dev; v4l2_dev 1146 drivers/media/platform/vivid/vivid-core.c q->dev = dev->v4l2_dev.dev; v4l2_dev 1169 drivers/media/platform/vivid/vivid-core.c q->dev = dev->v4l2_dev.dev; v4l2_dev 1192 drivers/media/platform/vivid/vivid-core.c q->dev = dev->v4l2_dev.dev; v4l2_dev 1214 drivers/media/platform/vivid/vivid-core.c q->dev = dev->v4l2_dev.dev; v4l2_dev 1227 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "Framebuffer device registered as fb%d\n", v4l2_dev 1279 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1306 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "CEC adapter %s registered for HDMI input 0\n", v4l2_dev 1314 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 capture device registered as %s\n", v4l2_dev 1325 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1353 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "CEC adapter %s registered for HDMI output %d\n", v4l2_dev 1365 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 output device registered as %s\n", v4l2_dev 1377 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1393 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 capture device registered as %s, supports %s VBI\n", v4l2_dev 1409 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1425 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 output device registered as %s, supports %s VBI\n", v4l2_dev 1440 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1455 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 capture device registered as %s\n", v4l2_dev 1467 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1474 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 receiver device registered as %s\n", v4l2_dev 1487 drivers/media/platform/vivid/vivid-core.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1494 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "V4L2 transmitter device registered as %s\n", v4l2_dev 1529 drivers/media/platform/vivid/vivid-core.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 1589 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1594 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1599 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1604 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1609 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1614 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1619 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1624 drivers/media/platform/vivid/vivid-core.c v4l2_info(&dev->v4l2_dev, "unregistering fb%d\n", v4l2_dev 1636 drivers/media/platform/vivid/vivid-core.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 23 drivers/media/platform/vivid/vivid-core.h v4l2_dbg(level, vivid_debug, &dev->v4l2_dev, fmt, ## arg) v4l2_dev 126 drivers/media/platform/vivid/vivid-core.h struct v4l2_device v4l2_dev; v4l2_dev 105 drivers/media/platform/vivid/vivid-ctrls.c v4l2_info(&dev->v4l2_dev, "disconnect\n"); v4l2_dev 903 drivers/media/platform/vivid/vivid-kthread-cap.c "%s-vid-cap", dev->v4l2_dev.name); v4l2_dev 909 drivers/media/platform/vivid/vivid-kthread-cap.c v4l2_err(&dev->v4l2_dev, "kernel_thread() failed\n"); v4l2_dev 248 drivers/media/platform/vivid/vivid-kthread-out.c "%s-vid-out", dev->v4l2_dev.name); v4l2_dev 254 drivers/media/platform/vivid/vivid-kthread-out.c v4l2_err(&dev->v4l2_dev, "kernel_thread() failed\n"); v4l2_dev 270 drivers/media/platform/vivid/vivid-sdr-cap.c "%s-sdr-cap", dev->v4l2_dev.name); v4l2_dev 273 drivers/media/platform/vivid/vivid-sdr-cap.c v4l2_err(&dev->v4l2_dev, "kernel_thread() failed\n"); v4l2_dev 101 drivers/media/platform/vsp1/vsp1.h struct v4l2_device v4l2_dev; v4l2_dev 226 drivers/media/platform/vsp1/vsp1_drv.c v4l2_device_unregister(&vsp1->v4l2_dev); v4l2_dev 238 drivers/media/platform/vsp1/vsp1_drv.c struct v4l2_device *vdev = &vsp1->v4l2_dev; v4l2_dev 452 drivers/media/platform/vsp1/vsp1_drv.c ret = v4l2_device_register_subdev(&vsp1->v4l2_dev, v4l2_dev 467 drivers/media/platform/vsp1/vsp1_drv.c ret = v4l2_device_register_subdev_nodes(&vsp1->v4l2_dev); v4l2_dev 550 drivers/media/platform/vsp1/vsp1_histo.c histo->video.v4l2_dev = &vsp1->v4l2_dev; v4l2_dev 1292 drivers/media/platform/vsp1/vsp1_video.c video->video.v4l2_dev = &video->vsp1->v4l2_dev; v4l2_dev 682 drivers/media/platform/xilinx/xilinx-dma.c dma->video.v4l2_dev = &xdev->v4l2_dev; v4l2_dev 306 drivers/media/platform/xilinx/xilinx-vipp.c ret = v4l2_device_register_subdev_nodes(&xdev->v4l2_dev); v4l2_dev 534 drivers/media/platform/xilinx/xilinx-vipp.c ret = v4l2_async_notifier_register(&xdev->v4l2_dev, &xdev->notifier); v4l2_dev 555 drivers/media/platform/xilinx/xilinx-vipp.c v4l2_device_unregister(&xdev->v4l2_dev); v4l2_dev 571 drivers/media/platform/xilinx/xilinx-vipp.c xdev->v4l2_dev.mdev = &xdev->media_dev; v4l2_dev 572 drivers/media/platform/xilinx/xilinx-vipp.c ret = v4l2_device_register(xdev->dev, &xdev->v4l2_dev); v4l2_dev 32 drivers/media/platform/xilinx/xilinx-vipp.h struct v4l2_device v4l2_dev; v4l2_dev 59 drivers/media/radio/dsbr100.c #define v4l2_dev_to_radio(d) container_of(d, struct dsbr100_device, v4l2_dev) v4l2_dev 68 drivers/media/radio/dsbr100.c struct v4l2_device v4l2_dev; v4l2_dev 264 drivers/media/radio/dsbr100.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 266 drivers/media/radio/dsbr100.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 299 drivers/media/radio/dsbr100.c static void usb_dsbr100_release(struct v4l2_device *v4l2_dev) v4l2_dev 301 drivers/media/radio/dsbr100.c struct dsbr100_device *radio = v4l2_dev_to_radio(v4l2_dev); v4l2_dev 304 drivers/media/radio/dsbr100.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 338 drivers/media/radio/dsbr100.c struct v4l2_device *v4l2_dev; v4l2_dev 353 drivers/media/radio/dsbr100.c v4l2_dev = &radio->v4l2_dev; v4l2_dev 354 drivers/media/radio/dsbr100.c v4l2_dev->release = usb_dsbr100_release; v4l2_dev 356 drivers/media/radio/dsbr100.c retval = v4l2_device_register(&intf->dev, v4l2_dev); v4l2_dev 358 drivers/media/radio/dsbr100.c v4l2_err(v4l2_dev, "couldn't register v4l2_device\n"); v4l2_dev 367 drivers/media/radio/dsbr100.c v4l2_err(v4l2_dev, "couldn't register control\n"); v4l2_dev 371 drivers/media/radio/dsbr100.c strscpy(radio->videodev.name, v4l2_dev->name, v4l2_dev 373 drivers/media/radio/dsbr100.c radio->videodev.v4l2_dev = v4l2_dev; v4l2_dev 391 drivers/media/radio/dsbr100.c v4l2_err(v4l2_dev, "couldn't register video device\n"); v4l2_dev 395 drivers/media/radio/dsbr100.c v4l2_device_unregister(v4l2_dev); v4l2_dev 66 drivers/media/radio/radio-cadet.c struct v4l2_device v4l2_dev; v4l2_dev 592 drivers/media/radio/radio-cadet.c struct v4l2_device *v4l2_dev = &dev->v4l2_dev; v4l2_dev 596 drivers/media/radio/radio-cadet.c strscpy(v4l2_dev->name, "cadet", sizeof(v4l2_dev->name)); v4l2_dev 611 drivers/media/radio/radio-cadet.c v4l2_err(v4l2_dev, "you must set an I/O address with io=0x330, 0x332, 0x334,\n"); v4l2_dev 612 drivers/media/radio/radio-cadet.c v4l2_err(v4l2_dev, "0x336, 0x338, 0x33a, 0x33c or 0x33e\n"); v4l2_dev 619 drivers/media/radio/radio-cadet.c res = v4l2_device_register(NULL, v4l2_dev); v4l2_dev 622 drivers/media/radio/radio-cadet.c v4l2_err(v4l2_dev, "could not register v4l2_device\n"); v4l2_dev 630 drivers/media/radio/radio-cadet.c v4l2_dev->ctrl_handler = hdl; v4l2_dev 633 drivers/media/radio/radio-cadet.c v4l2_err(v4l2_dev, "Could not register controls\n"); v4l2_dev 640 drivers/media/radio/radio-cadet.c strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); v4l2_dev 641 drivers/media/radio/radio-cadet.c dev->vdev.v4l2_dev = v4l2_dev; v4l2_dev 653 drivers/media/radio/radio-cadet.c v4l2_info(v4l2_dev, "ADS Cadet Radio Card at 0x%x\n", dev->io); v4l2_dev 657 drivers/media/radio/radio-cadet.c v4l2_device_unregister(v4l2_dev); v4l2_dev 670 drivers/media/radio/radio-cadet.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 39 drivers/media/radio/radio-isa.c snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); v4l2_dev 133 drivers/media/radio/radio-isa.c v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io); v4l2_dev 134 drivers/media/radio/radio-isa.c v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); v4l2_dev 182 drivers/media/radio/radio-isa.c struct v4l2_device *v4l2_dev; v4l2_dev 189 drivers/media/radio/radio-isa.c v4l2_dev = &isa->v4l2_dev; v4l2_dev 190 drivers/media/radio/radio-isa.c strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); v4l2_dev 201 drivers/media/radio/radio-isa.c struct v4l2_device *v4l2_dev = &isa->v4l2_dev; v4l2_dev 204 drivers/media/radio/radio-isa.c if (!request_region(isa->io, region_size, v4l2_dev->name)) { v4l2_dev 205 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "port 0x%x already in use\n", isa->io); v4l2_dev 210 drivers/media/radio/radio-isa.c res = v4l2_device_register(pdev, v4l2_dev); v4l2_dev 212 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); v4l2_dev 223 drivers/media/radio/radio-isa.c v4l2_dev->ctrl_handler = &isa->hdl; v4l2_dev 226 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "Could not register controls\n"); v4l2_dev 231 drivers/media/radio/radio-isa.c v4l2_dev->ctrl_handler = &isa->hdl; v4l2_dev 235 drivers/media/radio/radio-isa.c strscpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); v4l2_dev 236 drivers/media/radio/radio-isa.c isa->vdev.v4l2_dev = v4l2_dev; v4l2_dev 254 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "Could not setup card\n"); v4l2_dev 260 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "Could not register device node\n"); v4l2_dev 264 drivers/media/radio/radio-isa.c v4l2_info(v4l2_dev, "Initialized radio card %s on port 0x%03x\n", v4l2_dev 284 drivers/media/radio/radio-isa.c v4l2_device_unregister(&isa->v4l2_dev); v4l2_dev 286 drivers/media/radio/radio-isa.c v4l2_info(&isa->v4l2_dev, "Removed radio card %s\n", isa->drv->card); v4l2_dev 295 drivers/media/radio/radio-isa.c struct v4l2_device *v4l2_dev; v4l2_dev 302 drivers/media/radio/radio-isa.c v4l2_dev = &isa->v4l2_dev; v4l2_dev 310 drivers/media/radio/radio-isa.c if (request_region(io, drv->region_size, v4l2_dev->name)) { v4l2_dev 327 drivers/media/radio/radio-isa.c v4l2_err(v4l2_dev, "you must set an I/O address with io=0x%03x", v4l2_dev 25 drivers/media/radio/radio-isa.h struct v4l2_device v4l2_dev; v4l2_dev 51 drivers/media/radio/radio-keene.c struct v4l2_device v4l2_dev; v4l2_dev 64 drivers/media/radio/radio-keene.c static inline struct keene_device *to_keene_dev(struct v4l2_device *v4l2_dev) v4l2_dev 66 drivers/media/radio/radio-keene.c return container_of(v4l2_dev, struct keene_device, v4l2_dev); v4l2_dev 141 drivers/media/radio/radio-keene.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 143 drivers/media/radio/radio-keene.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 283 drivers/media/radio/radio-keene.c static void usb_keene_video_device_release(struct v4l2_device *v4l2_dev) v4l2_dev 285 drivers/media/radio/radio-keene.c struct keene_device *radio = to_keene_dev(v4l2_dev); v4l2_dev 344 drivers/media/radio/radio-keene.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 352 drivers/media/radio/radio-keene.c radio->v4l2_dev.ctrl_handler = hdl; v4l2_dev 353 drivers/media/radio/radio-keene.c radio->v4l2_dev.release = usb_keene_video_device_release; v4l2_dev 354 drivers/media/radio/radio-keene.c strscpy(radio->vdev.name, radio->v4l2_dev.name, v4l2_dev 356 drivers/media/radio/radio-keene.c radio->vdev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 366 drivers/media/radio/radio-keene.c usb_set_intfdata(intf, &radio->v4l2_dev); v4l2_dev 385 drivers/media/radio/radio-keene.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 76 drivers/media/radio/radio-ma901.c struct v4l2_device v4l2_dev; v4l2_dev 87 drivers/media/radio/radio-ma901.c static inline struct ma901radio_device *to_ma901radio_dev(struct v4l2_device *v4l2_dev) v4l2_dev 89 drivers/media/radio/radio-ma901.c return container_of(v4l2_dev, struct ma901radio_device, v4l2_dev); v4l2_dev 180 drivers/media/radio/radio-ma901.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 182 drivers/media/radio/radio-ma901.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 321 drivers/media/radio/radio-ma901.c static void usb_ma901radio_release(struct v4l2_device *v4l2_dev) v4l2_dev 323 drivers/media/radio/radio-ma901.c struct ma901radio_device *radio = to_ma901radio_dev(v4l2_dev); v4l2_dev 326 drivers/media/radio/radio-ma901.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 363 drivers/media/radio/radio-ma901.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 390 drivers/media/radio/radio-ma901.c radio->v4l2_dev.ctrl_handler = &radio->hdl; v4l2_dev 391 drivers/media/radio/radio-ma901.c radio->v4l2_dev.release = usb_ma901radio_release; v4l2_dev 392 drivers/media/radio/radio-ma901.c strscpy(radio->vdev.name, radio->v4l2_dev.name, v4l2_dev 394 drivers/media/radio/radio-ma901.c radio->vdev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 403 drivers/media/radio/radio-ma901.c usb_set_intfdata(intf, &radio->v4l2_dev); v4l2_dev 427 drivers/media/radio/radio-ma901.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 73 drivers/media/radio/radio-maxiradio.c struct v4l2_device v4l2_dev; v4l2_dev 79 drivers/media/radio/radio-maxiradio.c static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) v4l2_dev 81 drivers/media/radio/radio-maxiradio.c return container_of(v4l2_dev, struct maxiradio, v4l2_dev); v4l2_dev 122 drivers/media/radio/radio-maxiradio.c struct v4l2_device *v4l2_dev; v4l2_dev 131 drivers/media/radio/radio-maxiradio.c v4l2_dev = &dev->v4l2_dev; v4l2_dev 132 drivers/media/radio/radio-maxiradio.c v4l2_device_set_name(v4l2_dev, "maxiradio", &maxiradio_instance); v4l2_dev 134 drivers/media/radio/radio-maxiradio.c retval = v4l2_device_register(&pdev->dev, v4l2_dev); v4l2_dev 136 drivers/media/radio/radio-maxiradio.c v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); v4l2_dev 144 drivers/media/radio/radio-maxiradio.c dev->tea.v4l2_dev = v4l2_dev; v4l2_dev 153 drivers/media/radio/radio-maxiradio.c pci_resource_len(pdev, 0), v4l2_dev->name)) { v4l2_dev 171 drivers/media/radio/radio-maxiradio.c v4l2_device_unregister(v4l2_dev); v4l2_dev 179 drivers/media/radio/radio-maxiradio.c struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); v4l2_dev 180 drivers/media/radio/radio-maxiradio.c struct maxiradio *dev = to_maxiradio(v4l2_dev); v4l2_dev 185 drivers/media/radio/radio-maxiradio.c v4l2_device_unregister(v4l2_dev); v4l2_dev 63 drivers/media/radio/radio-miropcm20.c struct v4l2_device v4l2_dev; v4l2_dev 206 drivers/media/radio/radio-miropcm20.c snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", dev->v4l2_dev.name); v4l2_dev 388 drivers/media/radio/radio-miropcm20.c dev->v4l2_dev.name); v4l2_dev 390 drivers/media/radio/radio-miropcm20.c v4l2_err(&dev->v4l2_dev, "kernel_thread() failed\n"); v4l2_dev 435 drivers/media/radio/radio-miropcm20.c struct v4l2_device *v4l2_dev = &dev->v4l2_dev; v4l2_dev 441 drivers/media/radio/radio-miropcm20.c v4l2_err(v4l2_dev, v4l2_dev 445 drivers/media/radio/radio-miropcm20.c strscpy(v4l2_dev->name, "radio-miropcm20", sizeof(v4l2_dev->name)); v4l2_dev 448 drivers/media/radio/radio-miropcm20.c res = v4l2_device_register(NULL, v4l2_dev); v4l2_dev 450 drivers/media/radio/radio-miropcm20.c v4l2_err(v4l2_dev, "could not register v4l2_device\n"); v4l2_dev 470 drivers/media/radio/radio-miropcm20.c v4l2_dev->ctrl_handler = hdl; v4l2_dev 473 drivers/media/radio/radio-miropcm20.c v4l2_err(v4l2_dev, "Could not register control\n"); v4l2_dev 476 drivers/media/radio/radio-miropcm20.c strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name)); v4l2_dev 477 drivers/media/radio/radio-miropcm20.c dev->vdev.v4l2_dev = v4l2_dev; v4l2_dev 492 drivers/media/radio/radio-miropcm20.c v4l2_info(v4l2_dev, "Mirosound PCM20 Radio tuner\n"); v4l2_dev 496 drivers/media/radio/radio-miropcm20.c v4l2_device_unregister(v4l2_dev); v4l2_dev 511 drivers/media/radio/radio-miropcm20.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 120 drivers/media/radio/radio-mr800.c struct v4l2_device v4l2_dev; v4l2_dev 130 drivers/media/radio/radio-mr800.c static inline struct amradio_device *to_amradio_dev(struct v4l2_device *v4l2_dev) v4l2_dev 132 drivers/media/radio/radio-mr800.c return container_of(v4l2_dev, struct amradio_device, v4l2_dev); v4l2_dev 249 drivers/media/radio/radio-mr800.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 251 drivers/media/radio/radio-mr800.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 486 drivers/media/radio/radio-mr800.c static void usb_amradio_release(struct v4l2_device *v4l2_dev) v4l2_dev 488 drivers/media/radio/radio-mr800.c struct amradio_device *radio = to_amradio_dev(v4l2_dev); v4l2_dev 492 drivers/media/radio/radio-mr800.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 520 drivers/media/radio/radio-mr800.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 536 drivers/media/radio/radio-mr800.c radio->v4l2_dev.ctrl_handler = &radio->hdl; v4l2_dev 537 drivers/media/radio/radio-mr800.c radio->v4l2_dev.release = usb_amradio_release; v4l2_dev 538 drivers/media/radio/radio-mr800.c strscpy(radio->vdev.name, radio->v4l2_dev.name, v4l2_dev 540 drivers/media/radio/radio-mr800.c radio->vdev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 550 drivers/media/radio/radio-mr800.c usb_set_intfdata(intf, &radio->v4l2_dev); v4l2_dev 570 drivers/media/radio/radio-mr800.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 108 drivers/media/radio/radio-raremono.c struct v4l2_device v4l2_dev; v4l2_dev 116 drivers/media/radio/radio-raremono.c static inline struct raremono_device *to_raremono_dev(struct v4l2_device *v4l2_dev) v4l2_dev 118 drivers/media/radio/radio-raremono.c return container_of(v4l2_dev, struct raremono_device, v4l2_dev); v4l2_dev 150 drivers/media/radio/radio-raremono.c dev_warn(radio->v4l2_dev.dev, "%s failed (%d)\n", __func__, ret); v4l2_dev 171 drivers/media/radio/radio-raremono.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 173 drivers/media/radio/radio-raremono.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 226 drivers/media/radio/radio-raremono.c dev_warn(radio->v4l2_dev.dev, "%s failed (%d)\n", __func__, ret); v4l2_dev 272 drivers/media/radio/radio-raremono.c static void raremono_device_release(struct v4l2_device *v4l2_dev) v4l2_dev 274 drivers/media/radio/radio-raremono.c struct raremono_device *radio = to_raremono_dev(v4l2_dev); v4l2_dev 342 drivers/media/radio/radio-raremono.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 350 drivers/media/radio/radio-raremono.c strscpy(radio->vdev.name, radio->v4l2_dev.name, v4l2_dev 352 drivers/media/radio/radio-raremono.c radio->vdev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 358 drivers/media/radio/radio-raremono.c radio->v4l2_dev.release = raremono_device_release; v4l2_dev 360 drivers/media/radio/radio-raremono.c usb_set_intfdata(intf, &radio->v4l2_dev); v4l2_dev 373 drivers/media/radio/radio-raremono.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 49 drivers/media/radio/radio-sf16fmi.c struct v4l2_device v4l2_dev; v4l2_dev 275 drivers/media/radio/radio-sf16fmi.c struct v4l2_device *v4l2_dev = &fmi->v4l2_dev; v4l2_dev 317 drivers/media/radio/radio-sf16fmi.c strscpy(v4l2_dev->name, "sf16fmi", sizeof(v4l2_dev->name)); v4l2_dev 320 drivers/media/radio/radio-sf16fmi.c res = v4l2_device_register(NULL, v4l2_dev); v4l2_dev 325 drivers/media/radio/radio-sf16fmi.c v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); v4l2_dev 332 drivers/media/radio/radio-sf16fmi.c v4l2_dev->ctrl_handler = hdl; v4l2_dev 335 drivers/media/radio/radio-sf16fmi.c v4l2_err(v4l2_dev, "Could not register controls\n"); v4l2_dev 337 drivers/media/radio/radio-sf16fmi.c v4l2_device_unregister(v4l2_dev); v4l2_dev 341 drivers/media/radio/radio-sf16fmi.c strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); v4l2_dev 342 drivers/media/radio/radio-sf16fmi.c fmi->vdev.v4l2_dev = v4l2_dev; v4l2_dev 358 drivers/media/radio/radio-sf16fmi.c v4l2_device_unregister(v4l2_dev); v4l2_dev 365 drivers/media/radio/radio-sf16fmi.c v4l2_info(v4l2_dev, "card driver at 0x%x\n", fmi->io); v4l2_dev 375 drivers/media/radio/radio-sf16fmi.c v4l2_device_unregister(&fmi->v4l2_dev); v4l2_dev 33 drivers/media/radio/radio-sf16fmr2.c struct v4l2_device v4l2_dev; v4l2_dev 217 drivers/media/radio/radio-sf16fmr2.c strscpy(fmr2->v4l2_dev.name, "radio-sf16fmr2", v4l2_dev 218 drivers/media/radio/radio-sf16fmr2.c sizeof(fmr2->v4l2_dev.name)), v4l2_dev 221 drivers/media/radio/radio-sf16fmr2.c if (!request_region(fmr2->io, 2, fmr2->v4l2_dev.name)) { v4l2_dev 227 drivers/media/radio/radio-sf16fmr2.c err = v4l2_device_register(pdev, &fmr2->v4l2_dev); v4l2_dev 229 drivers/media/radio/radio-sf16fmr2.c v4l2_err(&fmr2->v4l2_dev, "Could not register v4l2_device\n"); v4l2_dev 233 drivers/media/radio/radio-sf16fmr2.c fmr2->tea.v4l2_dev = &fmr2->v4l2_dev; v4l2_dev 292 drivers/media/radio/radio-sf16fmr2.c v4l2_device_unregister(&fmr2->v4l2_dev); v4l2_dev 56 drivers/media/radio/radio-shark.c #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) v4l2_dev 63 drivers/media/radio/radio-shark.c struct v4l2_device v4l2_dev; v4l2_dev 101 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "set-freq error: %d\n", res); v4l2_dev 117 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "request-status error: %d\n", res); v4l2_dev 126 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "get-status error: %d\n", res); v4l2_dev 177 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", v4l2_dev 247 drivers/media/radio/radio-shark.c shark->leds[i].name, shark->v4l2_dev.name); v4l2_dev 251 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, v4l2_dev 282 drivers/media/radio/radio-shark.c v4l2_warn(&shark->v4l2_dev, v4l2_dev 292 drivers/media/radio/radio-shark.c struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); v4l2_dev 293 drivers/media/radio/radio-shark.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 296 drivers/media/radio/radio-shark.c v4l2_device_disconnect(&shark->v4l2_dev); v4l2_dev 302 drivers/media/radio/radio-shark.c v4l2_device_put(&shark->v4l2_dev); v4l2_dev 305 drivers/media/radio/radio-shark.c static void usb_shark_release(struct v4l2_device *v4l2_dev) v4l2_dev 307 drivers/media/radio/radio-shark.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 309 drivers/media/radio/radio-shark.c v4l2_device_unregister(&shark->v4l2_dev); v4l2_dev 328 drivers/media/radio/radio-shark.c v4l2_device_set_name(&shark->v4l2_dev, DRV_NAME, &shark_instance); v4l2_dev 334 drivers/media/radio/radio-shark.c shark->v4l2_dev.release = usb_shark_release; v4l2_dev 335 drivers/media/radio/radio-shark.c retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev); v4l2_dev 337 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "couldn't register v4l2_device\n"); v4l2_dev 342 drivers/media/radio/radio-shark.c shark->tea.v4l2_dev = &shark->v4l2_dev; v4l2_dev 355 drivers/media/radio/radio-shark.c v4l2_err(&shark->v4l2_dev, "couldn't init tea5757\n"); v4l2_dev 362 drivers/media/radio/radio-shark.c v4l2_device_unregister(&shark->v4l2_dev); v4l2_dev 381 drivers/media/radio/radio-shark.c struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); v4l2_dev 382 drivers/media/radio/radio-shark.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 53 drivers/media/radio/radio-shark2.c #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) v4l2_dev 59 drivers/media/radio/radio-shark2.c struct v4l2_device v4l2_dev; v4l2_dev 85 drivers/media/radio/radio-shark2.c v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", v4l2_dev 93 drivers/media/radio/radio-shark2.c v4l2_err(tea->v4l2_dev, "write error: %d\n", res); v4l2_dev 113 drivers/media/radio/radio-shark2.c v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); v4l2_dev 122 drivers/media/radio/radio-shark2.c v4l2_err(tea->v4l2_dev, "read error: %d\n", res); v4l2_dev 129 drivers/media/radio/radio-shark2.c v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", v4l2_dev 162 drivers/media/radio/radio-shark2.c v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", v4l2_dev 213 drivers/media/radio/radio-shark2.c shark->leds[i].name, shark->v4l2_dev.name); v4l2_dev 217 drivers/media/radio/radio-shark2.c v4l2_err(&shark->v4l2_dev, v4l2_dev 248 drivers/media/radio/radio-shark2.c v4l2_warn(&shark->v4l2_dev, v4l2_dev 258 drivers/media/radio/radio-shark2.c struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); v4l2_dev 259 drivers/media/radio/radio-shark2.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 262 drivers/media/radio/radio-shark2.c v4l2_device_disconnect(&shark->v4l2_dev); v4l2_dev 268 drivers/media/radio/radio-shark2.c v4l2_device_put(&shark->v4l2_dev); v4l2_dev 271 drivers/media/radio/radio-shark2.c static void usb_shark_release(struct v4l2_device *v4l2_dev) v4l2_dev 273 drivers/media/radio/radio-shark2.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 275 drivers/media/radio/radio-shark2.c v4l2_device_unregister(&shark->v4l2_dev); v4l2_dev 294 drivers/media/radio/radio-shark2.c v4l2_device_set_name(&shark->v4l2_dev, DRV_NAME, &shark_instance); v4l2_dev 300 drivers/media/radio/radio-shark2.c shark->v4l2_dev.release = usb_shark_release; v4l2_dev 301 drivers/media/radio/radio-shark2.c retval = v4l2_device_register(&intf->dev, &shark->v4l2_dev); v4l2_dev 303 drivers/media/radio/radio-shark2.c v4l2_err(&shark->v4l2_dev, "couldn't register v4l2_device\n"); v4l2_dev 308 drivers/media/radio/radio-shark2.c shark->tea.v4l2_dev = &shark->v4l2_dev; v4l2_dev 320 drivers/media/radio/radio-shark2.c v4l2_err(&shark->v4l2_dev, "couldn't init tea5777\n"); v4l2_dev 327 drivers/media/radio/radio-shark2.c v4l2_device_unregister(&shark->v4l2_dev); v4l2_dev 346 drivers/media/radio/radio-shark2.c struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); v4l2_dev 347 drivers/media/radio/radio-shark2.c struct shark_device *shark = v4l2_dev_to_shark(v4l2_dev); v4l2_dev 1447 drivers/media/radio/radio-si476x.c radio->videodev.v4l2_dev = &radio->v4l2dev; v4l2_dev 131 drivers/media/radio/radio-tea5764.c struct v4l2_device v4l2_dev; v4l2_dev 418 drivers/media/radio/radio-tea5764.c struct v4l2_device *v4l2_dev; v4l2_dev 428 drivers/media/radio/radio-tea5764.c v4l2_dev = &radio->v4l2_dev; v4l2_dev 429 drivers/media/radio/radio-tea5764.c ret = v4l2_device_register(&client->dev, v4l2_dev); v4l2_dev 431 drivers/media/radio/radio-tea5764.c v4l2_err(v4l2_dev, "could not register v4l2_device\n"); v4l2_dev 439 drivers/media/radio/radio-tea5764.c v4l2_dev->ctrl_handler = hdl; v4l2_dev 442 drivers/media/radio/radio-tea5764.c v4l2_err(v4l2_dev, "Could not register controls\n"); v4l2_dev 465 drivers/media/radio/radio-tea5764.c radio->vdev.v4l2_dev = v4l2_dev; v4l2_dev 484 drivers/media/radio/radio-tea5764.c v4l2_device_unregister(v4l2_dev); v4l2_dev 499 drivers/media/radio/radio-tea5764.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 259 drivers/media/radio/radio-tea5777.c strscpy(v->driver, tea->v4l2_dev->name, sizeof(v->driver)); v4l2_dev 543 drivers/media/radio/radio-tea5777.c v4l2_err(tea->v4l2_dev, "can't set initial freq (%d)\n", res); v4l2_dev 550 drivers/media/radio/radio-tea5777.c strscpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); v4l2_dev 552 drivers/media/radio/radio-tea5777.c tea->vd.v4l2_dev = tea->v4l2_dev; v4l2_dev 565 drivers/media/radio/radio-tea5777.c v4l2_err(tea->v4l2_dev, "can't initialize controls\n"); v4l2_dev 573 drivers/media/radio/radio-tea5777.c v4l2_err(tea->v4l2_dev, "can't register video device!\n"); v4l2_dev 51 drivers/media/radio/radio-tea5777.h struct v4l2_device *v4l2_dev; v4l2_dev 26 drivers/media/radio/radio-timb.c struct v4l2_device v4l2_dev; v4l2_dev 117 drivers/media/radio/radio-timb.c strscpy(tr->v4l2_dev.name, DRIVER_NAME, sizeof(tr->v4l2_dev.name)); v4l2_dev 118 drivers/media/radio/radio-timb.c err = v4l2_device_register(NULL, &tr->v4l2_dev); v4l2_dev 122 drivers/media/radio/radio-timb.c tr->video_dev.v4l2_dev = &tr->v4l2_dev; v4l2_dev 124 drivers/media/radio/radio-timb.c tr->sd_tuner = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, v4l2_dev 126 drivers/media/radio/radio-timb.c tr->sd_dsp = v4l2_i2c_new_subdev_board(&tr->v4l2_dev, v4l2_dev 133 drivers/media/radio/radio-timb.c tr->v4l2_dev.ctrl_handler = tr->sd_dsp->ctrl_handler; v4l2_dev 147 drivers/media/radio/radio-timb.c v4l2_device_unregister(&tr->v4l2_dev); v4l2_dev 159 drivers/media/radio/radio-timb.c v4l2_device_unregister(&tr->v4l2_dev); v4l2_dev 2092 drivers/media/radio/radio-wl1273.c radio->videodev.v4l2_dev = &radio->v4l2dev; v4l2_dev 110 drivers/media/radio/radio-zoltrix.c struct v4l2_device *v4l2_dev = &isa->v4l2_dev; v4l2_dev 116 drivers/media/radio/radio-zoltrix.c v4l2_warn(v4l2_dev, "cannot set a frequency of 0.\n"); v4l2_dev 357 drivers/media/radio/si470x/radio-si470x-i2c.c retval = v4l2_device_register(&client->dev, &radio->v4l2_dev); v4l2_dev 378 drivers/media/radio/si470x/radio-si470x-i2c.c radio->videodev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 467 drivers/media/radio/si470x/radio-si470x-i2c.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 486 drivers/media/radio/si470x/radio-si470x-i2c.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 486 drivers/media/radio/si470x/radio-si470x-usb.c static void si470x_usb_release(struct v4l2_device *v4l2_dev) v4l2_dev 489 drivers/media/radio/si470x/radio-si470x-usb.c container_of(v4l2_dev, struct si470x_device, v4l2_dev); v4l2_dev 493 drivers/media/radio/si470x/radio-si470x-usb.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 624 drivers/media/radio/si470x/radio-si470x-usb.c radio->v4l2_dev.release = si470x_usb_release; v4l2_dev 649 drivers/media/radio/si470x/radio-si470x-usb.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 668 drivers/media/radio/si470x/radio-si470x-usb.c radio->videodev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 758 drivers/media/radio/si470x/radio-si470x-usb.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 825 drivers/media/radio/si470x/radio-si470x-usb.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 830 drivers/media/radio/si470x/radio-si470x-usb.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 136 drivers/media/radio/si470x/radio-si470x.h struct v4l2_device v4l2_dev; v4l2_dev 40 drivers/media/radio/si4713/radio-platform-si4713.c struct v4l2_device v4l2_dev; v4l2_dev 75 drivers/media/radio/si4713/radio-platform-si4713.c return &((struct radio_si4713_device *)video_drvdata(file))->v4l2_dev; v4l2_dev 157 drivers/media/radio/si4713/radio-platform-si4713.c rval = v4l2_device_register(&pdev->dev, &rsdev->v4l2_dev); v4l2_dev 164 drivers/media/radio/si4713/radio-platform-si4713.c rval = v4l2_device_register_subdev(&rsdev->v4l2_dev, sd); v4l2_dev 171 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev.v4l2_dev = &rsdev->v4l2_dev; v4l2_dev 187 drivers/media/radio/si4713/radio-platform-si4713.c v4l2_device_unregister(&rsdev->v4l2_dev); v4l2_dev 195 drivers/media/radio/si4713/radio-platform-si4713.c struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); v4l2_dev 198 drivers/media/radio/si4713/radio-platform-si4713.c rsdev = container_of(v4l2_dev, struct radio_si4713_device, v4l2_dev); v4l2_dev 200 drivers/media/radio/si4713/radio-platform-si4713.c v4l2_device_unregister(&rsdev->v4l2_dev); v4l2_dev 52 drivers/media/radio/si4713/radio-usb-si4713.c struct v4l2_device v4l2_dev; v4l2_dev 60 drivers/media/radio/si4713/radio-usb-si4713.c static inline struct si4713_usb_device *to_si4713_dev(struct v4l2_device *v4l2_dev) v4l2_dev 62 drivers/media/radio/si4713/radio-usb-si4713.c return container_of(v4l2_dev, struct si4713_usb_device, v4l2_dev); v4l2_dev 128 drivers/media/radio/si4713/radio-usb-si4713.c static void usb_si4713_video_device_release(struct v4l2_device *v4l2_dev) v4l2_dev 130 drivers/media/radio/si4713/radio-usb-si4713.c struct si4713_usb_device *radio = to_si4713_dev(v4l2_dev); v4l2_dev 134 drivers/media/radio/si4713/radio-usb-si4713.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 437 drivers/media/radio/si4713/radio-usb-si4713.c usb_set_intfdata(intf, &radio->v4l2_dev); v4l2_dev 443 drivers/media/radio/si4713/radio-usb-si4713.c retval = v4l2_device_register(&intf->dev, &radio->v4l2_dev); v4l2_dev 456 drivers/media/radio/si4713/radio-usb-si4713.c sd = v4l2_i2c_new_subdev_board(&radio->v4l2_dev, adapter, v4l2_dev 466 drivers/media/radio/si4713/radio-usb-si4713.c radio->v4l2_dev.release = usb_si4713_video_device_release; v4l2_dev 467 drivers/media/radio/si4713/radio-usb-si4713.c strscpy(radio->vdev.name, radio->v4l2_dev.name, v4l2_dev 469 drivers/media/radio/si4713/radio-usb-si4713.c radio->vdev.v4l2_dev = &radio->v4l2_dev; v4l2_dev 493 drivers/media/radio/si4713/radio-usb-si4713.c v4l2_device_unregister(&radio->v4l2_dev); v4l2_dev 509 drivers/media/radio/si4713/radio-usb-si4713.c v4l2_device_disconnect(&radio->v4l2_dev); v4l2_dev 511 drivers/media/radio/si4713/radio-usb-si4713.c v4l2_device_put(&radio->v4l2_dev); v4l2_dev 225 drivers/media/radio/tea575x.c strscpy(v->driver, tea->v4l2_dev->name, sizeof(v->driver)); v4l2_dev 525 drivers/media/radio/tea575x.c strscpy(tea->vd.name, tea->v4l2_dev->name, sizeof(tea->vd.name)); v4l2_dev 527 drivers/media/radio/tea575x.c tea->vd.v4l2_dev = tea->v4l2_dev; v4l2_dev 545 drivers/media/radio/tea575x.c v4l2_err(tea->v4l2_dev, "can't initialize controls\n"); v4l2_dev 563 drivers/media/radio/tea575x.c v4l2_err(tea->v4l2_dev, "can't register video device!\n"); v4l2_dev 193 drivers/media/radio/wl128x/fmdrv.h struct v4l2_device v4l2_dev; /* V4L2 top level struct */ v4l2_dev 521 drivers/media/radio/wl128x/fmdrv_v4l2.c strscpy(fmdev->v4l2_dev.name, FM_DRV_NAME, v4l2_dev 522 drivers/media/radio/wl128x/fmdrv_v4l2.c sizeof(fmdev->v4l2_dev.name)); v4l2_dev 523 drivers/media/radio/wl128x/fmdrv_v4l2.c ret = v4l2_device_register(NULL, &fmdev->v4l2_dev); v4l2_dev 536 drivers/media/radio/wl128x/fmdrv_v4l2.c gradio_dev.v4l2_dev = &fmdev->v4l2_dev; v4l2_dev 540 drivers/media/radio/wl128x/fmdrv_v4l2.c v4l2_device_unregister(&fmdev->v4l2_dev); v4l2_dev 555 drivers/media/radio/wl128x/fmdrv_v4l2.c v4l2_device_unregister(&fmdev->v4l2_dev); v4l2_dev 601 drivers/media/radio/wl128x/fmdrv_v4l2.c v4l2_device_unregister(&fmdev->v4l2_dev); v4l2_dev 103 drivers/media/usb/airspy/airspy.c struct v4l2_device v4l2_dev; v4l2_dev 460 drivers/media/usb/airspy/airspy.c struct airspy *s = container_of(v, struct airspy, v4l2_dev); v4l2_dev 468 drivers/media/usb/airspy/airspy.c v4l2_device_disconnect(&s->v4l2_dev); v4l2_dev 473 drivers/media/usb/airspy/airspy.c v4l2_device_put(&s->v4l2_dev); v4l2_dev 855 drivers/media/usb/airspy/airspy.c struct airspy *s = container_of(v, struct airspy, v4l2_dev); v4l2_dev 858 drivers/media/usb/airspy/airspy.c v4l2_device_unregister(&s->v4l2_dev); v4l2_dev 1021 drivers/media/usb/airspy/airspy.c s->v4l2_dev.release = airspy_video_release; v4l2_dev 1022 drivers/media/usb/airspy/airspy.c ret = v4l2_device_register(&intf->dev, &s->v4l2_dev); v4l2_dev 1050 drivers/media/usb/airspy/airspy.c s->v4l2_dev.ctrl_handler = &s->hdl; v4l2_dev 1051 drivers/media/usb/airspy/airspy.c s->vdev.v4l2_dev = &s->v4l2_dev; v4l2_dev 1069 drivers/media/usb/airspy/airspy.c v4l2_device_unregister(&s->v4l2_dev); v4l2_dev 213 drivers/media/usb/au0828/au0828-cards.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 222 drivers/media/usb/au0828/au0828-cards.c sd = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 231 drivers/media/usb/au0828/au0828-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, v4l2_dev 377 drivers/media/usb/au0828/au0828-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); v4l2_dev 639 drivers/media/usb/au0828/au0828-video.c static void au0828_usb_v4l2_release(struct v4l2_device *v4l2_dev) v4l2_dev 642 drivers/media/usb/au0828/au0828-video.c container_of(v4l2_dev, struct au0828_dev, v4l2_dev); v4l2_dev 645 drivers/media/usb/au0828/au0828-video.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 660 drivers/media/usb/au0828/au0828-video.c dev->v4l2_dev.mdev = dev->media_dev; v4l2_dev 662 drivers/media/usb/au0828/au0828-video.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); v4l2_dev 669 drivers/media/usb/au0828/au0828-video.c dev->v4l2_dev.release = au0828_usb_v4l2_release; v4l2_dev 678 drivers/media/usb/au0828/au0828-video.c dev->v4l2_dev.ctrl_handler = &dev->v4l2_ctrl_hdl; v4l2_dev 836 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 1); v4l2_dev 860 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 893 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 945 drivers/media/usb/au0828/au0828-video.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 946 drivers/media/usb/au0828/au0828-video.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 1091 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, v4l2_dev 1126 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->std); v4l2_dev 1127 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, &f); v4l2_dev 1292 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, norm); v4l2_dev 1390 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing, v4l2_dev 1414 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, audio, s_routing, v4l2_dev 1509 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); v4l2_dev 1527 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_tuner, t); v4l2_dev 1565 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, freq); v4l2_dev 1567 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_frequency, &new_freq); v4l2_dev 1675 drivers/media/usb/au0828/au0828-video.c v4l2_device_call_all(vdev->v4l2_dev, 0, core, log_status); v4l2_dev 1977 drivers/media/usb/au0828/au0828-video.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1988 drivers/media/usb/au0828/au0828-video.c dev->vbi_dev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 194 drivers/media/usb/au0828/au0828.h struct v4l2_device v4l2_dev; v4l2_dev 356 drivers/media/usb/cpia2/cpia2.h struct v4l2_device v4l2_dev; v4l2_dev 413 drivers/media/usb/cpia2/cpia2.h void cpia2_camera_release(struct v4l2_device *v4l2_dev); v4l2_dev 2183 drivers/media/usb/cpia2/cpia2_core.c cam->v4l2_dev.release = cpia2_camera_release; v4l2_dev 2184 drivers/media/usb/cpia2/cpia2_core.c if (v4l2_device_register(&intf->dev, &cam->v4l2_dev) < 0) { v4l2_dev 2185 drivers/media/usb/cpia2/cpia2_core.c v4l2_err(&cam->v4l2_dev, "couldn't register v4l2_device\n"); v4l2_dev 898 drivers/media/usb/cpia2/cpia2_usb.c v4l2_device_disconnect(&cam->v4l2_dev); v4l2_dev 908 drivers/media/usb/cpia2/cpia2_usb.c v4l2_device_put(&cam->v4l2_dev); v4l2_dev 1049 drivers/media/usb/cpia2/cpia2_v4l.c void cpia2_camera_release(struct v4l2_device *v4l2_dev) v4l2_dev 1052 drivers/media/usb/cpia2/cpia2_v4l.c container_of(v4l2_dev, struct camera_data, v4l2_dev); v4l2_dev 1055 drivers/media/usb/cpia2/cpia2_v4l.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 1130 drivers/media/usb/cpia2/cpia2_v4l.c cam->vdev.v4l2_dev = &cam->v4l2_dev; v4l2_dev 1584 drivers/media/usb/cx231xx/cx231xx-417.c v4l2_device_for_each_subdev(sd, &dev->v4l2_dev) v4l2_dev 1965 drivers/media/usb/cx231xx/cx231xx-417.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1261 drivers/media/usb/cx231xx/cx231xx-cards.c dev->sd_cx25840 = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 1275 drivers/media/usb/cx231xx/cx231xx-cards.c dev->sd_tuner = v4l2_i2c_new_subdev(&dev->v4l2_dev, v4l2_dev 1368 drivers/media/usb/cx231xx/cx231xx-cards.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1814 drivers/media/usb/cx231xx/cx231xx-cards.c dev->v4l2_dev.mdev = dev->media_dev; v4l2_dev 1816 drivers/media/usb/cx231xx/cx231xx-cards.c retval = v4l2_device_register(&interface->dev, &dev->v4l2_dev); v4l2_dev 1914 drivers/media/usb/cx231xx/cx231xx-cards.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 526 drivers/media/usb/cx231xx/cx231xx-i2c.c i2c_set_adapdata(&bus->i2c_adap, &dev->v4l2_dev); v4l2_dev 2161 drivers/media/usb/cx231xx/cx231xx-video.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 600 drivers/media/usb/cx231xx/cx231xx.h struct v4l2_device v4l2_dev; v4l2_dev 736 drivers/media/usb/cx231xx/cx231xx.h v4l2_device_call_until_err(&dev->v4l2_dev, 0, o, f, ##args) v4l2_dev 1594 drivers/media/usb/dvb-usb/cxusb-analog.c static void cxusb_medion_v4l2_release(struct v4l2_device *v4l2_dev) v4l2_dev 1597 drivers/media/usb/dvb-usb/cxusb-analog.c container_of(v4l2_dev, struct cxusb_medion_dev, v4l2dev); v4l2_dev 1656 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->videodev->v4l2_dev = &cxdev->v4l2dev; v4l2_dev 1697 drivers/media/usb/dvb-usb/cxusb-analog.c cxdev->radiodev->v4l2_dev = &cxdev->v4l2dev; v4l2_dev 343 drivers/media/usb/em28xx/em28xx-camera.c v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, v4l2_dev 397 drivers/media/usb/em28xx/em28xx-camera.c v4l2_i2c_new_subdev_board(&v4l2->v4l2_dev, adap, v4l2_dev 187 drivers/media/usb/em28xx/em28xx-video.c struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; v4l2_dev 189 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, core, reset, 0); v4l2_dev 190 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, video, s_routing, v4l2_dev 1135 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, v4l2_dev 1139 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 1); v4l2_dev 1160 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 1195 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 1289 drivers/media/usb/em28xx/em28xx-video.c struct v4l2_device *v4l2_dev = &dev->v4l2->v4l2_dev; v4l2_dev 1298 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, video, s_routing, v4l2_dev 1303 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, audio, v4l2_dev 1307 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, audio, s_routing, v4l2_dev 1313 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, audio, s_routing, v4l2_dev 1568 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, video, querystd, norm); v4l2_dev 1599 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm); v4l2_dev 1619 drivers/media/usb/em28xx/em28xx-video.c rc = v4l2_device_call_until_err(&v4l2->v4l2_dev, 0, v4l2_dev 1651 drivers/media/usb/em28xx/em28xx-video.c rc = v4l2_device_call_until_err(&dev->v4l2->v4l2_dev, 0, v4l2_dev 1842 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, g_tuner, t); v4l2_dev 1854 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, s_tuner, t); v4l2_dev 1881 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, s_frequency, f); v4l2_dev 1882 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, g_frequency, &new_freq); v4l2_dev 1900 drivers/media/usb/em28xx/em28xx-video.c dev->v4l2->v4l2_dev.name, sizeof(chip->name)); v4l2_dev 2098 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, g_tuner, t); v4l2_dev 2111 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&dev->v4l2->v4l2_dev, 0, tuner, s_tuner, t); v4l2_dev 2187 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, s_radio); v4l2_dev 2225 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_disconnect(&v4l2->v4l2_dev); v4l2_dev 2248 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_unregister(&v4l2->v4l2_dev); v4l2_dev 2308 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, standby); v4l2_dev 2448 drivers/media/usb/em28xx/em28xx-video.c vfd->v4l2_dev = &dev->v4l2->v4l2_dev; v4l2_dev 2462 drivers/media/usb/em28xx/em28xx-video.c struct v4l2_device *v4l2_dev = &v4l2->v4l2_dev; v4l2_dev 2475 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, v4l2_dev 2483 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, v4l2_dev 2493 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, v4l2_dev 2509 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, tuner, s_config, &xc2028_cfg); v4l2_dev 2517 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(v4l2_dev, 0, tuner, s_frequency, &f); v4l2_dev 2552 drivers/media/usb/em28xx/em28xx-video.c v4l2->v4l2_dev.mdev = dev->media_dev; v4l2_dev 2554 drivers/media/usb/em28xx/em28xx-video.c ret = v4l2_device_register(&dev->intf->dev, &v4l2->v4l2_dev); v4l2_dev 2563 drivers/media/usb/em28xx/em28xx-video.c v4l2->v4l2_dev.ctrl_handler = hdl; v4l2_dev 2578 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2583 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2588 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2593 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2604 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2610 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2619 drivers/media/usb/em28xx/em28xx-video.c sd = v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2627 drivers/media/usb/em28xx/em28xx-video.c v4l2_i2c_new_subdev(&v4l2->v4l2_dev, v4l2_dev 2689 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, video, s_std, v4l2->norm); v4l2_dev 2874 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_call_all(&v4l2->v4l2_dev, 0, tuner, standby); v4l2_dev 2908 drivers/media/usb/em28xx/em28xx-video.c v4l2_device_unregister(&v4l2->v4l2_dev); v4l2_dev 551 drivers/media/usb/em28xx/em28xx.h struct v4l2_device v4l2_dev; v4l2_dev 39 drivers/media/usb/go7007/go7007-driver.c v4l2_err(&go->v4l2_dev, "timeout waiting for read interrupt\n"); v4l2_dev 198 drivers/media/usb/go7007/go7007-driver.c struct v4l2_device *v4l2_dev = &go->v4l2_dev; v4l2_dev 207 drivers/media/usb/go7007/go7007-driver.c sd = v4l2_i2c_new_subdev_board(v4l2_dev, adapter, &info, NULL); v4l2_dev 225 drivers/media/usb/go7007/go7007-driver.c static void go7007_remove(struct v4l2_device *v4l2_dev) v4l2_dev 227 drivers/media/usb/go7007/go7007-driver.c struct go7007 *go = container_of(v4l2_dev, struct go7007, v4l2_dev); v4l2_dev 229 drivers/media/usb/go7007/go7007-driver.c v4l2_device_unregister(v4l2_dev); v4l2_dev 256 drivers/media/usb/go7007/go7007-driver.c go->v4l2_dev.release = go7007_remove; v4l2_dev 257 drivers/media/usb/go7007/go7007-driver.c ret = v4l2_device_register(go->dev, &go->v4l2_dev); v4l2_dev 295 drivers/media/usb/go7007/go7007-driver.c v4l2_device_call_all(&go->v4l2_dev, 0, tuner, v4l2_dev 357 drivers/media/usb/go7007/go7007-driver.c v4l2_err(&go->v4l2_dev, "error transferring firmware\n"); v4l2_dev 366 drivers/media/usb/go7007/go7007-driver.c v4l2_err(&go->v4l2_dev, "error starting stream transfer\n"); v4l2_dev 518 drivers/media/usb/go7007/go7007-driver.c v4l2_info(&go->v4l2_dev, "dropping oversized frame\n"); v4l2_dev 164 drivers/media/usb/go7007/go7007-priv.h struct v4l2_device v4l2_dev; v4l2_dev 253 drivers/media/usb/go7007/go7007-priv.h static inline struct go7007 *to_go7007(struct v4l2_device *v4l2_dev) v4l2_dev 255 drivers/media/usb/go7007/go7007-priv.h return container_of(v4l2_dev, struct go7007, v4l2_dev); v4l2_dev 1153 drivers/media/usb/go7007/go7007-usb.c usb_set_intfdata(intf, &go->v4l2_dev); v4l2_dev 1326 drivers/media/usb/go7007/go7007-usb.c v4l2_device_disconnect(&go->v4l2_dev); v4l2_dev 1331 drivers/media/usb/go7007/go7007-usb.c v4l2_device_put(&go->v4l2_dev); v4l2_dev 255 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, pad, set_fmt, NULL, &format); v4l2_dev 417 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, video, s_stream, 1); v4l2_dev 438 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, video, s_stream, 0); v4l2_dev 577 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, video, s_std, go->std); v4l2_dev 598 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, video, querystd, std); v4l2_dev 718 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, tuner, g_tuner, t); v4l2_dev 729 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, tuner, s_tuner, t); v4l2_dev 740 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, tuner, g_frequency, f); v4l2_dev 751 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, tuner, s_frequency, f); v4l2_dev 759 drivers/media/usb/go7007/go7007-v4l2.c return call_all(&go->v4l2_dev, core, log_status); v4l2_dev 1067 drivers/media/usb/go7007/go7007-v4l2.c v4l2_err(&go->v4l2_dev, "Could not register controls\n"); v4l2_dev 1070 drivers/media/usb/go7007/go7007-v4l2.c go->v4l2_dev.ctrl_handler = hdl; v4l2_dev 1104 drivers/media/usb/go7007/go7007-v4l2.c vdev->v4l2_dev = &go->v4l2_dev; v4l2_dev 1105 drivers/media/usb/go7007/go7007-v4l2.c if (!v4l2_device_has_op(&go->v4l2_dev, 0, video, querystd)) v4l2_dev 1118 drivers/media/usb/go7007/go7007-v4l2.c call_all(&go->v4l2_dev, tuner, s_frequency, &f); v4l2_dev 273 drivers/media/usb/go7007/snd-go7007.c v4l2_device_get(&go->v4l2_dev); v4l2_dev 286 drivers/media/usb/go7007/snd-go7007.c v4l2_device_put(&go->v4l2_dev); v4l2_dev 1179 drivers/media/usb/gspca/gspca.c container_of(v4l2_device, struct gspca_dev, v4l2_dev); v4l2_dev 1182 drivers/media/usb/gspca/gspca.c v4l2_device_unregister(&gspca_dev->v4l2_dev); v4l2_dev 1491 drivers/media/usb/gspca/gspca.c gspca_dev->v4l2_dev.release = gspca_release; v4l2_dev 1492 drivers/media/usb/gspca/gspca.c ret = v4l2_device_register(&intf->dev, &gspca_dev->v4l2_dev); v4l2_dev 1499 drivers/media/usb/gspca/gspca.c gspca_dev->vdev.v4l2_dev = &gspca_dev->v4l2_dev; v4l2_dev 1640 drivers/media/usb/gspca/gspca.c v4l2_device_disconnect(&gspca_dev->v4l2_dev); v4l2_dev 1646 drivers/media/usb/gspca/gspca.c v4l2_device_put(&gspca_dev->v4l2_dev); v4l2_dev 32 drivers/media/usb/gspca/gspca.h v4l2_dbg(level, gspca_debug, &(gspca_dev)->v4l2_dev, \ v4l2_dev 36 drivers/media/usb/gspca/gspca.h v4l2_err(&(gspca_dev)->v4l2_dev, fmt, ##__VA_ARGS__) v4l2_dev 156 drivers/media/usb/gspca/gspca.h struct v4l2_device v4l2_dev; v4l2_dev 453 drivers/media/usb/gspca/sonixb.c dev_err(gspca_dev->v4l2_dev.dev, v4l2_dev 485 drivers/media/usb/gspca/sonixb.c dev_err(gspca_dev->v4l2_dev.dev, v4l2_dev 507 drivers/media/usb/gspca/sonixb.c dev_err(gspca_dev->v4l2_dev.dev, v4l2_dev 515 drivers/media/usb/gspca/sonixb.c dev_err(gspca_dev->v4l2_dev.dev, "i2c write timeout\n"); v4l2_dev 115 drivers/media/usb/hackrf/hackrf.c struct v4l2_device v4l2_dev; v4l2_dev 708 drivers/media/usb/hackrf/hackrf.c struct hackrf_dev *dev = container_of(v, struct hackrf_dev, v4l2_dev); v4l2_dev 716 drivers/media/usb/hackrf/hackrf.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 722 drivers/media/usb/hackrf/hackrf.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 1257 drivers/media/usb/hackrf/hackrf.c struct hackrf_dev *dev = container_of(v, struct hackrf_dev, v4l2_dev); v4l2_dev 1263 drivers/media/usb/hackrf/hackrf.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1469 drivers/media/usb/hackrf/hackrf.c dev->v4l2_dev.release = hackrf_video_release; v4l2_dev 1470 drivers/media/usb/hackrf/hackrf.c ret = v4l2_device_register(&intf->dev, &dev->v4l2_dev); v4l2_dev 1480 drivers/media/usb/hackrf/hackrf.c dev->rx_vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1500 drivers/media/usb/hackrf/hackrf.c dev->tx_vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1521 drivers/media/usb/hackrf/hackrf.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 37 drivers/media/usb/hdpvr/hdpvr-control.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 59 drivers/media/usb/hdpvr/hdpvr-control.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 90 drivers/media/usb/hdpvr/hdpvr-control.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 135 drivers/media/usb/hdpvr/hdpvr-control.c v4l2_err(&dev->v4l2_dev, "invalid audio codec %d\n", v4l2_dev 126 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 132 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 141 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_info(&dev->v4l2_dev, "firmware version 0x%x dated %s\n", v4l2_dev 163 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_info(&dev->v4l2_dev, "untested firmware, the driver might not work.\n"); v4l2_dev 172 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, "challenge: %8ph\n", v4l2_dev 177 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, " response: %8ph\n", v4l2_dev 188 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 218 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 229 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 238 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 291 drivers/media/usb/hdpvr/hdpvr-core.c if (v4l2_device_register(&interface->dev, &dev->v4l2_dev)) { v4l2_dev 301 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "Out of memory\n"); v4l2_dev 339 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "Could not find bulk-in endpoint\n"); v4l2_dev 345 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "device init failed\n"); v4l2_dev 352 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 361 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "i2c adapter register failed\n"); v4l2_dev 367 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "i2c IR device register failed\n"); v4l2_dev 375 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 385 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_err(&dev->v4l2_dev, "registering videodev failed\n"); v4l2_dev 390 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_info(&dev->v4l2_dev, "device now attached to %s\n", v4l2_dev 404 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 415 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_info(&dev->v4l2_dev, "device %s disconnected\n", v4l2_dev 423 drivers/media/usb/hdpvr/hdpvr-core.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 129 drivers/media/usb/hdpvr/hdpvr-i2c.c v4l2_warn(&dev->v4l2_dev, "refusing 2-phase i2c xfer with conflicting target addresses\n"); v4l2_dev 135 drivers/media/usb/hdpvr/hdpvr-i2c.c v4l2_warn(&dev->v4l2_dev, "refusing complex xfer with r0=%d, r1=%d\n", v4l2_dev 149 drivers/media/usb/hdpvr/hdpvr-i2c.c v4l2_warn(&dev->v4l2_dev, "refusing %d-phase i2c xfer\n", num); v4l2_dev 30 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, \ v4l2_dev 140 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 147 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "cannot allocate buffer\n"); v4l2_dev 160 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 199 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 210 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, v4l2_dev 252 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "couldn't submit buffers\n"); v4l2_dev 261 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 265 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 287 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 292 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 300 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 314 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 335 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "failed to allocate temporary buffer for emptying the internal device buffer. Next capture start will be slow\n"); v4l2_dev 357 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 361 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 422 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 464 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_info(&dev->v4l2_dev, v4l2_dev 493 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "read: copy_to_user failed\n"); v4l2_dev 541 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 1076 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_dbg(MSG_INFO, hdpvr_debug, &dev->v4l2_dev, v4l2_dev 1133 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1221 drivers/media/usb/hdpvr/hdpvr-video.c dev->v4l2_dev.ctrl_handler = hdl; v4l2_dev 1224 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "Could not register controls\n"); v4l2_dev 1230 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "Could not setup controls\n"); v4l2_dev 1238 drivers/media/usb/hdpvr/hdpvr-video.c dev->video_dev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1243 drivers/media/usb/hdpvr/hdpvr-video.c v4l2_err(&dev->v4l2_dev, "video_device registration failed\n"); v4l2_dev 71 drivers/media/usb/hdpvr/hdpvr.h struct v4l2_device v4l2_dev; v4l2_dev 126 drivers/media/usb/hdpvr/hdpvr.h static inline struct hdpvr_device *to_hdpvr_dev(struct v4l2_device *v4l2_dev) v4l2_dev 128 drivers/media/usb/hdpvr/hdpvr.h return container_of(v4l2_dev, struct hdpvr_device, v4l2_dev); v4l2_dev 108 drivers/media/usb/msi2500/msi2500.c struct v4l2_device v4l2_dev; v4l2_dev 567 drivers/media/usb/msi2500/msi2500.c container_of(v, struct msi2500_dev, v4l2_dev); v4l2_dev 575 drivers/media/usb/msi2500/msi2500.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 581 drivers/media/usb/msi2500/msi2500.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 1135 drivers/media/usb/msi2500/msi2500.c struct msi2500_dev *dev = container_of(v, struct msi2500_dev, v4l2_dev); v4l2_dev 1138 drivers/media/usb/msi2500/msi2500.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1218 drivers/media/usb/msi2500/msi2500.c dev->v4l2_dev.release = msi2500_video_release; v4l2_dev 1219 drivers/media/usb/msi2500/msi2500.c ret = v4l2_device_register(&intf->dev, &dev->v4l2_dev); v4l2_dev 1244 drivers/media/usb/msi2500/msi2500.c sd = v4l2_spi_new_subdev(&dev->v4l2_dev, master, &board_info); v4l2_dev 1263 drivers/media/usb/msi2500/msi2500.c dev->v4l2_dev.ctrl_handler = &dev->hdl; v4l2_dev 1264 drivers/media/usb/msi2500/msi2500.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1285 drivers/media/usb/msi2500/msi2500.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 153 drivers/media/usb/pvrusb2/pvrusb2-hdw-internal.h struct v4l2_device v4l2_dev; v4l2_dev 1665 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, video, s_stream, enablefl); v4l2_dev 1666 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, audio, s_stream, enablefl); v4l2_dev 1968 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, hdw->decoder_client_id, v4l2_dev 2023 drivers/media/usb/pvrusb2/pvrusb2-hdw.c sd = v4l2_i2c_new_subdev(&hdw->v4l2_dev, &hdw->i2c_adap, v4l2_dev 2029 drivers/media/usb/pvrusb2/pvrusb2-hdw.c sd = v4l2_i2c_new_subdev(&hdw->v4l2_dev, &hdw->i2c_adap, v4l2_dev 2159 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, core, load_fw); v4l2_dev 2557 drivers/media/usb/pvrusb2/pvrusb2-hdw.c if (v4l2_device_register(&intf->dev, &hdw->v4l2_dev) != 0) { v4l2_dev 2651 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_disconnect(&hdw->v4l2_dev); v4l2_dev 2659 drivers/media/usb/pvrusb2/pvrusb2-hdw.c vdev->v4l2_dev = &hdw->v4l2_dev; v4l2_dev 2681 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_unregister(&hdw->v4l2_dev); v4l2_dev 2814 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_for_each_subdev(sd, &hdw->v4l2_dev) v4l2_dev 2827 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, v4l2_dev 2851 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, v4l2_dev 2859 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, v4l2_dev 2864 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, v4l2_dev 2888 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, tuner, s_tuner, &vt); v4l2_dev 2912 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, tuner, v4l2_dev 2926 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, pad, set_fmt, v4l2_dev 2946 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, v4l2_dev 2953 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_for_each_subdev(sd, &hdw->v4l2_dev) { v4l2_dev 3308 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, core, log_status); v4l2_dev 4010 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, hdw->decoder_client_id, v4l2_dev 4820 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_for_each_subdev(sd, &hdw->v4l2_dev) { v4l2_dev 5039 drivers/media/usb/pvrusb2/pvrusb2-hdw.c v4l2_device_call_all(&hdw->v4l2_dev, 0, tuner, g_tuner, vtp); v4l2_dev 627 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c i2c_set_adapdata(&hdw->i2c_adap, &hdw->v4l2_dev); v4l2_dev 862 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (!dip->devbase.v4l2_dev->dev) return; v4l2_dev 863 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c dip->devbase.v4l2_dev->dev = NULL; v4l2_dev 594 drivers/media/usb/pwc/pwc-if.c struct pwc_device *pdev = container_of(v, struct pwc_device, v4l2_dev); v4l2_dev 597 drivers/media/usb/pwc/pwc-if.c v4l2_device_unregister(&pdev->v4l2_dev); v4l2_dev 1106 drivers/media/usb/pwc/pwc-if.c pdev->v4l2_dev.release = pwc_video_release; v4l2_dev 1107 drivers/media/usb/pwc/pwc-if.c rc = v4l2_device_register(&intf->dev, &pdev->v4l2_dev); v4l2_dev 1113 drivers/media/usb/pwc/pwc-if.c pdev->v4l2_dev.ctrl_handler = &pdev->ctrl_handler; v4l2_dev 1114 drivers/media/usb/pwc/pwc-if.c pdev->vdev.v4l2_dev = &pdev->v4l2_dev; v4l2_dev 1159 drivers/media/usb/pwc/pwc-if.c v4l2_device_unregister(&pdev->v4l2_dev); v4l2_dev 1172 drivers/media/usb/pwc/pwc-if.c struct pwc_device *pdev = container_of(v, struct pwc_device, v4l2_dev); v4l2_dev 1181 drivers/media/usb/pwc/pwc-if.c v4l2_device_disconnect(&pdev->v4l2_dev); v4l2_dev 1191 drivers/media/usb/pwc/pwc-if.c v4l2_device_put(&pdev->v4l2_dev); v4l2_dev 212 drivers/media/usb/pwc/pwc.h struct v4l2_device v4l2_dev; v4l2_dev 249 drivers/media/usb/s2255/s2255drv.c struct v4l2_device v4l2_dev; v4l2_dev 270 drivers/media/usb/s2255/s2255drv.c static inline struct s2255_dev *to_s2255_dev(struct v4l2_device *v4l2_dev) v4l2_dev 272 drivers/media/usb/s2255/s2255drv.c return container_of(v4l2_dev, struct s2255_dev, v4l2_dev); v4l2_dev 355 drivers/media/usb/s2255/s2255drv.c v4l2_dbg(level, debug, &dev->v4l2_dev, fmt, ## arg) v4l2_dev 546 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vc->vdev.v4l2_dev); v4l2_dev 988 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vc->vdev.v4l2_dev); v4l2_dev 1037 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vc->vdev.v4l2_dev); v4l2_dev 1505 drivers/media/usb/s2255/s2255drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1550 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vdev->v4l2_dev); v4l2_dev 1594 drivers/media/usb/s2255/s2255drv.c ret = v4l2_device_register(&dev->interface->dev, &dev->v4l2_dev); v4l2_dev 1646 drivers/media/usb/s2255/s2255drv.c vc->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1665 drivers/media/usb/s2255/s2255drv.c v4l2_info(&dev->v4l2_dev, "V4L2 device registered as %s\n", v4l2_dev 1673 drivers/media/usb/s2255/s2255drv.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 2120 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vc->vdev.v4l2_dev); v4l2_dev 2150 drivers/media/usb/s2255/s2255drv.c struct s2255_dev *dev = to_s2255_dev(vc->vdev.v4l2_dev); v4l2_dev 2347 drivers/media/usb/s2255/s2255drv.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 111 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_routing, v4l2_dev 150 drivers/media/usb/stk1160/stk1160-core.c static void stk1160_release(struct v4l2_device *v4l2_dev) v4l2_dev 152 drivers/media/usb/stk1160/stk1160-core.c struct stk1160 *dev = container_of(v4l2_dev, struct stk1160, v4l2_dev); v4l2_dev 159 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 339 drivers/media/usb/stk1160/stk1160-core.c dev->v4l2_dev.release = stk1160_release; v4l2_dev 340 drivers/media/usb/stk1160/stk1160-core.c dev->v4l2_dev.ctrl_handler = &dev->ctrl_handler; v4l2_dev 341 drivers/media/usb/stk1160/stk1160-core.c rc = v4l2_device_register(dev->dev, &dev->v4l2_dev); v4l2_dev 355 drivers/media/usb/stk1160/stk1160-core.c dev->sd_saa7115 = v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 359 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_call_all(&dev->v4l2_dev, 0, core, reset, 0); v4l2_dev 360 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 379 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 409 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_disconnect(&dev->v4l2_dev); v4l2_dev 421 drivers/media/usb/stk1160/stk1160-core.c v4l2_device_put(&dev->v4l2_dev); v4l2_dev 256 drivers/media/usb/stk1160/stk1160-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); v4l2_dev 243 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 1); v4l2_dev 285 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 0); v4l2_dev 503 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, querystd, norm); v4l2_dev 540 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, v4l2_dev 816 drivers/media/usb/stk1160/stk1160-v4l.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 829 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, v4l2_dev 839 drivers/media/usb/stk1160/stk1160-v4l.c v4l2_info(&dev->v4l2_dev, "V4L2 device registered as %s\n", v4l2_dev 110 drivers/media/usb/stk1160/stk1160.h struct v4l2_device v4l2_dev; v4l2_dev 1253 drivers/media/usb/stkwebcam/stk-webcam.c dev->vdev.v4l2_dev = &dev->v4l2_dev; v4l2_dev 1286 drivers/media/usb/stkwebcam/stk-webcam.c err = v4l2_device_register(&interface->dev, &dev->v4l2_dev); v4l2_dev 1305 drivers/media/usb/stkwebcam/stk-webcam.c dev->v4l2_dev.ctrl_handler = hdl; v4l2_dev 1368 drivers/media/usb/stkwebcam/stk-webcam.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1387 drivers/media/usb/stkwebcam/stk-webcam.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 76 drivers/media/usb/stkwebcam/stk-webcam.h struct v4l2_device v4l2_dev; v4l2_dev 892 drivers/media/usb/tm6000/tm6000-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 912 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_type_addr, &tun_setup); v4l2_dev 942 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_config, v4l2_dev 959 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_config, v4l2_dev 1006 drivers/media/usb/tm6000/tm6000-cards.c return v4l2_device_register(&dev->udev->dev, &dev->v4l2_dev); v4l2_dev 1108 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm); v4l2_dev 1115 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, &f); v4l2_dev 1118 drivers/media/usb/tm6000/tm6000-cards.c v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, v4l2_dev 1373 drivers/media/usb/tm6000/tm6000-cards.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 327 drivers/media/usb/tm6000/tm6000-core.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, &f); v4l2_dev 297 drivers/media/usb/tm6000/tm6000-i2c.c i2c_set_adapdata(&dev->i2c_adap, &dev->v4l2_dev); v4l2_dev 1044 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_std, dev->norm); v4l2_dev 1189 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); v4l2_dev 1213 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_tuner, t); v4l2_dev 1231 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_frequency, f); v4l2_dev 1248 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_frequency, f); v4l2_dev 1269 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, g_tuner, t); v4l2_dev 1282 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_tuner, t); v4l2_dev 1371 drivers/media/usb/tm6000/tm6000-video.c v4l2_device_call_all(&dev->v4l2_dev, 0, tuner, s_radio); v4l2_dev 1593 drivers/media/usb/tm6000/tm6000-video.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 213 drivers/media/usb/tm6000/tm6000.h struct v4l2_device v4l2_dev; v4l2_dev 109 drivers/media/usb/usbtv/usbtv-core.c v4l2_device_get(&usbtv->v4l2_dev); v4l2_dev 144 drivers/media/usb/usbtv/usbtv-core.c v4l2_device_put(&usbtv->v4l2_dev); v4l2_dev 869 drivers/media/usb/usbtv/usbtv-video.c static void usbtv_release(struct v4l2_device *v4l2_dev) v4l2_dev 871 drivers/media/usb/usbtv/usbtv-video.c struct usbtv *usbtv = container_of(v4l2_dev, struct usbtv, v4l2_dev); v4l2_dev 873 drivers/media/usb/usbtv/usbtv-video.c v4l2_device_unregister(&usbtv->v4l2_dev); v4l2_dev 924 drivers/media/usb/usbtv/usbtv-video.c usbtv->v4l2_dev.ctrl_handler = &usbtv->ctrl; v4l2_dev 925 drivers/media/usb/usbtv/usbtv-video.c usbtv->v4l2_dev.release = usbtv_release; v4l2_dev 926 drivers/media/usb/usbtv/usbtv-video.c ret = v4l2_device_register(usbtv->dev, &usbtv->v4l2_dev); v4l2_dev 934 drivers/media/usb/usbtv/usbtv-video.c usbtv->vdev.v4l2_dev = &usbtv->v4l2_dev; v4l2_dev 953 drivers/media/usb/usbtv/usbtv-video.c v4l2_device_unregister(&usbtv->v4l2_dev); v4l2_dev 969 drivers/media/usb/usbtv/usbtv-video.c v4l2_device_disconnect(&usbtv->v4l2_dev); v4l2_dev 974 drivers/media/usb/usbtv/usbtv-video.c v4l2_device_put(&usbtv->v4l2_dev); v4l2_dev 91 drivers/media/usb/usbtv/usbtv.h struct v4l2_device v4l2_dev; v4l2_dev 187 drivers/media/usb/usbvision/usbvision-i2c.c i2c_set_adapdata(&usbvision->i2c_adap, &usbvision->v4l2_dev); v4l2_dev 215 drivers/media/usb/usbvision/usbvision-i2c.c v4l2_i2c_new_subdev(&usbvision->v4l2_dev, v4l2_dev 225 drivers/media/usb/usbvision/usbvision-i2c.c sd = v4l2_i2c_new_subdev(&usbvision->v4l2_dev, v4l2_dev 232 drivers/media/usb/usbvision/usbvision-i2c.c sd = v4l2_i2c_new_subdev(&usbvision->v4l2_dev, v4l2_dev 1232 drivers/media/usb/usbvision/usbvision-video.c vdev->v4l2_dev = &usbvision->v4l2_dev; v4l2_dev 1320 drivers/media/usb/usbvision/usbvision-video.c if (v4l2_device_register(&intf->dev, &usbvision->v4l2_dev)) v4l2_dev 1325 drivers/media/usb/usbvision/usbvision-video.c usbvision->v4l2_dev.ctrl_handler = &usbvision->hdl; v4l2_dev 1337 drivers/media/usb/usbvision/usbvision-video.c v4l2_device_unregister(&usbvision->v4l2_dev); v4l2_dev 1363 drivers/media/usb/usbvision/usbvision-video.c v4l2_device_unregister(&usbvision->v4l2_dev); v4l2_dev 1573 drivers/media/usb/usbvision/usbvision-video.c v4l2_device_disconnect(&usbvision->v4l2_dev); v4l2_dev 345 drivers/media/usb/usbvision/usbvision.h struct v4l2_device v4l2_dev; v4l2_dev 449 drivers/media/usb/usbvision/usbvision.h static inline struct usb_usbvision *to_usbvision(struct v4l2_device *v4l2_dev) v4l2_dev 451 drivers/media/usb/usbvision/usbvision.h return container_of(v4l2_dev, struct usb_usbvision, v4l2_dev); v4l2_dev 455 drivers/media/usb/usbvision/usbvision.h v4l2_device_call_all(&usbvision->v4l2_dev, 0, o, f, ##args) v4l2_dev 1986 drivers/media/usb/uvc/uvc_driver.c vdev->v4l2_dev = &dev->vdev; v4l2_dev 748 drivers/media/usb/uvc/uvc_v4l2.c stream->vdev.v4l2_dev->mdev, buf); v4l2_dev 160 drivers/media/usb/zr364xx/zr364xx.c struct v4l2_device v4l2_dev; v4l2_dev 1189 drivers/media/usb/zr364xx/zr364xx.c static void zr364xx_release(struct v4l2_device *v4l2_dev) v4l2_dev 1192 drivers/media/usb/zr364xx/zr364xx.c container_of(v4l2_dev, struct zr364xx_camera, v4l2_dev); v4l2_dev 1195 drivers/media/usb/zr364xx/zr364xx.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 1409 drivers/media/usb/zr364xx/zr364xx.c cam->v4l2_dev.release = zr364xx_release; v4l2_dev 1410 drivers/media/usb/zr364xx/zr364xx.c err = v4l2_device_register(&intf->dev, &cam->v4l2_dev); v4l2_dev 1430 drivers/media/usb/zr364xx/zr364xx.c cam->vdev.v4l2_dev = &cam->v4l2_dev; v4l2_dev 1534 drivers/media/usb/zr364xx/zr364xx.c v4l2_device_unregister(&cam->v4l2_dev); v4l2_dev 1548 drivers/media/usb/zr364xx/zr364xx.c v4l2_device_disconnect(&cam->v4l2_dev); v4l2_dev 1556 drivers/media/usb/zr364xx/zr364xx.c v4l2_device_put(&cam->v4l2_dev); v4l2_dev 171 drivers/media/v4l2-core/v4l2-async.c return notifier->v4l2_dev; v4l2_dev 213 drivers/media/v4l2-core/v4l2-async.c if (!notifier->v4l2_dev) v4l2_dev 227 drivers/media/v4l2-core/v4l2-async.c struct v4l2_device *v4l2_dev, v4l2_dev 234 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_device_register_subdev(v4l2_dev, sd); v4l2_dev 273 drivers/media/v4l2-core/v4l2-async.c struct v4l2_device *v4l2_dev = v4l2_dev 277 drivers/media/v4l2-core/v4l2-async.c if (!v4l2_dev) v4l2_dev 289 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_match_notify(notifier, v4l2_dev, sd, asd); v4l2_dev 397 drivers/media/v4l2-core/v4l2-async.c notifier->v4l2_dev ? notifier->v4l2_dev->dev : NULL; v4l2_dev 473 drivers/media/v4l2-core/v4l2-async.c int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev, v4l2_dev 478 drivers/media/v4l2-core/v4l2-async.c if (WARN_ON(!v4l2_dev || notifier->sd)) v4l2_dev 481 drivers/media/v4l2-core/v4l2-async.c notifier->v4l2_dev = v4l2_dev; v4l2_dev 485 drivers/media/v4l2-core/v4l2-async.c notifier->v4l2_dev = NULL; v4l2_dev 496 drivers/media/v4l2-core/v4l2-async.c if (WARN_ON(!sd || notifier->v4l2_dev)) v4l2_dev 512 drivers/media/v4l2-core/v4l2-async.c if (!notifier || (!notifier->v4l2_dev && !notifier->sd)) v4l2_dev 518 drivers/media/v4l2-core/v4l2-async.c notifier->v4l2_dev = NULL; v4l2_dev 702 drivers/media/v4l2-core/v4l2-async.c struct v4l2_device *v4l2_dev = v4l2_dev 706 drivers/media/v4l2-core/v4l2-async.c if (!v4l2_dev) v4l2_dev 713 drivers/media/v4l2-core/v4l2-async.c ret = v4l2_async_match_notify(notifier, v4l2_dev, sd, asd); v4l2_dev 4388 drivers/media/v4l2-core/v4l2-ctrls.c if (test_bit(V4L2_FL_USES_V4L2_FH, &vfd->flags) && vfd->v4l2_dev) v4l2_dev 4390 drivers/media/v4l2-core/v4l2-ctrls.c vfd->v4l2_dev->name); v4l2_dev 177 drivers/media/v4l2-core/v4l2-dev.c struct v4l2_device *v4l2_dev = vdev->v4l2_dev; v4l2_dev 201 drivers/media/v4l2-core/v4l2-dev.c if (v4l2_dev->mdev && vdev->vfl_dir != VFL_DIR_M2M) { v4l2_dev 217 drivers/media/v4l2-core/v4l2-dev.c if (v4l2_dev->release == NULL) v4l2_dev 218 drivers/media/v4l2-core/v4l2-dev.c v4l2_dev = NULL; v4l2_dev 225 drivers/media/v4l2-core/v4l2-dev.c if (v4l2_dev) v4l2_dev 226 drivers/media/v4l2-core/v4l2-dev.c v4l2_device_put(v4l2_dev); v4l2_dev 450 drivers/media/v4l2-core/v4l2-dev.c if (v4l2_device_supports_requests(vdev->v4l2_dev)) { v4l2_dev 451 drivers/media/v4l2-core/v4l2-dev.c mutex_lock(&vdev->v4l2_dev->mdev->req_queue_mutex); v4l2_dev 453 drivers/media/v4l2-core/v4l2-dev.c mutex_unlock(&vdev->v4l2_dev->mdev->req_queue_mutex); v4l2_dev 509 drivers/media/v4l2-core/v4l2-dev.c video_devices[i]->v4l2_dev == vdev->v4l2_dev) { v4l2_dev 757 drivers/media/v4l2-core/v4l2-dev.c if (!vdev->v4l2_dev->mdev || vdev->vfl_dir == VFL_DIR_M2M) v4l2_dev 803 drivers/media/v4l2-core/v4l2-dev.c ret = media_device_register_entity(vdev->v4l2_dev->mdev, v4l2_dev 812 drivers/media/v4l2-core/v4l2-dev.c vdev->intf_devnode = media_devnode_create(vdev->v4l2_dev->mdev, v4l2_dev 860 drivers/media/v4l2-core/v4l2-dev.c if (WARN_ON(!vdev->v4l2_dev)) v4l2_dev 900 drivers/media/v4l2-core/v4l2-dev.c vdev->dev_parent = vdev->v4l2_dev->dev; v4l2_dev 902 drivers/media/v4l2-core/v4l2-dev.c vdev->ctrl_handler = vdev->v4l2_dev->ctrl_handler; v4l2_dev 906 drivers/media/v4l2-core/v4l2-dev.c vdev->prio = &vdev->v4l2_dev->prio; v4l2_dev 1012 drivers/media/v4l2-core/v4l2-dev.c v4l2_device_get(vdev->v4l2_dev); v4l2_dev 17 drivers/media/v4l2-core/v4l2-device.c int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) v4l2_dev 19 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev == NULL) v4l2_dev 22 drivers/media/v4l2-core/v4l2-device.c INIT_LIST_HEAD(&v4l2_dev->subdevs); v4l2_dev 23 drivers/media/v4l2-core/v4l2-device.c spin_lock_init(&v4l2_dev->lock); v4l2_dev 24 drivers/media/v4l2-core/v4l2-device.c v4l2_prio_init(&v4l2_dev->prio); v4l2_dev 25 drivers/media/v4l2-core/v4l2-device.c kref_init(&v4l2_dev->ref); v4l2_dev 27 drivers/media/v4l2-core/v4l2-device.c v4l2_dev->dev = dev; v4l2_dev 30 drivers/media/v4l2-core/v4l2-device.c if (WARN_ON(!v4l2_dev->name[0])) v4l2_dev 36 drivers/media/v4l2-core/v4l2-device.c if (!v4l2_dev->name[0]) v4l2_dev 37 drivers/media/v4l2-core/v4l2-device.c snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), "%s %s", v4l2_dev 40 drivers/media/v4l2-core/v4l2-device.c dev_set_drvdata(dev, v4l2_dev); v4l2_dev 47 drivers/media/v4l2-core/v4l2-device.c struct v4l2_device *v4l2_dev = v4l2_dev 50 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev->release) v4l2_dev 51 drivers/media/v4l2-core/v4l2-device.c v4l2_dev->release(v4l2_dev); v4l2_dev 54 drivers/media/v4l2-core/v4l2-device.c int v4l2_device_put(struct v4l2_device *v4l2_dev) v4l2_dev 56 drivers/media/v4l2-core/v4l2-device.c return kref_put(&v4l2_dev->ref, v4l2_device_release); v4l2_dev 60 drivers/media/v4l2-core/v4l2-device.c int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, v4l2_dev 67 drivers/media/v4l2-core/v4l2-device.c snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), v4l2_dev 70 drivers/media/v4l2-core/v4l2-device.c snprintf(v4l2_dev->name, sizeof(v4l2_dev->name), v4l2_dev 76 drivers/media/v4l2-core/v4l2-device.c void v4l2_device_disconnect(struct v4l2_device *v4l2_dev) v4l2_dev 78 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev->dev == NULL) v4l2_dev 81 drivers/media/v4l2-core/v4l2-device.c if (dev_get_drvdata(v4l2_dev->dev) == v4l2_dev) v4l2_dev 82 drivers/media/v4l2-core/v4l2-device.c dev_set_drvdata(v4l2_dev->dev, NULL); v4l2_dev 83 drivers/media/v4l2-core/v4l2-device.c put_device(v4l2_dev->dev); v4l2_dev 84 drivers/media/v4l2-core/v4l2-device.c v4l2_dev->dev = NULL; v4l2_dev 88 drivers/media/v4l2-core/v4l2-device.c void v4l2_device_unregister(struct v4l2_device *v4l2_dev) v4l2_dev 94 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev == NULL || !v4l2_dev->name[0]) v4l2_dev 96 drivers/media/v4l2-core/v4l2-device.c v4l2_device_disconnect(v4l2_dev); v4l2_dev 99 drivers/media/v4l2-core/v4l2-device.c list_for_each_entry_safe(sd, next, &v4l2_dev->subdevs, list) { v4l2_dev 107 drivers/media/v4l2-core/v4l2-device.c v4l2_dev->name[0] = '\0'; v4l2_dev 111 drivers/media/v4l2-core/v4l2-device.c int v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 120 drivers/media/v4l2-core/v4l2-device.c if (!v4l2_dev || !sd || sd->v4l2_dev || !sd->name[0]) v4l2_dev 130 drivers/media/v4l2-core/v4l2-device.c sd->owner_v4l2_dev = v4l2_dev->dev && v4l2_dev->dev->driver && v4l2_dev 131 drivers/media/v4l2-core/v4l2-device.c sd->owner == v4l2_dev->dev->driver->owner; v4l2_dev 136 drivers/media/v4l2-core/v4l2-device.c sd->v4l2_dev = v4l2_dev; v4l2_dev 138 drivers/media/v4l2-core/v4l2-device.c err = v4l2_ctrl_add_handler(v4l2_dev->ctrl_handler, sd->ctrl_handler, v4l2_dev 145 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev->mdev) { v4l2_dev 146 drivers/media/v4l2-core/v4l2-device.c err = media_device_register_entity(v4l2_dev->mdev, entity); v4l2_dev 158 drivers/media/v4l2-core/v4l2-device.c spin_lock(&v4l2_dev->lock); v4l2_dev 159 drivers/media/v4l2-core/v4l2-device.c list_add_tail(&sd->list, &v4l2_dev->subdevs); v4l2_dev 160 drivers/media/v4l2-core/v4l2-device.c spin_unlock(&v4l2_dev->lock); v4l2_dev 171 drivers/media/v4l2-core/v4l2-device.c sd->v4l2_dev = NULL; v4l2_dev 192 drivers/media/v4l2-core/v4l2-device.c int v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev) v4l2_dev 201 drivers/media/v4l2-core/v4l2-device.c list_for_each_entry(sd, &v4l2_dev->subdevs, list) { v4l2_dev 217 drivers/media/v4l2-core/v4l2-device.c vdev->v4l2_dev = v4l2_dev; v4l2_dev 233 drivers/media/v4l2-core/v4l2-device.c if (vdev->v4l2_dev->mdev) { v4l2_dev 250 drivers/media/v4l2-core/v4l2-device.c list_for_each_entry(sd, &v4l2_dev->subdevs, list) { v4l2_dev 262 drivers/media/v4l2-core/v4l2-device.c struct v4l2_device *v4l2_dev; v4l2_dev 265 drivers/media/v4l2-core/v4l2-device.c if (sd == NULL || sd->v4l2_dev == NULL) v4l2_dev 268 drivers/media/v4l2-core/v4l2-device.c v4l2_dev = sd->v4l2_dev; v4l2_dev 270 drivers/media/v4l2-core/v4l2-device.c spin_lock(&v4l2_dev->lock); v4l2_dev 272 drivers/media/v4l2-core/v4l2-device.c spin_unlock(&v4l2_dev->lock); v4l2_dev 276 drivers/media/v4l2-core/v4l2-device.c sd->v4l2_dev = NULL; v4l2_dev 279 drivers/media/v4l2-core/v4l2-device.c if (v4l2_dev->mdev) { v4l2_dev 62 drivers/media/v4l2-core/v4l2-i2c.c *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, v4l2_dev 70 drivers/media/v4l2-core/v4l2-i2c.c if (!v4l2_dev) v4l2_dev 103 drivers/media/v4l2-core/v4l2-i2c.c if (v4l2_device_register_subdev(v4l2_dev, sd)) v4l2_dev 119 drivers/media/v4l2-core/v4l2-i2c.c struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 135 drivers/media/v4l2-core/v4l2-i2c.c return v4l2_i2c_new_subdev_board(v4l2_dev, adapter, &info, v4l2_dev 2198 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2201 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2219 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2222 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2240 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2243 drivers/media/v4l2-core/v4l2-ioctl.c vfd, vfd->v4l2_dev->mdev, p); v4l2_dev 2418 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev) v4l2_dev 2420 drivers/media/v4l2-core/v4l2-ioctl.c vfd->v4l2_dev->name); v4l2_dev 2422 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev) v4l2_dev 2424 drivers/media/v4l2-core/v4l2-ioctl.c vfd->v4l2_dev->name); v4l2_dev 2440 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) v4l2_dev 2442 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) v4l2_dev 2468 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) v4l2_dev 2470 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) v4l2_dev 2499 drivers/media/v4l2-core/v4l2-ioctl.c strscpy(p->name, vfd->v4l2_dev->name, sizeof(p->name)); v4l2_dev 2507 drivers/media/v4l2-core/v4l2-ioctl.c if (vfd->v4l2_dev == NULL) v4l2_dev 2509 drivers/media/v4l2-core/v4l2-ioctl.c v4l2_device_for_each_subdev(sd, vfd->v4l2_dev) { v4l2_dev 2871 drivers/media/v4l2-core/v4l2-ioctl.c if (v4l2_device_supports_requests(vfd->v4l2_dev) && v4l2_dev 2873 drivers/media/v4l2-core/v4l2-ioctl.c req_queue_lock = &vfd->v4l2_dev->mdev->req_queue_mutex; v4l2_dev 502 drivers/media/v4l2-core/v4l2-mem2mem.c ret = vb2_qbuf(vq, vdev->v4l2_dev->mdev, buf); v4l2_dev 527 drivers/media/v4l2-core/v4l2-mem2mem.c return vb2_prepare_buf(vq, vdev->v4l2_dev->mdev, buf); v4l2_dev 784 drivers/media/v4l2-core/v4l2-mem2mem.c struct media_device *mdev = vdev->v4l2_dev->mdev; v4l2_dev 36 drivers/media/v4l2-core/v4l2-spi.c struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 43 drivers/media/v4l2-core/v4l2-spi.c if (!v4l2_dev) v4l2_dev 62 drivers/media/v4l2-core/v4l2-spi.c if (v4l2_device_register_subdev(v4l2_dev, sd)) v4l2_dev 66 drivers/media/v4l2-core/v4l2-subdev.c if (sd->v4l2_dev->mdev && sd->entity.graph_obj.mdev->dev) { v4l2_dev 375 drivers/media/v4l2-core/v4l2-subdev.c vdev, sd->v4l2_dev->mdev, arg); v4l2_dev 381 drivers/media/v4l2-core/v4l2-subdev.c vdev, sd->v4l2_dev->mdev, arg); v4l2_dev 387 drivers/media/v4l2-core/v4l2-subdev.c vdev, sd->v4l2_dev->mdev, arg); v4l2_dev 782 drivers/media/v4l2-core/v4l2-subdev.c sd->v4l2_dev = NULL; v4l2_dev 115 drivers/staging/media/allegro-dvt/allegro-core.c struct v4l2_device v4l2_dev; v4l2_dev 786 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 793 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 799 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 806 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 835 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 847 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 853 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 878 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1493 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1500 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1508 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1518 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1525 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1541 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1548 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1556 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1563 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1570 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1576 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1581 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1595 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1629 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1637 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1645 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1649 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1656 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1665 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1672 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1697 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1704 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1720 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1744 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1766 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1807 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1811 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1829 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1834 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 1843 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1853 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 1949 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1990 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 1997 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2003 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2010 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 2035 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2083 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 2121 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2150 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 2170 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(2, debug, &dev->v4l2_dev, v4l2_dev 2238 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2532 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2541 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2552 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2702 drivers/staging/media/allegro-dvt/allegro-core.c video_dev->v4l2_dev = &dev->v4l2_dev; v4l2_dev 2754 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2763 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2773 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2797 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 2802 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_warn(&dev->v4l2_dev, v4l2_dev 2821 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2829 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, "firmware is not supported\n"); v4l2_dev 2833 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_info(&dev->v4l2_dev, v4l2_dev 2839 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, "failed to reset mcu\n"); v4l2_dev 2848 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, "failed to initialize mcu\n"); v4l2_dev 2854 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, "failed to init mem2mem device\n"); v4l2_dev 2860 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, "failed to register video device\n"); v4l2_dev 2864 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2890 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_dbg(1, debug, &dev->v4l2_dev, v4l2_dev 2964 drivers/staging/media/allegro-dvt/allegro-core.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 2972 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_err(&dev->v4l2_dev, v4l2_dev 2990 drivers/staging/media/allegro-dvt/allegro-core.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 188 drivers/staging/media/hantro/hantro.h struct v4l2_device v4l2_dev; v4l2_dev 232 drivers/staging/media/hantro/hantro_drv.c src_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 262 drivers/staging/media/hantro/hantro_drv.c dst_vq->dev = ctx->dev->v4l2_dev.dev; v4l2_dev 638 drivers/staging/media/hantro/hantro_drv.c v4l2_err(&vpu->v4l2_dev, "Failed to allocate video device\n"); v4l2_dev 648 drivers/staging/media/hantro/hantro_drv.c vfd->v4l2_dev = &vpu->v4l2_dev; v4l2_dev 664 drivers/staging/media/hantro/hantro_drv.c v4l2_err(&vpu->v4l2_dev, "Failed to register video device\n"); v4l2_dev 670 drivers/staging/media/hantro/hantro_drv.c v4l2_err(&vpu->v4l2_dev, v4l2_dev 675 drivers/staging/media/hantro/hantro_drv.c v4l2_info(&vpu->v4l2_dev, "registered %s as /dev/video%d\n", vfd->name, v4l2_dev 829 drivers/staging/media/hantro/hantro_drv.c ret = v4l2_device_register(&pdev->dev, &vpu->v4l2_dev); v4l2_dev 838 drivers/staging/media/hantro/hantro_drv.c v4l2_err(&vpu->v4l2_dev, "Failed to init mem2mem device\n"); v4l2_dev 849 drivers/staging/media/hantro/hantro_drv.c vpu->v4l2_dev.mdev = &vpu->mdev; v4l2_dev 865 drivers/staging/media/hantro/hantro_drv.c v4l2_err(&vpu->v4l2_dev, "Failed to register mem2mem media device\n"); v4l2_dev 879 drivers/staging/media/hantro/hantro_drv.c v4l2_device_unregister(&vpu->v4l2_dev); v4l2_dev 891 drivers/staging/media/hantro/hantro_drv.c v4l2_info(&vpu->v4l2_dev, "Removing %s\n", pdev->name); v4l2_dev 898 drivers/staging/media/hantro/hantro_drv.c v4l2_device_unregister(&vpu->v4l2_dev); v4l2_dev 21 drivers/staging/media/imx/imx-ic-common.c struct v4l2_subdev *imx_media_ic_register(struct v4l2_device *v4l2_dev, v4l2_dev 66 drivers/staging/media/imx/imx-ic-common.c ret = v4l2_device_register_subdev(v4l2_dev, &priv->sd); v4l2_dev 734 drivers/staging/media/imx/imx-media-capture.c struct v4l2_device *v4l2_dev = sd->v4l2_dev; v4l2_dev 741 drivers/staging/media/imx/imx-media-capture.c priv->md = container_of(v4l2_dev->mdev, struct imx_media_dev, md); v4l2_dev 743 drivers/staging/media/imx/imx-media-capture.c vfd->v4l2_dev = v4l2_dev; v4l2_dev 132 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, v4l2_dev 247 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: queue busy\n", v4l2_dev 517 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_warn(ctx->priv->vdev.vfd->v4l2_dev, "removing old ICC\n"); v4l2_dev 535 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(ctx->priv->vdev.vfd->v4l2_dev, "%s: error %d\n", v4l2_dev 850 drivers/staging/media/imx/imx-media-csc-scaler.c vfd->v4l2_dev = &priv->md->v4l2_dev; v4l2_dev 854 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(vfd->v4l2_dev, "Failed to register video device\n"); v4l2_dev 858 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_info(vfd->v4l2_dev, "Registered %s as /dev/%s\n", vfd->name, v4l2_dev 909 drivers/staging/media/imx/imx-media-csc-scaler.c v4l2_err(&md->v4l2_dev, "Failed to init mem2mem device: %d\n", v4l2_dev 27 drivers/staging/media/imx/imx-media-dev-common.c v4l2_info(sd->v4l2_dev, "subdev %s bound\n", sd->name); v4l2_dev 41 drivers/staging/media/imx/imx-media-dev-common.c list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { v4l2_dev 93 drivers/staging/media/imx/imx-media-dev-common.c v4l2_warn(&imxmd->v4l2_dev, "%s:%u has no vdev list!\n", v4l2_dev 151 drivers/staging/media/imx/imx-media-dev-common.c list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { v4l2_dev 207 drivers/staging/media/imx/imx-media-dev-common.c ret = v4l2_device_register_subdev_nodes(&imxmd->v4l2_dev); v4l2_dev 372 drivers/staging/media/imx/imx-media-dev-common.c imxmd->v4l2_dev.mdev = &imxmd->md; v4l2_dev 373 drivers/staging/media/imx/imx-media-dev-common.c imxmd->v4l2_dev.notify = imx_media_notify; v4l2_dev 374 drivers/staging/media/imx/imx-media-dev-common.c strscpy(imxmd->v4l2_dev.name, "imx-media", v4l2_dev 375 drivers/staging/media/imx/imx-media-dev-common.c sizeof(imxmd->v4l2_dev.name)); v4l2_dev 379 drivers/staging/media/imx/imx-media-dev-common.c ret = v4l2_device_register(dev, &imxmd->v4l2_dev); v4l2_dev 381 drivers/staging/media/imx/imx-media-dev-common.c v4l2_err(&imxmd->v4l2_dev, v4l2_dev 406 drivers/staging/media/imx/imx-media-dev-common.c v4l2_err(&imxmd->v4l2_dev, "no subdevs\n"); v4l2_dev 412 drivers/staging/media/imx/imx-media-dev-common.c ret = v4l2_async_notifier_register(&imxmd->v4l2_dev, v4l2_dev 415 drivers/staging/media/imx/imx-media-dev-common.c v4l2_err(&imxmd->v4l2_dev, v4l2_dev 35 drivers/staging/media/imx/imx-media-dev.c v4l2_info(&imxmd->v4l2_dev, "subdev %s bound\n", sd->name); v4l2_dev 84 drivers/staging/media/imx/imx-media-dev.c v4l2_err(&imxmd->v4l2_dev, v4l2_dev 97 drivers/staging/media/imx/imx-media-dev.c v4l2_device_unregister(&imxmd->v4l2_dev); v4l2_dev 108 drivers/staging/media/imx/imx-media-dev.c v4l2_info(&imxmd->v4l2_dev, "Removing imx-media\n"); v4l2_dev 115 drivers/staging/media/imx/imx-media-dev.c v4l2_device_unregister(&imxmd->v4l2_dev); v4l2_dev 34 drivers/staging/media/imx/imx-media-internal-sd.c struct v4l2_subdev * (*sync_register)(struct v4l2_device *v4l2_dev, v4l2_dev 145 drivers/staging/media/imx/imx-media-internal-sd.c v4l2_info(&imxmd->v4l2_dev, "%s:%d -> %s:%d\n", v4l2_dev 152 drivers/staging/media/imx/imx-media-internal-sd.c v4l2_err(&imxmd->v4l2_dev, "%s failed: %d\n", __func__, ret); v4l2_dev 201 drivers/staging/media/imx/imx-media-internal-sd.c v4l2_err(&imxmd->v4l2_dev, "invalid IPU device!\n"); v4l2_dev 207 drivers/staging/media/imx/imx-media-internal-sd.c v4l2_err(&imxmd->v4l2_dev, "invalid IPU id %d!\n", ipu_id); v4l2_dev 231 drivers/staging/media/imx/imx-media-internal-sd.c sd = intsd->sync_register(&imxmd->v4l2_dev, ipu_dev, ipu, v4l2_dev 116 drivers/staging/media/imx/imx-media-of.c v4l2_info(sd->v4l2_dev, "%s:%d -> %s:%d\n", v4l2_dev 730 drivers/staging/media/imx/imx-media-utils.c list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { v4l2_dev 745 drivers/staging/media/imx/imx-media-utils.c list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { v4l2_dev 924 drivers/staging/media/imx/imx-media-vdic.c struct v4l2_subdev *imx_media_vdic_register(struct v4l2_device *v4l2_dev, v4l2_dev 952 drivers/staging/media/imx/imx-media-vdic.c ret = v4l2_device_register_subdev(v4l2_dev, &priv->sd); v4l2_dev 129 drivers/staging/media/imx/imx-media.h struct v4l2_device v4l2_dev; v4l2_dev 254 drivers/staging/media/imx/imx-media.h struct v4l2_subdev *imx_media_vdic_register(struct v4l2_device *v4l2_dev, v4l2_dev 261 drivers/staging/media/imx/imx-media.h struct v4l2_subdev *imx_media_ic_register(struct v4l2_device *v4l2_dev, v4l2_dev 1282 drivers/staging/media/imx/imx7-media-csi.c v4l2_device_unregister(&imxmd->v4l2_dev); v4l2_dev 1302 drivers/staging/media/imx/imx7-media-csi.c v4l2_device_unregister(&imxmd->v4l2_dev); v4l2_dev 1133 drivers/staging/media/ipu3/ipu3-v4l2.c r = v4l2_device_register_subdev(&imgu->v4l2_dev, &imgu_sd->subdev); v4l2_dev 1244 drivers/staging/media/ipu3/ipu3-v4l2.c vdev->v4l2_dev = &imgu->v4l2_dev; v4l2_dev 1362 drivers/staging/media/ipu3/ipu3-v4l2.c imgu->v4l2_dev.mdev = &imgu->media_dev; v4l2_dev 1363 drivers/staging/media/ipu3/ipu3-v4l2.c imgu->v4l2_dev.ctrl_handler = NULL; v4l2_dev 1364 drivers/staging/media/ipu3/ipu3-v4l2.c r = v4l2_device_register(&imgu->pci_dev->dev, &imgu->v4l2_dev); v4l2_dev 1378 drivers/staging/media/ipu3/ipu3-v4l2.c r = v4l2_device_register_subdev_nodes(&imgu->v4l2_dev); v4l2_dev 1397 drivers/staging/media/ipu3/ipu3-v4l2.c v4l2_device_unregister(&imgu->v4l2_dev); v4l2_dev 1408 drivers/staging/media/ipu3/ipu3-v4l2.c v4l2_device_unregister(&imgu->v4l2_dev); v4l2_dev 133 drivers/staging/media/ipu3/ipu3.h struct v4l2_device v4l2_dev; v4l2_dev 1038 drivers/staging/media/meson/vdec/vdec.c ret = v4l2_device_register(dev, &core->v4l2_dev); v4l2_dev 1061 drivers/staging/media/meson/vdec/vdec.c vdev->v4l2_dev = &core->v4l2_dev; v4l2_dev 81 drivers/staging/media/meson/vdec/vdec.h struct v4l2_device v4l2_dev; v4l2_dev 928 drivers/staging/media/omap4iss/iss.c v4l2_device_unregister(&iss->v4l2_dev); v4l2_dev 966 drivers/staging/media/omap4iss/iss.c subdev = v4l2_i2c_new_subdev_board(&iss->v4l2_dev, adapter, v4l2_dev 999 drivers/staging/media/omap4iss/iss.c iss->v4l2_dev.mdev = &iss->media_dev; v4l2_dev 1000 drivers/staging/media/omap4iss/iss.c ret = v4l2_device_register(iss->dev, &iss->v4l2_dev); v4l2_dev 1008 drivers/staging/media/omap4iss/iss.c ret = omap4iss_csi2_register_entities(&iss->csi2a, &iss->v4l2_dev); v4l2_dev 1012 drivers/staging/media/omap4iss/iss.c ret = omap4iss_csi2_register_entities(&iss->csi2b, &iss->v4l2_dev); v4l2_dev 1016 drivers/staging/media/omap4iss/iss.c ret = omap4iss_ipipeif_register_entities(&iss->ipipeif, &iss->v4l2_dev); v4l2_dev 1020 drivers/staging/media/omap4iss/iss.c ret = omap4iss_ipipe_register_entities(&iss->ipipe, &iss->v4l2_dev); v4l2_dev 1024 drivers/staging/media/omap4iss/iss.c ret = omap4iss_resizer_register_entities(&iss->resizer, &iss->v4l2_dev); v4l2_dev 1073 drivers/staging/media/omap4iss/iss.c ret = v4l2_device_register_subdev_nodes(&iss->v4l2_dev); v4l2_dev 86 drivers/staging/media/omap4iss/iss.h struct v4l2_device v4l2_dev; v4l2_dev 123 drivers/staging/media/omap4iss/iss.h container_of(dev, struct iss_device, v4l2_dev) v4l2_dev 153 drivers/staging/media/omap4iss/iss.h struct v4l2_device *v4l2_dev); v4l2_dev 800 drivers/staging/media/omap4iss/iss_video.c return vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b); v4l2_dev 1266 drivers/staging/media/omap4iss/iss_video.c video->video.v4l2_dev = vdev; v4l2_dev 164 drivers/staging/media/soc_camera/imx074.c dev_dbg(sd->v4l2_dev->dev, "%s(%u)\n", __func__, mf->code); v4l2_dev 1062 drivers/staging/media/soc_camera/soc_camera.c icd->parent = ici->v4l2_dev.dev; v4l2_dev 1269 drivers/staging/media/soc_camera/soc_camera.c subdev = v4l2_i2c_new_subdev_board(&ici->v4l2_dev, adap, v4l2_dev 1416 drivers/staging/media/soc_camera/soc_camera.c dev_err(ici->v4l2_dev.dev, "No I2C data source found!\n"); v4l2_dev 1421 drivers/staging/media/soc_camera/soc_camera.c sasc = devm_kzalloc(ici->v4l2_dev.dev, sizeof(*sasc), GFP_KERNEL); v4l2_dev 1451 drivers/staging/media/soc_camera/soc_camera.c icd->parent = ici->v4l2_dev.dev; v4l2_dev 1463 drivers/staging/media/soc_camera/soc_camera.c ret = v4l2_async_notifier_register(&ici->v4l2_dev, &sasc->notifier); v4l2_dev 1476 drivers/staging/media/soc_camera/soc_camera.c devm_kfree(ici->v4l2_dev.dev, sasc); v4l2_dev 1477 drivers/staging/media/soc_camera/soc_camera.c dev_err(ici->v4l2_dev.dev, "group probe failed: %d\n", ret); v4l2_dev 1519 drivers/staging/media/soc_camera/soc_camera.c info = devm_kzalloc(ici->v4l2_dev.dev, sizeof(struct soc_of_info), v4l2_dev 1557 drivers/staging/media/soc_camera/soc_camera.c icd->parent = ici->v4l2_dev.dev; v4l2_dev 1573 drivers/staging/media/soc_camera/soc_camera.c ret = v4l2_async_notifier_register(&ici->v4l2_dev, &sasc->notifier); v4l2_dev 1586 drivers/staging/media/soc_camera/soc_camera.c devm_kfree(ici->v4l2_dev.dev, info); v4l2_dev 1587 drivers/staging/media/soc_camera/soc_camera.c dev_err(ici->v4l2_dev.dev, "group probe failed: %d\n", ret); v4l2_dev 1594 drivers/staging/media/soc_camera/soc_camera.c struct device *dev = ici->v4l2_dev.dev; v4l2_dev 1865 drivers/staging/media/soc_camera/soc_camera.c !ici->v4l2_dev.dev) v4l2_dev 1887 drivers/staging/media/soc_camera/soc_camera.c ret = v4l2_device_register(ici->v4l2_dev.dev, &ici->v4l2_dev); v4l2_dev 1897 drivers/staging/media/soc_camera/soc_camera.c if (ici->v4l2_dev.dev->of_node) v4l2_dev 1950 drivers/staging/media/soc_camera/soc_camera.c v4l2_device_unregister(&ici->v4l2_dev); v4l2_dev 2041 drivers/staging/media/soc_camera/soc_camera.c vdev->v4l2_dev = &ici->v4l2_dev; v4l2_dev 122 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, v4l2_dev 137 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, v4l2_dev 179 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 183 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 192 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_info(&ctx->dev->v4l2_dev, "Missing codec control(s)\n"); v4l2_dev 204 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_info(&ctx->dev->v4l2_dev, v4l2_dev 336 drivers/staging/media/sunxi/cedrus/cedrus.c ret = v4l2_device_register(&pdev->dev, &dev->v4l2_dev); v4l2_dev 344 drivers/staging/media/sunxi/cedrus/cedrus.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 351 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, v4l2_dev 365 drivers/staging/media/sunxi/cedrus/cedrus.c dev->v4l2_dev.mdev = &dev->mdev; v4l2_dev 369 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, "Failed to register video device\n"); v4l2_dev 373 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_info(&dev->v4l2_dev, v4l2_dev 379 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, v4l2_dev 386 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_err(&dev->v4l2_dev, "Failed to register media device\n"); v4l2_dev 401 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 418 drivers/staging/media/sunxi/cedrus/cedrus.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 133 drivers/staging/media/sunxi/cedrus/cedrus.h struct v4l2_device v4l2_dev; v4l2_dev 112 drivers/staging/media/sunxi/cedrus/cedrus_hw.c v4l2_err(&dev->v4l2_dev, v4l2_dev 128 drivers/staging/media/sunxi/cedrus/cedrus_hw.c v4l2_err(&dev->v4l2_dev, v4l2_dev 39 drivers/staging/most/video/video.c struct v4l2_device v4l2_dev; v4l2_dev 88 drivers/staging/most/video/video.c v4l2_err(&mdev->v4l2_dev, "too many clients\n"); v4l2_dev 101 drivers/staging/most/video/video.c v4l2_err(&mdev->v4l2_dev, "most_start_channel() failed\n"); v4l2_dev 180 drivers/staging/most/video/video.c v4l2_err(&mdev->v4l2_dev, "read: copy_to_user failed\n"); v4l2_dev 420 drivers/staging/most/video/video.c mdev->vdev->v4l2_dev = &mdev->v4l2_dev; v4l2_dev 423 drivers/staging/most/video/video.c mdev->v4l2_dev.name); v4l2_dev 429 drivers/staging/most/video/video.c v4l2_err(&mdev->v4l2_dev, "video_register_device failed (%d)\n", v4l2_dev 442 drivers/staging/most/video/video.c static void comp_v4l2_dev_release(struct v4l2_device *v4l2_dev) v4l2_dev 445 drivers/staging/most/video/video.c container_of(v4l2_dev, struct most_video_dev, v4l2_dev); v4l2_dev 447 drivers/staging/most/video/video.c v4l2_device_unregister(v4l2_dev); v4l2_dev 484 drivers/staging/most/video/video.c mdev->v4l2_dev.release = comp_v4l2_dev_release; v4l2_dev 487 drivers/staging/most/video/video.c strlcpy(mdev->v4l2_dev.name, name, sizeof(mdev->v4l2_dev.name)); v4l2_dev 488 drivers/staging/most/video/video.c ret = v4l2_device_register(NULL, &mdev->v4l2_dev); v4l2_dev 505 drivers/staging/most/video/video.c v4l2_device_disconnect(&mdev->v4l2_dev); v4l2_dev 506 drivers/staging/most/video/video.c v4l2_device_put(&mdev->v4l2_dev); v4l2_dev 525 drivers/staging/most/video/video.c v4l2_device_disconnect(&mdev->v4l2_dev); v4l2_dev 526 drivers/staging/most/video/video.c v4l2_device_put(&mdev->v4l2_dev); v4l2_dev 568 drivers/staging/most/video/video.c v4l2_device_disconnect(&mdev->v4l2_dev); v4l2_dev 569 drivers/staging/most/video/video.c v4l2_device_put(&mdev->v4l2_dev); v4l2_dev 209 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 218 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 232 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 251 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", v4l2_dev 263 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", v4l2_dev 276 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", v4l2_dev 284 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 299 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", v4l2_dev 318 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 338 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 348 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 373 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 393 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 415 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 424 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 431 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, "enabled camera (refcount %d)\n", v4l2_dev 441 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 449 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 456 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 466 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 478 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 484 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: error submitting buffer\n", v4l2_dev 494 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", v4l2_dev 502 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "Failed to enable camera\n"); v4l2_dev 526 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 540 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 546 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 558 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 565 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "Failed to disable camera\n"); v4l2_dev 588 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", v4l2_dev 596 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 601 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "stopping capturing\n"); v4l2_dev 610 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 616 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 620 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "port_disable failed, error %d\n", v4l2_dev 626 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 632 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: Timeout waiting for buffers to be returned - %d outstanding\n", v4l2_dev 640 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "Failed to disable camera\n"); v4l2_dev 727 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 734 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 806 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "connecting %p to %p\n", v4l2_dev 881 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c "platform:%s", dev->v4l2_dev.name); v4l2_dev 920 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dump_pix_format(1, bcm2835_v4l2_debug, &dev->v4l2_dev, &f->fmt.pix, v4l2_dev 933 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 942 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 969 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 992 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 996 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dump_pix_format(1, bcm2835_v4l2_debug, &dev->v4l2_dev, &f->fmt.pix, v4l2_dev 1014 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1024 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1139 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1147 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1163 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1198 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1213 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1226 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1236 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1260 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c &dev->v4l2_dev, v4l2_dev 1282 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1289 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_info(&dev->v4l2_dev, "%s device busy\n", __func__); v4l2_dev 1298 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1307 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, v4l2_dev 1551 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: vchiq mmal init failed %d\n", v4l2_dev 1564 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: too few camera outputs %d needed %d\n", v4l2_dev 1574 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: unable to set camera parameters: %d\n", v4l2_dev 1666 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: too few input ports %d needed %d\n", v4l2_dev 1680 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: too few input ports %d needed %d\n", v4l2_dev 1694 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: too few input ports %d needed %d\n", v4l2_dev 1725 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: failed to set all camera controls: %d\n", v4l2_dev 1766 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c vfd->v4l2_dev = &dev->v4l2_dev; v4l2_dev 1781 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_info(vfd->v4l2_dev, v4l2_dev 1794 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_info(&dev->v4l2_dev, "unregistering %s\n", v4l2_dev 1800 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1824 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 1889 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c snprintf(dev->v4l2_dev.name, sizeof(dev->v4l2_dev.name), v4l2_dev 1891 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c ret = v4l2_device_register(NULL, &dev->v4l2_dev); v4l2_dev 1901 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: could not init controls: %d\n", v4l2_dev 1905 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c dev->v4l2_dev.ctrl_handler = &dev->ctrl_handler; v4l2_dev 1911 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: mmal init failed: %d\n", v4l2_dev 1933 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: could not init device: %d\n", v4l2_dev 1943 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_err(&dev->v4l2_dev, "%s: could not setup components: %d\n", v4l2_dev 1948 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_info(&dev->v4l2_dev, v4l2_dev 1958 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c v4l2_device_unregister(&dev->v4l2_dev); v4l2_dev 39 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.h struct v4l2_device v4l2_dev; v4l2_dev 559 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 585 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 607 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 798 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(0, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 815 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(0, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 866 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 890 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1172 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1204 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 1224 drivers/staging/vc04_services/bcm2835-camera/controls.c v4l2_dbg(0, bcm2835_v4l2_debug, &dev->v4l2_dev, v4l2_dev 420 drivers/usb/gadget/function/f_uvc.c uvc->vdev.v4l2_dev = &uvc->v4l2_dev; v4l2_dev 735 drivers/usb/gadget/function/f_uvc.c if (v4l2_device_register(&cdev->gadget->dev, &uvc->v4l2_dev)) { v4l2_dev 755 drivers/usb/gadget/function/f_uvc.c v4l2_device_unregister(&uvc->v4l2_dev); v4l2_dev 889 drivers/usb/gadget/function/f_uvc.c v4l2_device_unregister(&uvc->v4l2_dev); v4l2_dev 114 drivers/usb/gadget/function/uvc.h struct v4l2_device v4l2_dev; v4l2_dev 148 include/media/davinci/vpbe.h struct v4l2_device v4l2_dev; v4l2_dev 35 include/media/davinci/vpbe_venc.h struct v4l2_subdev *venc_sub_dev_init(struct v4l2_device *v4l2_dev, v4l2_dev 98 include/media/davinci/vpfe_capture.h struct v4l2_device v4l2_dev; v4l2_dev 121 include/media/drv-intf/saa7146.h struct v4l2_device v4l2_dev; v4l2_dev 159 include/media/drv-intf/saa7146.h static inline struct saa7146_dev *to_saa7146_dev(struct v4l2_device *v4l2_dev) v4l2_dev 161 include/media/drv-intf/saa7146.h return container_of(v4l2_dev, struct saa7146_dev, v4l2_dev); v4l2_dev 37 include/media/drv-intf/tea575x.h struct v4l2_device *v4l2_dev; v4l2_dev 72 include/media/soc_camera.h struct v4l2_device v4l2_dev; v4l2_dev 245 include/media/soc_camera.h struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); v4l2_dev 247 include/media/soc_camera.h return container_of(v4l2_dev, struct soc_camera_host, v4l2_dev); v4l2_dev 131 include/media/v4l2-async.h struct v4l2_device *v4l2_dev; v4l2_dev 254 include/media/v4l2-async.h int v4l2_async_notifier_register(struct v4l2_device *v4l2_dev, v4l2_dev 151 include/media/v4l2-common.h struct v4l2_subdev *v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 168 include/media/v4l2-common.h struct v4l2_subdev *v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, v4l2_dev 224 include/media/v4l2-common.h v4l2_i2c_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 232 include/media/v4l2-common.h v4l2_i2c_new_subdev_board(struct v4l2_device *v4l2_dev, v4l2_dev 284 include/media/v4l2-common.h struct v4l2_subdev *v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 308 include/media/v4l2-common.h v4l2_spi_new_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 271 include/media/v4l2-dev.h struct v4l2_device *v4l2_dev; v4l2_dev 58 include/media/v4l2-device.h void (*release)(struct v4l2_device *v4l2_dev); v4l2_dev 69 include/media/v4l2-device.h static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) v4l2_dev 71 include/media/v4l2-device.h kref_get(&v4l2_dev->ref); v4l2_dev 82 include/media/v4l2-device.h int v4l2_device_put(struct v4l2_device *v4l2_dev); v4l2_dev 97 include/media/v4l2-device.h struct v4l2_device *v4l2_dev); v4l2_dev 126 include/media/v4l2-device.h int v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, v4l2_dev 140 include/media/v4l2-device.h void v4l2_device_disconnect(struct v4l2_device *v4l2_dev); v4l2_dev 148 include/media/v4l2-device.h void v4l2_device_unregister(struct v4l2_device *v4l2_dev); v4l2_dev 161 include/media/v4l2-device.h int __must_check v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, v4l2_dev 184 include/media/v4l2-device.h v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev); v4l2_dev 198 include/media/v4l2-device.h if (sd && sd->v4l2_dev && sd->v4l2_dev->notify) v4l2_dev 199 include/media/v4l2-device.h sd->v4l2_dev->notify(sd, notification, arg); v4l2_dev 207 include/media/v4l2-device.h static inline bool v4l2_device_supports_requests(struct v4l2_device *v4l2_dev) v4l2_dev 209 include/media/v4l2-device.h return v4l2_dev->mdev && v4l2_dev->mdev->ops && v4l2_dev 210 include/media/v4l2-device.h v4l2_dev->mdev->ops->req_queue; v4l2_dev 227 include/media/v4l2-device.h #define v4l2_device_for_each_subdev(sd, v4l2_dev) \ v4l2_dev 228 include/media/v4l2-device.h list_for_each_entry(sd, &(v4l2_dev)->subdevs, list) v4l2_dev 250 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ v4l2_dev 252 include/media/v4l2-device.h list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) \ v4l2_dev 275 include/media/v4l2-device.h #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ v4l2_dev 279 include/media/v4l2-device.h __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \ v4l2_dev 307 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ v4l2_dev 311 include/media/v4l2-device.h list_for_each_entry((sd), &(v4l2_dev)->subdevs, list) { \ v4l2_dev 342 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ v4l2_dev 345 include/media/v4l2-device.h __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \ v4l2_dev 369 include/media/v4l2-device.h #define v4l2_device_call_all(v4l2_dev, grpid, o, f, args...) \ v4l2_dev 373 include/media/v4l2-device.h __v4l2_device_call_subdevs_p(v4l2_dev, __sd, \ v4l2_dev 402 include/media/v4l2-device.h #define v4l2_device_call_until_err(v4l2_dev, grpid, o, f, args...) \ v4l2_dev 405 include/media/v4l2-device.h __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \ v4l2_dev 429 include/media/v4l2-device.h #define v4l2_device_mask_call_all(v4l2_dev, grpmsk, o, f, args...) \ v4l2_dev 433 include/media/v4l2-device.h __v4l2_device_call_subdevs_p(v4l2_dev, __sd, \ v4l2_dev 461 include/media/v4l2-device.h #define v4l2_device_mask_call_until_err(v4l2_dev, grpmsk, o, f, args...) \ v4l2_dev 464 include/media/v4l2-device.h __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \ v4l2_dev 483 include/media/v4l2-device.h #define v4l2_device_has_op(v4l2_dev, grpid, o, f) \ v4l2_dev 487 include/media/v4l2-device.h list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \ v4l2_dev 511 include/media/v4l2-device.h #define v4l2_device_mask_has_op(v4l2_dev, grpmsk, o, f) \ v4l2_dev 515 include/media/v4l2-device.h list_for_each_entry(__sd, &(v4l2_dev)->subdevs, list) { \ v4l2_dev 856 include/media/v4l2-subdev.h struct v4l2_device *v4l2_dev; v4l2_dev 20 include/trace/events/pwc.h __string(name, pdev->v4l2_dev.name) v4l2_dev 29 include/trace/events/pwc.h __assign_str(name, pdev->v4l2_dev.name); v4l2_dev 47 include/trace/events/pwc.h __string(name, pdev->v4l2_dev.name) v4l2_dev 53 include/trace/events/pwc.h __assign_str(name, pdev->v4l2_dev.name); v4l2_dev 66 samples/v4l/v4l2-pci-skeleton.c struct v4l2_device v4l2_dev; v4l2_dev 585 samples/v4l/v4l2-pci-skeleton.c v4l2_print_dv_timings(skel->v4l2_dev.name, "query_dv_timings:", v4l2_dev 797 samples/v4l/v4l2-pci-skeleton.c ret = v4l2_device_register(&pdev->dev, &skel->v4l2_dev); v4l2_dev 818 samples/v4l/v4l2-pci-skeleton.c skel->v4l2_dev.ctrl_handler = hdl; v4l2_dev 877 samples/v4l/v4l2-pci-skeleton.c vdev->v4l2_dev = &skel->v4l2_dev; v4l2_dev 891 samples/v4l/v4l2-pci-skeleton.c v4l2_device_unregister(&skel->v4l2_dev); v4l2_dev 899 samples/v4l/v4l2-pci-skeleton.c struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); v4l2_dev 900 samples/v4l/v4l2-pci-skeleton.c struct skeleton *skel = container_of(v4l2_dev, struct skeleton, v4l2_dev); v4l2_dev 904 samples/v4l/v4l2-pci-skeleton.c v4l2_device_unregister(&skel->v4l2_dev); v4l2_dev 551 sound/pci/es1968.c struct v4l2_device v4l2_dev; v4l2_dev 2617 sound/pci/es1968.c v4l2_device_unregister(&chip->v4l2_dev); v4l2_dev 2761 sound/pci/es1968.c err = v4l2_device_register(&pci->dev, &chip->v4l2_dev); v4l2_dev 2766 sound/pci/es1968.c chip->tea.v4l2_dev = &chip->v4l2_dev; v4l2_dev 196 sound/pci/fm801.c struct v4l2_device v4l2_dev; v4l2_dev 1184 sound/pci/fm801.c v4l2_device_unregister(&chip->v4l2_dev); v4l2_dev 1255 sound/pci/fm801.c err = v4l2_device_register(&pci->dev, &chip->v4l2_dev); v4l2_dev 1260 sound/pci/fm801.c chip->tea.v4l2_dev = &chip->v4l2_dev;