Searched refs:g_UsbHostInstance (Results 1 – 3 of 3) sorted by relevance
70 usb_host_instance_t g_UsbHostInstance[USB_HOST_CONFIG_MAX_HOST]; variable176 if (g_UsbHostInstance[i].occupied != 1U) in USB_HostGetInstance()178 uint8_t *buffer = (uint8_t *)&g_UsbHostInstance[i]; in USB_HostGetInstance()183 g_UsbHostInstance[i].occupied = 1; in USB_HostGetInstance()188 g_UsbHostInstance[i].transferList[index].setupPacket = (usb_setup_struct_t *)temp; in USB_HostGetInstance()190 return &g_UsbHostInstance[i]; in USB_HostGetInstance()
114 extern usb_host_instance_t g_UsbHostInstance[USB_HOST_CONFIG_MAX_HOST];
1321 if ((g_UsbHostInstance[index].occupied == 1U) && in USB_HostOpenDeviceInterface()1322 ((usb_host_instance_t *)(&g_UsbHostInstance[index]) == (hostInstance))) in USB_HostOpenDeviceInterface()1372 if ((g_UsbHostInstance[index].occupied == 1U) && in USB_HostCloseDeviceInterface()1373 ((usb_host_instance_t *)(&g_UsbHostInstance[index]) == (hostInstance))) in USB_HostCloseDeviceInterface()