Lines Matching defs:hdev

73 	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);
1117 hid_dbg(wacom->hdev, "%s: received unknown report #%d",
1221 hid_err(wacom->hdev, "Can't queue Remote status event.\n");
1967 static void wacom_wac_battery_usage_mapping(struct hid_device *hdev,
1973 static void wacom_wac_battery_event(struct hid_device *hdev, struct hid_field *field,
1976 struct wacom *wacom = hid_get_drvdata(hdev);
2010 static void wacom_wac_battery_pre_report(struct hid_device *hdev,
2016 static void wacom_wac_battery_report(struct hid_device *hdev,
2019 struct wacom *wacom = hid_get_drvdata(hdev);
2032 static void wacom_wac_pad_usage_mapping(struct hid_device *hdev,
2035 struct wacom *wacom = hid_get_drvdata(hdev);
2141 static void wacom_wac_pad_event(struct hid_device *hdev, struct hid_field *field,
2144 struct wacom *wacom = hid_get_drvdata(hdev);
2197 if (hdev->vendor == 0x56a &&
2198 (hdev->product == 0x34d || hdev->product == 0x34e || /* MobileStudio Pro */
2199 hdev->product == 0x357 || hdev->product == 0x358 || /* Intuos Pro 2 */
2200 hdev->product == 0x392 || /* Intuos Pro 2 */
2201 hdev->product == 0x398 || hdev->product == 0x399 || /* MobileStudio Pro */
2202 hdev->product == 0x3AA)) { /* MobileStudio Pro */
2205 if (hdev->product == 0x357 || hdev->product == 0x358 ||
2206 hdev->product == 0x392)
2208 else if (hdev->product == 0x34d || hdev->product == 0x34e ||
2209 hdev->product == 0x398 || hdev->product == 0x399 ||
2210 hdev->product == 0x3AA)
2247 static void wacom_wac_pad_pre_report(struct hid_device *hdev,
2250 struct wacom *wacom = hid_get_drvdata(hdev);
2256 static void wacom_wac_pad_report(struct hid_device *hdev,
2259 struct wacom *wacom = hid_get_drvdata(hdev);
2288 static void wacom_wac_pen_usage_mapping(struct hid_device *hdev,
2291 struct wacom *wacom = hid_get_drvdata(hdev);
2373 static void wacom_wac_pen_event(struct hid_device *hdev, struct hid_field *field,
2376 struct wacom *wacom = hid_get_drvdata(hdev);
2461 hid_warn(hdev, "%s: overriding existing left offset "
2468 hid_warn(hdev, "%s: overriding existing right offset "
2475 hid_warn(hdev, "%s: overriding existing top offset "
2482 hid_warn(hdev, "%s: overriding existing bottom offset "
2495 hid_warn(hdev, "Dropped %hu packets", (unsigned short)(value - wacom_wac->hid_data.sequence_number));
2513 static void wacom_wac_pen_pre_report(struct hid_device *hdev,
2516 struct wacom *wacom = hid_get_drvdata(hdev);
2523 static void wacom_wac_pen_report(struct hid_device *hdev,
2526 struct wacom *wacom = hid_get_drvdata(hdev);
2600 static void wacom_wac_finger_usage_mapping(struct hid_device *hdev,
2603 struct wacom *wacom = hid_get_drvdata(hdev);
2710 static void wacom_wac_finger_event(struct hid_device *hdev,
2713 struct wacom *wacom = hid_get_drvdata(hdev);
2753 hid_warn(hdev, "%s: ignoring attempt to overwrite non-zero touch_max "
2765 static void wacom_wac_finger_pre_report(struct hid_device *hdev,
2768 struct wacom *wacom = hid_get_drvdata(hdev);
2828 static void wacom_wac_finger_report(struct hid_device *hdev,
2831 struct wacom *wacom = hid_get_drvdata(hdev);
2858 void wacom_wac_usage_mapping(struct hid_device *hdev,
2861 struct wacom *wacom = hid_get_drvdata(hdev);
2870 wacom_wac_battery_usage_mapping(hdev, field, usage);
2872 wacom_wac_pad_usage_mapping(hdev, field, usage);
2874 wacom_wac_pen_usage_mapping(hdev, field, usage);
2876 wacom_wac_finger_usage_mapping(hdev, field, usage);
2879 void wacom_wac_event(struct hid_device *hdev, struct hid_field *field,
2882 struct wacom *wacom = hid_get_drvdata(hdev);
2892 wacom_wac_battery_event(hdev, field, usage, value);
2894 wacom_wac_pad_event(hdev, field, usage, value);
2896 wacom_wac_pen_event(hdev, field, usage, value);
2898 wacom_wac_finger_event(hdev, field, usage, value);
2901 static void wacom_report_events(struct hid_device *hdev,
2919 wacom_wac_event(hdev, field, &field->usage[n],
2927 static int wacom_wac_collection(struct hid_device *hdev, struct hid_report *report,
2931 struct wacom *wacom = hid_get_drvdata(hdev);
2933 wacom_report_events(hdev, report, collection_index, field_index);
2948 wacom_wac_pen_report(hdev, report);
2950 wacom_wac_finger_report(hdev, report);
2955 void wacom_wac_report(struct hid_device *hdev, struct hid_report *report)
2957 struct wacom *wacom = hid_get_drvdata(hdev);
2981 wacom_wac_battery_pre_report(hdev, report);
2984 wacom_wac_pad_pre_report(hdev, report);
2986 wacom_wac_pen_pre_report(hdev, report);
2988 wacom_wac_finger_pre_report(hdev, report);
2994 if (wacom_wac_collection(hdev, report,
3001 wacom_wac_battery_report(hdev, report);
3004 wacom_wac_pad_report(hdev, report, field);
3689 if (wacom->hdev->bus == BUS_BLUETOOTH)
3714 if (wacom->hdev->product == 0x382 || wacom->hdev->product == 0x37d) {
4075 hid_err(wacom->hdev, "can't find LED %d in group %d\n",
4124 hid_err(wacom->hdev, "can't find current LED %d in group %d\n",
4139 hid_err(wacom->hdev, "can't find next LED in group %d\n",