Home
last modified time | relevance | path

Searched refs:ps2_command (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/input/mouse/
Dlogips2pp.c121 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300); in ps2pp_cmd()
144 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
145 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
146 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
149 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
192 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in ps2pp_set_resolution()
193 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in ps2pp_set_resolution()
194 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in ps2pp_set_resolution()
195 ps2_command(ps2dev, &param, PSMOUSE_CMD_SETRES); in ps2pp_set_resolution()
367 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_detect()
[all …]
Dfocaltech.c271 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
274 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
277 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
281 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
284 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_switch_protocol()
287 if (ps2_command(ps2dev, param, PSMOUSE_CMD_ENABLE)) in focaltech_switch_protocol()
295 ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_RESET_DIS); in focaltech_reset()
350 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_read_register()
354 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
357 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
[all …]
Dalps.c1700 if (ps2_command(ps2dev, param, command)) in alps_command_mode_send_nibble()
1712 if (ps2_command(ps2dev, NULL, priv->addr_command)) in alps_command_mode_set_addr()
1729 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in __alps_command_mode_read_reg()
1773 if (init_command && ps2_command(ps2dev, param, init_command)) in alps_rpt_cmd()
1776 if (ps2_command(ps2dev, NULL, repeated_command) || in alps_rpt_cmd()
1777 ps2_command(ps2dev, NULL, repeated_command) || in alps_rpt_cmd()
1778 ps2_command(ps2dev, NULL, repeated_command)) in alps_rpt_cmd()
1782 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in alps_rpt_cmd()
1826 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM)) in alps_exit_command_mode()
1841 if (ps2_command(ps2dev, NULL, cmd) || in alps_passthrough_mode_v2()
[all …]
Dpsmouse-base.c440 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_RESET_BAT); in psmouse_reset()
462 ps2_command(&psmouse->ps2dev, &p, PSMOUSE_CMD_SETRES); in psmouse_set_resolution()
478 ps2_command(&psmouse->ps2dev, &r, PSMOUSE_CMD_SETRATE); in psmouse_set_rate()
487 ps2_command(&psmouse->ps2dev, NULL, in psmouse_set_scale()
497 return ps2_command(&psmouse->ps2dev, psmouse->packet, in psmouse_poll()
551 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in genius_detect()
552 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in genius_detect()
553 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in genius_detect()
554 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11); in genius_detect()
555 ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); in genius_detect()
[all …]
Dhgpk.c520 if (ps2_command(ps2dev, NULL, advanced_init[i])) in hgpk_select_mode()
527 if (ps2_command(ps2dev, NULL, cmd)) in hgpk_select_mode()
613 if (ps2_command(ps2dev, NULL, 0xf5) || in hgpk_reset_device()
614 ps2_command(ps2dev, NULL, 0xf5) || in hgpk_reset_device()
615 ps2_command(ps2dev, NULL, 0xe6) || in hgpk_reset_device()
616 ps2_command(ps2dev, NULL, 0xf5)) { in hgpk_reset_device()
730 if (ps2_command(ps2dev, NULL, 0xec) || in hgpk_toggle_powersave()
731 ps2_command(ps2dev, NULL, 0xec) || in hgpk_toggle_powersave()
732 ps2_command(ps2dev, NULL, 0xea)) { in hgpk_toggle_powersave()
1019 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE21) || in hgpk_get_model()
[all …]
Dbyd.c390 if (ps2_command(ps2dev, param, seq[i].command)) in byd_reset_touchpad()
440 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in byd_detect()
442 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in byd_detect()
444 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in byd_detect()
446 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in byd_detect()
448 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in byd_detect()
Dtrackpoint.c38 err = ps2_command(ps2dev, param, MAKE_PS2_CMD(1, 2, TP_COMMAND)); in trackpoint_power_on_reset()
56 return ps2_command(ps2dev, results, MAKE_PS2_CMD(1, 1, TP_COMMAND)); in trackpoint_read()
63 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_write()
74 return ps2_command(ps2dev, param, MAKE_PS2_CMD(3, 0, TP_COMMAND)); in trackpoint_toggle_bit()
275 error = ps2_command(&psmouse->ps2dev, in trackpoint_start_protocol()
Dlifebook.c215 ps2_command(ps2dev, &param, PSMOUSE_CMD_SETRES); in lifebook_absolute_mode()
225 ps2_command(ps2dev, &param, PSMOUSE_CMD_SETRES); in lifebook_relative_mode()
237 ps2_command(&psmouse->ps2dev, &p, PSMOUSE_CMD_SETRES); in lifebook_set_resolution()
Delantech.c39 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in synaptics_send_cmd()
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()
77 rc = ps2_command(ps2dev, param, command); in elantech_ps2_command()
153 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO)) { in elantech_read_reg()
209 ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSCALE11)) { in elantech_write_reg()
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()
[all …]
Dsynaptics.c89 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_SETRATE); in synaptics_mode_cmd()
101 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in synaptics_detect()
102 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in synaptics_detect()
103 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in synaptics_detect()
104 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in synaptics_detect()
105 ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); in synaptics_detect()
214 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETINFO); in synaptics_send_cmd()
571 error = ps2_command(&psmouse->ps2dev, &param, PSMOUSE_CMD_SETRATE); in synaptics_set_advanced_gesture_mode()
638 error = ps2_command(&parent->ps2dev, &rate_param, PSMOUSE_CMD_SETRATE); in synaptics_pt_write()
1440 ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_GETID); in synaptics_reconnect()
Dtouchkit_ps2.c66 if (ps2_command(&psmouse->ps2dev, param, command)) in touchkit_ps2_detect()
Dsentelic.c850 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); in fsp_activate_protocol()
852 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); in fsp_activate_protocol()
854 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE); in fsp_activate_protocol()
856 ps2_command(ps2dev, param, PSMOUSE_CMD_GETID); in fsp_activate_protocol()
Dcypress_ps2.c624 ps2_command(&psmouse->ps2dev, (unsigned char *)&psmouse->rate, in cypress_set_rate()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Datkbd.c595 return ps2_command(&atkbd->ps2dev, &param, ATKBD_CMD_SETREP); in atkbd_set_repeat_rate()
606 if (ps2_command(&atkbd->ps2dev, param, ATKBD_CMD_SETLEDS)) in atkbd_set_leds()
616 if (ps2_command(&atkbd->ps2dev, param, ATKBD_CMD_EX_SETLEDS)) in atkbd_set_leds()
734 if (ps2_command(ps2dev, NULL, ATKBD_CMD_ENABLE)) { in atkbd_activate()
753 if (ps2_command(ps2dev, NULL, ATKBD_CMD_RESET_DIS)) in atkbd_deactivate()
775 if (ps2_command(ps2dev, NULL, ATKBD_CMD_RESET_BAT)) in atkbd_probe()
788 if (ps2_command(ps2dev, param, ATKBD_CMD_GETID)) { in atkbd_probe()
796 if (ps2_command(ps2dev, param, ATKBD_CMD_SETLEDS)) in atkbd_probe()
847 ps2_command(ps2dev, param, ATKBD_CMD_SSCANSET); in atkbd_select_set()
853 if (!ps2_command(ps2dev, param, ATKBD_CMD_EX_ENABLE)) { in atkbd_select_set()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dlibps2.h54 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command);
/kernel/linux/linux-5.10/drivers/input/serio/
Dlibps2.c327 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command) in ps2_command() function
337 EXPORT_SYMBOL(ps2_command);