Lines Matching defs:hid_device
551 struct hid_device { /* device report descriptor */ struct
552 __u8 *dev_rdesc;
553 unsigned dev_rsize;
554 __u8 *rdesc;
555 unsigned rsize;
556 struct hid_collection *collection; /* List of HID collections */
557 unsigned collection_size; /* Number of allocated hid_collections */
558 unsigned maxcollection; /* Number of parsed collections */
559 unsigned maxapplication; /* Number of applications */
560 __u16 bus; /* BUS ID */
561 __u16 group; /* Report group */
562 __u32 vendor; /* Vendor ID */
563 __u32 product; /* Product ID */
564 __u32 version; /* HID version */
565 enum hid_type type; /* device type (mouse, kbd, ...) */
566 unsigned country; /* HID country */
567 struct hid_report_enum report_enum[HID_REPORT_TYPES];
568 struct work_struct led_work; /* delayed LED worker */
570 struct semaphore driver_input_lock; /* protects the current driver */
571 struct device dev; /* device */
572 struct hid_driver *driver;
574 struct hid_ll_driver *ll_driver;
575 struct mutex ll_open_lock;
576 unsigned int ll_open_count;
584 struct power_supply *battery;
585 __s32 battery_capacity;
586 __s32 battery_min;
610 int (*ff_init)(struct hid_device *); argument
613 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
614 void (*hiddev_disconnect)(struct hid_device *); argument
615 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
617 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
630 container_of(pdev, struct hid_device, dev) argument