Go to the source code of this file.
|
void | ps2_init (struct ps2dev *ps2dev, struct serio *serio) |
|
int | ps2_sendbyte (struct ps2dev *ps2dev, unsigned char byte, int timeout) |
|
void | ps2_drain (struct ps2dev *ps2dev, int maxbytes, int timeout) |
|
void | ps2_begin_command (struct ps2dev *ps2dev) |
|
void | ps2_end_command (struct ps2dev *ps2dev) |
|
int | __ps2_command (struct ps2dev *ps2dev, unsigned char *param, int command) |
|
int | ps2_command (struct ps2dev *ps2dev, unsigned char *param, int command) |
|
int | ps2_handle_ack (struct ps2dev *ps2dev, unsigned char data) |
|
int | ps2_handle_response (struct ps2dev *ps2dev, unsigned char data) |
|
void | ps2_cmd_aborted (struct ps2dev *ps2dev) |
|
int | ps2_is_keyboard_id (char id) |
|
#define PS2_CMD_GETID 0x02f2 |
#define PS2_CMD_RESET_BAT 0x02ff |
#define PS2_FLAG_ACK 1 /* Waiting for ACK/NAK */ |
#define PS2_FLAG_CMD 2 /* Waiting for command to finish */ |
#define PS2_FLAG_NAK 16 /* Last transmission was NAKed */ |