Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
cypress_m8.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/spinlock.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/serial.h>
#include <linux/kfifo.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <asm/unaligned.h>
#include "cypress_m8.h"

Go to the source code of this file.

Data Structures

struct  cypress_private
 

Macros

#define DRIVER_VERSION   "v1.10"
 
#define DRIVER_AUTHOR   "Lonnie Mendez <[email protected]>, Neil Whelchel <[email protected]>"
 
#define DRIVER_DESC   "Cypress USB to Serial Driver"
 
#define CYPRESS_BUF_SIZE   1024
 

Enumerations

enum  packet_format { packet_format_1, packet_format_2 }
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table_combined)
 
 module_usb_serial_driver (serial_drivers, id_table_combined)
 
 MODULE_AUTHOR (DRIVER_AUTHOR)
 
 MODULE_DESCRIPTION (DRIVER_DESC)
 
 MODULE_VERSION (DRIVER_VERSION)
 
 MODULE_LICENSE ("GPL")
 
 module_param (stats, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (stats,"Enable statistics or not")
 
 module_param (interval, int, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (interval,"Overrides interrupt interval")
 
 module_param (unstable_bauds, bool, S_IRUGO|S_IWUSR)
 
 MODULE_PARM_DESC (unstable_bauds,"Allow unstable baud rates")
 

Macro Definition Documentation

#define CYPRESS_BUF_SIZE   1024

Definition at line 61 of file cypress_m8.c.

#define DRIVER_AUTHOR   "Lonnie Mendez <[email protected]>, Neil Whelchel <[email protected]>"

Definition at line 57 of file cypress_m8.c.

#define DRIVER_DESC   "Cypress USB to Serial Driver"

Definition at line 58 of file cypress_m8.c.

#define DRIVER_VERSION   "v1.10"

Definition at line 56 of file cypress_m8.c.

Enumeration Type Documentation

Enumerator:
packet_format_1 
packet_format_2 

Definition at line 91 of file cypress_m8.c.

Function Documentation

MODULE_AUTHOR ( DRIVER_AUTHOR  )
MODULE_DESCRIPTION ( DRIVER_DESC  )
MODULE_DEVICE_TABLE ( usb  ,
id_table_combined   
)
MODULE_LICENSE ( "GPL"  )
module_param ( stats  ,
bool  ,
S_IRUGO S_IWUSR 
)
module_param ( interval  ,
int  ,
S_IRUGO S_IWUSR 
)
module_param ( unstable_bauds  ,
bool  ,
S_IRUGO S_IWUSR 
)
MODULE_PARM_DESC ( stats  ,
"Enable statistics or not"   
)
MODULE_PARM_DESC ( interval  ,
"Overrides interrupt interval  
)
MODULE_PARM_DESC ( unstable_bauds  ,
"Allow unstable baud rates"   
)
module_usb_serial_driver ( serial_drivers  ,
id_table_combined   
)
MODULE_VERSION ( DRIVER_VERSION  )