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

Go to the source code of this file.

Data Structures

struct  usb_lcd
 

Macros

#define DRIVER_VERSION   "USBLCD Driver Version 1.05"
 
#define USBLCD_MINOR   144
 
#define IOCTL_GET_HARD_VERSION   1
 
#define IOCTL_GET_DRV_VERSION   2
 
#define to_lcd_dev(d)   container_of(d, struct usb_lcd, kref)
 
#define USB_LCD_CONCURRENT_WRITES   5
 

Functions

 MODULE_DEVICE_TABLE (usb, id_table)
 
 module_usb_driver (lcd_driver)
 
 MODULE_AUTHOR ("Georges Toth <g.toth@e-biz.lu>")
 
 MODULE_DESCRIPTION (DRIVER_VERSION)
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_VERSION   "USBLCD Driver Version 1.05"

Definition at line 24 of file usblcd.c.

#define IOCTL_GET_DRV_VERSION   2

Definition at line 29 of file usblcd.c.

#define IOCTL_GET_HARD_VERSION   1

Definition at line 28 of file usblcd.c.

#define to_lcd_dev (   d)    container_of(d, struct usb_lcd, kref)

Definition at line 61 of file usblcd.c.

#define USB_LCD_CONCURRENT_WRITES   5

Definition at line 63 of file usblcd.c.

#define USBLCD_MINOR   144

Definition at line 26 of file usblcd.c.

Function Documentation

MODULE_AUTHOR ( "Georges Toth <g.toth@e-biz.lu>"  )
MODULE_DESCRIPTION ( DRIVER_VERSION  )
MODULE_DEVICE_TABLE ( usb  ,
id_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( lcd_driver  )