Lines Matching defs:hid_device

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