Lines Matching refs:port

418 …config->port.common.acceptTpid.innerMask = (uint8_t)kNETC_OuterStanCvlan | (uint8_t)kNETC_OuterSta…  in EP_GetDefaultConfig()
419 …config->port.common.acceptTpid.outerMask = (uint8_t)kNETC_InnerStanCvlan | (uint8_t)kNETC_InnerSta… in EP_GetDefaultConfig()
420 config->port.common.pSpeed = 0x63U; in EP_GetDefaultConfig()
421 config->port.common.rxTsSelect = kNETC_SyncTime; in EP_GetDefaultConfig()
423 config->port.common.stompFcs = true; in EP_GetDefaultConfig()
425 config->port.common.rxPpduBco = 20U; in EP_GetDefaultConfig()
426 config->port.common.txPpduBco = 20U; in EP_GetDefaultConfig()
427 config->port.common.timeGate.holdSkew = 64; in EP_GetDefaultConfig()
428 config->port.common.parser.l2PloadCount = 24; in EP_GetDefaultConfig()
429 config->port.common.parser.l3PayloadCount = 24; in EP_GetDefaultConfig()
430 config->port.common.parser.enableL3Parser = true; in EP_GetDefaultConfig()
431 config->port.common.parser.l4PayloadCount = 24; in EP_GetDefaultConfig()
432 config->port.common.parser.enableL4Parser = true; in EP_GetDefaultConfig()
433 config->port.ethMac.enableRevMii = false; in EP_GetDefaultConfig()
434 config->port.ethMac.preemptMode = kNETC_PreemptDisable; in EP_GetDefaultConfig()
435 config->port.ethMac.enMergeVerify = false; in EP_GetDefaultConfig()
436 config->port.ethMac.mergeVerifyTime = 10U; in EP_GetDefaultConfig()
437 config->port.ethMac.txTsSelect = kNETC_SyncTime; in EP_GetDefaultConfig()
438 config->port.ethMac.enTxPad = true; in EP_GetDefaultConfig()
439 config->port.ethMac.rxMinFrameSize = 64U; in EP_GetDefaultConfig()
440 config->port.ethMac.rxMaxFrameSize = 0x600U; in EP_GetDefaultConfig()
441 config->port.ethMac.maxBackPressOn = 3036U; in EP_GetDefaultConfig()
442 config->port.ethMac.minBackPressOff = 20U; in EP_GetDefaultConfig()
443 config->port.enPseudoMacTxPad = true; in EP_GetDefaultConfig()
514 if (!NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_Init()
516 handle->hw.portGroup.port->POR |= (NETC_PORT_POR_TXDIS_MASK | NETC_PORT_POR_RXDIS_MASK); in EP_Init()
550 result = NETC_PortConfig(handle->hw.portGroup.port, &config->port.common); in EP_Init()
556 if (!NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_Init()
558 result = NETC_PortConfigEthMac(handle->hw.portGroup.eth, &config->port.ethMac); in EP_Init()
567 … handle->hw.portGroup.pseudo->PPMCR = NETC_PSEUDO_LINK_PPMCR_TXPAD(config->port.enPseudoMacTxPad); in EP_Init()
594 … if ((config->port.ethMac.rxMaxFrameSize >= 1024U) && NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_Init()
616 handle->hw.portGroup.port->POR &= ~(NETC_PORT_POR_TXDIS_MASK | NETC_PORT_POR_RXDIS_MASK); in EP_Init()
618 if (NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_Init()
660 result = EP_TxPortTGSEnable(handle, config->port.enableTg, 0xFFU); in EP_Init()
662 result = EP_TxPortTGSEnable(handle, config->port.enableTg); in EP_Init()
684 if (!NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_Deinit()
686 NETC_PortEthMacGracefulStop(handle->hw.portGroup.port); in EP_Deinit()
700 if ((siNum == 0U) && (!NETC_PortIsPseudo(handle->hw.portGroup.port))) in EP_Up()
732 NETC_PortSetMacAddr(handle->hw.portGroup.port, macAddr); in EP_SetPrimaryMacAddr()
1135 bool isPseudoPort = NETC_PortIsPseudo(handle->hw.portGroup.port); in EP_GetRxFrameAttribute()
1537 NETC_PortSetIPF(handle->hw.portGroup.port, &config->portConfig); in EP_RxIPFInit()
2083 handle->hw.portGroup.port->PTGSCR |= NETC_PORT_PTGSCR_TGE_MASK; in EP_TxPortTGSEnable()
2101 handle->hw.portGroup.port->PTGSCR &= ~NETC_PORT_PTGSCR_TGE_MASK; in EP_TxPortTGSEnable()
2117 if (0U != (handle->hw.portGroup.port->PTGAGLSR & NETC_PORT_PTGAGLSR_CFG_PEND_MASK)) in EP_TxTGSConfigAdminGcl()
2129 if (0U != (handle->hw.portGroup.port->PTGAGLSR & NETC_PORT_PTGAGLSR_TG_MASK)) in EP_TxTGSConfigAdminGcl()
2191 if (!NETC_PortIsPseudo(handle->hw.portGroup.port)) in EP_TxTrafficClassConfig()
2193 …temp = handle->hw.portGroup.port->PFPCR & (~((uint32_t)1U << (uint32_t… in EP_TxTrafficClassConfig()
2194 … handle->hw.portGroup.port->PFPCR = temp | ((uint32_t)config->enPreemption << (uint32_t)tcIdx); in EP_TxTrafficClassConfig()
2196 …temp = handle->hw.portGroup.port->PDGSR & (~((uint32_t)1U << (uint32_t… in EP_TxTrafficClassConfig()
2197 handle->hw.portGroup.port->PDGSR = temp | ((uint32_t)config->enTcGate << (uint32_t)tcIdx); in EP_TxTrafficClassConfig()
2201 reseult = NETC_PortConfigTcMaxSDU(handle->hw.portGroup.port, tcIdx, &config->sduCfg); in EP_TxTrafficClassConfig()
2204 reseult = NETC_PortConfigTcCBS(handle->hw.portGroup.port, tcIdx, &config->cbsCfg); in EP_TxTrafficClassConfig()