Lines Matching refs:otgHandle
1631 usb_otg_handle *otgHandle, in USB_OtgInit() argument
1637 if (otgHandle == NULL) in USB_OtgInit()
1681 *otgHandle = otgInstance; in USB_OtgInit()
1685 usb_status_t USB_OtgDeinit(usb_otg_handle otgHandle) in USB_OtgDeinit() argument
1687 usb_otg_instance_t *otgInstance = (usb_otg_instance_t *)otgHandle; in USB_OtgDeinit()
1689 if (otgHandle == NULL) in USB_OtgDeinit()
1704 void USB_OtgTaskFunction(usb_otg_handle otgHandle) in USB_OtgTaskFunction() argument
1706 usb_otg_instance_t *otgInstance = (usb_otg_instance_t *)otgHandle; in USB_OtgTaskFunction()
1710 if (otgHandle == NULL) in USB_OtgTaskFunction()
1807 usb_status_t USB_OtgBusDrop(usb_otg_handle otgHandle, uint8_t drop) in USB_OtgBusDrop() argument
1809 usb_otg_instance_t *otgInstance = (usb_otg_instance_t *)otgHandle; in USB_OtgBusDrop()
1811 if (otgHandle == NULL) in USB_OtgBusDrop()
1819 return USB_OtgNotifyChange(otgHandle, (uint32_t)kOtg_StatusBusDrop, drop); in USB_OtgBusDrop()
1827 usb_status_t USB_OtgBusRequest(usb_otg_handle otgHandle) in USB_OtgBusRequest() argument
1829 if (otgHandle == NULL) in USB_OtgBusRequest()
1834 return USB_OtgNotifyChange(otgHandle, (uint32_t)kOtg_StatusBusReq, 1); in USB_OtgBusRequest()
1837 usb_status_t USB_OtgBusRelease(usb_otg_handle otgHandle) in USB_OtgBusRelease() argument
1839 if (otgHandle == NULL) in USB_OtgBusRelease()
1844 return USB_OtgNotifyChange(otgHandle, (uint32_t)kOtg_StatusBusReq, 0); in USB_OtgBusRelease()
1847 usb_status_t USB_OtgClearError(usb_otg_handle otgHandle) in USB_OtgClearError() argument
1849 usb_otg_instance_t *otgInstance = (usb_otg_instance_t *)otgHandle; in USB_OtgClearError()
1851 if (otgHandle == NULL) in USB_OtgClearError()
1858 return USB_OtgNotifyChange(otgHandle, (uint32_t)kOtg_StatusClrErr, 1); in USB_OtgClearError()
1866 usb_status_t USB_OtgNotifyChange(usb_otg_handle otgHandle, uint32_t statusType, uint32_t statusValu… in USB_OtgNotifyChange() argument
1869 usb_otg_instance_t *otgInstance = (usb_otg_instance_t *)otgHandle; in USB_OtgNotifyChange()
1871 if (otgHandle == NULL) in USB_OtgNotifyChange()