• Home
  • Raw
  • Download

Lines Matching refs:ps2dev

1420 		 psmouse->ps2dev.serio->phys,  in alps_register_bare_ps2_mouse()
1434 dev3->dev.parent = &psmouse->ps2dev.serio->dev; in alps_register_bare_ps2_mouse()
1582 serio_pause_rx(psmouse->ps2dev.serio); in alps_flush_packet()
1603 serio_continue_rx(psmouse->ps2dev.serio); in alps_flush_packet()
1688 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_command_mode_send_nibble() local
1700 if (ps2_command(ps2dev, param, command)) in alps_command_mode_send_nibble()
1708 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_command_mode_set_addr() local
1712 if (ps2_command(ps2dev, NULL, priv->addr_command)) in alps_command_mode_set_addr()
1726 struct ps2dev *ps2dev = &psmouse->ps2dev; in __alps_command_mode_read_reg() local
1729 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in __alps_command_mode_read_reg()
1770 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_rpt_cmd() local
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()
1825 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_exit_command_mode() local
1826 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM)) in alps_exit_command_mode()
1838 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_passthrough_mode_v2() local
1841 if (ps2_command(ps2dev, NULL, cmd) || in alps_passthrough_mode_v2()
1842 ps2_command(ps2dev, NULL, cmd) || in alps_passthrough_mode_v2()
1843 ps2_command(ps2dev, NULL, cmd) || in alps_passthrough_mode_v2()
1844 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE)) in alps_passthrough_mode_v2()
1848 ps2_drain(ps2dev, 3, 100); in alps_passthrough_mode_v2()
1855 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_absolute_mode_v1_v2() local
1858 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_absolute_mode_v1_v2()
1859 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_absolute_mode_v1_v2()
1860 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_absolute_mode_v1_v2()
1861 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_absolute_mode_v1_v2()
1862 ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE)) in alps_absolute_mode_v1_v2()
1869 return ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL); in alps_absolute_mode_v1_v2()
1892 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_monitor_mode_write_reg() local
1895 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE) || in alps_monitor_mode_write_reg()
1899 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE)) in alps_monitor_mode_write_reg()
1907 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_monitor_mode() local
1911 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_RESET_WRAP) || in alps_monitor_mode()
1912 ps2_command(ps2dev, NULL, PSMOUSE_CMD_GETINFO) || in alps_monitor_mode()
1913 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_monitor_mode()
1914 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_monitor_mode()
1915 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE21) || in alps_monitor_mode()
1916 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in alps_monitor_mode()
1917 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSCALE21) || in alps_monitor_mode()
1918 ps2_command(ps2dev, NULL, PSMOUSE_CMD_GETINFO)) in alps_monitor_mode()
1922 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_RESET_WRAP)) in alps_monitor_mode()
1966 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_tap_mode() local
1971 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO) || in alps_tap_mode()
1972 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_tap_mode()
1973 ps2_command(ps2dev, NULL, PSMOUSE_CMD_DISABLE) || in alps_tap_mode()
1974 ps2_command(ps2dev, &tap_arg, cmd)) in alps_tap_mode()
1996 poll_failed = ps2_command(&psmouse->ps2dev, buf, in alps_poll()
2009 if (ps2_command(&psmouse->ps2dev, buf, PSMOUSE_CMD_POLL | (3 << 8))) in alps_poll()
2042 if (ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSTREAM)) { in alps_hw_init_v1_v2()
2055 if (ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in alps_trackstick_enter_extended_mode_v3_v6()
2056 ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in alps_trackstick_enter_extended_mode_v3_v6()
2057 ps2_command(&psmouse->ps2dev, NULL, PSMOUSE_CMD_SETSCALE11) || in alps_trackstick_enter_extended_mode_v3_v6()
2058 ps2_command(&psmouse->ps2dev, &param[0], PSMOUSE_CMD_SETRATE) || in alps_trackstick_enter_extended_mode_v3_v6()
2059 ps2_command(&psmouse->ps2dev, &param[1], PSMOUSE_CMD_SETRATE)) in alps_trackstick_enter_extended_mode_v3_v6()
2220 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_v3() local
2270 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE) || in alps_hw_init_v3()
2271 ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE)) { in alps_hw_init_v3()
2330 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_rushmore_v3() local
2365 return ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE); in alps_hw_init_rushmore_v3()
2390 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_v4() local
2435 if (ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE) || in alps_hw_init_v4()
2436 ps2_command(ps2dev, &param[1], PSMOUSE_CMD_SETRATE) || in alps_hw_init_v4()
2437 ps2_command(ps2dev, &param[2], PSMOUSE_CMD_SETRATE) || in alps_hw_init_v4()
2438 ps2_command(ps2dev, param, PSMOUSE_CMD_GETID)) in alps_hw_init_v4()
2443 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE) || in alps_hw_init_v4()
2444 ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE)) { in alps_hw_init_v4()
2464 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_get_otp_values_ss4_v2() local
2468 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM) || in alps_get_otp_values_ss4_v2()
2469 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM) || in alps_get_otp_values_ss4_v2()
2470 ps2_command(ps2dev, otp, PSMOUSE_CMD_GETINFO)) in alps_get_otp_values_ss4_v2()
2476 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL) || in alps_get_otp_values_ss4_v2()
2477 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL) || in alps_get_otp_values_ss4_v2()
2478 ps2_command(ps2dev, otp, PSMOUSE_CMD_GETINFO)) in alps_get_otp_values_ss4_v2()
2554 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_update_dual_info_ss4_v2() local
2567 ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE); in alps_update_dual_info_ss4_v2()
2604 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_dolphin_get_device_area() local
2612 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_RESET_WRAP) || in alps_dolphin_get_device_area()
2613 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL) || in alps_dolphin_get_device_area()
2614 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETPOLL) || in alps_dolphin_get_device_area()
2615 ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE) || in alps_dolphin_get_device_area()
2616 ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE)) in alps_dolphin_get_device_area()
2619 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in alps_dolphin_get_device_area()
2649 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_dolphin_v1() local
2656 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM) || in alps_hw_init_dolphin_v1()
2657 ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE) || in alps_hw_init_dolphin_v1()
2658 ps2_command(ps2dev, &param[1], PSMOUSE_CMD_SETRATE)) in alps_hw_init_dolphin_v1()
2666 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_v7() local
2686 return ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE); in alps_hw_init_v7()
2695 struct ps2dev *ps2dev = &psmouse->ps2dev; in alps_hw_init_ss4_v2() local
2700 if (ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM) || in alps_hw_init_ss4_v2()
2701 ps2_command(ps2dev, NULL, PSMOUSE_CMD_SETSTREAM) || in alps_hw_init_ss4_v2()
2702 ps2_command(ps2dev, &param[0], PSMOUSE_CMD_SETRATE) || in alps_hw_init_ss4_v2()
2703 ps2_command(ps2dev, &param[1], PSMOUSE_CMD_SETRATE)) { in alps_hw_init_ss4_v2()
2715 return ps2_command(ps2dev, NULL, PSMOUSE_CMD_ENABLE); in alps_hw_init_ss4_v2()
2869 if (ps2_command(&psmouse->ps2dev, in alps_is_cs19_trackpoint()
3103 psmouse->ps2dev.serio->phys); in alps_init()
3116 dev2->dev.parent = &psmouse->ps2dev.serio->dev; in alps_init()