Home
last modified time | relevance | path

Searched refs:fract_nsecond (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/include/zephyr/net/
Dptp_time.h194 uint64_t fract_nsecond; member
/Zephyr-latest/subsys/net/l2/ethernet/gptp/
Dgptp_mi.c721 global_ds->sync_receipt_time.fract_nsecond = in gptp_mi_clk_slave_sync_compute()
724 global_ds->sync_receipt_time.fract_nsecond += in gptp_mi_clk_slave_sync_compute()
771 (global_ds->sync_receipt_time.fract_nsecond / GPTP_POW2_16) - in gptp_update_local_port_clock()
1066 if ((src_time_0.second == 0U && src_time_0.fract_nsecond == 0U) in gptp_compute_gm_rate_ratio()
1084 && src_time_n.fract_nsecond < src_time_0.fract_nsecond)) { in gptp_compute_gm_rate_ratio()
1113 if (src_time_n.fract_nsecond >= src_time_0.fract_nsecond) { in gptp_compute_gm_rate_ratio()
1114 src_time_n.fract_nsecond -= src_time_0.fract_nsecond; in gptp_compute_gm_rate_ratio()
1117 src_time_n.fract_nsecond = (NSEC_PER_SEC * GPTP_POW2_16) in gptp_compute_gm_rate_ratio()
1118 - src_time_0.fract_nsecond; in gptp_compute_gm_rate_ratio()
1133 + (src_time_n.fract_nsecond / GPTP_POW2_16)); in gptp_compute_gm_rate_ratio()
[all …]
/Zephyr-latest/tests/net/ethernet_mgmt/src/
Dmain.c1021 params.qbv_param.base_time.fract_nsecond = 20ULL; in ZTEST()
1034 params.qbv_param.base_time.fract_nsecond = 0ULL; in ZTEST()
1046 zassert_equal(params.qbv_param.base_time.fract_nsecond, 20ULL, in ZTEST()
1112 params.qbv_param.base_time.fract_nsecond = 1000000000; in ZTEST()
/Zephyr-latest/subsys/net/l2/ethernet/
Dethernet_mgmt.c154 params->qbv_param.base_time.fract_nsecond >= 1000000000)) { in ethernet_set_config()
/Zephyr-latest/samples/net/sockets/txtime/src/
Dmain.c486 params.qbv_param.base_time.fract_nsecond = 0ULL; in set_qbv_params()