Lines Matching defs:hid_device
575 struct hid_device { /* device report descriptor */ struct
576 __u8 *dev_rdesc;
577 unsigned dev_rsize;
578 __u8 *rdesc;
579 unsigned rsize;
580 struct hid_collection *collection; /* List of HID collections */
581 unsigned collection_size; /* Number of allocated hid_collections */
582 unsigned maxcollection; /* Number of parsed collections */
583 unsigned maxapplication; /* Number of applications */
584 __u16 bus; /* BUS ID */
585 __u16 group; /* Report group */
586 __u32 vendor; /* Vendor ID */
587 __u32 product; /* Product ID */
588 __u32 version; /* HID version */
589 enum hid_type type; /* device type (mouse, kbd, ...) */
590 unsigned country; /* HID country */
591 struct hid_report_enum report_enum[HID_REPORT_TYPES];
592 struct work_struct led_work; /* delayed LED worker */
594 struct semaphore driver_input_lock; /* protects the current driver */
595 struct device dev; /* device */
596 struct hid_driver *driver;
598 struct hid_ll_driver *ll_driver;
599 struct mutex ll_open_lock;
600 unsigned int ll_open_count;
608 struct power_supply *battery;
609 __s32 battery_capacity;
610 __s32 battery_min;
611 __s32 battery_max;
635 int (*ff_init)(struct hid_device *); argument
638 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
639 void (*hiddev_disconnect)(struct hid_device *); argument
640 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
642 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
657 container_of(pdev, struct hid_device, dev) argument