Define and functions required by UHC.
Value:{ \
.sof_notify = NULL, \
}
void uhi_vendor_uninstall(uhc_device_t *dev)
Definition: uhi_vendor.c:225
void uhi_vendor_enable(uhc_device_t *dev)
Definition: uhi_vendor.c:201
uhc_enum_status_t uhi_vendor_install(uhc_device_t *dev)
Definition: uhi_vendor.c:89
Global define which contains standard UHI API for UHC It must be added in USB_HOST_UHI define from conf_usb_host.h file.
void uhi_vendor_enable |
( |
uhc_device_t * |
dev | ) |
|
References uhi_vendor_dev_t::bInterfaceNumber, usb_setup_req_t::bmRequestType, usb_setup_req_t::bRequest, uhi_vendor_dev_t::dev, uhd_setup_request(), UHI_VENDOR_CHANGE, USB_REQ_RECIP_INTERFACE, USB_REQ_SET_INTERFACE, usb_setup_req_t::wIndex, usb_setup_req_t::wLength, and usb_setup_req_t::wValue.
uhc_enum_status_t uhi_vendor_install |
( |
uhc_device_t * |
dev | ) |
|
References Assert, usb_iface_desc_t::bAlternateSetting, usb_iface_desc_t::bDescriptorType, usb_iface_desc_t::bInterfaceClass, uhi_vendor_dev_t::bInterfaceNumber, usb_iface_desc_t::bInterfaceNumber, usb_iface_desc_t::bInterfaceProtocol, usb_iface_desc_t::bInterfaceSubClass, usb_iface_desc_t::bLength, uhi_vendor_dev_t::dev, dev, uhi_vendor_dev_t::ep_bulk_in, uhi_vendor_dev_t::ep_bulk_out, uhi_vendor_dev_t::ep_int_in, uhi_vendor_dev_t::ep_int_out, uhi_vendor_dev_t::ep_iso_in, uhi_vendor_dev_t::ep_iso_out, le16_to_cpu, uhd_ep_alloc(), UHI_VENDOR_VID_PID_LIST, USB_DT_ENDPOINT, USB_DT_INTERFACE, USB_EP_DIR_IN, USB_EP_TYPE_BULK, USB_EP_TYPE_INTERRUPT, USB_EP_TYPE_ISOCHRONOUS, USB_EP_TYPE_MASK, VENDOR_CLASS, VENDOR_PROTOCOL, and VENDOR_SUBCLASS.
void uhi_vendor_uninstall |
( |
uhc_device_t * |
dev | ) |
|