Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
radio-shark2.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/workqueue.h>
#include <media/v4l2-device.h>
#include "radio-tea5777.h"

Go to the source code of this file.

Data Structures

struct  shark_device
 

Macros

#define SHARK_IN_EP   0x83
 
#define SHARK_OUT_EP   0x05
 
#define TB_LEN   7
 
#define DRV_NAME   "radioshark2"
 
#define v4l2_dev_to_shark(d)   container_of(d, struct shark_device, v4l2_dev)
 

Enumerations

enum  { BLUE_LED, RED_LED, NO_LEDS }
 

Functions

 MODULE_AUTHOR ("Hans de Goede <[email protected]>")
 
 MODULE_DESCRIPTION ("Griffin radioSHARK2, USB radio receiver driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0)
 
 MODULE_PARM_DESC (debug,"Debug level (0-1)")
 
 MODULE_DEVICE_TABLE (usb, usb_shark_device_table)
 
 module_usb_driver (usb_shark_driver)
 

Macro Definition Documentation

#define DRV_NAME   "radioshark2"

Definition at line 55 of file radio-shark2.c.

#define SHARK_IN_EP   0x83

Definition at line 51 of file radio-shark2.c.

#define SHARK_OUT_EP   0x05

Definition at line 52 of file radio-shark2.c.

#define TB_LEN   7

Definition at line 54 of file radio-shark2.c.

#define v4l2_dev_to_shark (   d)    container_of(d, struct shark_device, v4l2_dev)

Definition at line 57 of file radio-shark2.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
BLUE_LED 
RED_LED 
NO_LEDS 

Definition at line 59 of file radio-shark2.c.

Function Documentation

MODULE_AUTHOR ( "Hans de Goede <[email protected]>"  )
MODULE_DESCRIPTION ( "Griffin  radioSHARK2,
USB radio receiver driver  
)
MODULE_DEVICE_TABLE ( usb  ,
usb_shark_device_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
 
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-1)"   
)
module_usb_driver ( usb_shark_driver  )