Searched refs:usb_usbvision (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/drivers/media/usb/usbvision/ |
D | usbvision.h | 355 struct usb_usbvision { struct 461 static inline struct usb_usbvision *to_usbvision(struct v4l2_device *v4l2_dev) in to_usbvision() argument 463 return container_of(v4l2_dev, struct usb_usbvision, v4l2_dev); in to_usbvision() 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); [all …]
|
D | usbvision-i2c.c | 47 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() 59 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in try_write_address() 80 struct usb_usbvision *usbvision; in try_read_address() 84 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in try_read_address() 130 struct usb_usbvision *usbvision; in usbvision_i2c_xfer() 134 usbvision = (struct usb_usbvision *)i2c_get_adapdata(i2c_adap); in usbvision_i2c_xfer() 178 int usbvision_i2c_register(struct usb_usbvision *usbvision) in usbvision_i2c_register() 259 int usbvision_i2c_unregister(struct usb_usbvision *usbvision) in usbvision_i2c_unregister() [all …]
|
D | usbvision-video.c | 114 static void usbvision_release(struct usb_usbvision *usbvision); 158 static inline struct usb_usbvision *cd_to_usbvision(struct device *cd) in cd_to_usbvision() 175 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_model() 185 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_hue() 197 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_contrast() 209 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_brightness() 221 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_saturation() 233 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_streaming() 243 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_compression() 253 struct usb_usbvision *usbvision = video_get_drvdata(vdev); in show_device_bridge() [all …]
|
D | usbvision-core.c | 97 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() 186 static int scratch_free(struct usb_usbvision *usbvision) in scratch_free() 202 static int scratch_put(struct usb_usbvision *usbvision, unsigned char *data, in scratch_put() 227 static void scratch_mark_header(struct usb_usbvision *usbvision) in scratch_mark_header() 238 static int scratch_get_extra(struct usb_usbvision *usbvision, in scratch_get_extra() 264 static void scratch_set_extra_ptr(struct usb_usbvision *usbvision, int *ptr, in scratch_set_extra_ptr() [all …]
|