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

Go to the source code of this file.

Data Structures

struct  synusb
 

Macros

#define USB_VENDOR_ID_SYNAPTICS   0x06cb
 
#define USB_DEVICE_ID_SYNAPTICS_TP   0x0001 /* Synaptics USB TouchPad */
 
#define USB_DEVICE_ID_SYNAPTICS_INT_TP   0x0002 /* Integrated USB TouchPad */
 
#define USB_DEVICE_ID_SYNAPTICS_CPAD   0x0003 /* Synaptics cPad */
 
#define USB_DEVICE_ID_SYNAPTICS_TS   0x0006 /* Synaptics TouchScreen */
 
#define USB_DEVICE_ID_SYNAPTICS_STICK   0x0007 /* Synaptics USB Styk */
 
#define USB_DEVICE_ID_SYNAPTICS_WP   0x0008 /* Synaptics USB WheelPad */
 
#define USB_DEVICE_ID_SYNAPTICS_COMP_TP   0x0009 /* Composite USB TouchPad */
 
#define USB_DEVICE_ID_SYNAPTICS_WTP   0x0010 /* Wireless TouchPad */
 
#define USB_DEVICE_ID_SYNAPTICS_DPAD   0x0013 /* DisplayPad */
 
#define SYNUSB_TOUCHPAD   (1 << 0)
 
#define SYNUSB_STICK   (1 << 1)
 
#define SYNUSB_TOUCHSCREEN   (1 << 2)
 
#define SYNUSB_AUXDISPLAY   (1 << 3) /* For cPad */
 
#define SYNUSB_COMBO   (1 << 4) /* Composite device (TP + stick) */
 
#define SYNUSB_IO_ALWAYS   (1 << 5)
 
#define USB_DEVICE_SYNAPTICS(prod, kind)
 
#define SYNUSB_RECV_SIZE   8
 
#define XMIN_NOMINAL   1472
 
#define XMAX_NOMINAL   5472
 
#define YMIN_NOMINAL   1408
 
#define YMAX_NOMINAL   4448
 

Functions

 MODULE_DEVICE_TABLE (usb, synusb_idtable)
 
 module_usb_driver (synusb_driver)
 
 MODULE_AUTHOR ("Rob Miller <[email protected]>, ""Ron Lee <[email protected]>, ""Jan Steinhoff <[email protected]>")
 
 MODULE_DESCRIPTION ("Synaptics USB device driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define SYNUSB_AUXDISPLAY   (1 << 3) /* For cPad */

Definition at line 64 of file synaptics_usb.c.

#define SYNUSB_COMBO   (1 << 4) /* Composite device (TP + stick) */

Definition at line 65 of file synaptics_usb.c.

#define SYNUSB_IO_ALWAYS   (1 << 5)

Definition at line 66 of file synaptics_usb.c.

#define SYNUSB_RECV_SIZE   8

Definition at line 73 of file synaptics_usb.c.

#define SYNUSB_STICK   (1 << 1)

Definition at line 62 of file synaptics_usb.c.

#define SYNUSB_TOUCHPAD   (1 << 0)

Definition at line 61 of file synaptics_usb.c.

#define SYNUSB_TOUCHSCREEN   (1 << 2)

Definition at line 63 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_COMP_TP   0x0009 /* Composite USB TouchPad */

Definition at line 57 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_CPAD   0x0003 /* Synaptics cPad */

Definition at line 53 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_DPAD   0x0013 /* DisplayPad */

Definition at line 59 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_INT_TP   0x0002 /* Integrated USB TouchPad */

Definition at line 52 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_STICK   0x0007 /* Synaptics USB Styk */

Definition at line 55 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_TP   0x0001 /* Synaptics USB TouchPad */

Definition at line 51 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_TS   0x0006 /* Synaptics TouchScreen */

Definition at line 54 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_WP   0x0008 /* Synaptics USB WheelPad */

Definition at line 56 of file synaptics_usb.c.

#define USB_DEVICE_ID_SYNAPTICS_WTP   0x0010 /* Wireless TouchPad */

Definition at line 58 of file synaptics_usb.c.

#define USB_DEVICE_SYNAPTICS (   prod,
  kind 
)
Value:
USB_DEVICE_ID_SYNAPTICS_##prod), \
.driver_info = (kind),

Definition at line 68 of file synaptics_usb.c.

#define USB_VENDOR_ID_SYNAPTICS   0x06cb

Definition at line 50 of file synaptics_usb.c.

#define XMAX_NOMINAL   5472

Definition at line 76 of file synaptics_usb.c.

#define XMIN_NOMINAL   1472

Definition at line 75 of file synaptics_usb.c.

#define YMAX_NOMINAL   4448

Definition at line 78 of file synaptics_usb.c.

#define YMIN_NOMINAL   1408

Definition at line 77 of file synaptics_usb.c.

Function Documentation

MODULE_AUTHOR ( "Rob Miller <[email protected] ,
""Ron Lee< ron @debian.org >  ,
""Jan Steinhoff< cpad @jan-steinhoff.de >"   
)
MODULE_DESCRIPTION ( "Synaptics USB device driver )
MODULE_DEVICE_TABLE ( usb  ,
synusb_idtable   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( synusb_driver  )