Lines Matching refs:wiimote_data

45 	struct wiimote_data *wdata = container_of(queue, struct wiimote_data,  in wiimote_queue_worker()
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()
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()
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()
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()
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()
1591 void (*func)(struct wiimote_data *wdata, const __u8 *payload);
1625 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_event()
1654 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_ext_show()
1689 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_ext_store()
1707 struct wiimote_data *wdata = dev_to_wii(dev); in wiimote_dev_show()
1736 static struct wiimote_data *wiimote_create(struct hid_device *hdev) in wiimote_create()
1738 struct wiimote_data *wdata; in wiimote_create()
1762 static void wiimote_destroy(struct wiimote_data *wdata) in wiimote_destroy()
1792 struct wiimote_data *wdata; in wiimote_hid_probe()
1863 struct wiimote_data *wdata = hid_get_drvdata(hdev); in wiimote_hid_remove()