Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ptp_clock/
Dptp_clock.c14 struct net_ptp_time ptp_time; in z_vrfy_ptp_clock_get() local
20 ret = z_impl_ptp_clock_get((const struct device *)dev, &ptp_time); in z_vrfy_ptp_clock_get()
25 if (k_usermode_to_copy((void *)tm, &ptp_time, sizeof(ptp_time)) != 0) { in z_vrfy_ptp_clock_get()
/Zephyr-latest/doc/connectivity/networking/api/
Dtsn.rst11 ptp_time.rst
Dptp_time.rst22 .. doxygengroup:: ptp_time
/Zephyr-latest/drivers/ethernet/nxp_enet/
Deth_nxp_enet.c400 struct net_ptp_time ptp_time; in eth_nxp_enet_rx() local
402 ptp_clock_get(config->ptp_clock, &ptp_time); in eth_nxp_enet_rx()
407 if (ptp_time.nanosecond < ts) { in eth_nxp_enet_rx()
408 ptp_time.second--; in eth_nxp_enet_rx()
412 pkt->timestamp.second = ptp_time.second; in eth_nxp_enet_rx()
/Zephyr-latest/samples/net/gptp/
DREADME.rst3 :relevant-api: gptp ptp_time