Searched refs:pRootHub (Results 1 – 3 of 3) sorted by relevance
639 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in __ms_USBCriticalSectionIn() local641 retval = MsOS_ObtainMutex(pRootHub->_s32MutexUSB, WaitMs); in __ms_USBCriticalSectionIn()660 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in ms_USBCriticalSectionOut() local663 MsOS_ReleaseMutex(pRootHub->_s32MutexUSB); in ms_USBCriticalSectionOut()1089 extern int ms_hub_poll(struct s_gVar4UsbPort *pRootHub);1107 struct s_gVar4UsbPort *pRootHub = (struct s_gVar4UsbPort *) argc; in ms_UsbTask_EX() local1108 const MS_U8 hostID = pRootHub->hostid; in ms_UsbTask_EX()1111 while (pRootHub->taskRunning) in ms_UsbTask_EX()1118 while(pRootHub->taskRunning) in ms_UsbTask_EX()1121 isConnect = ms_UsbDeviceConnect_EX(pRootHub->p_UsbHcd); in ms_UsbTask_EX()[all …]
1271 static int ms_hub_events(struct s_gVar4UsbPort *pRootHub) in ms_hub_events() argument1274 struct list_head *tmp_list = &pRootHub->hub_event; in ms_hub_events()1316 ms_dev->devpath, pRootHub->hostid); in ms_hub_events()1320 pRootHub->p_UsbHcd->saved_ehci_state.iPsc, in ms_hub_events()1321 pRootHub->p_UsbHcd->saved_ehci_state.usbcmd); in ms_hub_events()1329 (pRootHub->p_UsbHcd->saved_ehci_state.iPsc & 0x2) && in ms_hub_events()1393 pRootHub->arConnDev[isHubConnEvent].connDev = pUdev; in ms_hub_events()1439 int ms_hub_poll(struct s_gVar4UsbPort *pRootHub) in ms_hub_poll() argument1442 struct list_head *tmp_list = &pRootHub->hub_event; in ms_hub_poll()1447 ms_USBCriticalSectionIn(pRootHub->hostid); in ms_hub_poll()[all …]
8696 BOOL has_hub_events_EX(U16 *pPortStatus, struct s_gVar4UsbPort *pRootHub) in has_hub_events_EX() argument8704 struct list_head *tmp_list = pRootHub->p_hub_event; in has_hub_events_EX()8706 USBCriticalSectionIn(pRootHub->portNum); in has_hub_events_EX()8731 USBCriticalSectionOut(pRootHub->portNum); in has_hub_events_EX()8831 static void hub_events_EX(struct s_gVar4UsbPort *pRootHub) in hub_events_EX() argument8834 struct list_head *tmp_list = pRootHub->p_hub_event; in hub_events_EX()9169 diag_printf("EX**get hub event %d\n", pRootHub->portNum); in hub_events_EX()9518 void hub_poll_EX(struct s_gVar4UsbPort *pRootHub) in hub_poll_EX() argument9520 USBCriticalSectionIn(pRootHub->portNum); in hub_poll_EX()9521 hub_events_EX(pRootHub); in hub_poll_EX()[all …]