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