Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
hid_device Struct Reference

#include <hid.h>

Data Fields

__u8dev_rdesc
 
unsigned dev_rsize
 
__u8rdesc
 
unsigned rsize
 
struct hid_collectioncollection
 
unsigned collection_size
 
unsigned maxcollection
 
unsigned maxapplication
 
__u16 bus
 
__u16 group
 
__u32 vendor
 
__u32 product
 
__u32 version
 
enum hid_type type
 
unsigned country
 
struct hid_report_enum report_enum [HID_REPORT_TYPES]
 
struct semaphore driver_lock
 
struct device dev
 
struct hid_driverdriver
 
struct hid_ll_driverll_driver
 
unsigned int status
 
unsigned claimed
 
unsigned quirks
 
struct list_head inputs
 
voidhiddev
 
voidhidraw
 
int minor
 
int open
 
char name [128]
 
char phys [64]
 
char uniq [64]
 
voiddriver_data
 
int(* ff_init )(struct hid_device *)
 
int(* hiddev_connect )(struct hid_device *, unsigned int)
 
void(* hiddev_disconnect )(struct hid_device *)
 
void(* hiddev_hid_event )(struct hid_device *, struct hid_field *field, struct hid_usage *, __s32)
 
void(* hiddev_report_event )(struct hid_device *, struct hid_report *)
 
int(* hid_get_raw_report )(struct hid_device *, unsigned char, __u8 *, size_t, unsigned char)
 
int(* hid_output_raw_report )(struct hid_device *, __u8 *, size_t, unsigned char)
 
unsigned short debug
 
struct dentrydebug_dir
 
struct dentrydebug_rdesc
 
struct dentrydebug_events
 
struct list_head debug_list
 
wait_queue_head_t debug_wait
 

Detailed Description

Definition at line 438 of file hid.h.

Field Documentation

__u16 bus

Definition at line 447 of file hid.h.

unsigned claimed

Definition at line 475 of file hid.h.

struct hid_collection* collection

Definition at line 443 of file hid.h.

unsigned collection_size

Definition at line 444 of file hid.h.

unsigned country

Definition at line 453 of file hid.h.

unsigned short debug

Definition at line 507 of file hid.h.

struct dentry* debug_dir

Definition at line 508 of file hid.h.

struct dentry* debug_events

Definition at line 510 of file hid.h.

struct list_head debug_list

Definition at line 511 of file hid.h.

struct dentry* debug_rdesc

Definition at line 509 of file hid.h.

wait_queue_head_t debug_wait

Definition at line 512 of file hid.h.

Definition at line 457 of file hid.h.

__u8* dev_rdesc

Definition at line 439 of file hid.h.

unsigned dev_rsize

Definition at line 440 of file hid.h.

struct hid_driver* driver

Definition at line 458 of file hid.h.

Definition at line 488 of file hid.h.

struct semaphore driver_lock

Definition at line 456 of file hid.h.

int(* ff_init)(struct hid_device *)

Definition at line 491 of file hid.h.

__u16 group

Definition at line 448 of file hid.h.

int(* hid_get_raw_report)(struct hid_device *, unsigned char, __u8 *, size_t, unsigned char)

Definition at line 501 of file hid.h.

int(* hid_output_raw_report)(struct hid_device *, __u8 *, size_t, unsigned char)

Definition at line 504 of file hid.h.

Definition at line 479 of file hid.h.

int(* hiddev_connect)(struct hid_device *, unsigned int)

Definition at line 494 of file hid.h.

void(* hiddev_disconnect)(struct hid_device *)

Definition at line 495 of file hid.h.

Definition at line 496 of file hid.h.

void(* hiddev_report_event)(struct hid_device *, struct hid_report *)

Definition at line 498 of file hid.h.

Definition at line 480 of file hid.h.

struct list_head inputs

Definition at line 478 of file hid.h.

struct hid_ll_driver* ll_driver

Definition at line 459 of file hid.h.

unsigned maxapplication

Definition at line 446 of file hid.h.

unsigned maxcollection

Definition at line 445 of file hid.h.

int minor

Definition at line 481 of file hid.h.

char name[128]

Definition at line 484 of file hid.h.

int open

Definition at line 483 of file hid.h.

char phys[64]

Definition at line 485 of file hid.h.

Definition at line 450 of file hid.h.

unsigned quirks

Definition at line 476 of file hid.h.

__u8* rdesc

Definition at line 441 of file hid.h.

Definition at line 454 of file hid.h.

unsigned rsize

Definition at line 442 of file hid.h.

unsigned int status

Definition at line 474 of file hid.h.

enum hid_type type

Definition at line 452 of file hid.h.

char uniq[64]

Definition at line 486 of file hid.h.

Definition at line 449 of file hid.h.

__u32 version

Definition at line 451 of file hid.h.


The documentation for this struct was generated from the following file: