Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usb1401.c File Reference
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/usb.h>
#include <linux/mutex.h>
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/version.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/kref.h>
#include <linux/uaccess.h>
#include "usb1401.h"

Go to the source code of this file.

Macros

#define USB_CED_VENDOR_ID   0x0525
 
#define USB_CED_PRODUCT_ID   0xa0f0
 
#define USB_CED_MINOR_BASE   192
 
#define MAX_TRANSFER   (PAGE_SIZE - 512)
 
#define WRITES_IN_FLIGHT   8
 

Functions

 MODULE_DEVICE_TABLE (usb, ced_table)
 
int SendChars (DEVICE_EXTENSION *pdx)
 
int ReadWriteMem (DEVICE_EXTENSION *pdx, bool Read, unsigned short wIdent, unsigned int dwOffs, unsigned int dwLen)
 
int Allowi (DEVICE_EXTENSION *pdx, bool bInCallback)
 Definitions of routimes used between compilation object files.
 
void ced_draw_down (DEVICE_EXTENSION *pdx)
 
 module_usb_driver (ced_driver)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX_TRANSFER   (PAGE_SIZE - 512)

Definition at line 119 of file usb1401.c.

#define USB_CED_MINOR_BASE   192

Definition at line 116 of file usb1401.c.

#define USB_CED_PRODUCT_ID   0xa0f0

Definition at line 105 of file usb1401.c.

#define USB_CED_VENDOR_ID   0x0525

Definition at line 104 of file usb1401.c.

#define WRITES_IN_FLIGHT   8

Definition at line 123 of file usb1401.c.

Function Documentation

int Allowi ( DEVICE_EXTENSION pdx,
bool  bInCallback 
)

Definitions of routimes used between compilation object files.

Definition at line 1201 of file usb1401.c.

void ced_draw_down ( DEVICE_EXTENSION pdx)

Definition at line 1568 of file usb1401.c.

MODULE_DEVICE_TABLE ( usb  ,
ced_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( ced_driver  )
int ReadWriteMem ( DEVICE_EXTENSION pdx,
bool  Read,
unsigned short  wIdent,
unsigned int  dwOffs,
unsigned int  dwLen 
)

Definition at line 791 of file usb1401.c.

int SendChars ( DEVICE_EXTENSION pdx)

Definition at line 358 of file usb1401.c.