Lines Matching refs:device
427 hid_dbg(dev, "device %x:%x:%x %d quirks %d\n", dev->bus, dev->vendor, dev->product, dev->version, quirks);
468 * Stylus is normally not connected to the device and thus we
469 * can't query the device and get meaningful battery strength.
470 * We have to wait for the device to report it on its own.
541 struct hid_device *device = input_get_drvdata(input);
561 if (device->driver->input_mapping) {
562 int ret = device->driver->input_mapping(device, hidinput, field, usage, &bit, &max);
722 * device as a joystick then.
867 device->quirks |= HID_QUIRK_NOTOUCH;
889 hidinput_setup_battery(device, HID_INPUT_REPORT, field);
908 device->quirks &= ~HID_QUIRK_NOTOUCH;
1513 hidinput_setup_battery(device, HID_INPUT_REPORT, field);
1630 if (device->driver->input_mapped && device->driver->input_mapped(device, hidinput, field, usage, &bit, &max) < 0) {
1656 if (device->quirks & HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE) {
1659 device->status |= HID_STAT_DUP_DETECTED;
1672 if ((device->quirks & HID_QUIRK_BADPAD) && (usage->code == ABS_X || usage->code == ABS_Y)) {
1993 * field (even garbage). So the remote device will always get a valid
2098 * But if we're not allowed to read from the device,
2099 * we just bail. Such a device should not exist
2337 struct hid_device *hid = report->device;
2352 struct hid_device *hid = report->device;
2377 * Register the input device; print a message.
2461 /* no need to register an input device not populated */