Home
last modified time | relevance | path

Searched refs:statistic (Results 1 – 12 of 12) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/netc_hw/
Dfsl_netc_hw_port.c289 netc_port_discard_statistic_t *statistic) in NETC_PortGetDiscardStatistic() argument
294 statistic->count = base->PRXDCR; in NETC_PortGetDiscardStatistic()
295 statistic->reason0 = base->PRXDCRR0; in NETC_PortGetDiscardStatistic()
296 statistic->reason1 = base->PRXDCRR1; in NETC_PortGetDiscardStatistic()
300 statistic->count = base->PTXDCR; in NETC_PortGetDiscardStatistic()
301 statistic->reason0 = base->PTXDCRR0; in NETC_PortGetDiscardStatistic()
302 statistic->reason1 = base->PTXDCRR1; in NETC_PortGetDiscardStatistic()
305 statistic->count = base->BPDCR; in NETC_PortGetDiscardStatistic()
306 statistic->reason0 = base->BPDCRR0; in NETC_PortGetDiscardStatistic()
307 statistic->reason1 = base->BPDCRR1; in NETC_PortGetDiscardStatistic()
[all …]
Dfsl_netc_hw_si.c228 void NETC_SIGetDiscardStatistic(ENETC_SI_Type *base, netc_si_discard_statistic_t *statistic) in NETC_SIGetDiscardStatistic() argument
234 statistic->programError = base->SIUPECTR; in NETC_SIGetDiscardStatistic()
235 statistic->busError = base->SIUNSBECTR; in NETC_SIGetDiscardStatistic()
236 for (uint32_t i = 0; i < ARRAY_SIZE(statistic->lackBD); i++) in NETC_SIGetDiscardStatistic()
240 statistic->lackBD[i] = base->BDR[i].RBDCR; in NETC_SIGetDiscardStatistic()
244 statistic->lackBD[i] = 0U; in NETC_SIGetDiscardStatistic()
249 void NETC_SIGetTrafficStatistic(ENETC_SI_Type *base, netc_si_traffic_statistic_t *statistic) in NETC_SIGetTrafficStatistic() argument
251 statistic->rxOctet = ((uint64_t)base->SIROCT1 << 32U) | base->SIROCT0; in NETC_SIGetTrafficStatistic()
252 statistic->rxFrame = ((uint64_t)base->SIRFRM1 << 32U) | base->SIRFRM0; in NETC_SIGetTrafficStatistic()
253 statistic->rxFrameUnicast = ((uint64_t)base->SIRUCA1 << 32U) | base->SIRUCA0; in NETC_SIGetTrafficStatistic()
[all …]
Dfsl_netc_hw_enetc.c141 …EnetcGetPortDiscardStatistic(NETC_ENETC_Type *base, netc_enetc_port_discard_statistic_t *statistic) in NETC_EnetcGetPortDiscardStatistic() argument
145 statistic->ingressDR[i] = base->PICDRADCR[i].PICDRDCR; in NETC_EnetcGetPortDiscardStatistic()
147 statistic->broadcastReject = base->PBFDSIR; in NETC_EnetcGetPortDiscardStatistic()
148 statistic->smacPruning = base->PFDMSAPR; in NETC_EnetcGetPortDiscardStatistic()
149 statistic->unicastMacFilt = base->PUFDMFR; in NETC_EnetcGetPortDiscardStatistic()
150 statistic->multicastMacFilt = base->PMFDMFR; in NETC_EnetcGetPortDiscardStatistic()
151 statistic->unicastVlanFilt = base->PUFDVFR; in NETC_EnetcGetPortDiscardStatistic()
152 statistic->multicastVlanFilt = base->PMFDVFR; in NETC_EnetcGetPortDiscardStatistic()
153 statistic->boradcastVlanFilt = base->PBFDVFR; in NETC_EnetcGetPortDiscardStatistic()
Dfsl_netc_hw_port.h123 netc_port_discard_statistic_t *statistic);
480 netc_port_phy_mac_traffic_statistic_t *statistic);
491 netc_port_phy_mac_traffic_statistic_t *statistic);
502 netc_port_phy_mac_discard_statistic_t *statistic);
511 netc_port_phy_mac_preemption_statistic_t *statistic);
523 netc_port_pseudo_mac_traffic_statistic_t *statistic);
Dfsl_netc_hw_si.h442 void NETC_SIGetDiscardStatistic(ENETC_SI_Type *base, netc_si_discard_statistic_t *statistic);
450 void NETC_SIGetTrafficStatistic(ENETC_SI_Type *base, netc_si_traffic_statistic_t *statistic);
Dfsl_netc_hw_enetc.h125 …netcGetPortDiscardStatistic(NETC_ENETC_Type *base, netc_enetc_port_discard_statistic_t *statistic);
Dfsl_netc_hw.h477 … NETC_GetISCStatistic(netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic);
Dfsl_netc_hw.c663 …t NETC_GetISCStatistic(netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic) in NETC_GetISCStatistic() argument
681 *statistic = handle->buffer->isc.response.stse; in NETC_GetISCStatistic()
/hal_nxp-latest/mcux/mcux-sdk/drivers/netc/
Dfsl_netc_switch.h1023 …t SWT_RxPSFPGetISCStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic);
1657 netc_tb_eseqr_stse_t *statistic,
1673 netc_tb_eseqr_stse_t *statistic,
2111 static inline status_t SWT_GetCutThroughForwardStatistic(swt_handle_t *handle, uint32_t *statistic) in SWT_GetCutThroughForwardStatistic() argument
2113 *statistic = handle->hw.base->CTFCR; in SWT_GetCutThroughForwardStatistic()
2126 …MCongestionGroupStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_etmcg_stse_t *statistic);
2137 …GetETMClassQueueStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_etmcq_stse_t *statistic);
2161 status_t SWT_GetECStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_ec_stse_t *statistic);
2187 netc_port_discard_statistic_t *statistic) in SWT_GetPortDiscardStatistic() argument
2189 NETC_PortGetDiscardStatistic(handle->hw.ports[portIdx].port, discardType, statistic); in SWT_GetPortDiscardStatistic()
[all …]
Dfsl_netc_endpoint.h826 …s_t EP_RxPSFPGetISCStatistic(ep_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic);
1221 netc_port_discard_statistic_t *statistic) in EP_GetPortDiscardStatistic() argument
1223 …iscardStatistic(handle->hw.portGroup.port, (useTx) ? kNETC_TxDiscard : kNETC_RxDiscard, statistic); in EP_GetPortDiscardStatistic()
Dfsl_netc_switch.c1914 …_t SWT_RxPSFPGetISCStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic) in SWT_RxPSFPGetISCStatistic() argument
1921 return NETC_GetISCStatistic(&cdbrHandle, entryID, statistic); in SWT_RxPSFPGetISCStatistic()
2592 status_t SWT_GetECStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_ec_stse_t *statistic) in SWT_GetECStatistic() argument
2613 *statistic = cdbrHandle.buffer->ec.response.stse; in SWT_GetECStatistic()
2672 …_GetETMClassQueueStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_etmcq_stse_t *statistic) in SWT_GetETMClassQueueStatistic() argument
2693 *statistic = cdbrHandle.buffer->cq.response.stse; in SWT_GetETMClassQueueStatistic()
2750 …TMCongestionGroupStatistic(swt_handle_t *handle, uint32_t entryID, netc_tb_etmcg_stse_t *statistic) in SWT_GetETMCongestionGroupStatistic() argument
2771 *statistic = cdbrHandle.buffer->cg.response.stse; in SWT_GetETMCongestionGroupStatistic()
2941 netc_tb_eseqr_stse_t *statistic, in SWT_FRERQueryESEQRTableEntry() argument
2971 *statistic = cdbrHandle.buffer->eseqr.response.stse; in SWT_FRERQueryESEQRTableEntry()
[all …]
Dfsl_netc_endpoint.c2308 …us_t EP_RxPSFPGetISCStatistic(ep_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic) in EP_RxPSFPGetISCStatistic() argument
2316 return NETC_GetISCStatistic(&cdbrHandle, entryID, statistic); in EP_RxPSFPGetISCStatistic()