Lines Matching defs:hid_device

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