/linux-6.3-rc2/drivers/input/mouse/ |
A D | psmouse-base.c | 298 psmouse->name, psmouse->phys); in psmouse_handle_byte() 378 psmouse->name, psmouse->phys, psmouse->pktcnt); in psmouse_interrupt() 1289 psmouse->set_rate(psmouse, psmouse->rate); in psmouse_initialize() 1290 psmouse->set_resolution(psmouse, psmouse->resolution); in psmouse_initialize() 1377 if (psmouse->poll(psmouse)) in psmouse_resync() 1451 psmouse->cleanup(psmouse); in psmouse_cleanup() 1497 psmouse->disconnect(psmouse); in psmouse_disconnect() 1558 if (psmouse->resync_time && psmouse->poll(psmouse)) in psmouse_switch_protocol() 1663 psmouse->disconnect(psmouse); in psmouse_connect() 1937 psmouse->disconnect(psmouse); in psmouse_attr_set_protocol() [all …]
|
A D | cypress_ps2.c | 38 static int cypress_ps2_sendbyte(struct psmouse *psmouse, int value) in cypress_ps2_sendbyte() argument 98 static int cypress_ps2_read_cmd_status(struct psmouse *psmouse, in cypress_ps2_read_cmd_status() argument 138 static bool cypress_verify_cmd_state(struct psmouse *psmouse, in cypress_verify_cmd_state() argument 220 static int cypress_read_fw_version(struct psmouse *psmouse) in cypress_read_fw_version() argument 249 static int cypress_read_tp_metrics(struct psmouse *psmouse) in cypress_read_tp_metrics() argument 322 static int cypress_query_hardware(struct psmouse *psmouse) in cypress_query_hardware() argument 356 static void cypress_reset(struct psmouse *psmouse) in cypress_reset() argument 443 static int cypress_parse_packet(struct psmouse *psmouse, in cypress_parse_packet() argument 628 static void cypress_disconnect(struct psmouse *psmouse) in cypress_disconnect() argument 635 static int cypress_reconnect(struct psmouse *psmouse) in cypress_reconnect() argument [all …]
|
A D | hgpk.c | 211 static void hgpk_spewing_hack(struct psmouse *psmouse, in hgpk_spewing_hack() argument 464 if (!hgpk_is_byte_valid(psmouse, psmouse->packet)) in hgpk_process_byte() 467 if (psmouse->pktcnt >= psmouse->pktsize) { in hgpk_process_byte() 492 static int hgpk_select_mode(struct psmouse *psmouse) in hgpk_select_mode() argument 745 static int hgpk_poll(struct psmouse *psmouse) in hgpk_poll() argument 751 static int hgpk_reconnect(struct psmouse *psmouse) in hgpk_reconnect() argument 897 static void hgpk_disconnect(struct psmouse *psmouse) in hgpk_disconnect() argument 918 struct psmouse *psmouse = priv->psmouse; in hgpk_recalib_work() local 924 static int hgpk_register(struct psmouse *psmouse) in hgpk_register() argument 979 int hgpk_init(struct psmouse *psmouse) in hgpk_init() argument [all …]
|
A D | focaltech.c | 35 int focaltech_detect(struct psmouse *psmouse, bool set_properties) in focaltech_detect() argument 115 static void focaltech_report_state(struct psmouse *psmouse) in focaltech_report_state() argument 226 static void focaltech_process_packet(struct psmouse *psmouse) in focaltech_process_packet() argument 265 static int focaltech_switch_protocol(struct psmouse *psmouse) in focaltech_switch_protocol() argument 293 static void focaltech_reset(struct psmouse *psmouse) in focaltech_reset() argument 299 static void focaltech_disconnect(struct psmouse *psmouse) in focaltech_disconnect() argument 306 static int focaltech_reconnect(struct psmouse *psmouse) in focaltech_reconnect() argument 373 static int focaltech_read_size(struct psmouse *psmouse) in focaltech_read_size() argument 389 static void focaltech_set_resolution(struct psmouse *psmouse, in focaltech_set_resolution() argument 400 static void focaltech_set_scale(struct psmouse *psmouse, in focaltech_set_scale() argument [all …]
|
A D | sentelic.c | 293 static int fsp_get_sn(struct psmouse *psmouse, int *sn) in fsp_get_sn() argument 314 static int fsp_get_buttons(struct psmouse *psmouse, int *btn) in fsp_get_buttons() argument 449 static ssize_t fsp_attr_show_getreg(struct psmouse *psmouse, in fsp_attr_show_getreg() argument 579 static ssize_t fsp_attr_show_flags(struct psmouse *psmouse, in fsp_attr_show_flags() argument 612 static ssize_t fsp_attr_show_ver(struct psmouse *psmouse, in fsp_attr_show_ver() argument 838 static int fsp_activate_protocol(struct psmouse *psmouse) in fsp_activate_protocol() argument 920 static int fsp_set_input_params(struct psmouse *psmouse) in fsp_set_input_params() argument 980 static void fsp_reset(struct psmouse *psmouse) in fsp_reset() argument 987 static void fsp_disconnect(struct psmouse *psmouse) in fsp_disconnect() argument 996 static int fsp_reconnect(struct psmouse *psmouse) in fsp_reconnect() argument [all …]
|
A D | psmouse.h | 123 int (*reconnect)(struct psmouse *psmouse); argument 124 int (*fast_reconnect)(struct psmouse *psmouse); argument 125 void (*disconnect)(struct psmouse *psmouse); argument 126 void (*cleanup)(struct psmouse *psmouse); argument 127 int (*poll)(struct psmouse *psmouse); argument 129 void (*pt_activate)(struct psmouse *psmouse); argument 130 void (*pt_deactivate)(struct psmouse *psmouse); argument 135 int psmouse_reset(struct psmouse *psmouse); 139 int psmouse_activate(struct psmouse *psmouse); 140 int psmouse_deactivate(struct psmouse *psmouse); [all …]
|
A D | elantech.c | 68 static int elantech_ps2_command(struct psmouse *psmouse, in elantech_ps2_command() argument 264 static void elantech_packet_dump(struct psmouse *psmouse) in elantech_packet_dump() argument 267 psmouse->pktsize, psmouse->packet); in elantech_packet_dump() 927 if (psmouse->pktcnt < psmouse->pktsize) in elantech_process_byte() 1460 static void elantech_disconnect(struct psmouse *psmouse) in elantech_disconnect() argument 1481 static int elantech_reconnect(struct psmouse *psmouse) in elantech_reconnect() argument 1677 static int elantech_query_info(struct psmouse *psmouse, in elantech_query_info() argument 2011 int elantech_init_smbus(struct psmouse *psmouse) in elantech_init_smbus() argument 2037 static int elantech_setup_ps2(struct psmouse *psmouse, in elantech_setup_ps2() argument 2129 int elantech_init_ps2(struct psmouse *psmouse) in elantech_init_ps2() argument [all …]
|
A D | synaptics.c | 118 void synaptics_reset(struct psmouse *psmouse) in synaptics_reset() argument 242 static int synaptics_identify(struct psmouse *psmouse, in synaptics_identify() argument 258 static int synaptics_model_id(struct psmouse *psmouse, in synaptics_model_id() argument 579 static int synaptics_set_mode(struct psmouse *psmouse) in synaptics_set_mode() argument 1195 synaptics_detect_pkt_type(struct psmouse *psmouse) in synaptics_detect_pkt_type() argument 1721 synaptics_setup_ps2(struct psmouse *psmouse, in synaptics_setup_ps2() argument 1819 int synaptics_init_smbus(struct psmouse *psmouse) in synaptics_init_smbus() argument 1841 synaptics_setup_intertouch(struct psmouse *psmouse, in synaptics_setup_intertouch() argument 1848 int synaptics_init_smbus(struct psmouse *psmouse) in synaptics_init_smbus() argument 1858 int synaptics_init(struct psmouse *psmouse) in synaptics_init() argument [all …]
|
A D | alps.c | 635 struct psmouse *psmouse) in alps_decode_pinnacle() argument 661 struct psmouse *psmouse) in alps_decode_rushmore() argument 689 struct psmouse *psmouse) in alps_decode_dolphin() argument 1028 struct psmouse *psmouse) in alps_decode_packet_v7() argument 1403 struct psmouse *psmouse = priv->psmouse; in alps_register_bare_ps2_mouse() local 1539 psmouse->packet[0] = psmouse->packet[6]; in alps_handle_interleaved_ps2() 1580 struct psmouse *psmouse = priv->psmouse; in alps_flush_packet() local 1645 psmouse->pktcnt >= 2 && psmouse->pktcnt <= psmouse->pktsize && in alps_process_byte() 2550 struct psmouse *psmouse) in alps_update_dual_info_ss4_v2() argument 3038 int alps_init(struct psmouse *psmouse) in alps_init() argument [all …]
|
A D | byd.c | 227 struct psmouse *psmouse; member 236 static void byd_report_input(struct psmouse *psmouse) in byd_report_input() argument 255 struct psmouse *psmouse = priv->psmouse; in byd_clear_touch() local 284 if (psmouse->pktcnt < psmouse->pktsize) in byd_process_byte() 320 psmouse->packet[0], psmouse->packet[1], in byd_process_byte() 321 psmouse->packet[2], psmouse->packet[3]); in byd_process_byte() 339 static int byd_reset_touchpad(struct psmouse *psmouse) in byd_reset_touchpad() argument 398 static int byd_reconnect(struct psmouse *psmouse) in byd_reconnect() argument 424 static void byd_disconnect(struct psmouse *psmouse) in byd_disconnect() argument 464 int byd_init(struct psmouse *psmouse) in byd_init() argument [all …]
|
A D | vmmouse.c | 115 static void vmmouse_report_button(struct psmouse *psmouse, in vmmouse_report_button() argument 141 static psmouse_ret_t vmmouse_report_events(struct psmouse *psmouse) in vmmouse_report_events() argument 223 static psmouse_ret_t vmmouse_process_byte(struct psmouse *psmouse) in vmmouse_process_byte() argument 247 static void vmmouse_disable(struct psmouse *psmouse) in vmmouse_disable() argument 271 static int vmmouse_enable(struct psmouse *psmouse) in vmmouse_enable() argument 343 int vmmouse_detect(struct psmouse *psmouse, bool set_properties) in vmmouse_detect() argument 348 psmouse_dbg(psmouse, in vmmouse_detect() 375 static void vmmouse_reset(struct psmouse *psmouse) in vmmouse_reset() argument 388 static void vmmouse_disconnect(struct psmouse *psmouse) in vmmouse_disconnect() argument 406 static int vmmouse_reconnect(struct psmouse *psmouse) in vmmouse_reconnect() argument [all …]
|
A D | logips2pp.c | 41 static psmouse_ret_t ps2pp_process_byte(struct psmouse *psmouse) in ps2pp_process_byte() argument 46 if (psmouse->pktcnt < 3) in ps2pp_process_byte() 87 psmouse_dbg(psmouse, in ps2pp_process_byte() 113 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) in ps2pp_cmd() argument 136 static void ps2pp_set_smartscroll(struct psmouse *psmouse, bool smartscroll) in ps2pp_set_smartscroll() argument 152 static ssize_t ps2pp_attr_show_smartscroll(struct psmouse *psmouse, in ps2pp_attr_show_smartscroll() argument 185 static void ps2pp_set_resolution(struct psmouse *psmouse, in ps2pp_set_resolution() argument 201 static void ps2pp_disconnect(struct psmouse *psmouse) in ps2pp_disconnect() argument 270 static void ps2pp_set_model_properties(struct psmouse *psmouse, in ps2pp_set_model_properties() argument 326 static int ps2pp_setup_protocol(struct psmouse *psmouse, in ps2pp_setup_protocol() argument [all …]
|
A D | lifebook.c | 132 static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse) in lifebook_process_byte() argument 170 psmouse_warn(psmouse, in lifebook_process_byte() 199 static int lifebook_absolute_mode(struct psmouse *psmouse) in lifebook_absolute_mode() argument 220 static void lifebook_relative_mode(struct psmouse *psmouse) in lifebook_relative_mode() argument 241 static void lifebook_disconnect(struct psmouse *psmouse) in lifebook_disconnect() argument 245 psmouse_reset(psmouse); in lifebook_disconnect() 250 psmouse->private = NULL; in lifebook_disconnect() 253 int lifebook_detect(struct psmouse *psmouse, bool set_properties) in lifebook_detect() argument 270 static int lifebook_create_relative_device(struct psmouse *psmouse) in lifebook_create_relative_device() argument 311 int lifebook_init(struct psmouse *psmouse) in lifebook_init() argument [all …]
|
A D | trackpoint.c | 104 static ssize_t trackpoint_show_int_attr(struct psmouse *psmouse, in trackpoint_show_int_attr() argument 117 static ssize_t trackpoint_set_int_attr(struct psmouse *psmouse, void *data, in trackpoint_set_int_attr() argument 146 static ssize_t trackpoint_set_bit_attr(struct psmouse *psmouse, void *data, in trackpoint_set_bit_attr() argument 204 static bool trackpoint_is_attr_available(struct psmouse *psmouse, in trackpoint_is_attr_available() argument 219 struct psmouse *psmouse = serio_get_drvdata(serio); in trackpoint_is_attr_visible() local 269 static int trackpoint_start_protocol(struct psmouse *psmouse, in trackpoint_start_protocol() argument 303 static int trackpoint_sync(struct psmouse *psmouse, bool in_power_on_state) in trackpoint_sync() argument 367 static void trackpoint_disconnect(struct psmouse *psmouse) in trackpoint_disconnect() argument 376 static int trackpoint_reconnect(struct psmouse *psmouse) in trackpoint_reconnect() argument 396 int trackpoint_detect(struct psmouse *psmouse, bool set_properties) in trackpoint_detect() argument [all …]
|
A D | psmouse-smbus.c | 19 struct psmouse *psmouse; member 116 static psmouse_ret_t psmouse_smbus_process_byte(struct psmouse *psmouse) in psmouse_smbus_process_byte() argument 121 static int psmouse_smbus_reconnect(struct psmouse *psmouse) in psmouse_smbus_reconnect() argument 170 static void psmouse_smbus_disconnect(struct psmouse *psmouse) in psmouse_smbus_disconnect() argument 191 psmouse->private = NULL; in psmouse_smbus_disconnect() 218 void psmouse_smbus_cleanup(struct psmouse *psmouse) in psmouse_smbus_cleanup() argument 225 if (psmouse == smbdev->psmouse) { in psmouse_smbus_cleanup() 234 int psmouse_smbus_init(struct psmouse *psmouse, in psmouse_smbus_init() argument 247 smbdev->psmouse = psmouse; in psmouse_smbus_init() 268 psmouse->resync_time = 0; in psmouse_smbus_init() [all …]
|
A D | Makefile | 20 obj-$(CONFIG_MOUSE_PS2) += psmouse.o 28 psmouse-objs := psmouse-base.o synaptics.o focaltech.o 30 psmouse-$(CONFIG_MOUSE_PS2_ALPS) += alps.o 31 psmouse-$(CONFIG_MOUSE_PS2_BYD) += byd.o 32 psmouse-$(CONFIG_MOUSE_PS2_ELANTECH) += elantech.o 33 psmouse-$(CONFIG_MOUSE_PS2_OLPC) += hgpk.o 34 psmouse-$(CONFIG_MOUSE_PS2_LOGIPS2PP) += logips2pp.o 35 psmouse-$(CONFIG_MOUSE_PS2_LIFEBOOK) += lifebook.o 36 psmouse-$(CONFIG_MOUSE_PS2_SENTELIC) += sentelic.o 40 psmouse-$(CONFIG_MOUSE_PS2_VMMOUSE) += vmmouse.o [all …]
|
A D | elantech.h | 165 int (*send_cmd)(struct psmouse *psmouse, unsigned char c, 188 void (*original_set_rate)(struct psmouse *psmouse, unsigned int rate); 191 int elantech_detect(struct psmouse *psmouse, bool set_properties); 192 int elantech_init_ps2(struct psmouse *psmouse); 195 int elantech_init(struct psmouse *psmouse); 197 static inline int elantech_init(struct psmouse *psmouse) in elantech_init() argument 203 int elantech_init_smbus(struct psmouse *psmouse);
|
A D | touchkit_ps2.c | 40 static psmouse_ret_t touchkit_ps2_process_byte(struct psmouse *psmouse) in touchkit_ps2_process_byte() argument 42 unsigned char *packet = psmouse->packet; in touchkit_ps2_process_byte() 43 struct input_dev *dev = psmouse->dev; in touchkit_ps2_process_byte() 45 if (psmouse->pktcnt != 5) in touchkit_ps2_process_byte() 56 int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties) in touchkit_ps2_detect() argument 58 struct input_dev *dev = psmouse->dev; in touchkit_ps2_detect() 66 if (ps2_command(&psmouse->ps2dev, param, command)) in touchkit_ps2_detect() 80 psmouse->vendor = "eGalax"; in touchkit_ps2_detect() 81 psmouse->name = "Touchscreen"; in touchkit_ps2_detect() 82 psmouse->protocol_handler = touchkit_ps2_process_byte; in touchkit_ps2_detect() [all …]
|
A D | alps.h | 287 struct psmouse *psmouse; member 309 int (*hw_init)(struct psmouse *psmouse); 310 void (*process_packet)(struct psmouse *psmouse); 312 struct psmouse *psmouse); 326 int alps_detect(struct psmouse *psmouse, bool set_properties); 327 int alps_init(struct psmouse *psmouse);
|
A D | focaltech.h | 16 int focaltech_detect(struct psmouse *psmouse, bool set_properties); 19 int focaltech_init(struct psmouse *psmouse); 21 static inline int focaltech_init(struct psmouse *psmouse) in focaltech_init() argument
|
A D | synaptics.h | 207 int synaptics_detect(struct psmouse *psmouse, bool set_properties); 208 int synaptics_init_absolute(struct psmouse *psmouse); 209 int synaptics_init_relative(struct psmouse *psmouse); 210 int synaptics_init_smbus(struct psmouse *psmouse); 211 int synaptics_init(struct psmouse *psmouse); 212 void synaptics_reset(struct psmouse *psmouse);
|
A D | hgpk.h | 37 struct psmouse *psmouse; member 50 int hgpk_detect(struct psmouse *psmouse, bool set_properties); 51 int hgpk_init(struct psmouse *psmouse);
|
A D | byd.h | 5 int byd_detect(struct psmouse *psmouse, bool set_properties); 6 int byd_init(struct psmouse *psmouse);
|
A D | vmmouse.h | 13 int vmmouse_detect(struct psmouse *psmouse, bool set_properties); 14 int vmmouse_init(struct psmouse *psmouse);
|
A D | lifebook.h | 11 int lifebook_detect(struct psmouse *psmouse, bool set_properties); 12 int lifebook_init(struct psmouse *psmouse);
|