最終更新:2014-05-20 (火) 12:57:19 (3622d)  

f_hidg
Top / f_hidg

struct f_hidg {
        /* configuration */
        unsigned char                   bInterfaceSubClass;
        unsigned char                   bInterfaceProtocol;
        unsigned short                  report_desc_length;
        char                            *report_desc;
        unsigned short                  report_length;

        /* recv report */
        struct list_head                completed_out_req;
        spinlock_t                      spinlock;
        wait_queue_head_t               read_queue;
        unsigned int                    qlen;

        /* send report */
        struct mutex                    lock;
        bool                            write_pending;
        wait_queue_head_t               write_queue;
        struct usb_request              *req;

        int                             minor;
        struct cdev                     cdev;
        struct usb_function             func;

        struct usb_ep                   *in_ep;
        struct usb_ep                   *out_ep;
};

メンバ