Searched refs:prevInstance (Results 1 – 2 of 2) sorted by relevance
1170 usb_host_hub_instance_t *prevInstance; in USB_HostHubDeviceEvent() local1294 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()
678 usb_host_device_instance_t *prevInstance; in USB_HostRemoveDeviceInstance() local685 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()