Lines Matching defs:wdata
80 struct wiimote_data *wdata = container_of(work, struct wiimote_data, in wiimote_worker() local
98 static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, in wiimote_queue()
144 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) in wiiproto_keep_rumble()
150 static void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) in wiiproto_req_rumble()
170 static void wiiproto_req_leds(struct wiimote_data *wdata, int leds) in wiiproto_req_leds()
200 static __u8 select_drm(struct wiimote_data *wdata) in select_drm()
229 void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm) in wiiproto_req_drm()
245 static void wiiproto_req_status(struct wiimote_data *wdata) in wiiproto_req_status()
256 static void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) in wiiproto_req_accel()
270 static void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir1()
281 static void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir2()
292 #define wiiproto_req_wreg(wdata, os, buf, sz) \ argument
295 #define wiiproto_req_weeprom(wdata, os, buf, sz) \ argument
298 static void wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom, in wiiproto_req_wmem()
323 void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, in wiiproto_req_rmem()
349 int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, in wiimote_cmd_write()
368 ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, in wiimote_cmd_read()
401 struct wiimote_data *wdata = container_of(psy, in wiimote_battery_get_property() local
439 static int wiimote_init_ir(struct wiimote_data *wdata, __u16 mode) in wiimote_init_ir()
553 struct wiimote_data *wdata; in wiimote_leds_get() local
576 struct wiimote_data *wdata; in wiimote_leds_set() local
602 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_ff_play() local
626 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_input_open() local
633 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_input_close() local
640 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_accel_open() local
657 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_accel_close() local
669 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_ir_open() local
687 struct wiimote_data *wdata = input_get_drvdata(dev); in wiimote_ir_close() local
693 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload) in handler_keys()
720 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload) in handler_accel()
753 #define ir_to_input0(wdata, ir, packed) __ir_to_input((wdata), (ir), (packed), \ argument
755 #define ir_to_input1(wdata, ir, packed) __ir_to_input((wdata), (ir), (packed), \ argument
757 #define ir_to_input2(wdata, ir, packed) __ir_to_input((wdata), (ir), (packed), \ argument
759 #define ir_to_input3(wdata, ir, packed) __ir_to_input((wdata), (ir), (packed), \ argument
762 static void __ir_to_input(struct wiimote_data *wdata, const __u8 *ir, in __ir_to_input()
798 static void handler_status(struct wiimote_data *wdata, const __u8 *payload) in handler_status()
813 static void handler_data(struct wiimote_data *wdata, const __u8 *payload) in handler_data()
834 static void handler_return(struct wiimote_data *wdata, const __u8 *payload) in handler_return()
850 static void handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KA()
856 static void handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KE()
862 static void handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAI()
873 static void handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KEE()
879 static void handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KIE()
890 static void handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAE()
897 static void handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAIE()
909 static void handler_drm_E(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_E()
914 static void handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI1()
927 static void handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI2()
975 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_event() local
1003 static void wiimote_leds_destroy(struct wiimote_data *wdata) in wiimote_leds_destroy()
1018 static int wiimote_leds_create(struct wiimote_data *wdata) in wiimote_leds_create()
1057 struct wiimote_data *wdata; in wiimote_create() local
1162 static void wiimote_destroy(struct wiimote_data *wdata) in wiimote_destroy()
1181 struct wiimote_data *wdata; in wiimote_hid_probe() local
1283 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_remove() local