Lines Matching refs:joycon_ctlr
415 struct joycon_ctlr { struct
519 static void joycon_wait_for_input_report(struct joycon_ctlr *ctlr) in joycon_wait_for_input_report()
556 static void joycon_enforce_subcmd_rate(struct joycon_ctlr *ctlr) in joycon_enforce_subcmd_rate()
598 static int joycon_hid_send_sync(struct joycon_ctlr *ctlr, u8 *data, size_t len, in joycon_hid_send_sync()
638 static int joycon_send_usb(struct joycon_ctlr *ctlr, u8 cmd, u32 timeout) in joycon_send_usb()
652 static int joycon_send_subcmd(struct joycon_ctlr *ctlr, in joycon_send_subcmd()
689 static int joycon_set_player_leds(struct joycon_ctlr *ctlr, u8 flash, u8 on) in joycon_set_player_leds()
702 static int joycon_request_spi_flash_read(struct joycon_ctlr *ctlr, in joycon_request_spi_flash_read()
736 static int joycon_check_for_cal_magic(struct joycon_ctlr *ctlr, u32 flash_addr) in joycon_check_for_cal_magic()
749 static int joycon_read_stick_calibration(struct joycon_ctlr *ctlr, u16 cal_addr, in joycon_read_stick_calibration()
825 static int joycon_request_calibration(struct joycon_ctlr *ctlr) in joycon_request_calibration()
897 static void joycon_calc_imu_cal_divisors(struct joycon_ctlr *ctlr) in joycon_calc_imu_cal_divisors()
926 static int joycon_request_imu_calibration(struct joycon_ctlr *ctlr) in joycon_request_imu_calibration()
993 static int joycon_set_report_mode(struct joycon_ctlr *ctlr) in joycon_set_report_mode()
1006 static int joycon_enable_rumble(struct joycon_ctlr *ctlr) in joycon_enable_rumble()
1019 static int joycon_enable_imu(struct joycon_ctlr *ctlr) in joycon_enable_imu()
1050 static void joycon_input_report_parse_imu_data(struct joycon_ctlr *ctlr, in joycon_input_report_parse_imu_data()
1071 static void joycon_parse_imu_report(struct joycon_ctlr *ctlr, in joycon_parse_imu_report()
1268 static void joycon_parse_report(struct joycon_ctlr *ctlr, in joycon_parse_report()
1460 static int joycon_send_rumble_data(struct joycon_ctlr *ctlr) in joycon_send_rumble_data()
1494 struct joycon_ctlr *ctlr = container_of(work, struct joycon_ctlr, in joycon_rumble_worker()
1576 static void joycon_clamp_rumble_freqs(struct joycon_ctlr *ctlr) in joycon_clamp_rumble_freqs()
1596 static int joycon_set_rumble(struct joycon_ctlr *ctlr, u16 amp_r, u16 amp_l, in joycon_set_rumble()
1657 struct joycon_ctlr *ctlr = input_get_drvdata(dev); in joycon_play_effect()
1688 static int joycon_input_create(struct joycon_ctlr *ctlr) in joycon_input_create()
1861 struct joycon_ctlr *ctlr; in joycon_player_led_brightness_set()
1899 struct joycon_ctlr *ctlr; in joycon_home_led_brightness_set()
1929 static int joycon_leds_create(struct joycon_ctlr *ctlr) in joycon_leds_create()
2014 struct joycon_ctlr *ctlr = power_supply_get_drvdata(supply); in joycon_battery_get_property()
2060 static int joycon_power_supply_create(struct joycon_ctlr *ctlr) in joycon_power_supply_create()
2095 static int joycon_read_info(struct joycon_ctlr *ctlr) in joycon_read_info()
2137 struct joycon_ctlr *ctlr = hid_get_drvdata(hdev); in joycon_init()
2215 static int joycon_ctlr_read_handler(struct joycon_ctlr *ctlr, u8 *data, in joycon_ctlr_read_handler()
2228 static int joycon_ctlr_handle_event(struct joycon_ctlr *ctlr, u8 *data, in joycon_ctlr_handle_event()
2278 struct joycon_ctlr *ctlr = hid_get_drvdata(hdev); in nintendo_hid_event()
2290 struct joycon_ctlr *ctlr; in nintendo_hid_probe()
2396 struct joycon_ctlr *ctlr = hid_get_drvdata(hdev); in nintendo_hid_remove()