Lines Matching defs:hid

16 #include <linux/hid.h>
28 #include "hid-ids.h"
109 * bluetooth. The message lengths are defined by the hid vendor specific report
2776 struct hid_device *hid = to_hid_device(dev);
2777 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
2786 struct hid_device *hid = to_hid_device(dev);
2787 struct hid_input *hidinput = list_entry(hid->inputs.next, struct hid_input, list);
2808 struct hid_device *hid = data->hidpp->hid_dev;
2810 hid_info(hid, "Unloading HID++ force feedback.\n");
2812 device_remove_file(&hid->dev, &dev_attr_range);
2820 struct hid_device *hid = hidpp->hid_dev;
2829 if (!hid_is_usb(hid)) {
2830 hid_err(hid, "device is not USB\n");
2834 if (list_empty(&hid->inputs)) {
2835 hid_err(hid, "no inputs found\n");
2838 hidinput = list_entry(hid->inputs.next, struct hid_input, list);
2842 hid_err(hid, "Struct input_dev not set!\n");
2847 udesc = &(hid_to_usb_dev(hid)->descriptor);
2906 hid_info(hid, "Force feedback support loaded (firmware release %d).\n",
3511 if ((usage->hid & HID_USAGE_PAGE) != HID_UP_LOGIVENDOR)
3514 switch (usage->hid & HID_USAGE) {
3883 * We return 1 to hid-core to avoid forwarding the
3965 hid_err(hdev, "received hid++ report of bad size (%d)",
3973 hid_err(hdev, "received hid++ report of bad size (%d)",
3981 hid_err(hdev, "received hid++ report of bad size (%d)",
4147 struct hid_device *hid = input_get_drvdata(dev);
4149 return hid_hw_open(hid);
4154 struct hid_device *hid = input_get_drvdata(dev);
4156 hid_hw_close(hid);
4445 * hid subdrivers (hid-input, hidraw). This allows retrieving the dev's
4447 * before the hid-input and hidraw drivers expose these to userspace.
4668 MODULE_DEVICE_TABLE(hid, hidpp_devices);