Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
libps2.c File Reference
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/serio.h>
#include <linux/i8042.h>
#include <linux/init.h>
#include <linux/libps2.h>

Go to the source code of this file.

Macros

#define DRIVER_DESC   "PS/2 driver library"
 

Functions

 MODULE_AUTHOR ("Dmitry Torokhov <[email protected]>")
 
 MODULE_DESCRIPTION ("PS/2 driver library")
 
 MODULE_LICENSE ("GPL")
 
int ps2_sendbyte (struct ps2dev *ps2dev, unsigned char byte, int timeout)
 
 EXPORT_SYMBOL (ps2_sendbyte)
 
void ps2_begin_command (struct ps2dev *ps2dev)
 
 EXPORT_SYMBOL (ps2_begin_command)
 
void ps2_end_command (struct ps2dev *ps2dev)
 
 EXPORT_SYMBOL (ps2_end_command)
 
void ps2_drain (struct ps2dev *ps2dev, int maxbytes, int timeout)
 
 EXPORT_SYMBOL (ps2_drain)
 
int ps2_is_keyboard_id (char id_byte)
 
 EXPORT_SYMBOL (ps2_is_keyboard_id)
 
int __ps2_command (struct ps2dev *ps2dev, unsigned char *param, int command)
 
 EXPORT_SYMBOL (__ps2_command)
 
int ps2_command (struct ps2dev *ps2dev, unsigned char *param, int command)
 
 EXPORT_SYMBOL (ps2_command)
 
void ps2_init (struct ps2dev *ps2dev, struct serio *serio)
 
 EXPORT_SYMBOL (ps2_init)
 
int ps2_handle_ack (struct ps2dev *ps2dev, unsigned char data)
 
 EXPORT_SYMBOL (ps2_handle_ack)
 
int ps2_handle_response (struct ps2dev *ps2dev, unsigned char data)
 
 EXPORT_SYMBOL (ps2_handle_response)
 
void ps2_cmd_aborted (struct ps2dev *ps2dev)
 
 EXPORT_SYMBOL (ps2_cmd_aborted)
 

Macro Definition Documentation

#define DRIVER_DESC   "PS/2 driver library"

Definition at line 24 of file libps2.c.

Function Documentation

int __ps2_command ( struct ps2dev ps2dev,
unsigned char param,
int  command 
)

Definition at line 184 of file libps2.c.

EXPORT_SYMBOL ( ps2_sendbyte  )
EXPORT_SYMBOL ( ps2_begin_command  )
EXPORT_SYMBOL ( ps2_end_command  )
EXPORT_SYMBOL ( ps2_drain  )
EXPORT_SYMBOL ( ps2_is_keyboard_id  )
EXPORT_SYMBOL ( __ps2_command  )
EXPORT_SYMBOL ( ps2_command  )
EXPORT_SYMBOL ( ps2_init  )
EXPORT_SYMBOL ( ps2_handle_ack  )
EXPORT_SYMBOL ( ps2_handle_response  )
EXPORT_SYMBOL ( ps2_cmd_aborted  )
MODULE_AUTHOR ( "Dmitry Torokhov <[email protected]>"  )
MODULE_DESCRIPTION ( "PS/2 driver library"  )
MODULE_LICENSE ( "GPL"  )
void ps2_begin_command ( struct ps2dev ps2dev)

Definition at line 58 of file libps2.c.

void ps2_cmd_aborted ( struct ps2dev ps2dev)

Definition at line 364 of file libps2.c.

int ps2_command ( struct ps2dev ps2dev,
unsigned char param,
int  command 
)

Definition at line 256 of file libps2.c.

void ps2_drain ( struct ps2dev ps2dev,
int  maxbytes,
int  timeout 
)

Definition at line 81 of file libps2.c.

void ps2_end_command ( struct ps2dev ps2dev)

Definition at line 67 of file libps2.c.

int ps2_handle_ack ( struct ps2dev ps2dev,
unsigned char  data 
)

Definition at line 286 of file libps2.c.

int ps2_handle_response ( struct ps2dev ps2dev,
unsigned char  data 
)

Definition at line 344 of file libps2.c.

void ps2_init ( struct ps2dev ps2dev,
struct serio serio 
)

Definition at line 272 of file libps2.c.

int ps2_is_keyboard_id ( char  id_byte)

Definition at line 108 of file libps2.c.

int ps2_sendbyte ( struct ps2dev ps2dev,
unsigned char  byte,
int  timeout 
)

Definition at line 38 of file libps2.c.