Lines Matching refs:hidpp_dev
410 static int hidpp_send_rap_command_sync(struct hidpp_device *hidpp_dev, in hidpp_send_rap_command_sync() argument
419 !(hidpp_dev->supported_reports & HIDPP_REPORT_SHORT_SUPPORTED)) in hidpp_send_rap_command_sync()
430 max_count = hidpp_dev->very_long_report_length - 4; in hidpp_send_rap_command_sync()
447 ret = hidpp_send_message_sync(hidpp_dev, message, response); in hidpp_send_rap_command_sync()
605 static int hidpp10_set_register(struct hidpp_device *hidpp_dev, in hidpp10_set_register() argument
612 ret = hidpp_send_rap_command_sync(hidpp_dev, in hidpp10_set_register()
625 return hidpp_send_rap_command_sync(hidpp_dev, in hidpp10_set_register()
639 static int hidpp10_enable_battery_reporting(struct hidpp_device *hidpp_dev) in hidpp10_enable_battery_reporting() argument
641 return hidpp10_set_register(hidpp_dev, HIDPP_REG_ENABLE_REPORTS, 0, in hidpp10_enable_battery_reporting()
650 static int hidpp10_enable_scrolling_acceleration(struct hidpp_device *hidpp_dev) in hidpp10_enable_scrolling_acceleration() argument
652 return hidpp10_set_register(hidpp_dev, HIDPP_REG_FEATURES, 0, in hidpp10_enable_scrolling_acceleration()
837 static char *hidpp_unifying_get_name(struct hidpp_device *hidpp_dev) in hidpp_unifying_get_name() argument
845 ret = hidpp_send_rap_command_sync(hidpp_dev, in hidpp_unifying_get_name()
2289 static int hidpp_touchpad_set_raw_report_state(struct hidpp_device *hidpp_dev, in hidpp_touchpad_set_raw_report_state() argument
2306 return hidpp_send_fap_command_sync(hidpp_dev, feature_index, in hidpp_touchpad_set_raw_report_state()
2327 static void hidpp_touchpad_raw_xy_event(struct hidpp_device *hidpp_dev, in hidpp_touchpad_raw_xy_event() argument
3181 struct hidpp_device *hidpp_dev; in m560_send_config_command() local
3183 hidpp_dev = hid_get_drvdata(hdev); in m560_send_config_command()
3186 hidpp_dev, in m560_send_config_command()