Lines Matching refs:controllerId
48 static usb_status_t USB_DeviceAllocateHandle(uint8_t controllerId, usb_device_struct_t **handle);
51 uint8_t controllerId, const usb_device_controller_interface_struct_t **controllerInterface);
100 static usb_status_t USB_DeviceAllocateHandle(uint8_t controllerId, usb_device_struct_t **handle) in USB_DeviceAllocateHandle() argument
109 …f ((NULL != s_UsbDevice[count].controllerHandle) && (controllerId == s_UsbDevice[count].controller… in USB_DeviceAllocateHandle()
120 s_UsbDevice[count].controllerId = controllerId; in USB_DeviceAllocateHandle()
145 handle->controllerId = 0U; in USB_DeviceFreeHandle()
192 uint8_t controllerId, const usb_device_controller_interface_struct_t **controllerInterface) in USB_DeviceGetControllerInterface() argument
195 usb_controller_index_t controlerIndex = (usb_controller_index_t)controllerId; in USB_DeviceGetControllerInterface()
738 usb_status_t USB_DeviceInit(uint8_t controllerId, usb_device_callback_t deviceCallback, usb_device_… in USB_DeviceInit() argument
750 error = USB_DeviceAllocateHandle(controllerId, &deviceHandle); in USB_DeviceInit()
760 deviceHandle->controllerId = controllerId; in USB_DeviceInit()
775 error = USB_DeviceGetControllerInterface(controllerId, &deviceHandle->controllerInterface); in USB_DeviceInit()
840 …error = deviceHandle->controllerInterface->deviceInit(controllerId, deviceHandle, &deviceHandle->c… in USB_DeviceInit()