usbhid.h (df9b42963f2d010ae3163a894ce22cf6b27cd344) | usbhid.h (d881427253da011495f4193663d809d0e9dfa215) |
---|---|
1#ifndef __USBHID_H 2#define __USBHID_H 3 4/* 5 * Copyright (c) 1999 Andreas Gal 6 * Copyright (c) 2000-2001 Vojtech Pavlik 7 * Copyright (c) 2006 Jiri Kosina 8 */ --- 24 unchanged lines hidden (view full) --- 33#include <linux/workqueue.h> 34#include <linux/input.h> 35 36/* API provided by hid-core.c for USB HID drivers */ 37int usbhid_wait_io(struct hid_device* hid); 38void usbhid_close(struct hid_device *hid); 39int usbhid_open(struct hid_device *hid); 40void usbhid_init_reports(struct hid_device *hid); | 1#ifndef __USBHID_H 2#define __USBHID_H 3 4/* 5 * Copyright (c) 1999 Andreas Gal 6 * Copyright (c) 2000-2001 Vojtech Pavlik 7 * Copyright (c) 2006 Jiri Kosina 8 */ --- 24 unchanged lines hidden (view full) --- 33#include <linux/workqueue.h> 34#include <linux/input.h> 35 36/* API provided by hid-core.c for USB HID drivers */ 37int usbhid_wait_io(struct hid_device* hid); 38void usbhid_close(struct hid_device *hid); 39int usbhid_open(struct hid_device *hid); 40void usbhid_init_reports(struct hid_device *hid); |
41void usbhid_submit_report 42(struct hid_device *hid, struct hid_report *report, unsigned char dir); | |
43int usbhid_get_power(struct hid_device *hid); 44void usbhid_put_power(struct hid_device *hid); 45struct usb_interface *usbhid_find_interface(int minor); 46 47/* iofl flags */ 48#define HID_CTRL_RUNNING 1 49#define HID_OUT_RUNNING 2 50#define HID_IN_RUNNING 3 --- 57 unchanged lines hidden --- | 41int usbhid_get_power(struct hid_device *hid); 42void usbhid_put_power(struct hid_device *hid); 43struct usb_interface *usbhid_find_interface(int minor); 44 45/* iofl flags */ 46#define HID_CTRL_RUNNING 1 47#define HID_OUT_RUNNING 2 48#define HID_IN_RUNNING 3 --- 57 unchanged lines hidden --- |