Lines Matching refs:ps2dev
36 struct ps2dev { struct
51 void ps2_init(struct ps2dev *ps2dev, struct serio *serio); argument
52 int ps2_sendbyte(struct ps2dev *ps2dev, u8 byte, unsigned int timeout);
53 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
54 void ps2_begin_command(struct ps2dev *ps2dev);
55 void ps2_end_command(struct ps2dev *ps2dev);
56 int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command);
57 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command);
58 int ps2_sliced_command(struct ps2dev *ps2dev, u8 command);
59 bool ps2_handle_ack(struct ps2dev *ps2dev, u8 data);
60 bool ps2_handle_response(struct ps2dev *ps2dev, u8 data);
61 void ps2_cmd_aborted(struct ps2dev *ps2dev);