Home
last modified time | relevance | path

Searched refs:portIndex (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/src/
DNetc_EthSwt_Ip.c753 Std_ReturnType Netc_EthSwt_Ip_SetMacAddr(uint8 SwitchIdx, uint8 portIndex, const uint8 *macAddr) in Netc_EthSwt_Ip_SetMacAddr() argument
759 DevAssert(portIndex < NETC_ETHSWT_NUMBER_OF_PORTS); in Netc_EthSwt_Ip_SetMacAddr()
763 …Netc_EthSwt_Ip_SW0_PortxBaseAddr[portIndex]->PMAR0 = (uint32)(macAddr[0U]) | ((uint32)(macAddr[1U]… in Netc_EthSwt_Ip_SetMacAddr()
764 …Netc_EthSwt_Ip_SW0_PortxBaseAddr[portIndex]->PMAR1 = (uint32)(macAddr[4U]) | ((uint32)(macAddr[5U]… in Netc_EthSwt_Ip_SetMacAddr()
775 void Netc_EthSwt_Ip_GetMacAddr(uint8 SwitchIdx, uint8 portIndex, uint8 *macAddr) in Netc_EthSwt_Ip_GetMacAddr() argument
783 DevAssert(portIndex < NETC_ETHSWT_NUMBER_OF_PORTS); in Netc_EthSwt_Ip_GetMacAddr()
788 msbMacAddr = Netc_EthSwt_Ip_SW0_PortxBaseAddr[portIndex]->PMAR0; in Netc_EthSwt_Ip_GetMacAddr()
789 lsbMacAddr = Netc_EthSwt_Ip_SW0_PortxBaseAddr[portIndex]->PMAR1; in Netc_EthSwt_Ip_GetMacAddr()
2919 static Std_ReturnType Netc_EthSwt_Ip_GetSwtPortCounters( uint8 SwitchIdx, uint8 portIndex, Netc_Eth… in Netc_EthSwt_Ip_GetSwtPortCounters() argument
2928 xCR0Value = (volatile uint32 *)(&(Netc_EthSwt_Ip_PortBaseTable[portIndex]->PM0_REOCTN)); in Netc_EthSwt_Ip_GetSwtPortCounters()
[all …]
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_hub_app.c285 hubInstance->portIndex = 0U; in USB_HostHubProcess()
288 if (hubInstance->portIndex < hubInstance->portCount) in USB_HostHubProcess()
290 hubInstance->portIndex++; in USB_HostHubProcess()
291 if (USB_HostHubSetPortFeature(hubInstance, hubInstance->portIndex, PORT_POWER, in USB_HostHubProcess()
782 uint8_t portIndex; in USB_HostHubProcessData() local
785 for (portIndex = 0U; portIndex <= hubInstance->portCount; ++portIndex) in USB_HostHubProcessData()
787 … if (0U != ((0x01U << (portIndex & 0x07U)) & (hubInstance->hubBitmapBuffer[portIndex >> 3U]))) in USB_HostHubProcessData()
789 if (portIndex == 0U) /* hub status change */ in USB_HostHubProcessData()
815 … ((hubGlobal->hubProcess == hubInstance) && (hubInstance->portProcess == portIndex))) in USB_HostHubProcessData()
820 hubInstance->portProcess = portIndex; in USB_HostHubProcessData()
[all …]
Dusb_host_hub.h126 uint8_t portIndex; /*!< Record the index when processing ports in turn*/ member
/hal_nxp-3.5.0/s32/drivers/s32ze/EthSwt_NETC/include/
DNetc_EthSwt_Ip.h344 Std_ReturnType Netc_EthSwt_Ip_SetMacAddr(uint8 SwitchIdx, uint8 portIndex, const uint8 *macAddr);
357 void Netc_EthSwt_Ip_GetMacAddr(uint8 SwitchIdx, uint8 portIndex, uint8 *macAddr);