#include <linux/fs.h>
#include <linux/vmalloc.h>
#include <linux/videodev2.h>
#include <linux/usb.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-dev.h>
#include "pd-common.h"
#include "vendorcmds.h"
Go to the source code of this file.
|
| | module_param (usb_transfer_mode, int, 0644) |
| |
| | MODULE_PARM_DESC (usb_transfer_mode,"0 = Bulk, 1 = Isochronous") |
| |
| int | alloc_bulk_urbs_generic (struct urb **urb_array, int num, struct usb_device *udev, u8 ep_addr, int buf_size, gfp_t gfp_flags, usb_complete_t complete_fn, void *context) |
| |
| void | free_all_urb_generic (struct urb **urb_array, int num) |
| |
| int | stop_all_video_stream (struct poseidon *pd) |
| |
| void | set_debug_mode (struct video_device *vfd, int debug_mode) |
| |
| struct video_device * | vdev_init (struct poseidon *pd, struct video_device *tmp) |
| |
| void | destroy_video_device (struct video_device **v_dev) |
| |
| void | pd_video_exit (struct poseidon *pd) |
| |
| int | pd_video_init (struct poseidon *pd) |
| |
Value:do { \
if (++video->lines_copied > video->lines_per_field) \
memcpy(video->dst,
src, len);\
video->dst +=
len + video->lines_size;
\
} while (0)
| #define GET_TOO_MUCH_BUBBLE (2) |
| int alloc_bulk_urbs_generic |
( |
struct urb ** |
urb_array, |
|
|
int |
num, |
|
|
struct usb_device * |
udev, |
|
|
u8 |
ep_addr, |
|
|
int |
buf_size, |
|
|
gfp_t |
gfp_flags, |
|
|
usb_complete_t |
complete_fn, |
|
|
void * |
context |
|
) |
| |
| module_param |
( |
usb_transfer_mode |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
| MODULE_PARM_DESC |
( |
usb_transfer_mode |
, |
|
|
" |
0 = Bulk |
|
) |
| |