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 struct psmouse *psmouse_from_serio(struct serio *serio);
135 void psmouse_queue_work(struct psmouse *psmouse, struct delayed_work *work,
137 int psmouse_reset(struct psmouse *psmouse);
138 void psmouse_set_state(struct psmouse *psmouse, enum psmouse_state new_state);
139 void psmouse_set_resolution(struct psmouse *psmouse, unsigned int resolution);
140 psmouse_ret_t psmouse_process_byte(struct psmouse *psmouse);
141 int psmouse_activate(struct psmouse *psmouse);
142 int psmouse_deactivate(struct psmouse *psmouse);
143 bool psmouse_matches_pnp_id(struct psmouse *psmouse, const char * const ids[]);
152 ssize_t (*show)(struct psmouse *psmouse, void *data, char *buf);
153 ssize_t (*set)(struct psmouse *psmouse, void *data,
181 static ssize_t _show(struct psmouse *, void *, char *); \
182 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
189 static ssize_t _show(struct psmouse *, void *, char *); \
193 static ssize_t _set(struct psmouse *, void *, const char *, size_t); \
200 #define psmouse_dbg(psmouse, format, ...) \ argument
201 dev_dbg(&(psmouse)->ps2dev.serio->dev, \
203 #define psmouse_info(psmouse, format, ...) \ argument
204 dev_info(&(psmouse)->ps2dev.serio->dev, \
206 #define psmouse_warn(psmouse, format, ...) \ argument
207 dev_warn(&(psmouse)->ps2dev.serio->dev, \
209 #define psmouse_err(psmouse, format, ...) \ argument
210 dev_err(&(psmouse)->ps2dev.serio->dev, \
212 #define psmouse_notice(psmouse, format, ...) \ argument
213 dev_notice(&(psmouse)->ps2dev.serio->dev, \
215 #define psmouse_printk(level, psmouse, format, ...) \ argument
217 &(psmouse)->ps2dev.serio->dev, \
227 int psmouse_smbus_init(struct psmouse *psmouse,
232 void psmouse_smbus_cleanup(struct psmouse *psmouse);
245 static inline void psmouse_smbus_cleanup(struct psmouse *psmouse) in psmouse_smbus_cleanup() argument