Lines Matching refs:wiimote_data

45 	struct wiimote_data *wdata = container_of(queue, struct wiimote_data,
70 static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer,
124 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1)
130 void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble)
150 void wiiproto_req_leds(struct wiimote_data *wdata, int leds)
194 static __u8 select_drm(struct wiimote_data *wdata)
240 void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm)
258 void wiiproto_req_status(struct wiimote_data *wdata)
269 void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel)
283 void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags)
294 void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags)
311 static void wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom,
336 void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset,
362 int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset,
381 ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem,
411 static int wiimote_cmd_init_ext(struct wiimote_data *wdata)
432 static __u8 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem)
469 static int wiimote_cmd_init_mp(struct wiimote_data *wdata)
490 static bool wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype)
514 static bool wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem)
534 static __u8 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata)
624 static void wiimote_modules_load(struct wiimote_data *wdata,
689 static void wiimote_modules_unload(struct wiimote_data *wdata)
724 static void wiimote_ext_load(struct wiimote_data *wdata, unsigned int ext)
743 static void wiimote_ext_unload(struct wiimote_data *wdata)
759 static void wiimote_mp_load(struct wiimote_data *wdata)
778 static void wiimote_mp_unload(struct wiimote_data *wdata)
813 static void wiimote_init_set_type(struct wiimote_data *wdata,
867 static void wiimote_init_detect(struct wiimote_data *wdata)
913 static void wiimote_init_poll_mp(struct wiimote_data *wdata)
946 static bool wiimote_init_check(struct wiimote_data *wdata)
1100 static void wiimote_init_hotplug(struct wiimote_data *wdata)
1210 struct wiimote_data *wdata = container_of(work, struct wiimote_data,
1226 void __wiimote_schedule(struct wiimote_data *wdata)
1232 static void wiimote_schedule(struct wiimote_data *wdata)
1243 struct wiimote_data *wdata = timer_container_of(wdata, t, timer);
1250 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload)
1271 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload)
1304 static void handler_ext(struct wiimote_data *wdata, const __u8 *payload,
1392 static void handler_ir(struct wiimote_data *wdata, const __u8 *payload,
1415 static void handler_status_K(struct wiimote_data *wdata,
1425 static void handler_status(struct wiimote_data *wdata, const __u8 *payload)
1453 static void handler_generic_K(struct wiimote_data *wdata, const __u8 *payload)
1458 static void handler_data(struct wiimote_data *wdata, const __u8 *payload)
1479 static void handler_return(struct wiimote_data *wdata, const __u8 *payload)
1495 static void handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload)
1501 static void handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload)
1507 static void handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload)
1517 static void handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload)
1523 static void handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload)
1533 static void handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload)
1540 static void handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload)
1551 static void handler_drm_E(struct wiimote_data *wdata, const __u8 *payload)
1556 static void handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload)
1568 static void handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload)
1591 void (*func)(struct wiimote_data *wdata, const __u8 *payload);
1625 struct wiimote_data *wdata = hid_get_drvdata(hdev);
1654 struct wiimote_data *wdata = dev_to_wii(dev);
1689 struct wiimote_data *wdata = dev_to_wii(dev);
1707 struct wiimote_data *wdata = dev_to_wii(dev);
1736 static struct wiimote_data *wiimote_create(struct hid_device *hdev)
1738 struct wiimote_data *wdata;
1762 static void wiimote_destroy(struct wiimote_data *wdata)
1792 struct wiimote_data *wdata;
1863 struct wiimote_data *wdata = hid_get_drvdata(hdev);