Lines Matching refs:__u8

25 static int wiimote_hid_send(struct hid_device *hdev, __u8 *buffer,  in wiimote_hid_send()
28 __u8 *buf; in wiimote_hid_send()
73 static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer, in wiimote_queue()
77 __u8 newhead; in wiimote_queue()
127 static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1) in wiiproto_keep_rumble()
133 void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble) in wiiproto_req_rumble()
135 __u8 cmd[2]; in wiiproto_req_rumble()
155 __u8 cmd[2]; in wiiproto_req_leds()
197 static __u8 select_drm(struct wiimote_data *wdata) in select_drm()
199 __u8 ir = wdata->state.flags & WIIPROTO_FLAGS_IR; in select_drm()
243 void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm) in wiiproto_req_drm()
245 __u8 cmd[3]; in wiiproto_req_drm()
263 __u8 cmd[2]; in wiiproto_req_status()
272 void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel) in wiiproto_req_accel()
286 void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir1()
288 __u8 cmd[2]; in wiiproto_req_ir1()
297 void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags) in wiiproto_req_ir2()
299 __u8 cmd[2]; in wiiproto_req_ir2()
315 __u32 offset, const __u8 *buf, __u8 size) in wiiproto_req_wmem()
317 __u8 cmd[22]; in wiiproto_req_wmem()
342 __u8 cmd[7]; in wiiproto_req_rmem()
366 const __u8 *wmem, __u8 size) in wiimote_cmd_write()
384 ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem, in wiimote_cmd_read()
385 __u8 size) in wiimote_cmd_read()
416 __u8 wmem; in wiimote_cmd_init_ext()
435 static __u8 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem) in wiimote_cmd_read_ext()
465 __u8 wmem; in wiimote_cmd_init_mp()
484 static bool wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype) in wiimote_cmd_map_mp()
486 __u8 wmem; in wiimote_cmd_map_mp()
505 static bool wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem) in wiimote_cmd_read_mp()
525 static __u8 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata) in wiimote_cmd_read_mp_mapped()
528 __u8 rmem[6]; in wiimote_cmd_read_mp_mapped()
553 static const __u8 * const wiimote_devtype_mods[WIIMOTE_DEV_NUM] = {
554 [WIIMOTE_DEV_PENDING] = (const __u8[]){
557 [WIIMOTE_DEV_UNKNOWN] = (const __u8[]){
561 [WIIMOTE_DEV_GENERIC] = (const __u8[]){
573 [WIIMOTE_DEV_GEN10] = (const __u8[]){
585 [WIIMOTE_DEV_GEN20] = (const __u8[]){
598 [WIIMOTE_DEV_BALANCE_BOARD] = (const __u8[]) {
604 [WIIMOTE_DEV_PRO_CONTROLLER] = (const __u8[]) {
619 const __u8 *mods, *iter; in wiimote_modules_load()
682 const __u8 *mods, *iter; in wiimote_modules_unload()
755 __u8 mode = 2; in wiimote_mp_load()
805 __u8 exttype) in wiimote_init_set_type()
807 __u8 devtype = WIIMOTE_DEV_GENERIC; in wiimote_init_set_type()
860 __u8 exttype = WIIMOTE_EXT_NONE, extdata[6]; in wiimote_init_detect()
907 __u8 mpdata[6]; in wiimote_init_poll_mp()
940 __u8 type, data[6]; in wiimote_init_check()
1090 __u8 exttype, extdata[6], mpdata[6]; in wiimote_init_hotplug()
1238 static void handler_keys(struct wiimote_data *wdata, const __u8 *payload) in handler_keys()
1240 const __u8 *iter, *mods; in handler_keys()
1259 static void handler_accel(struct wiimote_data *wdata, const __u8 *payload) in handler_accel()
1261 const __u8 *iter, *mods; in handler_accel()
1292 static void handler_ext(struct wiimote_data *wdata, const __u8 *payload, in handler_ext()
1295 static const __u8 invalid[21] = { 0xff, 0xff, 0xff, 0xff, in handler_ext()
1301 const __u8 *iter, *mods; in handler_ext()
1380 static void handler_ir(struct wiimote_data *wdata, const __u8 *payload, in handler_ir()
1383 const __u8 *iter, *mods; in handler_ir()
1404 const __u8 *payload) in handler_status_K()
1413 static void handler_status(struct wiimote_data *wdata, const __u8 *payload) in handler_status()
1441 static void handler_generic_K(struct wiimote_data *wdata, const __u8 *payload) in handler_generic_K()
1446 static void handler_data(struct wiimote_data *wdata, const __u8 *payload) in handler_data()
1449 __u8 size = (payload[2] >> 4) + 1; in handler_data()
1450 __u8 err = payload[2] & 0x0f; in handler_data()
1467 static void handler_return(struct wiimote_data *wdata, const __u8 *payload) in handler_return()
1469 __u8 err = payload[3]; in handler_return()
1470 __u8 cmd = payload[2]; in handler_return()
1483 static void handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KA()
1489 static void handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KE()
1495 static void handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAI()
1505 static void handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KEE()
1511 static void handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KIE()
1521 static void handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAE()
1528 static void handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_KAIE()
1539 static void handler_drm_E(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_E()
1544 static void handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI1()
1556 static void handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload) in handler_drm_SKAI2()
1558 __u8 buf[5]; in handler_drm_SKAI2()
1577 __u8 id;
1579 void (*func)(struct wiimote_data *wdata, const __u8 *payload);
1645 __u8 type; in wiimote_ext_show()
1693 __u8 type; in wiimote_dev_show()