Home
last modified time | relevance | path

Searched refs:eth (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw_port.c625 NETC_ETH_LINK_Type *eth = (NETC_ETH_LINK_Type *)((uintptr_t)base + 0x1000U); in NETC_PortEthMacGracefulStop() local
626 bool hasPM1 = 0U != (eth->MAC_MERGE_MMCSR & NETC_ETH_LINK_MAC_MERGE_MMCSR_ME_MASK); in NETC_PortEthMacGracefulStop()
629 eth->PM0_COMMAND_CONFIG &= ~NETC_ETH_LINK_PM0_COMMAND_CONFIG_RX_EN_MASK; in NETC_PortEthMacGracefulStop()
630 while (0U == (eth->PM0_IEVENT & NETC_ETH_LINK_PM0_IEVENT_RX_EMPTY_MASK)) in NETC_PortEthMacGracefulStop()
635 eth->PM1_COMMAND_CONFIG &= ~NETC_ETH_LINK_PM1_COMMAND_CONFIG_RX_EN_MASK; in NETC_PortEthMacGracefulStop()
636 while (0U == (eth->PM1_IEVENT & NETC_ETH_LINK_PM1_IEVENT_RX_EMPTY_MASK)) in NETC_PortEthMacGracefulStop()
647 while (0U == (eth->PM0_IEVENT & NETC_ETH_LINK_PM0_IEVENT_TX_EMPTY_MASK)) in NETC_PortEthMacGracefulStop()
652 while (0U == (eth->PM1_IEVENT & NETC_ETH_LINK_PM1_IEVENT_TX_EMPTY_MASK)) in NETC_PortEthMacGracefulStop()
658 eth->PM0_COMMAND_CONFIG &= ~NETC_ETH_LINK_PM0_COMMAND_CONFIG_TX_EN_MASK; in NETC_PortEthMacGracefulStop()
661 eth->PM1_COMMAND_CONFIG &= ~NETC_ETH_LINK_PM1_COMMAND_CONFIG_TX_EN_MASK; in NETC_PortEthMacGracefulStop()
Dfsl_netc_hw.h49 NETC_ETH_LINK_Type *eth; /*!< MAC Port Address */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_switch.c43 … handle->hw.ports[i].eth = (NETC_ETH_LINK_Type *)((uintptr_t)handle->hw.ports[i].port + 0x1000U); in SWT_GetBaseResource()
288 NETC_PortSoftwareResetEthMac(handle->hw.ports[i].eth); in SWT_Init()
384 (void)NETC_PortConfigEthMac(handle->hw.ports[i].eth, &config->ports[i].ethMac); in SWT_Init()
393 *(volatile uint32_t *)((uintptr_t)handle->hw.ports[i].eth + 0x1020U) = 0x00010104; in SWT_Init()
394 *(volatile uint32_t *)((uintptr_t)handle->hw.ports[i].eth + 0x1420U) = 0x00010104; in SWT_Init()
455 miiMode = NETC_PortGetMIIMode(handle->hw.ports[ethPort].eth); in SWT_SetEthPortMII()
456 return NETC_PortSetMII(handle->hw.ports[ethPort].eth, miiMode, speed, duplex); in SWT_SetEthPortMII()
466 NETC_ETH_LINK_Type *eth = (NETC_ETH_LINK_Type *)((uintptr_t)base + 0x1000U); in SWT_PortStop() local
467 …bool hasPM1 = 0U != (eth->MAC_MERGE_MMCSR & NETC_ETH_LINK_MAC_MERGE_MMCSR_ME… in SWT_PortStop()
482 while (0U == (eth->PM0_IEVENT & NETC_ETH_LINK_PM0_IEVENT_TX_EMPTY_MASK)) in SWT_PortStop()
[all …]
Dfsl_netc_endpoint.c518 NETC_PortSoftwareResetEthMac(handle->hw.portGroup.eth); in EP_Init()
558 result = NETC_PortConfigEthMac(handle->hw.portGroup.eth, &config->port.ethMac); in EP_Init()
702 miiMode = NETC_PortGetMIIMode(handle->hw.portGroup.eth); in EP_Up()
703 result = NETC_PortSetMII(handle->hw.portGroup.eth, miiMode, speed, duplex); in EP_Up()
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/socs/imx943/
Dfsl_netc_soc.c31 hw->portGroup.eth = (NETC_ETH_LINK_Type *)((uintptr_t)hw->base + 0x5000U); in NETC_SocGetBaseResource()
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/socs/imx95/
Dfsl_netc_soc.c31 hw->portGroup.eth = (NETC_ETH_LINK_Type *)((uintptr_t)hw->base + 0x5000U); in NETC_SocGetBaseResource()
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/socs/imxrt1180/
Dfsl_netc_soc.c145 hw->portGroup.eth = (NETC_ETH_LINK_Type *)((uintptr_t)hw->portGroup.port + 0x1000U); in NETC_SocGetBaseResource()
/hal_nxp-latest/mcux/mcux-sdk/platform/drivers/netc/socs/imxrt1180/
Dfsl_netc_soc.c145 hw->portGroup.eth = (NETC_ETH_LINK_Type *)((uintptr_t)hw->portGroup.port + 0x1000U); in NETC_SocGetBaseResource()