Lines Matching refs:ps2dev
16 struct ps2dev;
30 typedef enum ps2_disposition (*ps2_pre_receive_handler_t)(struct ps2dev *, u8,
32 typedef void (*ps2_receive_handler_t)(struct ps2dev *, u8);
48 struct ps2dev { struct
61 void ps2_init(struct ps2dev *ps2dev, struct serio *serio, argument
64 int ps2_sendbyte(struct ps2dev *ps2dev, u8 byte, unsigned int timeout);
65 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
66 void ps2_begin_command(struct ps2dev *ps2dev);
67 void ps2_end_command(struct ps2dev *ps2dev);
68 int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command);
69 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command);
70 int ps2_sliced_command(struct ps2dev *ps2dev, u8 command);