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