Lines Matching refs:pCurrentChip
108 struct s_ChipUsbHostDef *pCurrentChip; variable
510 pCurrentChip = &chipDESC; in MDrv_Usb_Init()
520 pCurrentChip->chipID = ms_USBGetChipID(); in MDrv_Usb_Init()
527 diag_printf("[USB] MS USB Host Lib for %s only\n", pCurrentChip->name); in MDrv_Usb_Init()
639 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in __ms_USBCriticalSectionIn()
660 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in ms_USBCriticalSectionOut()
1021 struct s_ChipUsbHostDef *pChip = pCurrentChip; in ms_DrvUSB_OnInterrupt_EX()
1125 …if ((pCurrentChip->usbc_ip[hostID].portNum == hostID) && (pCurrentChip->usbc_ip[hostID].eventFlag)) in ms_UsbTask_EX()
1128 if (pCurrentChip->usbc_ip[hostID].eventType) in ms_UsbTask_EX()
1132 pCurrentChip->usbc_ip[hostID].eventFlag = 0; in ms_UsbTask_EX()
1138 if (pCurrentChip->u8Park) in ms_UsbTask_EX()
1151 while(pCurrentChip->u8Park) in ms_UsbTask_EX()
1256 …if ((pCurrentChip->usbc_ip[hostID].portNum == hostID) && (pCurrentChip->usbc_ip[hostID].eventFlag)) in ms_UsbTask_EX()
1260 if (pCurrentChip->usbc_ip[hostID].eventType) in ms_UsbTask_EX()
1264 pCurrentChip->usbc_ip[hostID].eventFlag = 0; in ms_UsbTask_EX()
1313 if (pCurrentChip->u8Park) in ms_UsbTask_EX()
1344 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in ms_Create_USB_Mutex()
1358 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in ms_Delete_USB_Mutex()
1434 struct s_ChipUsbHostDef *pChip = pCurrentChip; in MDrv_USB_Port_Init()
1494 struct s_gVar4UsbPort *pRootHub = pCurrentChip->p_roothub[u8Hostid]; in MDrv_USB_Port_Close()
1515 if(pCurrentChip->reg[u8Hostid].iFlag & EHCFLAF_XHC_COMP) in MDrv_USB_Port_Close()
1518 xhci_ppc(&pCurrentChip->reg[u8Hostid].xhci, false); in MDrv_USB_Port_Close()
1520 xhci_ssport_set_state(&pCurrentChip->reg[u8Hostid].xhci, true); in MDrv_USB_Port_Close()
1546 struct s_ChipUsbHostDef *pChip = pCurrentChip; in MDrv_OverCurrentDetect_RegisterCallBack()
1569 struct s_ChipUsbHostDef *pChip = pCurrentChip; in MDrv_UsbDeviceConnectBitEx()
1595 struct s_ChipUsbHostDef *pChip = pCurrentChip; in MDrv_Usb_STR_Off()
1626 struct s_ChipUsbHostDef *pChip = pCurrentChip; in MDrv_Usb_STR_On()