Home
last modified time | relevance | path

Searched refs:ptp_clock_time (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dptp_clock.h81 struct ptp_clock_time { struct
114 struct ptp_clock_time start;
121 struct ptp_clock_time phase;
123 struct ptp_clock_time period; /* Desired period, zero means disable. */
132 struct ptp_clock_time on;
148 struct ptp_clock_time ts[2 * PTP_MAX_SAMPLES + 1];
158 struct ptp_clock_time ts[PTP_MAX_SAMPLES][3];
162 struct ptp_clock_time device;
163 struct ptp_clock_time sys_realtime;
164 struct ptp_clock_time sys_monoraw;
[all …]
/openbmc/linux/tools/testing/selftests/ptp/
H A Dtestptp.c111 static int64_t pctns(struct ptp_clock_time *t) in pctns()
161 struct ptp_clock_time *pct; in main()
/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c433 struct timespec64 ptp_clock_time; in ksz_tstamp_reconstruct() local
442 ptp_clock_time = ptp_data->clock_time; in ksz_tstamp_reconstruct()
446 ts.tv_sec = (ptp_clock_time.tv_sec & ~3) | ts.tv_sec; in ksz_tstamp_reconstruct()
449 diff = timespec64_sub(ts, ptp_clock_time); in ksz_tstamp_reconstruct()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c393 struct ptp_clock_time *t = &rq->perout.period; in aq_ptp_perout_pin_configure()
394 struct ptp_clock_time *s = &rq->perout.start; in aq_ptp_perout_pin_configure()
/openbmc/linux/drivers/ptp/
H A Dptp_chardev.c121 struct ptp_clock_time *pct; in ptp_ioctl()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c599 struct ptp_clock_time *time = &rq->perout.start; in perout_conf_npps_real_time()