Home
last modified time | relevance | path

Searched refs:ts_period (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mscc/
H A Docelot_ptp.c187 struct timespec64 ts_phase, ts_period; in ocelot_ptp_enable() local
216 ts_period.tv_sec = rq->perout.period.sec; in ocelot_ptp_enable()
217 ts_period.tv_nsec = rq->perout.period.nsec; in ocelot_ptp_enable()
219 if (ts_period.tv_sec == 1 && ts_period.tv_nsec == 0) in ocelot_ptp_enable()
259 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
264 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/
H A Docelot_ptp.c201 struct timespec64 ts_phase, ts_period; in ocelot_ptp_enable() local
230 ts_period.tv_sec = rq->perout.period.sec; in ocelot_ptp_enable()
231 ts_period.tv_nsec = rq->perout.period.nsec; in ocelot_ptp_enable()
233 if (ts_period.tv_sec == 1 && ts_period.tv_nsec == 0) in ocelot_ptp_enable()
273 wf_high = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
278 wf_low = timespec64_to_ns(&ts_period); in ocelot_ptp_enable()
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.h74 u32 ts_period; member
H A Dpcan_usb_fd.c1050 .ts_period = 1000000, /* calibration period in ts. */
1122 .ts_period = 1000000, /* calibration period in ts. */
1194 .ts_period = 1000000, /* calibration period in ts. */
1266 .ts_period = 1000000, /* calibration period in ts. */
H A Dpcan_usb_pro.c1025 .ts_period = 1000000, /* calibration period in ts. */
H A Dpcan_usb.c1008 .ts_period = 24575, /* calibration period in ts. */
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c812 struct timespec64 ts_phase, ts_period; in lan966x_ptp_perout() local
885 ts_period.tv_sec = rq->perout.period.sec; in lan966x_ptp_perout()
886 ts_period.tv_nsec = rq->perout.period.nsec; in lan966x_ptp_perout()
888 wf_low = timespec64_to_ns(&ts_period); in lan966x_ptp_perout()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c524 struct timespec64 ts_on, ts_period; in lan743x_ptp_perout() local
531 ts_period.tv_sec = perout_request->period.sec; in lan743x_ptp_perout()
532 ts_period.tv_nsec = perout_request->period.nsec; in lan743x_ptp_perout()
533 period64 = timespec64_to_ns(&ts_period); in lan743x_ptp_perout()
559 ts_period = ns_to_timespec64(div_s64(period64, 2)); in lan743x_ptp_perout()
560 period_sec = ts_period.tv_sec; in lan743x_ptp_perout()
561 period_nsec = ts_period.tv_nsec; in lan743x_ptp_perout()
/kernel/linux/linux-6.6/drivers/net/phy/
H A Dmicrel.c4270 struct timespec64 ts_on, ts_period; in lan8841_ptp_perout() local
4295 ts_period.tv_sec = rq->perout.period.sec; in lan8841_ptp_perout()
4296 ts_period.tv_nsec = rq->perout.period.nsec; in lan8841_ptp_perout()
4297 period_nsec = timespec64_to_ns(&ts_period); in lan8841_ptp_perout()

Completed in 16 milliseconds