/openbmc/linux/drivers/input/mouse/ |
H A D | psmouse.h | 89 struct psmouse { struct 96 const struct psmouse_protocol *protocol; argument 108 enum psmouse_state state; argument 118 psmouse_ret_t (*protocol_handler)(struct psmouse *psmouse); argument 123 int (*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 200 #define psmouse_dbg(psmouse, format, ...) \ argument [all …]
|
H A D | sentelic.c | 293 static int fsp_get_sn(struct psmouse *psmouse, int *sn) in fsp_get_sn() 314 static int fsp_get_buttons(struct psmouse *psmouse, int *btn) in fsp_get_buttons() 449 static ssize_t fsp_attr_show_getreg(struct psmouse *psmouse, in fsp_attr_show_getreg() 579 static ssize_t fsp_attr_show_flags(struct psmouse *psmouse, in fsp_attr_show_flags() 612 static ssize_t fsp_attr_show_ver(struct psmouse *psmouse, in fsp_attr_show_ver() 838 static int fsp_activate_protocol(struct psmouse *psmouse) in fsp_activate_protocol() 920 static int fsp_set_input_params(struct psmouse *psmouse) in fsp_set_input_params() 980 static void fsp_reset(struct psmouse *psmouse) in fsp_reset() 987 static void fsp_disconnect(struct psmouse *psmouse) in fsp_disconnect() 996 static int fsp_reconnect(struct psmouse *psmouse) in fsp_reconnect() [all …]
|
H A D | cypress_ps2.c | 98 static int cypress_ps2_read_cmd_status(struct psmouse *psmouse, in cypress_ps2_read_cmd_status() 138 static bool cypress_verify_cmd_state(struct psmouse *psmouse, in cypress_verify_cmd_state() 220 static int cypress_read_fw_version(struct psmouse *psmouse) in cypress_read_fw_version() 249 static int cypress_read_tp_metrics(struct psmouse *psmouse) in cypress_read_tp_metrics() 322 static int cypress_query_hardware(struct psmouse *psmouse) in cypress_query_hardware() 337 static int cypress_set_absolute_mode(struct psmouse *psmouse) in cypress_set_absolute_mode() 356 static void cypress_reset(struct psmouse *psmouse) in cypress_reset() 443 static int cypress_parse_packet(struct psmouse *psmouse, in cypress_parse_packet() 628 static void cypress_disconnect(struct psmouse *psmouse) in cypress_disconnect() 635 static int cypress_reconnect(struct psmouse *psmouse) in cypress_reconnect() [all …]
|
H A D | psmouse-base.c | 277 static int psmouse_handle_byte(struct psmouse *psmouse) in psmouse_handle_byte() 432 int psmouse_reset(struct psmouse *psmouse) in psmouse_reset() 492 static int psmouse_poll(struct psmouse *psmouse) in psmouse_poll() 1246 static int psmouse_probe(struct psmouse *psmouse) in psmouse_probe() 1297 int psmouse_activate(struct psmouse *psmouse) in psmouse_activate() 1313 int psmouse_deactivate(struct psmouse *psmouse) in psmouse_deactivate() 1333 struct psmouse *parent = NULL, *psmouse = in psmouse_resync() local 1430 struct psmouse *psmouse = psmouse_from_serio(serio); in psmouse_cleanup() local 1478 struct psmouse *psmouse = psmouse_from_serio(serio); in psmouse_disconnect() local 1579 struct psmouse *psmouse, *parent = NULL; in psmouse_connect() local [all …]
|
H A D | alps.c | 635 struct psmouse *psmouse) in alps_decode_pinnacle() 661 struct psmouse *psmouse) in alps_decode_rushmore() 689 struct psmouse *psmouse) in alps_decode_dolphin() 1028 struct psmouse *psmouse) in alps_decode_packet_v7() 1178 unsigned char *p, struct psmouse *psmouse) in alps_decode_ss4_v2() 1403 struct psmouse *psmouse = priv->psmouse; in alps_register_bare_ps2_mouse() local 1580 struct psmouse *psmouse = priv->psmouse; in alps_flush_packet() local 1987 static int alps_poll(struct psmouse *psmouse) in alps_poll() 2550 struct psmouse *psmouse) in alps_update_dual_info_ss4_v2() 2956 static int alps_reconnect(struct psmouse *psmouse) in alps_reconnect() [all …]
|
H A D | elantech.c | 68 static int elantech_ps2_command(struct psmouse *psmouse, in elantech_ps2_command() 264 static void elantech_packet_dump(struct psmouse *psmouse) in elantech_packet_dump() 1461 static void elantech_disconnect(struct psmouse *psmouse) in elantech_disconnect() 1499 static int elantech_reconnect(struct psmouse *psmouse) in elantech_reconnect() 1709 static int elantech_query_info(struct psmouse *psmouse, in elantech_query_info() 1928 static int elantech_create_smbus(struct psmouse *psmouse, in elantech_create_smbus() 1982 static int elantech_setup_smbus(struct psmouse *psmouse, in elantech_setup_smbus() 2043 int elantech_init_smbus(struct psmouse *psmouse) in elantech_init_smbus() 2069 static int elantech_setup_ps2(struct psmouse *psmouse, in elantech_setup_ps2() 2162 int elantech_init_ps2(struct psmouse *psmouse) in elantech_init_ps2() [all …]
|
H A D | synaptics.c | 118 void synaptics_reset(struct psmouse *psmouse) in synaptics_reset() 244 static int synaptics_identify(struct psmouse *psmouse, in synaptics_identify() 260 static int synaptics_model_id(struct psmouse *psmouse, in synaptics_model_id() 1197 synaptics_detect_pkt_type(struct psmouse *psmouse) in synaptics_detect_pkt_type() 1254 static int set_input_params(struct psmouse *psmouse, in set_input_params() 1724 synaptics_setup_ps2(struct psmouse *psmouse, in synaptics_setup_ps2() 1823 int synaptics_init_smbus(struct psmouse *psmouse) in synaptics_init_smbus() 1845 synaptics_setup_intertouch(struct psmouse *psmouse, in synaptics_setup_intertouch() 1852 int synaptics_init_smbus(struct psmouse *psmouse) in synaptics_init_smbus() 1862 int synaptics_init(struct psmouse *psmouse) in synaptics_init() [all …]
|
H A D | focaltech.c | 35 int focaltech_detect(struct psmouse *psmouse, bool set_properties) in focaltech_detect() 115 static void focaltech_report_state(struct psmouse *psmouse) in focaltech_report_state() 226 static void focaltech_process_packet(struct psmouse *psmouse) in focaltech_process_packet() 265 static int focaltech_switch_protocol(struct psmouse *psmouse) in focaltech_switch_protocol() 293 static void focaltech_reset(struct psmouse *psmouse) in focaltech_reset() 299 static void focaltech_disconnect(struct psmouse *psmouse) in focaltech_disconnect() 306 static int focaltech_reconnect(struct psmouse *psmouse) in focaltech_reconnect() 373 static int focaltech_read_size(struct psmouse *psmouse) in focaltech_read_size() 389 static void focaltech_set_resolution(struct psmouse *psmouse, in focaltech_set_resolution() 400 static void focaltech_set_scale(struct psmouse *psmouse, in focaltech_set_scale() [all …]
|
H A D | hgpk.c | 185 static void hgpk_reset_hack_state(struct psmouse *psmouse) in hgpk_reset_hack_state() 211 static void hgpk_spewing_hack(struct psmouse *psmouse, in hgpk_spewing_hack() 492 static int hgpk_select_mode(struct psmouse *psmouse) in hgpk_select_mode() 635 static int hgpk_force_recalibrate(struct psmouse *psmouse) in hgpk_force_recalibrate() 745 static int hgpk_poll(struct psmouse *psmouse) in hgpk_poll() 751 static int hgpk_reconnect(struct psmouse *psmouse) in hgpk_reconnect() 897 static void hgpk_disconnect(struct psmouse *psmouse) in hgpk_disconnect() 918 struct psmouse *psmouse = priv->psmouse; in hgpk_recalib_work() local 924 static int hgpk_register(struct psmouse *psmouse) in hgpk_register() 979 int hgpk_init(struct psmouse *psmouse) in hgpk_init() [all …]
|
H A D | logips2pp.c | 41 static psmouse_ret_t ps2pp_process_byte(struct psmouse *psmouse) in ps2pp_process_byte() 113 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) in ps2pp_cmd() 136 static void ps2pp_set_smartscroll(struct psmouse *psmouse, bool smartscroll) in ps2pp_set_smartscroll() 152 static ssize_t ps2pp_attr_show_smartscroll(struct psmouse *psmouse, in ps2pp_attr_show_smartscroll() 158 static ssize_t ps2pp_attr_set_smartscroll(struct psmouse *psmouse, void *data, in ps2pp_attr_set_smartscroll() 185 static void ps2pp_set_resolution(struct psmouse *psmouse, in ps2pp_set_resolution() 201 static void ps2pp_disconnect(struct psmouse *psmouse) in ps2pp_disconnect() 270 static void ps2pp_set_model_properties(struct psmouse *psmouse, in ps2pp_set_model_properties() 326 static int ps2pp_setup_protocol(struct psmouse *psmouse, in ps2pp_setup_protocol() 357 int ps2pp_detect(struct psmouse *psmouse, bool set_properties) in ps2pp_detect()
|
H A D | lifebook.c | 132 static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse) in lifebook_process_byte() 199 static int lifebook_absolute_mode(struct psmouse *psmouse) in lifebook_absolute_mode() 220 static void lifebook_relative_mode(struct psmouse *psmouse) in lifebook_relative_mode() 228 static void lifebook_set_resolution(struct psmouse *psmouse, unsigned int resolution) in lifebook_set_resolution() 241 static void lifebook_disconnect(struct psmouse *psmouse) in lifebook_disconnect() 253 int lifebook_detect(struct psmouse *psmouse, bool set_properties) in lifebook_detect() 270 static int lifebook_create_relative_device(struct psmouse *psmouse) in lifebook_create_relative_device() 311 int lifebook_init(struct psmouse *psmouse) in lifebook_init()
|
H A D | vmmouse.c | 115 static void vmmouse_report_button(struct psmouse *psmouse, in vmmouse_report_button() 141 static psmouse_ret_t vmmouse_report_events(struct psmouse *psmouse) in vmmouse_report_events() 223 static psmouse_ret_t vmmouse_process_byte(struct psmouse *psmouse) in vmmouse_process_byte() 247 static void vmmouse_disable(struct psmouse *psmouse) in vmmouse_disable() 271 static int vmmouse_enable(struct psmouse *psmouse) in vmmouse_enable() 343 int vmmouse_detect(struct psmouse *psmouse, bool set_properties) in vmmouse_detect() 375 static void vmmouse_reset(struct psmouse *psmouse) in vmmouse_reset() 388 static void vmmouse_disconnect(struct psmouse *psmouse) in vmmouse_disconnect() 406 static int vmmouse_reconnect(struct psmouse *psmouse) in vmmouse_reconnect() 433 int vmmouse_init(struct psmouse *psmouse) in vmmouse_init()
|
H A D | trackpoint.c | 104 static ssize_t trackpoint_show_int_attr(struct psmouse *psmouse, in trackpoint_show_int_attr() 117 static ssize_t trackpoint_set_int_attr(struct psmouse *psmouse, void *data, in trackpoint_set_int_attr() 146 static ssize_t trackpoint_set_bit_attr(struct psmouse *psmouse, void *data, in trackpoint_set_bit_attr() 204 static bool trackpoint_is_attr_available(struct psmouse *psmouse, in trackpoint_is_attr_available() 219 struct psmouse *psmouse = psmouse_from_serio(serio); in trackpoint_is_attr_visible() local 269 static int trackpoint_start_protocol(struct psmouse *psmouse, in trackpoint_start_protocol() 303 static int trackpoint_sync(struct psmouse *psmouse, bool in_power_on_state) in trackpoint_sync() 367 static void trackpoint_disconnect(struct psmouse *psmouse) in trackpoint_disconnect() 376 static int trackpoint_reconnect(struct psmouse *psmouse) in trackpoint_reconnect() 396 int trackpoint_detect(struct psmouse *psmouse, bool set_properties) in trackpoint_detect()
|
H A D | byd.c | 227 struct psmouse *psmouse; member 236 static void byd_report_input(struct psmouse *psmouse) in byd_report_input() 255 struct psmouse *psmouse = priv->psmouse; in byd_clear_touch() local 273 static psmouse_ret_t byd_process_byte(struct psmouse *psmouse) in byd_process_byte() 339 static int byd_reset_touchpad(struct psmouse *psmouse) in byd_reset_touchpad() 398 static int byd_reconnect(struct psmouse *psmouse) in byd_reconnect() 424 static void byd_disconnect(struct psmouse *psmouse) in byd_disconnect() 435 int byd_detect(struct psmouse *psmouse, bool set_properties) in byd_detect() 464 int byd_init(struct psmouse *psmouse) in byd_init()
|
H 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() 121 static int psmouse_smbus_reconnect(struct psmouse *psmouse) in psmouse_smbus_reconnect() 170 static void psmouse_smbus_disconnect(struct psmouse *psmouse) in psmouse_smbus_disconnect() 218 void psmouse_smbus_cleanup(struct psmouse *psmouse) in psmouse_smbus_cleanup() 234 int psmouse_smbus_init(struct psmouse *psmouse, in psmouse_smbus_init()
|
H A D | touchkit_ps2.c | 40 static psmouse_ret_t touchkit_ps2_process_byte(struct psmouse *psmouse) in touchkit_ps2_process_byte() 56 int touchkit_ps2_detect(struct psmouse *psmouse, bool set_properties) in touchkit_ps2_detect()
|
H A D | focaltech.h | 21 static inline int focaltech_init(struct psmouse *psmouse) in focaltech_init()
|
H A D | hgpk.h | 37 struct psmouse *psmouse; member
|
H A D | elantech.h | 197 static inline int elantech_init(struct psmouse *psmouse) in elantech_init()
|
H A D | alps.h | 287 struct psmouse *psmouse; member
|
/openbmc/linux/Documentation/input/ |
H A D | input.rst | 219 psmouse subsection
|