Home
last modified time | relevance | path

Searched refs:prevInstance (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c1170 usb_host_hub_instance_t *prevInstance; in USB_HostHubDeviceEvent() local
1294 prevInstance = hubGlobal->hubList; in USB_HostHubDeviceEvent()
1295 if (prevInstance->deviceHandle == deviceHandle) in USB_HostHubDeviceEvent()
1297 hubInstance = prevInstance; in USB_HostHubDeviceEvent()
1298 hubGlobal->hubList = prevInstance->next; in USB_HostHubDeviceEvent()
1302 hubInstance = prevInstance->next; in USB_HostHubDeviceEvent()
1307 prevInstance->next = hubInstance->next; in USB_HostHubDeviceEvent()
1310 prevInstance = hubInstance; in USB_HostHubDeviceEvent()
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_devices.c678 usb_host_device_instance_t *prevInstance; in USB_HostRemoveDeviceInstance() local
685 prevInstance = (usb_host_device_instance_t *)hostInstance->deviceList; in USB_HostRemoveDeviceInstance()
686 if (prevInstance == deviceHandle) in USB_HostRemoveDeviceInstance()
688 hostInstance->deviceList = prevInstance->next; in USB_HostRemoveDeviceInstance()
693 currentInstance = prevInstance->next; in USB_HostRemoveDeviceInstance()
700 prevInstance->next = currentInstance->next; in USB_HostRemoveDeviceInstance()
703 prevInstance = currentInstance; in USB_HostRemoveDeviceInstance()