Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c446 assert(config->ptpConfig); in ENET_SetPtp1588()
450 enet_ptp_config_t *ptpConfig = config->ptpConfig; in ENET_SetPtp1588() local
455 if (ptpConfig->fineUpdateEnable) in ENET_SetPtp1588()
471 ENET_MAC_TIMESTAMP_CTRL_TSCTRLSSR(ptpConfig->tsRollover); in ENET_SetPtp1588()
473 if (ptpConfig->ptp1588V2Enable) in ENET_SetPtp1588()
479 if (ptpConfig->tsRollover != kENET_BinaryRollover) in ENET_SetPtp1588()
551 config->ptpConfig = NULL; in ENET_GetDefaultConfig()
Dfsl_enet.h459 enet_ptp_config_t *ptpConfig; /*!< PTP 1588 feature configuration */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c746 assert(config->ptpConfig != NULL); in ENET_QOS_SetPtp1588()
751 enet_qos_ptp_config_t *ptpConfig = config->ptpConfig; in ENET_QOS_SetPtp1588() local
758 if (ptpConfig->fineUpdateEnable) in ENET_QOS_SetPtp1588()
761 ptpClk_Hz = ptpConfig->systemTimeClock_Hz; /* PTP clock 50MHz. */ in ENET_QOS_SetPtp1588()
768 ENET_QOS_MAC_TIMESTAMP_CONTROL_TSCTRLSSR(ptpConfig->tsRollover); in ENET_QOS_SetPtp1588()
770 if (ptpConfig->ptp1588V2Enable) in ENET_QOS_SetPtp1588()
776 if (ptpConfig->tsRollover == kENET_QOS_DigitalRollover) in ENET_QOS_SetPtp1588()
808 if (ptpConfig->fineUpdateEnable) in ENET_QOS_SetPtp1588()
810 result = ENET_QOS_Ptp1588CorrectTimerInFine(base, ptpConfig->defaultAddend); in ENET_QOS_SetPtp1588()
906 config->ptpConfig = NULL; in ENET_QOS_GetDefaultConfig()
[all …]
Dfsl_enet_qos.h628 enet_qos_ptp_config_t *ptpConfig; /*!< PTP 1588 feature configuration */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/mcx_enet/
Dfsl_enet.c447 assert(config->ptpConfig); in ENET_SetPtp1588()
451 enet_ptp_config_t *ptpConfig = config->ptpConfig; in ENET_SetPtp1588() local
456 if (ptpConfig->fineUpdateEnable) in ENET_SetPtp1588()
472 ENET_MAC_TIMESTAMP_CONTROL_TSCTRLSSR(ptpConfig->tsRollover); in ENET_SetPtp1588()
474 if (ptpConfig->ptp1588V2Enable) in ENET_SetPtp1588()
480 if (ptpConfig->tsRollover != kENET_BinaryRollover) in ENET_SetPtp1588()
551 config->ptpConfig = NULL; in ENET_GetDefaultConfig()
Dfsl_enet.h485 enet_ptp_config_t *ptpConfig; /*!< PTP 1588 feature configuration */ member
/hal_nxp-latest/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c2827 … ENET_Ptp1588ConfigureHandler(ENET_Type *base, enet_handle_t *handle, enet_ptp_config_t *ptpConfig) in ENET_Ptp1588ConfigureHandler() argument
2830 assert(ptpConfig != NULL); in ENET_Ptp1588ConfigureHandler()
2850 if (handle->enetClock <= ptpConfig->ptp1588ClockSrc_Hz) in ENET_Ptp1588ConfigureHandler()
2858 refClock = ptpConfig->ptp1588ClockSrc_Hz; in ENET_Ptp1588ConfigureHandler()
2894 void ENET_Ptp1588Configure(ENET_Type *base, enet_handle_t *handle, enet_ptp_config_t *ptpConfig) in ENET_Ptp1588Configure() argument
2897 assert(ptpConfig != NULL); in ENET_Ptp1588Configure()
2900 ENET_Ptp1588StartTimer(base, ptpConfig->ptp1588ClockSrc_Hz); in ENET_Ptp1588Configure()
2902 ENET_Ptp1588ConfigureHandler(base, handle, ptpConfig); in ENET_Ptp1588Configure()
Dfsl_enet.h1761 …ENET_Ptp1588ConfigureHandler(ENET_Type *base, enet_handle_t *handle, enet_ptp_config_t *ptpConfig);
1779 void ENET_Ptp1588Configure(ENET_Type *base, enet_handle_t *handle, enet_ptp_config_t *ptpConfig);