Lines Matching refs:controllerId

14 void *USB_EhciPhyGetBase(uint8_t controllerId)  in USB_EhciPhyGetBase()  argument
24 if (controllerId < (uint8_t)kUSB_ControllerEhci0) in USB_EhciPhyGetBase()
29 …if ((controllerId == (uint8_t)kUSB_ControllerEhci0) || (controllerId == (uint8_t)kUSB_ControllerEh… in USB_EhciPhyGetBase()
31 controllerId = controllerId - (uint8_t)kUSB_ControllerEhci0; in USB_EhciPhyGetBase()
33 else if ((controllerId == (uint8_t)kUSB_ControllerLpcIp3511Hs0) || in USB_EhciPhyGetBase()
34 (controllerId == (uint8_t)kUSB_ControllerLpcIp3511Hs1)) in USB_EhciPhyGetBase()
36 controllerId = controllerId - (uint8_t)kUSB_ControllerLpcIp3511Hs0; in USB_EhciPhyGetBase()
38 …else if ((controllerId == (uint8_t)kUSB_ControllerIp3516Hs0) || (controllerId == (uint8_t)kUSB_Con… in USB_EhciPhyGetBase()
40 controllerId = controllerId - (uint8_t)kUSB_ControllerIp3516Hs0; in USB_EhciPhyGetBase()
47 if (controllerId < (sizeof(usbphy_base) / sizeof(usbphy_base[0]))) in USB_EhciPhyGetBase()
49 temp = (uint32_t *)usbphy_base[controllerId]; in USB_EhciPhyGetBase()
72 uint32_t USB_EhciPhyInit(uint8_t controllerId, uint32_t freq, usb_phy_config_struct_t *phyConfig) in USB_EhciPhyInit() argument
77 usbPhyBase = (USBPHY_Type *)USB_EhciPhyGetBase(controllerId); in USB_EhciPhyInit()
93 USB_ANALOG->INSTANCE[controllerId - (uint8_t)kUSB_ControllerEhci0].CHRG_DETECT_SET = in USB_EhciPhyInit()
105 …if (((uint8_t)kUSB_ControllerIp3516Hs0 == controllerId) || ((uint8_t)kUSB_ControllerIp3516Hs1 == c… in USB_EhciPhyInit()
106 ((uint8_t)kUSB_ControllerLpcIp3511Hs0 == controllerId) || in USB_EhciPhyInit()
107 ((uint8_t)kUSB_ControllerLpcIp3511Hs1 == controllerId)) in USB_EhciPhyInit()
137 uint32_t USB_EhciLowPowerPhyInit(uint8_t controllerId, uint32_t freq, usb_phy_config_struct_t *phyC… in USB_EhciLowPowerPhyInit() argument
142 usbPhyBase = (USBPHY_Type *)USB_EhciPhyGetBase(controllerId); in USB_EhciLowPowerPhyInit()
196 void USB_EhciPhyDeinit(uint8_t controllerId) in USB_EhciPhyDeinit() argument
201 usbPhyBase = (USBPHY_Type *)USB_EhciPhyGetBase(controllerId); in USB_EhciPhyDeinit()
224 void USB_EhcihostPhyDisconnectDetectCmd(uint8_t controllerId, uint8_t enable) in USB_EhcihostPhyDisconnectDetectCmd() argument
229 usbPhyBase = (USBPHY_Type *)USB_EhciPhyGetBase(controllerId); in USB_EhcihostPhyDisconnectDetectCmd()
248 void USB_PhyDeviceForceEnterFSMode(uint8_t controllerId, uint8_t enable) in USB_PhyDeviceForceEnterFSMode() argument
252 usbPhyBase = (USBPHY_Type *)USB_EhciPhyGetBase(controllerId); in USB_PhyDeviceForceEnterFSMode()