48 DBGC ( hid,
"HID %s could not open interrupt IN: %s\n",
55 DBGC ( hid,
"HID %s could not refill interrupt IN: %s\n",
63 DBGC ( hid,
"HID %s could not open interrupt OUT: %s\n",
128 DBGC ( hid,
"HID %s has no interface descriptor\n",
136 DBGC ( hid,
"HID %s could not describe interrupt IN: %s\n",
145 DBGC ( hid,
"HID %s could not describe interrupt OUT: %s\n",
#define EINVAL
Invalid argument.
struct arbelprm_rc_send_wqe rc
uint8_t interface[0]
List of interface numbers.
struct usb_endpoint in
Interrupt IN endpoint.
uint64_t desc
Microcode descriptor list physical address.
int usbhid_describe(struct usb_hid *hid, struct usb_configuration_descriptor *config)
Describe USB human interface device.
int usb_endpoint_open(struct usb_endpoint *ep)
Open USB endpoint.
#define USB_INTERRUPT_IN
Interrupt IN endpoint (internal) type.
struct usb_endpoint out
Interrupt OUT endpoint (optional)
void usb_endpoint_close(struct usb_endpoint *ep)
Close USB endpoint.
int usb_endpoint_described(struct usb_endpoint *ep, struct usb_configuration_descriptor *config, struct usb_interface_descriptor *interface, unsigned int type, unsigned int index)
Describe USB endpoint from device configuration.
int usbhid_refill(struct usb_hid *hid)
Refill USB human interface device endpoints.
int usb_refill(struct usb_endpoint *ep)
Refill endpoint.
void usbhid_close(struct usb_hid *hid)
Close USB human interface device.
A USB interface descriptor.
struct usb_interface_descriptor * usb_interface_descriptor(struct usb_configuration_descriptor *config, unsigned int interface, unsigned int alternate)
Locate USB interface descriptor.
char * strerror(int errno)
Retrieve string representation of error number.
#define USB_INTERRUPT_OUT
Interrupt OUT endpoint (internal) type.
A USB human interface device.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
A USB configuration descriptor.
Universal Serial Bus (USB)
USB human interface devices (HID)
struct usb_device * usb
USB device.
struct usb_function * func
USB function.
int usbhid_open(struct usb_hid *hid)
Open USB human interface device.