wiimote_data
static void wiimote_init_hotplug(struct wiimote_data *wdata)
struct wiimote_data *wdata = container_of(work, struct wiimote_data,
void __wiimote_schedule(struct wiimote_data *wdata)
static void wiimote_schedule(struct wiimote_data *wdata)
static inline void wiiproto_keep_rumble(struct wiimote_data *wdata, __u8 *cmd1)
struct wiimote_data *wdata = timer_container_of(wdata, t, timer);
static void handler_keys(struct wiimote_data *wdata, const __u8 *payload)
static void handler_accel(struct wiimote_data *wdata, const __u8 *payload)
void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble)
static void handler_ext(struct wiimote_data *wdata, const __u8 *payload,
static void handler_ir(struct wiimote_data *wdata, const __u8 *payload,
static void handler_status_K(struct wiimote_data *wdata,
static void handler_status(struct wiimote_data *wdata, const __u8 *payload)
static void handler_generic_K(struct wiimote_data *wdata, const __u8 *payload)
static void handler_data(struct wiimote_data *wdata, const __u8 *payload)
static void handler_return(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KA(struct wiimote_data *wdata, const __u8 *payload)
void wiiproto_req_leds(struct wiimote_data *wdata, int leds)
static void handler_drm_KE(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KAI(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KEE(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KIE(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KAE(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_KAIE(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_E(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_SKAI1(struct wiimote_data *wdata, const __u8 *payload)
static void handler_drm_SKAI2(struct wiimote_data *wdata, const __u8 *payload)
void (*func)(struct wiimote_data *wdata, const __u8 *payload);
struct wiimote_data *wdata = hid_get_drvdata(hdev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
static struct wiimote_data *wiimote_create(struct hid_device *hdev)
struct wiimote_data *wdata;
static void wiimote_destroy(struct wiimote_data *wdata)
struct wiimote_data *wdata;
struct wiimote_data *wdata = hid_get_drvdata(hdev);
static __u8 select_drm(struct wiimote_data *wdata)
void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm)
void wiiproto_req_status(struct wiimote_data *wdata)
void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel)
void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags)
void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags)
static void wiiproto_req_wmem(struct wiimote_data *wdata, bool eeprom,
void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom, __u32 offset,
int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset,
ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset, __u8 *rmem,
static int wiimote_cmd_init_ext(struct wiimote_data *wdata)
static __u8 wiimote_cmd_read_ext(struct wiimote_data *wdata, __u8 *rmem)
struct wiimote_data *wdata = container_of(queue, struct wiimote_data,
static int wiimote_cmd_init_mp(struct wiimote_data *wdata)
static bool wiimote_cmd_map_mp(struct wiimote_data *wdata, __u8 exttype)
static bool wiimote_cmd_read_mp(struct wiimote_data *wdata, __u8 *rmem)
static __u8 wiimote_cmd_read_mp_mapped(struct wiimote_data *wdata)
static void wiimote_modules_load(struct wiimote_data *wdata,
static void wiimote_modules_unload(struct wiimote_data *wdata)
static void wiimote_queue(struct wiimote_data *wdata, const __u8 *buffer,
static void wiimote_ext_load(struct wiimote_data *wdata, unsigned int ext)
static void wiimote_ext_unload(struct wiimote_data *wdata)
static void wiimote_mp_load(struct wiimote_data *wdata)
static void wiimote_mp_unload(struct wiimote_data *wdata)
static void wiimote_init_set_type(struct wiimote_data *wdata,
static void wiimote_init_detect(struct wiimote_data *wdata)
static void wiimote_init_poll_mp(struct wiimote_data *wdata)
static bool wiimote_init_check(struct wiimote_data *wdata)
int wiidebug_init(struct wiimote_data *wdata)
struct wiimote_data *wdata;
void wiidebug_deinit(struct wiimote_data *wdata)
struct wiimote_data *wdata = dbg->wdata;
static void wiimod_classic_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = container_of(work, struct wiimote_data,
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_bboard_in_keys(struct wiimote_data *wdata, const __u8 *keys)
static void wiimod_bboard_in_ext(struct wiimote_data *wdata,
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_pro_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static inline void wiimod_drums_report_pressure(struct wiimote_data *wdata,
static void wiimod_drums_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata = power_supply_get_drvdata(psy);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_guitar_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_turntable_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_mp_in_mp(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata = dev_to_wii(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_accel_in_accel(struct wiimote_data *wdata,
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_ir_in_ir(struct wiimote_data *wdata, const __u8 *ir,
static int wiimod_ir_change(struct wiimote_data *wdata, __u16 mode)
static void wiimod_keys_in_keys(struct wiimote_data *wdata, const __u8 *keys)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
static void wiimod_nunchuk_in_ext(struct wiimote_data *wdata, const __u8 *ext)
struct wiimote_data *wdata)
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata = input_get_drvdata(dev);
struct wiimote_data *wdata)
struct wiimote_data *wdata)
struct wiimote_data *wdata);
struct wiimote_data *wdata);
void (*in_keys) (struct wiimote_data *wdata, const __u8 *keys);
void (*in_accel) (struct wiimote_data *wdata, const __u8 *accel);
void (*in_ir) (struct wiimote_data *wdata, const __u8 *ir, bool packed,
void (*in_mp) (struct wiimote_data *wdata, const __u8 *mp);
void (*in_ext) (struct wiimote_data *wdata, const __u8 *ext);
void __wiimote_schedule(struct wiimote_data *wdata);
extern void wiiproto_req_drm(struct wiimote_data *wdata, __u8 drm);
extern void wiiproto_req_rumble(struct wiimote_data *wdata, __u8 rumble);
extern void wiiproto_req_leds(struct wiimote_data *wdata, int leds);
extern void wiiproto_req_status(struct wiimote_data *wdata);
extern void wiiproto_req_accel(struct wiimote_data *wdata, __u8 accel);
extern void wiiproto_req_ir1(struct wiimote_data *wdata, __u8 flags);
extern void wiiproto_req_ir2(struct wiimote_data *wdata, __u8 flags);
extern int wiimote_cmd_write(struct wiimote_data *wdata, __u32 offset,
extern ssize_t wiimote_cmd_read(struct wiimote_data *wdata, __u32 offset,
extern void wiiproto_req_rmem(struct wiimote_data *wdata, bool eeprom,
extern int wiidebug_init(struct wiimote_data *wdata);
extern void wiidebug_deinit(struct wiimote_data *wdata);
static inline bool wiimote_cmd_pending(struct wiimote_data *wdata, int cmd,
static inline void wiimote_cmd_complete(struct wiimote_data *wdata)
static inline void wiimote_cmd_abort(struct wiimote_data *wdata)
static inline int wiimote_cmd_acquire(struct wiimote_data *wdata)
static inline void wiimote_cmd_acquire_noint(struct wiimote_data *wdata)
static inline void wiimote_cmd_set(struct wiimote_data *wdata, int cmd,
static inline void wiimote_cmd_release(struct wiimote_data *wdata)
static inline int wiimote_cmd_wait(struct wiimote_data *wdata)
static inline int wiimote_cmd_wait_noint(struct wiimote_data *wdata)