#include <linux/atomic.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/videodev2.h>
#include <linux/vmalloc.h>
#include <linux/wait.h>
#include <linux/version.h>
#include <asm/unaligned.h>
#include <media/v4l2-common.h>
#include "uvcvideo.h"
Go to the source code of this file.
|
struct usb_host_endpoint * | uvc_find_endpoint (struct usb_host_interface *alts, __u8 epaddr) |
|
void | uvc_simplify_fraction (uint32_t *numerator, uint32_t *denominator, unsigned int n_terms, unsigned int threshold) |
|
uint32_t | uvc_fraction_to_interval (uint32_t numerator, uint32_t denominator) |
|
struct uvc_entity * | uvc_entity_by_id (struct uvc_device *dev, int id) |
|
| module_param_call (clock, uvc_clock_param_set, uvc_clock_param_get,&uvc_clock_param, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (clock,"Video buffers timestamp clock") |
|
| module_param_named (nodrop, uvc_no_drop_param, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (nodrop,"Don't drop incomplete frames") |
|
| module_param_named (quirks, uvc_quirks_param, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (quirks,"Forced device quirks") |
|
| module_param_named (trace, uvc_trace_param, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (trace,"Trace level bitmask") |
|
| module_param_named (timeout, uvc_timeout_param, uint, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (timeout,"Streaming control requests timeout") |
|
| MODULE_DEVICE_TABLE (usb, uvc_ids) |
|
| module_init (uvc_init) |
|
| module_exit (uvc_cleanup) |
|
| MODULE_AUTHOR (DRIVER_AUTHOR) |
|
| MODULE_DESCRIPTION (DRIVER_DESC) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_VERSION (DRIVER_VERSION) |
|
#define DRIVER_DESC "USB Video Class driver" |
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
uvc_ids |
|
|
) |
| |
module_exit |
( |
uvc_cleanup |
| ) |
|
module_param_call |
( |
clock |
, |
|
|
uvc_clock_param_set |
, |
|
|
uvc_clock_param_get |
, |
|
|
& |
uvc_clock_param, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param_named |
( |
quirks |
, |
|
|
uvc_quirks_param |
, |
|
|
uint |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
MODULE_PARM_DESC |
( |
nodrop |
, |
|
|
"Don't drop incomplete frames" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
quirks |
, |
|
|
"Forced device quirks" |
|
|
) |
| |
struct usb_host_endpoint* uvc_find_endpoint |
( |
struct usb_host_interface * |
alts, |
|
|
__u8 |
epaddr |
|
) |
| |
|
read |
Initial value:= {
.driver = {
.name = "uvcvideo",
.probe = uvc_probe,
.disconnect = uvc_disconnect,
.suspend = uvc_suspend,
.resume = uvc_resume,
.reset_resume = uvc_reset_resume,
.id_table = uvc_ids,
.supports_autosuspend = 1,
},
}
Definition at line 2420 of file uvc_driver.c.
unsigned int uvc_no_drop_param |
unsigned int uvc_trace_param |