Lines Matching defs:hid_device

605 struct hid_device {  struct
606 const __u8 *dev_rdesc; /* device report descriptor */
607 const __u8 *bpf_rdesc; /* bpf modified report descriptor, if any */
608 const __u8 *rdesc; /* currently used report descriptor */
609 unsigned int dev_rsize;
610 unsigned int bpf_rsize;
611 unsigned int rsize;
612 unsigned int collection_size; /* Number of allocated hid_collections */
613 struct hid_collection *collection; /* List of HID collections */
614 unsigned int maxcollection; /* Number of parsed collections */
615 unsigned int maxapplication; /* Number of applications */
616 __u16 bus; /* BUS ID */
617 __u16 group; /* Report group */
618 __u32 vendor; /* Vendor ID */
619 __u32 product; /* Product ID */
620 __u32 version; /* HID version */
621 enum hid_type type; /* device type (mouse, kbd, ...) */
622 unsigned country; /* HID country */
623 struct hid_report_enum report_enum[HID_REPORT_TYPES];
624 struct work_struct led_work; /* delayed LED worker */
626 struct semaphore driver_input_lock; /* protects the current driver */
627 struct device dev; /* device */
628 struct hid_driver *driver;
629 void *devres_group_id; /* ID of probe devres group */
631 const struct hid_ll_driver *ll_driver;
632 struct mutex ll_open_lock;
633 unsigned int ll_open_count;
641 struct power_supply *battery;
642 __s32 battery_capacity;
643 __s32 battery_min;
644 __s32 battery_max;
645 __s32 battery_report_type;
646 __s32 battery_report_id;
670 int (*ff_init)(struct hid_device *); argument
673 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
674 void (*hiddev_disconnect)(struct hid_device *); argument
675 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
677 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
699 container_of(pdev, struct hid_device, dev) argument