Lines Matching refs:hw

203     netc_switch_hw_t hw;         /*!< Hardware register map resource. */  member
386 NETC_PortSetSpeed(handle->hw.ports[portIdx].port, pSpeed); in SWT_SetPortSpeed()
520 NETC_PortSetParser(handle->hw.ports[portIdx].port, config); in SWT_RxParserConfig()
533 NETC_RxVlanCInit(handle->hw.common, config, true); in SWT_RxVlanCInit()
549 NETC_PortSetVlanClassify(handle->hw.ports[portIdx].port, config); in SWT_RxVlanCConfigPort()
562 NETC_RxQosCInit(handle->hw.common, &config->profiles[0], false); in SWT_RxQosCInit()
563 NETC_RxQosCInit(handle->hw.common, &config->profiles[1], true); in SWT_RxQosCInit()
579 return NETC_PortSetQosClassify(handle->hw.ports[portIdx].port, config); in SWT_RxQosCConfigPort()
593 NETC_IPFInit(handle->hw.common, config); in SWT_RxIPFInit()
608 NETC_PortSetIPF(handle->hw.ports[portIdx].port, config); in SWT_RxIPFConfigPort()
621 return (handle->hw.common->IPFTCAPR & NETC_SW_ENETC_IPFTCAPR_NUM_WORDS_MASK) - in SWT_RxIPFGetTableRemainWordNum()
622 (handle->hw.common->IPFTMOR & NETC_SW_ENETC_IPFTMOR_NUM_WORDS_MASK); in SWT_RxIPFGetTableRemainWordNum()
706 NETC_PSFPKcProfileInit(handle->hw.common, &config->kcRule[0], false); in SWT_RxPSFPInit()
707 NETC_PSFPKcProfileInit(handle->hw.common, &config->kcRule[2], true); in SWT_RxPSFPInit()
722 NETC_PortSetISI(handle->hw.ports[portIdx].port, config); in SWT_RxPSFPConfigPortISI()
736 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK) - in SWT_RxPSFPGetISITableRemainEntryNum()
737 (handle->hw.common->HTMOR & NETC_SW_ENETC_HTMOR_AMOUNT_MASK); in SWT_RxPSFPGetISITableRemainEntryNum()
790 return (handle->hw.common->ISITCAPR & NETC_SW_ENETC_ISITCAPR_NUM_ENTRIES_MASK) - in SWT_RxPSFPGetISTableRemainEntryNum()
791 (handle->hw.common->ISITOR & NETC_SW_ENETC_ISITOR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetISTableRemainEntryNum()
845 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK) - in SWT_RxPSFPGetISFTableRemainEntryNum()
846 (handle->hw.common->HTMOR & NETC_SW_ENETC_HTMOR_AMOUNT_MASK); in SWT_RxPSFPGetISFTableRemainEntryNum()
859 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK); in SWT_RxPSFPGetISFTableMaxEntryNum()
903 return (handle->hw.common->RPITCAPR & NETC_SW_ENETC_RPITCAPR_NUM_ENTRIES_MASK) - in SWT_RxPSFPGetRPTableRemainEntryNum()
904 (handle->hw.common->RPITOR & NETC_SW_ENETC_RPITOR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetRPTableRemainEntryNum()
917 return (handle->hw.common->RPITCAPR & NETC_SW_ENETC_RPITCAPR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetRPTableMaxEntryNum()
990 return (handle->hw.common->ISCITCAPR & NETC_SW_ENETC_ISCITCAPR_NUM_ENTRIES_MASK) - in SWT_RxPSFPGetISCTableRemainEntryNum()
991 (handle->hw.common->ISCITOR & NETC_SW_ENETC_ISCITOR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetISCTableRemainEntryNum()
1044 return (handle->hw.common->SGIITCAPR & NETC_SW_ENETC_SGIITCAPR_NUM_ENTRIES_MASK) - in SWT_RxPSFPGetSGITableRemainEntryNum()
1045 (handle->hw.common->SGIITOR & NETC_SW_ENETC_SGIITOR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetSGITableRemainEntryNum()
1056 return (handle->hw.common->SGIITCAPR & NETC_SW_ENETC_SGIITCAPR_NUM_ENTRIES_MASK); in SWT_RxPSFPGetSGITableMaxEntryNum()
1121 return (handle->hw.common->SGCLITCAPR & NETC_SW_ENETC_SGCLITCAPR_NUM_WORDS_MASK) - in SWT_RxPSFPGetSGCLTableRemainWordNum()
1122 (handle->hw.common->SGCLTMOR & NETC_SW_ENETC_SGCLTMOR_NUM_WORDS_MASK); in SWT_RxPSFPGetSGCLTableRemainWordNum()
1133 return (handle->hw.common->SGCLITCAPR & NETC_SW_ENETC_SGCLITCAPR_NUM_WORDS_MASK); in SWT_RxPSFPGetSGCLTableMaxWordNum()
1246 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK) - in SWT_BridgeGetVFTableRemainEntryNum()
1247 (handle->hw.common->HTMOR & NETC_SW_ENETC_HTMOR_AMOUNT_MASK); in SWT_BridgeGetVFTableRemainEntryNum()
1316 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK) - in SWT_BridgeGetFDBTableRemainEntryNum()
1317 (handle->hw.common->HTMOR & NETC_SW_ENETC_HTMOR_AMOUNT_MASK); in SWT_BridgeGetFDBTableRemainEntryNum()
1399 return (handle->hw.common->HTMCAPR & NETC_SW_ENETC_HTMCAPR_NUM_WORDS_MASK) - in SWT_BridgeGetL2MCFTableRemainEntryNum()
1400 (handle->hw.common->HTMOR & NETC_SW_ENETC_HTMOR_AMOUNT_MASK); in SWT_BridgeGetL2MCFTableRemainEntryNum()
1474 NETC_PORT_Type *base = handle->hw.ports[portIdx].port; in SWT_FMConfigPort()
1494 return (handle->hw.common->FMITCAPR & NETC_SW_ENETC_FMITCAPR_NUM_ENTRIES_MASK) - in SWT_FMGetTableRemainEntryNum()
1495 (handle->hw.common->FMITOR & NETC_SW_ENETC_FMITOR_NUM_ENTRIES_MASK); in SWT_FMGetTableRemainEntryNum()
1543 return handle->hw.common->FMDITCAPR & NETC_SW_ENETC_FMDITCAPR_NUM_WORDS_MASK; in SWT_FMDGetTableWordsNum()
1576 return (handle->hw.common->ISQGITCAPR & NETC_SW_ENETC_ETTCAPR_NUM_ENTRIES_MASK) - in SWT_FRERGetISEQGTableRemainEntryNum()
1577 (handle->hw.common->ISQGITOR & NETC_SW_ENETC_ETTOR_NUM_ENTRIES_MASK); in SWT_FRERGetISEQGTableRemainEntryNum()
1631 return handle->hw.common->ESQRTCAPR & NETC_SW_ENETC_ESQRTCAPR_NUM_ENTRIES_MASK; in SWT_FRERGetESEQRTableEntryNum()
1686 return handle->hw.base->BPCAPR & NETC_SW_BPCAPR_NUM_BP_MASK; in SWT_GetBPTableEntryNum()
1720 return (handle->hw.base->BPCAPR & NETC_SW_BPCAPR_NUM_SPB_MASK) >> NETC_SW_BPCAPR_NUM_SPB_SHIFT; in SWT_GetSBPTableEntryNum()
1772 return NETC_PortConfigTcMaxSDU(handle->hw.ports[portIdx].port, tcIdx, config); in SWT_TxSDUConfigPort()
1791 return NETC_PortConfigTcCBS(handle->hw.ports[portIdx].port, tcIdx, config); in SWT_TxCBSConfigPort()
1857 return (handle->hw.common->ETTCAPR & NETC_SW_ENETC_ETTCAPR_NUM_ENTRIES_MASK) - in SWT_TxEPPGetETTableRemainEntryNum()
1858 (handle->hw.common->ETTOR & NETC_SW_ENETC_ETTOR_NUM_ENTRIES_MASK); in SWT_TxEPPGetETTableRemainEntryNum()
2002 …while (handle->epHandle->hw.si->BDR[ring + 1U].TBCIR != handle->epHandle->txBdRing[ring].producerI… in SWT_WaitUnitilTxComplete()
2008 while (handle->epHandle->hw.si->BDR[0].TBCIR != handle->mgmtTxBdRing.producerIndex) in SWT_WaitUnitilTxComplete()
2113 *statistic = handle->hw.base->CTFCR; in SWT_GetCutThroughForwardStatistic()
2149 return handle->hw.common->ECTCAPR & NETC_SW_ENETC_ECTCAPR_NUM_ENTRIES_MASK; in SWT_GetECEntryNum()
2189 NETC_PortGetDiscardStatistic(handle->hw.ports[portIdx].port, discardType, statistic); in SWT_GetPortDiscardStatistic()
2209 NETC_PortClearDiscardReason(handle->hw.ports[portIdx].port, discardType, reason0, reason1); in SWT_ClearPortDiscardReason()
2222 …statistic->staticEntries = (uint16_t)(handle->hw.base->FDBHTOR0 & NETC_SW_FDBHTOR0_STATIC_ENTR… in SWT_GetFDBInUseEntriesNumber()
2223 …statistic->camEntries = (uint16_t)((handle->hw.base->FDBHTOR0 >> NETC_SW_FDBHTOR0_NUM_GENTR… in SWT_GetFDBInUseEntriesNumber()
2225 …statistic->dynamicEntries = (uint16_t)(handle->hw.base->FDBHTOR1 & NETC_SW_FDBHTOR1_DYN_ENTRIES… in SWT_GetFDBInUseEntriesNumber()
2226 …statistic->dynamicEntriesHWM = (uint16_t)((handle->hw.base->FDBHTOR1 >> NETC_SW_FDBHTOR1_HWM_DYN_E… in SWT_GetFDBInUseEntriesNumber()
2240 return NETC_PortGetTGSListStatus(handle->hw.ports[portIdx].port); in SWT_GetPortTGSListStatus()