Lines Matching defs:hid_device
602 struct hid_device { /* device report descriptor */ struct
603 __u8 *dev_rdesc;
604 unsigned dev_rsize;
605 __u8 *rdesc;
606 unsigned rsize;
607 struct hid_collection *collection; /* List of HID collections */
608 unsigned collection_size; /* Number of allocated hid_collections */
609 unsigned maxcollection; /* Number of parsed collections */
610 unsigned maxapplication; /* Number of applications */
611 __u16 bus; /* BUS ID */
612 __u16 group; /* Report group */
613 __u32 vendor; /* Vendor ID */
614 __u32 product; /* Product ID */
615 __u32 version; /* HID version */
616 enum hid_type type; /* device type (mouse, kbd, ...) */
617 unsigned country; /* HID country */
618 struct hid_report_enum report_enum[HID_REPORT_TYPES];
619 struct work_struct led_work; /* delayed LED worker */
621 struct semaphore driver_input_lock; /* protects the current driver */
622 struct device dev; /* device */
623 struct hid_driver *driver;
624 void *devres_group_id; /* ID of probe devres group */
626 const struct hid_ll_driver *ll_driver;
627 struct mutex ll_open_lock;
628 unsigned int ll_open_count;
636 struct power_supply *battery;
637 __s32 battery_capacity;
638 __s32 battery_min;
639 __s32 battery_max;
640 __s32 battery_report_type;
641 __s32 battery_report_id;
665 int (*ff_init)(struct hid_device *); argument
668 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
669 void (*hiddev_disconnect)(struct hid_device *); argument
670 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
672 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
694 container_of(pdev, struct hid_device, dev) argument