Lines Matching defs:hdev
78 hid_warn(wacom->hdev, "%s: tool appears to be hung in-prox. forcing it out.\n", __func__);
503 re = &(wacom->hdev->report_enum[HID_FEATURE_REPORT]);
509 hid_hw_request(wacom->hdev, r, HID_REQ_GET_REPORT);
1110 hid_dbg(wacom->hdev, "%s: received unknown report #%d",
1216 hid_err(wacom->hdev, "Can't queue Remote status event.\n");
1969 static void wacom_wac_battery_usage_mapping(struct hid_device *hdev,
1975 static void wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field,
1978 struct wacom *wacom = hid_get_drvdata(hdev);
2012 static void wacom_wac_battery_pre_report(struct hid_device *hdev,
2018 static void wacom_wac_battery_report(struct hid_device *hdev,
2021 struct wacom *wacom = hid_get_drvdata(hdev);
2034 static void wacom_wac_pad_usage_mapping(struct hid_device *hdev,
2037 struct wacom *wacom = hid_get_drvdata(hdev);
2140 static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field,
2143 struct wacom *wacom = hid_get_drvdata(hdev);
2196 if (hdev->vendor == 0x56a &&
2197 (hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */
2198 hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */
2199 hdev->product == 0x392 || /* Intuos Pro 2 */
2200 hdev->product == 0x398 || hdev->product == 0x399 || /* MobileStudio Pro */
2201 hdev->product == 0x3AA)) { /* MobileStudio Pro */
2204 if (hdev->product == 0x357 || hdev->product == 0x358 ||
2205 hdev->product == 0x392)
2207 else if (hdev->product == 0x34d || hdev->product == 0x34e ||
2208 hdev->product == 0x398 || hdev->product == 0x399 ||
2209 hdev->product == 0x3AA)
2246 static void wacom_wac_pad_pre_report(struct hid_device *hdev,
2249 struct wacom *wacom = hid_get_drvdata(hdev);
2255 static void wacom_wac_pad_report(struct hid_device *hdev,
2258 struct wacom *wacom = hid_get_drvdata(hdev);
2272 static void wacom_wac_pen_usage_mapping(struct hid_device *hdev,
2275 struct wacom *wacom = hid_get_drvdata(hdev);
2351 static void wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field,
2354 struct wacom *wacom = hid_get_drvdata(hdev);
2439 hid_warn(hdev, "%s: overriding existing left offset "
2446 hid_warn(hdev, "%s: overriding existing right offset "
2453 hid_warn(hdev, "%s: overriding existing top offset "
2460 hid_warn(hdev, "%s: overriding existing bottom offset "
2483 static void wacom_wac_pen_pre_report(struct hid_device *hdev,
2486 struct wacom *wacom = hid_get_drvdata(hdev);
2493 static void wacom_wac_pen_report(struct hid_device *hdev,
2496 struct wacom *wacom = hid_get_drvdata(hdev);
2566 static void wacom_wac_finger_usage_mapping(struct hid_device *hdev,
2569 struct wacom *wacom = hid_get_drvdata(hdev);
2662 static void wacom_wac_finger_event(struct hid_device *hdev,
2665 struct wacom *wacom = hid_get_drvdata(hdev);
2702 hid_warn(hdev, "%s: ignoring attempt to overwrite non-zero touch_max "
2714 static void wacom_wac_finger_pre_report(struct hid_device *hdev,
2717 struct wacom *wacom = hid_get_drvdata(hdev);
2774 static void wacom_wac_finger_report(struct hid_device *hdev,
2777 struct wacom *wacom = hid_get_drvdata(hdev);
2800 void wacom_wac_usage_mapping(struct hid_device *hdev,
2803 struct wacom *wacom = hid_get_drvdata(hdev);
2812 wacom_wac_battery_usage_mapping(hdev, field, usage);
2814 wacom_wac_pad_usage_mapping(hdev, field, usage);
2816 wacom_wac_pen_usage_mapping(hdev, field, usage);
2818 wacom_wac_finger_usage_mapping(hdev, field, usage);
2821 void wacom_wac_event(struct hid_device *hdev, struct hid_field *field,
2824 struct wacom *wacom = hid_get_drvdata(hdev);
2834 wacom_wac_battery_event(hdev, field, usage, value);
2836 wacom_wac_pad_event(hdev, field, usage, value);
2838 wacom_wac_pen_event(hdev, field, usage, value);
2840 wacom_wac_finger_event(hdev, field, usage, value);
2843 static void wacom_report_events(struct hid_device *hdev,
2861 wacom_wac_event(hdev, field, &field->usage[n],
2869 static int wacom_wac_collection(struct hid_device *hdev, struct hid_report *report,
2873 struct wacom *wacom = hid_get_drvdata(hdev);
2875 wacom_report_events(hdev, report, collection_index, field_index);
2890 wacom_wac_pen_report(hdev, report);
2892 wacom_wac_finger_report(hdev, report);
2897 void wacom_wac_report(struct hid_device *hdev, struct hid_report *report)
2899 struct wacom *wacom = hid_get_drvdata(hdev);
2923 wacom_wac_battery_pre_report(hdev, report);
2926 wacom_wac_pad_pre_report(hdev, report);
2928 wacom_wac_pen_pre_report(hdev, report);
2930 wacom_wac_finger_pre_report(hdev, report);
2936 if (wacom_wac_collection(hdev, report,
2943 wacom_wac_battery_report(hdev, report);
2946 wacom_wac_pad_report(hdev, report, field);
3637 if (wacom->hdev->bus == BUS_BLUETOOTH)
3662 if (wacom->hdev->product == 0x382 || wacom->hdev->product == 0x37d) {
4024 hid_err(wacom->hdev, "can't find LED %d in group %d\n",
4073 hid_err(wacom->hdev, "can't find current LED %d in group %d\n",
4088 hid_err(wacom->hdev, "can't find next LED in group %d\n",