Lines Matching refs:wiimote_data

144 struct wiimote_data {  struct
194 struct wiimote_data *wdata);
196 struct wiimote_data *wdata);
198 void (*in_keys) (struct wiimote_data *wdata, const __u8 *keys);
199 void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
200 void (*in_ir) (struct wiimote_data *wdata, const __u8 *ir, bool packed,
202 void (*in_mp) (struct wiimote_data *wdata, const __u8 *mp);
203 void (*in_ext) (struct wiimote_data *wdata, const __u8 *ext);
264 void __wiimote_schedule(struct wiimote_data *wdata);
266 extern void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm);
267 extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble);
268 extern void wiiproto_req_leds(struct wiimote_data *wdata, int leds);
269 extern void wiiproto_req_status(struct wiimote_data *wdata);
270 extern void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel);
271 extern void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags);
272 extern void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags);
273 extern int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset,
275 extern ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset,
282 extern void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom,
287 extern int wiidebug_init(struct wiimote_data *wdata);
288 extern void wiidebug_deinit(struct wiimote_data *wdata);
298 static inline bool wiimote_cmd_pending(struct wiimote_data *wdata, int cmd, in wiimote_cmd_pending()
305 static inline void wiimote_cmd_complete(struct wiimote_data *wdata) in wiimote_cmd_complete()
312 static inline void wiimote_cmd_abort(struct wiimote_data *wdata) in wiimote_cmd_abort()
321 static inline int wiimote_cmd_acquire(struct wiimote_data *wdata) in wiimote_cmd_acquire()
326 static inline void wiimote_cmd_acquire_noint(struct wiimote_data *wdata) in wiimote_cmd_acquire_noint()
332 static inline void wiimote_cmd_set(struct wiimote_data *wdata, int cmd, in wiimote_cmd_set()
340 static inline void wiimote_cmd_release(struct wiimote_data *wdata) in wiimote_cmd_release()
345 static inline int wiimote_cmd_wait(struct wiimote_data *wdata) in wiimote_cmd_wait()
364 static inline int wiimote_cmd_wait_noint(struct wiimote_data *wdata) in wiimote_cmd_wait_noint()