Lines Matching refs:hid_dev

182 	struct hid_device *hid_dev;  member
304 ret = __hidpp_send_report(hidpp->hid_dev, message); in __do_hidpp_send_message_sync()
380 hid_dbg(hidpp->hid_dev, in hidpp_send_fap_command_sync()
518 struct hid_device *hdev = hidpp->hid_dev; in hidpp_update_usb_wireless_status()
905 struct hid_device *hdev = hidpp->hid_dev; in hidpp_unifying_init()
985 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_root_get_protocol_version()
993 hid_err(hidpp->hid_dev, "%s: ping mismatch 0x%02x != 0x%02x\n", in hidpp_root_get_protocol_version()
1002 hid_info(hidpp->hid_dev, "HID++ %u.%u device connected.\n", in hidpp_root_get_protocol_version()
1041 struct hid_device *hdev = hidpp->hid_dev; in hidpp_serial_init()
1075 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_devicenametype_get_count()
1099 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_devicenametype_get_device_name()
1260 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_batterylevel_get_battery_capacity()
1286 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_batterylevel_get_battery_info()
1443 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_battery_get_battery_voltage()
1458 static int hidpp20_map_battery_capacity(struct hid_device *hid_dev, int voltage) in hidpp20_map_battery_capacity() argument
1481 hid_warn_once(hid_dev, in hidpp20_map_battery_capacity()
1516 hidpp->battery.capacity = hidpp20_map_battery_capacity(hidpp->hid_dev, in hidpp20_query_battery_voltage_info()
1542 hidpp->battery.capacity = hidpp20_map_battery_capacity(hidpp->hid_dev, in hidpp20_battery_voltage_event()
1592 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_unifiedbattery_get_capabilities()
1636 hid_info(hidpp->hid_dev, "%s: charging error", in hidpp20_unifiedbattery_map_status()
1682 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_unifiedbattery_get_status()
1816 val->strval = hidpp->hid_dev->uniq; in hidpp_battery_get_property()
1860 static int hidpp20_map_adc_measurement_1f20_capacity(struct hid_device *hid_dev, int voltage) in hidpp20_map_adc_measurement_1f20_capacity() argument
1888 hid_warn_once(hid_dev, in hidpp20_map_adc_measurement_1f20_capacity()
1947 hid_dbg(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp20_get_adc_measurement_1f20()
1976 hidpp->battery.capacity = hidpp20_map_adc_measurement_1f20_capacity(hidpp->hid_dev, in hidpp20_query_adc_measurement_info_1f20()
2000 hidpp->battery.capacity = hidpp20_map_adc_measurement_1f20_capacity(hidpp->hid_dev, voltage); in hidpp20_adc_measurement_event_1f20()
2073 hid_warn(hidpp->hid_dev, in hidpp_hrw_get_wheel_capability()
2134 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_solar_request_battery_event()
2227 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_touchpad_fw_items_set()
2297 hid_err(hidpp->hid_dev, "%s: received protocol error 0x%02x\n", in hidpp_touchpad_get_raw_info()
2506 hid_err(data->hidpp->hid_dev, "Failed to send command to device!\n"); in hidpp_ff_work_handler()
2568 …hid_warn(data->hidpp->hid_dev, "Force feedback command queue contains %d commands, causing substan… in hidpp_ff_queue_work()
2627 …hid_err(data->hidpp->hid_dev, "Unexpected periodic waveform type %i!\n", effect->u.periodic.wavefo… in hidpp_ff_upload_effect()
2712 hid_err(data->hidpp->hid_dev, "Unexpected force type %i!\n", effect->type); in hidpp_ff_upload_effect()
2812 struct hid_device *hid = data->hidpp->hid_dev; in hidpp_ff_destroy()
2824 struct hid_device *hid = hidpp->hid_dev; in hidpp_ff_init()
2903 error = device_create_file(&(hidpp->hid_dev->dev), &dev_attr_range); in hidpp_ff_init()
2905 hid_warn(hidpp->hid_dev, "Unable to create sysfs interface for \"range\", errno %d!\n", error); in hidpp_ff_init()
3434 hid_warn(hidpp->hid_dev, "Failed to autocenter device!\n"); in g920_ff_set_autocenter()
3464 hid_err(hidpp->hid_dev, in g920_get_config()
3477 hid_warn(hidpp->hid_dev, "Failed to reset all forces!\n"); in g920_get_config()
3484 hid_warn(hidpp->hid_dev, in g920_get_config()
3496 hid_warn(hidpp->hid_dev, in g920_get_config()
3689 hid_report_raw_event(hidpp->hid_dev, HID_INPUT_REPORT, in hidpp10_consumer_keys_raw_event()
3716 hid_dbg(hidpp->hid_dev, in hi_res_scroll_enable()
3722 hid_dbg(hidpp->hid_dev, in hi_res_scroll_enable()
3728 hid_dbg(hidpp->hid_dev, "wheel multiplier = %d\n", multiplier); in hi_res_scroll_enable()
3747 hid_dbg(hidpp->hid_dev, "Detected HID++ 2.0 hi-res scroll wheel\n"); in hidpp_initialize_hires_scroll()
3754 hid_dbg(hidpp->hid_dev, "Detected HID++ 2.0 hi-res scrolling\n"); in hidpp_initialize_hires_scroll()
3760 hid_dbg(hidpp->hid_dev, "Detected HID++ 1.0 fast scroll\n"); in hidpp_initialize_hires_scroll()
3765 hid_dbg(hidpp->hid_dev, "Did not detect HID++ hi-res scrolling hardware support\n"); in hidpp_initialize_hires_scroll()
3903 if (hidpp->hid_dev->group == HID_GROUP_LOGITECH_27MHZ_DEVICE && in hidpp_raw_hidpp_event()
3907 dev_err_ratelimited(&hidpp->hid_dev->dev, in hidpp_raw_hidpp_event()
3909 dev_err_ratelimited(&hidpp->hid_dev->dev, in hidpp_raw_hidpp_event()
4086 battery_props = devm_kmemdup(&hidpp->hid_dev->dev, in hidpp_initialize_battery()
4122 battery->ps = devm_power_supply_register(&hidpp->hid_dev->dev, in hidpp_initialize_battery()
4128 power_supply_powers(battery->ps, &hidpp->hid_dev->dev); in hidpp_initialize_battery()
4193 struct hid_device *hdev = hidpp->hid_dev; in hidpp_connect_event()
4272 if (!hid_is_usb(hidpp->hid_dev)) in hidpp_connect_event()
4409 hidpp->hid_dev = hdev; in hidpp_probe()
4487 else if (hid_is_usb(hidpp->hid_dev)) in hidpp_probe()
4528 hid_warn(hidpp->hid_dev, in hidpp_probe()