/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-device.c | 17 int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) in v4l2_device_register() argument 19 if (v4l2_dev == NULL) in v4l2_device_register() 22 INIT_LIST_HEAD(&v4l2_dev->subdevs); in v4l2_device_register() 23 spin_lock_init(&v4l2_dev->lock); in v4l2_device_register() 24 v4l2_prio_init(&v4l2_dev->prio); in v4l2_device_register() 25 kref_init(&v4l2_dev->ref); in v4l2_device_register() 27 v4l2_dev->dev = dev; in v4l2_device_register() 30 if (WARN_ON(!v4l2_dev->name[0])) in v4l2_device_register() 36 if (!v4l2_dev->name[0]) in v4l2_device_register() 37 snprintf(v4l2_dev in v4l2_device_register() 47 struct v4l2_device *v4l2_dev = v4l2_device_release() local 54 v4l2_device_put(struct v4l2_device *v4l2_dev) v4l2_device_put() argument 60 v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, atomic_t *instance) v4l2_device_set_name() argument 76 v4l2_device_disconnect(struct v4l2_device *v4l2_dev) v4l2_device_disconnect() argument 88 v4l2_device_unregister(struct v4l2_device *v4l2_dev) v4l2_device_unregister() argument 111 v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, struct v4l2_subdev *sd) v4l2_device_register_subdev() argument 189 __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev, bool read_only) __v4l2_device_register_subdev_nodes() argument 262 struct v4l2_device *v4l2_dev; v4l2_device_unregister_subdev() local [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-device.c | 17 int v4l2_device_register(struct device *dev, struct v4l2_device *v4l2_dev) in v4l2_device_register() argument 19 if (v4l2_dev == NULL) in v4l2_device_register() 22 INIT_LIST_HEAD(&v4l2_dev->subdevs); in v4l2_device_register() 23 spin_lock_init(&v4l2_dev->lock); in v4l2_device_register() 24 v4l2_prio_init(&v4l2_dev->prio); in v4l2_device_register() 25 kref_init(&v4l2_dev->ref); in v4l2_device_register() 27 v4l2_dev->dev = dev; in v4l2_device_register() 30 if (WARN_ON(!v4l2_dev->name[0])) in v4l2_device_register() 36 if (!v4l2_dev->name[0]) in v4l2_device_register() 37 snprintf(v4l2_dev in v4l2_device_register() 47 struct v4l2_device *v4l2_dev = v4l2_device_release() local 54 v4l2_device_put(struct v4l2_device *v4l2_dev) v4l2_device_put() argument 60 v4l2_device_set_name(struct v4l2_device *v4l2_dev, const char *basename, atomic_t *instance) v4l2_device_set_name() argument 76 v4l2_device_disconnect(struct v4l2_device *v4l2_dev) v4l2_device_disconnect() argument 88 v4l2_device_unregister(struct v4l2_device *v4l2_dev) v4l2_device_unregister() argument 111 v4l2_device_register_subdev(struct v4l2_device *v4l2_dev, struct v4l2_subdev *sd) v4l2_device_register_subdev() argument 189 __v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev, bool read_only) __v4l2_device_register_subdev_nodes() argument 263 struct v4l2_device *v4l2_dev; v4l2_device_unregister_subdev() local [all...] |
/kernel/linux/linux-5.10/include/media/ |
H A D | v4l2-device.h | 58 void (*release)(struct v4l2_device *v4l2_dev); 64 * @v4l2_dev: pointer to struct &v4l2_device 67 * struct &v4l2_device pointed by @v4l2_dev. 69 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument 71 kref_get(&v4l2_dev->ref); in v4l2_device_get() 77 * @v4l2_dev: pointer to struct &v4l2_device 80 * struct &v4l2_device pointed by @v4l2_dev. 82 int v4l2_device_put(struct v4l2_device *v4l2_dev); 85 * v4l2_device_register - Initialize v4l2_dev and make @dev->driver_data 86 * point to @v4l2_dev 200 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev) v4l2_device_register_subdev_nodes() argument 219 v4l2_device_register_ro_subdev_nodes(struct v4l2_device *v4l2_dev) v4l2_device_register_ro_subdev_nodes() argument 249 v4l2_device_supports_requests(struct v4l2_device *v4l2_dev) v4l2_device_supports_requests() argument [all...] |
/kernel/linux/linux-6.6/include/media/ |
H A D | v4l2-device.h | 58 void (*release)(struct v4l2_device *v4l2_dev); 64 * @v4l2_dev: pointer to struct &v4l2_device 67 * struct &v4l2_device pointed by @v4l2_dev. 69 static inline void v4l2_device_get(struct v4l2_device *v4l2_dev) in v4l2_device_get() argument 71 kref_get(&v4l2_dev->ref); in v4l2_device_get() 77 * @v4l2_dev: pointer to struct &v4l2_device 80 * struct &v4l2_device pointed by @v4l2_dev. 82 int v4l2_device_put(struct v4l2_device *v4l2_dev); 85 * v4l2_device_register - Initialize v4l2_dev and make @dev->driver_data 86 * point to @v4l2_dev 200 v4l2_device_register_subdev_nodes(struct v4l2_device *v4l2_dev) v4l2_device_register_subdev_nodes() argument 219 v4l2_device_register_ro_subdev_nodes(struct v4l2_device *v4l2_dev) v4l2_device_register_ro_subdev_nodes() argument 249 v4l2_device_supports_requests(struct v4l2_device *v4l2_dev) v4l2_device_supports_requests() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-alsa-main.c | 50 struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) in to_snd_cx18_card() argument 52 return to_cx18(v4l2_dev)->alsa; in to_snd_cx18_card() 56 struct snd_cx18_card *p_to_snd_cx18_card(struct v4l2_device **v4l2_dev) in p_to_snd_cx18_card() argument 58 return container_of(v4l2_dev, struct snd_cx18_card, v4l2_dev); in p_to_snd_cx18_card() 66 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free() 67 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free() 83 static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, in snd_cx18_card_create() argument 91 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create() 120 snd_cx18_init(struct v4l2_device *v4l2_dev) snd_cx18_init() argument 188 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; cx18_alsa_load() local 245 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); cx18_alsa_exit_callback() local [all...] |
H A D | cx18-alsa.h | 11 struct v4l2_device *v4l2_dev; member 27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock() 33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock() 44 v4l2_dev->name , ## args); \ 54 printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args) 57 printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args) 60 printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args)
|
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 47 struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) in to_snd_ivtv_card() argument 49 return to_ivtv(v4l2_dev)->alsa; in to_snd_ivtv_card() 53 struct snd_ivtv_card *p_to_snd_ivtv_card(struct v4l2_device **v4l2_dev) in p_to_snd_ivtv_card() argument 55 return container_of(v4l2_dev, struct snd_ivtv_card, v4l2_dev); in p_to_snd_ivtv_card() 63 if (itvsc->v4l2_dev != NULL) in snd_ivtv_card_free() 64 to_ivtv(itvsc->v4l2_dev)->alsa = NULL; in snd_ivtv_card_free() 80 static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, in snd_ivtv_card_create() argument 88 (*itvsc)->v4l2_dev = v4l2_dev; in snd_ivtv_card_create() 117 snd_ivtv_init(struct v4l2_device *v4l2_dev) snd_ivtv_init() argument 190 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; ivtv_alsa_load() local 245 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); ivtv_alsa_exit_callback() local [all...] |
H A D | ivtv-alsa.h | 12 struct v4l2_device *v4l2_dev; member 28 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock() 34 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock() 45 v4l2_dev->name , ## args); \ 55 pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args) 58 pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args) 61 pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args)
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-alsa-main.c | 49 struct snd_cx18_card *to_snd_cx18_card(struct v4l2_device *v4l2_dev) in to_snd_cx18_card() argument 51 return to_cx18(v4l2_dev)->alsa; in to_snd_cx18_card() 59 if (cxsc->v4l2_dev != NULL) in snd_cx18_card_free() 60 to_cx18(cxsc->v4l2_dev)->alsa = NULL; in snd_cx18_card_free() 76 static int snd_cx18_card_create(struct v4l2_device *v4l2_dev, in snd_cx18_card_create() argument 84 (*cxsc)->v4l2_dev = v4l2_dev; in snd_cx18_card_create() 95 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_card_set_names() 113 static int snd_cx18_init(struct v4l2_device *v4l2_dev) in snd_cx18_init() argument 115 struct cx18 *cx = to_cx18(v4l2_dev); in snd_cx18_init() 181 struct v4l2_device *v4l2_dev = &cx->v4l2_dev; cx18_alsa_load() local 238 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); cx18_alsa_exit_callback() local [all...] |
H A D | cx18-alsa.h | 11 struct v4l2_device *v4l2_dev; member 27 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_lock() 33 struct cx18 *cx = to_cx18(cxsc->v4l2_dev); in snd_cx18_unlock() 44 v4l2_dev->name , ## args); \ 54 printk(KERN_ERR "%s-alsa: " fmt, v4l2_dev->name , ## args) 57 printk(KERN_WARNING "%s-alsa: " fmt, v4l2_dev->name , ## args) 60 printk(KERN_INFO "%s-alsa: " fmt, v4l2_dev->name , ## args)
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-alsa-main.c | 46 struct snd_ivtv_card *to_snd_ivtv_card(struct v4l2_device *v4l2_dev) in to_snd_ivtv_card() argument 48 return to_ivtv(v4l2_dev)->alsa; in to_snd_ivtv_card() 56 if (itvsc->v4l2_dev != NULL) in snd_ivtv_card_free() 57 to_ivtv(itvsc->v4l2_dev)->alsa = NULL; in snd_ivtv_card_free() 73 static int snd_ivtv_card_create(struct v4l2_device *v4l2_dev, in snd_ivtv_card_create() argument 81 (*itvsc)->v4l2_dev = v4l2_dev; in snd_ivtv_card_create() 92 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_card_set_names() 110 static int snd_ivtv_init(struct v4l2_device *v4l2_dev) in snd_ivtv_init() argument 112 struct ivtv *itv = to_ivtv(v4l2_dev); in snd_ivtv_init() 183 struct v4l2_device *v4l2_dev = &itv->v4l2_dev; ivtv_alsa_load() local 238 struct v4l2_device *v4l2_dev = dev_get_drvdata(dev); ivtv_alsa_exit_callback() local [all...] |
H A D | ivtv-alsa.h | 12 struct v4l2_device *v4l2_dev; member 28 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_lock() 34 struct ivtv *itv = to_ivtv(itvsc->v4l2_dev); in snd_ivtv_unlock() 45 v4l2_dev->name , ## args); \ 55 pr_err("%s-alsa: " fmt, v4l2_dev->name , ## args) 58 pr_warn("%s-alsa: " fmt, v4l2_dev->name , ## args) 61 pr_info("%s-alsa: " fmt, v4l2_dev->name , ## args)
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-maxiradio.c | 73 struct v4l2_device v4l2_dev; member 79 static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) in to_maxiradio() argument 81 return container_of(v4l2_dev, struct maxiradio, v4l2_dev); in to_maxiradio() 122 struct v4l2_device *v4l2_dev; in maxiradio_probe() local 131 v4l2_dev = &dev->v4l2_dev; in maxiradio_probe() 132 v4l2_device_set_name(v4l2_dev, "maxiradio", &maxiradio_instance); in maxiradio_probe() 134 retval = v4l2_device_register(&pdev->dev, v4l2_dev); in maxiradio_probe() 136 v4l2_err(v4l2_dev, "Coul in maxiradio_probe() 179 struct v4l2_device *v4l2_dev = dev_get_drvdata(&pdev->dev); maxiradio_remove() local [all...] |
H A D | radio-isa.c | 39 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap() 133 v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io); in radio_isa_log_status() 134 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); in radio_isa_log_status() 182 struct v4l2_device *v4l2_dev; in radio_isa_alloc() local 189 v4l2_dev = &isa->v4l2_dev; in radio_isa_alloc() 190 strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); in radio_isa_alloc() 201 struct v4l2_device *v4l2_dev = &isa->v4l2_dev; in radio_isa_common_probe() local 295 struct v4l2_device *v4l2_dev; radio_isa_probe() local [all...] |
H A D | radio-shark2.c | 53 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) 59 struct v4l2_device v4l2_dev; member 85 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", in shark_write_reg() 93 v4l2_err(tea->v4l2_dev, "write error: %d\n", res); in shark_write_reg() 113 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); in shark_read_reg() 122 v4l2_err(tea->v4l2_dev, "read error: %d\n", res); in shark_read_reg() 129 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", in shark_read_reg() 162 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work() 213 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 217 v4l2_err(&shark->v4l2_dev, in shark_register_leds() 258 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_disconnect() local 271 usb_shark_release(struct v4l2_device *v4l2_dev) usb_shark_release() argument 356 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_resume() local [all...] |
H A D | radio-shark.c | 56 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) 63 struct v4l2_device v4l2_dev; member 101 v4l2_err(&shark->v4l2_dev, "set-freq error: %d\n", res); in shark_write_val() 117 v4l2_err(&shark->v4l2_dev, "request-status error: %d\n", res); in shark_read_val() 126 v4l2_err(&shark->v4l2_dev, "get-status error: %d\n", res); in shark_read_val() 177 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work() 247 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 251 v4l2_err(&shark->v4l2_dev, in shark_register_leds() 282 v4l2_warn(&shark->v4l2_dev, in shark_register_leds() 292 struct v4l2_device *v4l2_dev in usb_shark_disconnect() local 305 usb_shark_release(struct v4l2_device *v4l2_dev) usb_shark_release() argument 391 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-maxiradio.c | 73 struct v4l2_device v4l2_dev; member 79 static inline struct maxiradio *to_maxiradio(struct v4l2_device *v4l2_dev) in to_maxiradio() argument 81 return container_of(v4l2_dev, struct maxiradio, v4l2_dev); in to_maxiradio() 122 struct v4l2_device *v4l2_dev; in maxiradio_probe() local 131 v4l2_dev = &dev->v4l2_dev; in maxiradio_probe() 132 v4l2_device_set_name(v4l2_dev, "maxiradio", &maxiradio_instance); in maxiradio_probe() 134 retval = v4l2_device_register(&pdev->dev, v4l2_dev); in maxiradio_probe() 136 v4l2_err(v4l2_dev, "Coul in maxiradio_probe() 177 struct v4l2_device *v4l2_dev = pci_get_drvdata(pdev); maxiradio_remove() local [all...] |
H A D | radio-isa.c | 39 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap() 133 v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io); in radio_isa_log_status() 134 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); in radio_isa_log_status() 182 struct v4l2_device *v4l2_dev; in radio_isa_alloc() local 189 v4l2_dev = &isa->v4l2_dev; in radio_isa_alloc() 190 strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); in radio_isa_alloc() 201 struct v4l2_device *v4l2_dev = &isa->v4l2_dev; in radio_isa_common_probe() local 294 struct v4l2_device *v4l2_dev; radio_isa_probe() local [all...] |
H A D | radio-shark2.c | 53 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) 59 struct v4l2_device v4l2_dev; member 85 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-write: %*ph\n", in shark_write_reg() 93 v4l2_err(tea->v4l2_dev, "write error: %d\n", res); in shark_write_reg() 113 v4l2_err(tea->v4l2_dev, "request-read error: %d\n", res); in shark_read_reg() 122 v4l2_err(tea->v4l2_dev, "read error: %d\n", res); in shark_read_reg() 129 v4l2_dbg(1, debug, tea->v4l2_dev, "shark2-read: %*ph\n", in shark_read_reg() 162 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work() 213 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 217 v4l2_err(&shark->v4l2_dev, in shark_register_leds() 258 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_disconnect() local 271 usb_shark_release(struct v4l2_device *v4l2_dev) usb_shark_release() argument 356 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_resume() local [all...] |
H A D | radio-shark.c | 56 #define v4l2_dev_to_shark(d) container_of(d, struct shark_device, v4l2_dev) 63 struct v4l2_device v4l2_dev; member 101 v4l2_err(&shark->v4l2_dev, "set-freq error: %d\n", res); in shark_write_val() 117 v4l2_err(&shark->v4l2_dev, "request-status error: %d\n", res); in shark_read_val() 126 v4l2_err(&shark->v4l2_dev, "get-status error: %d\n", res); in shark_read_val() 177 v4l2_err(&shark->v4l2_dev, "set LED %s error: %d\n", in shark_led_work() 247 shark->leds[i].name, shark->v4l2_dev.name); in shark_register_leds() 251 v4l2_err(&shark->v4l2_dev, in shark_register_leds() 282 v4l2_warn(&shark->v4l2_dev, in shark_register_leds() 292 struct v4l2_device *v4l2_dev in usb_shark_disconnect() local 305 usb_shark_release(struct v4l2_device *v4l2_dev) usb_shark_release() argument 391 struct v4l2_device *v4l2_dev = usb_get_intfdata(intf); usb_shark_resume() local [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
H A D | vpfe_capture.c | 255 v4l2_err(&vpfe_dev->v4l2_dev, in vpfe_config_ccdc_image_format() 320 v4l2_err(&vpfe_dev->v4l2_dev, "standard not supported\n"); in vpfe_config_image_format() 347 ret = v4l2_device_call_until_err(&vpfe_dev->v4l2_dev, in vpfe_config_image_format() 351 v4l2_err(&vpfe_dev->v4l2_dev, in vpfe_config_image_format() 390 v4l2_err(&vpfe_dev->v4l2_dev, "ccdc device not registered\n"); in vpfe_initialize_device() 396 v4l2_err(&vpfe_dev->v4l2_dev, "Couldn't lock ccdc module\n"); in vpfe_initialize_device() 423 v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_open\n"); in vpfe_open() 426 v4l2_err(&vpfe_dev->v4l2_dev, "No decoder registered\n"); in vpfe_open() 496 v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "\nStarting vpfe_isr...\n"); in vpfe_isr() 509 v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, in vpfe_isr() [all...] |
H A D | vpbe_display.c | 54 v4l2_err(&vpbe_dev->v4l2_dev, in venc_is_second_field() 200 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, in vpbe_buffer_prepare() 209 v4l2_err(&vpbe_dev->v4l2_dev, in vpbe_buffer_prepare() 230 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, "vpbe_buffer_setup\n"); in vpbe_buffer_queue_setup() 260 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, in vpbe_buffer_queue() 390 v4l2_err(&vpbe_dev->v4l2_dev, in vpbe_set_osd_display_params() 404 v4l2_err(&vpbe_dev->v4l2_dev, in vpbe_set_osd_display_params() 516 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, in vpbe_disp_calculate_scale_factor() 533 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, in vpbe_disp_adj_position() 651 v4l2_dbg(1, debug, &vpbe_dev->v4l2_dev, in vpbe_display_s_selection() 1365 struct v4l2_device *v4l2_dev; vpbe_display_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/tegra-video/ |
H A D | video.c | 14 static void tegra_v4l2_dev_release(struct v4l2_device *v4l2_dev) in tegra_v4l2_dev_release() argument 18 vid = container_of(v4l2_dev, struct tegra_video_device, v4l2_dev); in tegra_v4l2_dev_release() 23 v4l2_device_unregister(v4l2_dev); in tegra_v4l2_dev_release() 67 vid->v4l2_dev.mdev = &vid->media_dev; in host1x_video_probe() 68 vid->v4l2_dev.release = tegra_v4l2_dev_release; in host1x_video_probe() 69 vid->v4l2_dev.notify = tegra_v4l2_dev_notify; in host1x_video_probe() 70 ret = v4l2_device_register(&dev->dev, &vid->v4l2_dev); in host1x_video_probe() 101 v4l2_device_unregister(&vid->v4l2_dev); in host1x_video_probe() 119 /* This calls v4l2_dev releas in host1x_video_remove() [all...] |
/kernel/linux/linux-5.10/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 218 v4l2_err(&dev->v4l2_dev, in queue_setup() 227 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in queue_setup() 241 v4l2_err(&dev->v4l2_dev, in queue_setup() 260 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", in queue_setup() 273 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_init() 286 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_prepare() 294 v4l2_err(&dev->v4l2_dev, in buffer_prepare() 310 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_cleanup() 331 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() 352 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/bcm2835-camera/ |
H A D | bcm2835-camera.c | 216 v4l2_err(&dev->v4l2_dev, in queue_setup() 225 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in queue_setup() 239 v4l2_err(&dev->v4l2_dev, in queue_setup() 258 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p\n", in queue_setup() 271 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_init() 284 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_prepare() 292 v4l2_err(&dev->v4l2_dev, in buffer_prepare() 308 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, "%s: dev:%p, vb %p\n", in buffer_cleanup() 329 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() 350 v4l2_dbg(1, bcm2835_v4l2_debug, &dev->v4l2_dev, in buffer_cb() [all...] |