Lines Matching defs:hid_device
469 struct hid_device { /* device report descriptor */ struct
470 __u8 *rdesc;
471 unsigned rsize;
472 struct hid_collection *collection; /* List of HID collections */
473 unsigned collection_size; /* Number of allocated hid_collections */
474 unsigned maxcollection; /* Number of parsed collections */
475 unsigned maxapplication; /* Number of applications */
476 __u16 bus; /* BUS ID */
477 __u32 vendor; /* Vendor ID */
478 __u32 product; /* Product ID */
479 __u32 version; /* HID version */
480 enum hid_type type; /* device type (mouse, kbd, ...) */
481 unsigned country; /* HID country */
482 struct hid_report_enum report_enum[HID_REPORT_TYPES];
484 struct semaphore driver_lock; /* protects the current driver */
485 struct device dev; /* device */
486 struct hid_driver *driver;
487 struct hid_ll_driver *ll_driver;
495 struct power_supply battery;
519 int (*ff_init)(struct hid_device *); argument
522 int (*hiddev_connect)(struct hid_device *, unsigned int); argument
523 void (*hiddev_disconnect)(struct hid_device *); argument
524 void (*hiddev_hid_event) (struct hid_device *, struct hid_field *field, argument
526 void (*hiddev_report_event) (struct hid_device *, struct hid_report *); argument
529 int (*hid_get_raw_report) (struct hid_device *, unsigned char, __u8 *, size_t, unsigned char); argument
532 int (*hid_output_raw_report) (struct hid_device *, __u8 *, size_t, unsigned char); argument
543 static inline void *hid_get_drvdata(struct hid_device *hdev) in hid_get_drvdata() argument