• Home
  • Raw
  • Download

Lines Matching refs:ps2dev

38 	if (ps2_sliced_command(&psmouse->ps2dev, c) ||  in synaptics_send_cmd()
39 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in synaptics_send_cmd()
53 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_send_cmd() local
55 if (ps2_command(ps2dev, NULL, ETP_PS2_CUSTOM_COMMAND) || in elantech_send_cmd()
56 ps2_command(ps2dev, NULL, c) || in elantech_send_cmd()
57 ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) { in elantech_send_cmd()
71 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_ps2_command() local
77 rc = ps2_command(ps2dev, param, command); in elantech_ps2_command()
151 if (ps2_sliced_command(&psmouse->ps2dev, ETP_REGISTER_READ) || in elantech_read_reg()
152 ps2_sliced_command(&psmouse->ps2dev, reg) || in elantech_read_reg()
153 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in elantech_read_reg()
206 if (ps2_sliced_command(&psmouse->ps2dev, ETP_REGISTER_WRITE) || in elantech_write_reg()
207 ps2_sliced_command(&psmouse->ps2dev, reg) || in elantech_write_reg()
208 ps2_sliced_command(&psmouse->ps2dev, val) || in elantech_write_reg()
209 ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSCALE11)) { in elantech_write_reg()
1403 struct ps2dev *ps2dev = &psmouse->ps2dev; in elantech_detect() local
1406 ps2_command(ps2dev, NULL, PSMOUSE_CMD_RESET_DIS); in elantech_detect()
1408 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in elantech_detect()
1409 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in elantech_detect()
1410 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in elantech_detect()
1411 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in elantech_detect()
1412 ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) { in elantech_detect()
1472 sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj, in elantech_disconnect()
2069 error = sysfs_create_group(&psmouse->ps2dev.serio->dev.kobj, in elantech_setup_ps2()
2088 psmouse->ps2dev.serio->phys); in elantech_setup_ps2()
2095 tp_dev->dev.parent = &psmouse->ps2dev.serio->dev; in elantech_setup_ps2()
2120 sysfs_remove_group(&psmouse->ps2dev.serio->dev.kobj, in elantech_setup_ps2()