#include <linux/module.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/ratelimit.h>
#include "stk1160.h"
static unsigned int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(…) …;
static inline void print_err_status(struct stk1160 *dev,
int packet, int status)
{ … }
static inline
struct stk1160_buffer *stk1160_next_buffer(struct stk1160 *dev)
{ … }
static inline
void stk1160_buffer_done(struct stk1160 *dev)
{ … }
static inline
void stk1160_copy_video(struct stk1160 *dev, u8 *src, int len)
{ … }
static void stk1160_process_isoc(struct stk1160 *dev, struct urb *urb)
{ … }
static void stk1160_isoc_irq(struct urb *urb)
{ … }
void stk1160_cancel_isoc(struct stk1160 *dev)
{ … }
static void stk_free_urb(struct stk1160 *dev, struct stk1160_urb *stk_urb)
{ … }
void stk1160_free_isoc(struct stk1160 *dev)
{ … }
void stk1160_uninit_isoc(struct stk1160 *dev)
{ … }
static int stk1160_fill_urb(struct stk1160 *dev, struct stk1160_urb *stk_urb,
int sb_size, int max_packets)
{ … }
int stk1160_alloc_isoc(struct stk1160 *dev)
{ … }