Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/mutex.h>
#include <linux/timer.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/input.h>
Go to the source code of this file.
Data Structures | |
struct | usbhid_device |
Macros | |
#define | HID_CTRL_RUNNING 1 |
#define | HID_OUT_RUNNING 2 |
#define | HID_IN_RUNNING 3 |
#define | HID_RESET_PENDING 4 |
#define | HID_SUSPENDED 5 |
#define | HID_CLEAR_HALT 6 |
#define | HID_DISCONNECTED 7 |
#define | HID_STARTED 8 |
#define | HID_KEYS_PRESSED 10 |
#define | HID_NO_BANDWIDTH 11 |
#define | hid_to_usb_dev(hid_dev) container_of(hid_dev->dev.parent->parent, struct usb_device, dev) |
Functions | |
int | usbhid_wait_io (struct hid_device *hid) |
void | usbhid_close (struct hid_device *hid) |
int | usbhid_open (struct hid_device *hid) |
void | usbhid_init_reports (struct hid_device *hid) |
void | usbhid_submit_report (struct hid_device *hid, struct hid_report *report, unsigned char dir) |
int | usbhid_get_power (struct hid_device *hid) |
void | usbhid_put_power (struct hid_device *hid) |
struct usb_interface * | usbhid_find_interface (int minor) |
#define hid_to_usb_dev | ( | hid_dev | ) | container_of(hid_dev->dev.parent->parent, struct usb_device, dev) |
void usbhid_close | ( | struct hid_device * | hid | ) |
Definition at line 782 of file hid-core.c.
|
read |
Definition at line 1609 of file hid-core.c.
int usbhid_get_power | ( | struct hid_device * | hid | ) |
Definition at line 1450 of file hid-core.c.
void usbhid_init_reports | ( | struct hid_device * | hid | ) |
Definition at line 808 of file hid-core.c.
int usbhid_open | ( | struct hid_device * | hid | ) |
Definition at line 748 of file hid-core.c.
void usbhid_put_power | ( | struct hid_device * | hid | ) |
Definition at line 1457 of file hid-core.c.
void usbhid_submit_report | ( | struct hid_device * | hid, |
struct hid_report * | report, | ||
unsigned char | dir | ||
) |
Definition at line 642 of file hid-core.c.
int usbhid_wait_io | ( | struct hid_device * | hid | ) |
Definition at line 709 of file hid-core.c.