Lines Matching refs:ps2dev
40 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_sendbyte() local
42 if (ps2_sendbyte(ps2dev, value & 0xff, CYTP_CMD_TIMEOUT) < 0) { in cypress_ps2_sendbyte()
45 value & 0xff, ps2dev->nak); in cypress_ps2_sendbyte()
46 if (ps2dev->nak == CYTP_PS2_RETRY) in cypress_ps2_sendbyte()
63 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_ext_cmd() local
67 ps2_begin_command(ps2dev); in cypress_ps2_ext_cmd()
93 ps2_end_command(ps2dev); in cypress_ps2_ext_cmd()
103 struct ps2dev *ps2dev = &psmouse->ps2dev; in cypress_ps2_read_cmd_status() local
107 ps2_begin_command(ps2dev); in cypress_ps2_read_cmd_status()
120 wait_event_timeout(ps2dev->wait, in cypress_ps2_read_cmd_status()
133 ps2_end_command(ps2dev); in cypress_ps2_read_cmd_status()
624 ps2_command(&psmouse->ps2dev, (unsigned char *)&psmouse->rate, in cypress_set_rate()