search for: reportdesc

Displaying 4 results from an estimated 4 matches for "reportdesc".

Did you mean: report_desc
2011 Apr 01
4
[PATCH 1/5] staging: hv: change camel case funct names to lower case funct in hv_mouse
...e.c index 50147f8..084ba3b 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -200,7 +200,7 @@ static void deviceinfo_callback(struct hv_device *dev, struct hv_input_dev_info static void inputreport_callback(struct hv_device *dev, void *packet, u32 len); static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len); -static struct mousevsc_dev *AllocInputDevice(struct hv_device *Device) +static struct mousevsc_dev *alloc_input_device(struct hv_device *Device) { struct mousevsc_dev *inputDevice; @@ -211,7 +211,7 @@ static struct mousevsc_dev *AllocI...
2011 Apr 01
4
[PATCH 1/5] staging: hv: change camel case funct names to lower case funct in hv_mouse
...e.c index 50147f8..084ba3b 100644 --- a/drivers/staging/hv/hv_mouse.c +++ b/drivers/staging/hv/hv_mouse.c @@ -200,7 +200,7 @@ static void deviceinfo_callback(struct hv_device *dev, struct hv_input_dev_info static void inputreport_callback(struct hv_device *dev, void *packet, u32 len); static void reportdesc_callback(struct hv_device *dev, void *packet, u32 len); -static struct mousevsc_dev *AllocInputDevice(struct hv_device *Device) +static struct mousevsc_dev *alloc_input_device(struct hv_device *Device) { struct mousevsc_dev *inputDevice; @@ -211,7 +211,7 @@ static struct mousevsc_dev *AllocI...
2007 Feb 16
1
Re: [nut-commits] svn commit r808 - in trunk: . drivers
...le > > Modified: trunk/drivers/libusb.c > ============================================================================== > --- trunk/drivers/libusb.c (original) > +++ trunk/drivers/libusb.c Thu Feb 15 22:37:04 2007 > @@ -87,8 +87,10 @@ > failure, return -1. Note: ReportDesc must point to a large enough > buffer. There's no way to know the size ahead of time. Matcher is > a linked list of matchers (see libhid.h), and the opened device > - must match all of them. */ > -static int libusb_open(usb_dev_handle **udevp, HIDDevice *curDevice, HIDD...
2007 Aug 23
1
[nut-commits] svn commit r1073 - in trunk: . drivers
...MODE_REOPEN. */ > -HIDDevice_t *HIDOpenDevice(hid_dev_handle_t **udevp, HIDDevice_t *hd, HIDDeviceMatcher_t *matcher, int mode) > +HIDDevice_t *HIDOpenDevice(hid_dev_handle_t **udevp, HIDDevice_t *hd, HIDDeviceMatcher_t *matcher, int *mode) > { > int ReportSize; > unsigned char ReportDesc[4096]; > > - if (mode == MODE_REOPEN) { > + if (*mode == MODE_REOPEN) { > #if defined(SHUT_MODE) || defined(SUN_LIBUSB) > /* Cause a double free corruption in USB mode on linux! */ > if (*udevp != NULL) { > @@ -623,7 +674,7 @@ > if (ReportSize < 0) > retu...