Searched refs:ptp_time (Results 1 – 5 of 5) sorted by relevance
14 struct net_ptp_time ptp_time; in z_vrfy_ptp_clock_get() local20 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()
11 ptp_time.rst
22 .. doxygengroup:: ptp_time
400 struct net_ptp_time ptp_time; in eth_nxp_enet_rx() local402 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()
3 :relevant-api: gptp ptp_time