Lines Matching defs:wdata

45 	struct wiimote_data *wdata = container_of(queue, struct wiimote_data,  in wiimote_queue_worker()  local
70 static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, in wiimote_queue()
124 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) in wiiproto_keep_rumble()
130 void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) in wiiproto_req_rumble()
150 void wiiproto_req_leds(struct wiimote_data *wdata, int leds) in wiiproto_req_leds()
194 static __u8 select_drm(struct wiimote_data *wdata) in select_drm()
240 void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm) in wiiproto_req_drm()
258 void wiiproto_req_status(struct wiimote_data *wdata) in wiiproto_req_status()
269 void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) in wiiproto_req_accel()
283 void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir1()
294 void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir2()
305 #define wiiproto_req_wreg(wdata, os, buf, sz) \ argument
308 #define wiiproto_req_weeprom(wdata, os, buf, sz) \ argument
311 static void wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom, in wiiproto_req_wmem()
336 void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset, in wiiproto_req_rmem()
362 int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset, in wiimote_cmd_write()
381 ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, in wiimote_cmd_read()
411 static int wiimote_cmd_init_ext(struct wiimote_data *wdata) in wiimote_cmd_init_ext()
432 static __u8 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem) in wiimote_cmd_read_ext()
469 static int wiimote_cmd_init_mp(struct wiimote_data *wdata) in wiimote_cmd_init_mp()
490 static bool wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype) in wiimote_cmd_map_mp()
514 static bool wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem) in wiimote_cmd_read_mp()
534 static __u8 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata) in wiimote_cmd_read_mp_mapped()
624 static void wiimote_modules_load(struct wiimote_data *wdata, in wiimote_modules_load()
689 static void wiimote_modules_unload(struct wiimote_data *wdata) in wiimote_modules_unload()
724 static void wiimote_ext_load(struct wiimote_data *wdata, unsigned int ext) in wiimote_ext_load()
743 static void wiimote_ext_unload(struct wiimote_data *wdata) in wiimote_ext_unload()
759 static void wiimote_mp_load(struct wiimote_data *wdata) in wiimote_mp_load()
778 static void wiimote_mp_unload(struct wiimote_data *wdata) in wiimote_mp_unload()
813 static void wiimote_init_set_type(struct wiimote_data *wdata, in wiimote_init_set_type()
867 static void wiimote_init_detect(struct wiimote_data *wdata) in wiimote_init_detect()
913 static void wiimote_init_poll_mp(struct wiimote_data *wdata) in wiimote_init_poll_mp()
946 static bool wiimote_init_check(struct wiimote_data *wdata) in wiimote_init_check()
1100 static void wiimote_init_hotplug(struct wiimote_data *wdata) in wiimote_init_hotplug()
1210 struct wiimote_data *wdata = container_of(work, struct wiimote_data, in wiimote_init_worker() local
1226 void __wiimote_schedule(struct wiimote_data *wdata) in __wiimote_schedule()
1232 static void wiimote_schedule(struct wiimote_data *wdata) in wiimote_schedule()
1243 struct wiimote_data *wdata = from_timer(wdata, t, timer); in wiimote_init_timeout() local
1250 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload) in handler_keys()
1271 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload) in handler_accel()
1304 static void handler_ext(struct wiimote_data *wdata, const __u8 *payload, in handler_ext()
1387 #define ir_to_input0(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 0) argument
1388 #define ir_to_input1(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 1) argument
1389 #define ir_to_input2(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 2) argument
1390 #define ir_to_input3(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 3) argument
1392 static void handler_ir(struct wiimote_data *wdata, const __u8 *payload, in handler_ir()
1415 static void handler_status_K(struct wiimote_data *wdata, in handler_status_K()
1425 static void handler_status(struct wiimote_data *wdata, const __u8 *payload) in handler_status()
1453 static void handler_generic_K(struct wiimote_data *wdata, const __u8 *payload) in handler_generic_K()
1458 static void handler_data(struct wiimote_data *wdata, const __u8 *payload) in handler_data()
1479 static void handler_return(struct wiimote_data *wdata, const __u8 *payload) in handler_return()
1495 static void handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KA()
1501 static void handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KE()
1507 static void handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAI()
1517 static void handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KEE()
1523 static void handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KIE()
1533 static void handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAE()
1540 static void handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAIE()
1551 static void handler_drm_E(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_E()
1556 static void handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI1()
1568 static void handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI2()
1625 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_event() local
1654 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_ext_show() local
1689 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_ext_store() local
1707 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_dev_show() local
1738 struct wiimote_data *wdata; in wiimote_create() local
1762 static void wiimote_destroy(struct wiimote_data *wdata) in wiimote_destroy()
1792 struct wiimote_data *wdata; in wiimote_hid_probe() local
1863 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_remove() local