Lines Matching defs:hid_device

491 struct hid_device {							/* device report descriptor */  struct
492 __u8 *dev_rdesc;
493 unsigned dev_rsize;
494 __u8 *rdesc;
495 unsigned rsize;
496 struct hid_collection *collection; /* List of HID collections */
497 unsigned collection_size; /* Number of allocated hid_collections */
498 unsigned maxcollection; /* Number of parsed collections */
499 unsigned maxapplication; /* Number of applications */
500 __u16 bus; /* BUS ID */
501 __u16 group; /* Report group */
502 __u32 vendor; /* Vendor ID */
503 __u32 product; /* Product ID */
504 __u32 version; /* HID version */
505 enum hid_type type; /* device type (mouse, kbd, ...) */
506 unsigned country; /* HID country */
507 struct hid_report_enum report_enum[HID_REPORT_TYPES];
508 struct work_struct led_work; /* delayed LED worker */
510 struct semaphore driver_lock; /* protects the current driver, except during input */
511 struct semaphore driver_input_lock; /* protects the current driver */
512 struct device dev; /* device */
513 struct hid_driver *driver;
514 struct hid_ll_driver *ll_driver;
522 struct power_supply *battery;
523 __s32 battery_min;
547 int (*ff_init)(struct hid_device *); argument
550 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
551 void (*hiddev_disconnect)(struct hid_device *); argument
552 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
554 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
566 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata() argument