Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hdpvr-video.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include <linux/videodev2.h>
#include <media/v4l2-dev.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include "hdpvr.h"

Go to the source code of this file.

Data Structures

struct  hdpvr_fh
 

Macros

#define BULK_URB_TIMEOUT   90 /* 0.09 seconds */
 
#define print_buffer_status()
 

Functions

int hdpvr_cancel_queue (struct hdpvr_device *dev)
 
int hdpvr_free_buffers (struct hdpvr_device *dev)
 
int hdpvr_alloc_buffers (struct hdpvr_device *dev, uint count)
 
int hdpvr_register_videodev (struct hdpvr_device *dev, struct device *parent, int devnum)
 

Macro Definition Documentation

#define BULK_URB_TIMEOUT   90 /* 0.09 seconds */

Definition at line 28 of file hdpvr-video.c.

#define print_buffer_status ( )
Value:
{ \
v4l2_dbg(MSG_BUFFER, hdpvr_debug, &dev->v4l2_dev, \
"%s:%d buffer stat: %d free, %d proc\n", \
__func__, __LINE__, \
list_size(&dev->free_buff_list), \
list_size(&dev->rec_buff_list)); }

Definition at line 30 of file hdpvr-video.c.

Function Documentation

int hdpvr_alloc_buffers ( struct hdpvr_device dev,
uint  count 
)

Definition at line 118 of file hdpvr-video.c.

int hdpvr_cancel_queue ( struct hdpvr_device dev)

Definition at line 69 of file hdpvr-video.c.

int hdpvr_free_buffers ( struct hdpvr_device dev)

Definition at line 107 of file hdpvr-video.c.

int hdpvr_register_videodev ( struct hdpvr_device dev,
struct device parent,
int  devnum 
)

Definition at line 1266 of file hdpvr-video.c.