Home
last modified time | relevance | path

Searched defs:psmouse (Results 1 – 20 of 20) sorted by relevance

/drivers/input/mouse/
Dpsmouse.h89 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
119 void (*set_rate)(struct psmouse *psmouse, unsigned int rate); argument
120 void (*set_resolution)(struct psmouse *psmouse, unsigned int resolution); argument
121 void (*set_scale)(struct psmouse *psmouse, enum psmouse_scale scale); argument
123 int (*reconnect)(struct psmouse *psmouse); argument
124 int (*fast_reconnect)(struct psmouse *psmouse); argument
125 void (*disconnect)(struct psmouse *psmouse); argument
[all …]
Dsentelic.c71 static int fsp_reg_read(struct psmouse *psmouse, int reg_addr, int *reg_val) in fsp_reg_read()
128 static int fsp_reg_write(struct psmouse *psmouse, int reg_addr, int reg_val) in fsp_reg_write()
181 static int fsp_reg_write_enable(struct psmouse *psmouse, bool enable) in fsp_reg_write_enable()
201 static int fsp_page_reg_read(struct psmouse *psmouse, int *reg_val) in fsp_page_reg_read()
239 static int fsp_page_reg_write(struct psmouse *psmouse, int reg_val) in fsp_page_reg_write()
277 static int fsp_get_version(struct psmouse *psmouse, int *version) in fsp_get_version()
285 static int fsp_get_revision(struct psmouse *psmouse, int *rev) in fsp_get_revision()
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()
332 static int fsp_opc_tag_enable(struct psmouse *psmouse, bool enable) in fsp_opc_tag_enable()
[all …]
Dalps.c248 static void alps_process_packet_v1_v2(struct psmouse *psmouse) in alps_process_packet_v1_v2()
510 static void alps_report_mt_data(struct psmouse *psmouse, int n) in alps_report_mt_data()
524 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data()
555 static void alps_process_trackstick_packet_v3(struct psmouse *psmouse) in alps_process_trackstick_packet_v3()
635 struct psmouse *psmouse) in alps_decode_pinnacle()
661 struct psmouse *psmouse) in alps_decode_rushmore()
689 struct psmouse *psmouse) in alps_decode_dolphin()
725 static void alps_process_touchpad_packet_v3_v5(struct psmouse *psmouse) in alps_process_touchpad_packet_v3_v5()
803 static void alps_process_packet_v3(struct psmouse *psmouse) in alps_process_packet_v3()
823 static void alps_process_packet_v6(struct psmouse *psmouse) in alps_process_packet_v6()
[all …]
Dpsmouse-base.c149 psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse) in psmouse_process_byte()
239 void psmouse_queue_work(struct psmouse *psmouse, struct delayed_work *work, in psmouse_queue_work()
248 static inline void __psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state) in __psmouse_set_state()
261 void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state) in psmouse_set_state()
272 static int psmouse_handle_byte(struct psmouse *psmouse) in psmouse_handle_byte()
310 static void psmouse_handle_oob_data(struct psmouse *psmouse, u8 data) in psmouse_handle_oob_data()
341 struct psmouse *psmouse = serio_get_drvdata(serio); in psmouse_interrupt() local
435 int psmouse_reset(struct psmouse *psmouse) in psmouse_reset()
453 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution) in psmouse_set_resolution()
469 static void psmouse_set_rate(struct psmouse *psmouse, unsigned int rate) in psmouse_set_rate()
[all …]
Delantech.c35 static int synaptics_send_cmd(struct psmouse *psmouse, unsigned char c, in synaptics_send_cmd()
50 static int elantech_send_cmd(struct psmouse *psmouse, unsigned char c, in elantech_send_cmd()
68 static int elantech_ps2_command(struct psmouse *psmouse, in elantech_ps2_command()
95 static int elantech_read_reg_params(struct psmouse *psmouse, u8 reg, u8 *param) in elantech_read_reg_params()
113 static int elantech_write_reg_params(struct psmouse *psmouse, u8 reg, u8 *param) in elantech_write_reg_params()
136 static int elantech_read_reg(struct psmouse *psmouse, unsigned char reg, in elantech_read_reg()
192 static int elantech_write_reg(struct psmouse *psmouse, unsigned char reg, in elantech_write_reg()
264 static void elantech_packet_dump(struct psmouse *psmouse) in elantech_packet_dump()
320 static void elantech_report_absolute_v1(struct psmouse *psmouse) in elantech_report_absolute_v1()
408 static void elantech_report_absolute_v2(struct psmouse *psmouse) in elantech_report_absolute_v2()
[all …]
Dsynaptics.c79 static int synaptics_mode_cmd(struct psmouse *psmouse, u8 mode) in synaptics_mode_cmd()
96 int synaptics_detect(struct psmouse *psmouse, bool set_properties) in synaptics_detect()
118 void synaptics_reset(struct psmouse *psmouse) in synaptics_reset()
206 static int synaptics_send_cmd(struct psmouse *psmouse, u8 cmd, u8 *param) in synaptics_send_cmd()
221 static int synaptics_query_int(struct psmouse *psmouse, u8 query_cmd, u32 *val) in synaptics_query_int()
241 static int synaptics_identify(struct psmouse *psmouse, in synaptics_identify()
257 static int synaptics_model_id(struct psmouse *psmouse, in synaptics_model_id()
266 static int synaptics_firmware_id(struct psmouse *psmouse, in synaptics_firmware_id()
277 static int synaptics_query_modes(struct psmouse *psmouse, in synaptics_query_modes()
304 static int synaptics_capability(struct psmouse *psmouse, in synaptics_capability()
[all …]
Dcypress_ps2.c29 static void cypress_set_packet_size(struct psmouse *psmouse, unsigned int n) in cypress_set_packet_size()
38 static int cypress_ps2_sendbyte(struct psmouse *psmouse, int value) in cypress_ps2_sendbyte()
60 static int cypress_ps2_ext_cmd(struct psmouse *psmouse, unsigned short cmd, in cypress_ps2_ext_cmd()
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()
169 static int cypress_send_ext_cmd(struct psmouse *psmouse, unsigned char cmd, in cypress_send_ext_cmd()
201 int cypress_detect(struct psmouse *psmouse, bool set_properties) in cypress_detect()
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()
[all …]
Dhgpk.c124 static int hgpk_discard_decay_hack(struct psmouse *psmouse, int x, int y) in hgpk_discard_decay_hack()
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()
306 static bool hgpk_is_byte_valid(struct psmouse *psmouse, unsigned char *packet) in hgpk_is_byte_valid()
340 static void hgpk_process_advanced_packet(struct psmouse *psmouse) in hgpk_process_advanced_packet()
425 static void hgpk_process_simple_packet(struct psmouse *psmouse) in hgpk_process_simple_packet()
460 static psmouse_ret_t hgpk_process_byte(struct psmouse *psmouse) in hgpk_process_byte()
492 static int hgpk_select_mode(struct psmouse *psmouse) in hgpk_select_mode()
603 static int hgpk_reset_device(struct psmouse *psmouse, bool recalibrate) in hgpk_reset_device()
635 static int hgpk_force_recalibrate(struct psmouse *psmouse) in hgpk_force_recalibrate()
[all …]
Dfocaltech.c35 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()
149 static void focaltech_process_touch_packet(struct psmouse *psmouse, in focaltech_process_touch_packet()
173 static void focaltech_process_abs_packet(struct psmouse *psmouse, in focaltech_process_abs_packet()
195 static void focaltech_process_rel_packet(struct psmouse *psmouse, in focaltech_process_rel_packet()
226 static void focaltech_process_packet(struct psmouse *psmouse) in focaltech_process_packet()
251 static psmouse_ret_t focaltech_process_byte(struct psmouse *psmouse) in focaltech_process_byte()
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()
[all …]
Dlogips2pp.c41 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()
Dlifebook.c132 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()
Dvmmouse.c115 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_disconnect(struct psmouse *psmouse) in vmmouse_disconnect()
393 static int vmmouse_reconnect(struct psmouse *psmouse) in vmmouse_reconnect()
420 int vmmouse_init(struct psmouse *psmouse) in vmmouse_init()
Dtrackpoint.c104 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 = serio_get_drvdata(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()
Dbyd.c227 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()
Dpsmouse-smbus.c19 struct psmouse *psmouse; member
112 static psmouse_ret_t psmouse_smbus_process_byte(struct psmouse *psmouse) in psmouse_smbus_process_byte()
117 static int psmouse_smbus_reconnect(struct psmouse *psmouse) in psmouse_smbus_reconnect()
166 static void psmouse_smbus_disconnect(struct psmouse *psmouse) in psmouse_smbus_disconnect()
212 void psmouse_smbus_cleanup(struct psmouse *psmouse) in psmouse_smbus_cleanup()
228 int psmouse_smbus_init(struct psmouse *psmouse, in psmouse_smbus_init()
Dtouchkit_ps2.c40 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()
Dfocaltech.h21 static inline int focaltech_init(struct psmouse *psmouse) in focaltech_init()
Dhgpk.h37 struct psmouse *psmouse; member
Delantech.h197 static inline int elantech_init(struct psmouse *psmouse) in elantech_init()
Dalps.h287 struct psmouse *psmouse; member