Home
last modified time | relevance | path

Searched refs:pRootHub (Results 1 – 3 of 3) sorted by relevance

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/newhost/
H A DdrvUSBEntry.c639 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in __ms_USBCriticalSectionIn() local
641 retval = MsOS_ObtainMutex(pRootHub->_s32MutexUSB, WaitMs); in __ms_USBCriticalSectionIn()
660 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in ms_USBCriticalSectionOut() local
663 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() local
1108 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 …]
H A DdrvHub.c1271 static int ms_hub_events(struct s_gVar4UsbPort *pRootHub) in ms_hub_events() argument
1274 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() argument
1442 struct list_head *tmp_list = &pRootHub->hub_event; in ms_hub_poll()
1447 ms_USBCriticalSectionIn(pRootHub->hostid); in ms_hub_poll()
[all …]
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvHub.c8696 BOOL has_hub_events_EX(U16 *pPortStatus, struct s_gVar4UsbPort *pRootHub) in has_hub_events_EX() argument
8704 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() argument
8834 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() argument
9520 USBCriticalSectionIn(pRootHub->portNum); in hub_poll_EX()
9521 hub_events_EX(pRootHub); in hub_poll_EX()
[all …]