Home
last modified time | relevance | path

Searched refs:usbvision (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/media/usb/usbvision/
Dusbvision-core.c97 static int usbvision_request_intra(struct usb_usbvision *usbvision);
98 static int usbvision_unrequest_intra(struct usb_usbvision *usbvision);
99 static int usbvision_adjust_compression(struct usb_usbvision *usbvision);
100 static int usbvision_measure_bandwidth(struct usb_usbvision *usbvision);
173 static int scratch_len(struct usb_usbvision *usbvision) /* This returns the amount of data actua… in scratch_len() argument
175 int len = usbvision->scratch_write_ptr - usbvision->scratch_read_ptr; in scratch_len()
186 static int scratch_free(struct usb_usbvision *usbvision) in scratch_free() argument
188 int free = usbvision->scratch_read_ptr - usbvision->scratch_write_ptr; in scratch_free()
202 static int scratch_put(struct usb_usbvision *usbvision, unsigned char *data, in scratch_put() argument
207 if (usbvision->scratch_write_ptr + len < scratch_buf_size) { in scratch_put()
[all …]
Dusbvision-video.c114 static void usbvision_release(struct usb_usbvision *usbvision);
175 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_model() local
177 usbvision_device_data[usbvision->dev_model].model_string); in show_model()
185 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_hue() local
186 s32 val = v4l2_ctrl_g_ctrl(v4l2_ctrl_find(&usbvision->hdl, in show_hue()
197 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_contrast() local
198 s32 val = v4l2_ctrl_g_ctrl(v4l2_ctrl_find(&usbvision->hdl, in show_contrast()
209 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_brightness() local
210 s32 val = v4l2_ctrl_g_ctrl(v4l2_ctrl_find(&usbvision->hdl, in show_brightness()
221 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_saturation() local
[all …]
Dusbvision-i2c.c47 static int usbvision_i2c_write(struct usb_usbvision *usbvision, unsigned char addr, char *buf,
49 static int usbvision_i2c_read(struct usb_usbvision *usbvision, unsigned char addr, char *buf,
55 struct usb_usbvision *usbvision; in try_write_address() local
59 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in try_write_address()
62 ret = (usbvision_i2c_write(usbvision, addr, buf, 1)); in try_write_address()
80 struct usb_usbvision *usbvision; in try_read_address() local
84 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in try_read_address()
86 ret = (usbvision_i2c_read(usbvision, addr, buf, 1)); in try_read_address()
130 struct usb_usbvision *usbvision; in usbvision_i2c_xfer() local
134 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in usbvision_i2c_xfer()
[all …]
Dusbvision.h466 #define call_all(usbvision, o, f, args...) \ argument
467 v4l2_device_call_all(&usbvision->v4l2_dev, 0, o, f, ##args)
477 int usbvision_i2c_register(struct usb_usbvision *usbvision);
478 int usbvision_i2c_unregister(struct usb_usbvision *usbvision);
481 int usbvision_read_reg(struct usb_usbvision *usbvision, unsigned char reg);
482 int usbvision_write_reg(struct usb_usbvision *usbvision, unsigned char reg,
485 int usbvision_frames_alloc(struct usb_usbvision *usbvision, int number_of_frames);
486 void usbvision_frames_free(struct usb_usbvision *usbvision);
487 int usbvision_scratch_alloc(struct usb_usbvision *usbvision);
488 void usbvision_scratch_free(struct usb_usbvision *usbvision);
[all …]
DMakefile1 usbvision-objs := usbvision-core.o usbvision-video.o usbvision-i2c.o usbvision-cards.o
3 obj-$(CONFIG_VIDEO_USBVISION) += usbvision.o
DKconfig12 module will be called usbvision.
/Linux-v4.19/Documentation/media/v4l-drivers/
Dcardlist.rst17 usbvision-cardlist
/Linux-v4.19/drivers/media/usb/
DMakefile20 obj-$(CONFIG_VIDEO_USBVISION) += usbvision/
DKconfig27 source "drivers/media/usb/usbvision/Kconfig"
/Linux-v4.19/
DMAINTAINERS15329 F: drivers/media/usb/usbvision/