Lines Matching refs:psmouse
75 struct psmouse;
85 int (*detect)(struct psmouse *, bool);
86 int (*init)(struct psmouse *);
89 struct psmouse { struct
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
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
133 void psmouse_queue_work(struct psmouse *psmouse, struct delayed_work *work,
135 int psmouse_reset(struct psmouse *psmouse);
136 void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state);
137 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
138 psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse);
139 int psmouse_activate(struct psmouse *psmouse);
140 int psmouse_deactivate(struct psmouse *psmouse);
141 bool psmouse_matches_pnp_id(struct psmouse *psmouse, const char * const ids[]);
150 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf);
151 ssize_t (*set)(struct psmouse *psmouse, void *data,
179 static ssize_t _show(struct psmouse *, void *, char *); \
180 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
187 static ssize_t _show(struct psmouse *, void *, char *); \
191 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
198 #define psmouse_dbg(psmouse, format, ...) \ argument
199 dev_dbg(&(psmouse)->ps2dev.serio->dev, \
201 #define psmouse_info(psmouse, format, ...) \ argument
202 dev_info(&(psmouse)->ps2dev.serio->dev, \
204 #define psmouse_warn(psmouse, format, ...) \ argument
205 dev_warn(&(psmouse)->ps2dev.serio->dev, \
207 #define psmouse_err(psmouse, format, ...) \ argument
208 dev_err(&(psmouse)->ps2dev.serio->dev, \
210 #define psmouse_notice(psmouse, format, ...) \ argument
211 dev_notice(&(psmouse)->ps2dev.serio->dev, \
213 #define psmouse_printk(level, psmouse, format, ...) \ argument
215 &(psmouse)->ps2dev.serio->dev, \
225 int psmouse_smbus_init(struct psmouse *psmouse,
230 void psmouse_smbus_cleanup(struct psmouse *psmouse);
243 static inline void psmouse_smbus_cleanup(struct psmouse *psmouse) in psmouse_smbus_cleanup() argument