Lines Matching refs:perout
818 if (rq->perout.flags & ~(PTP_PEROUT_DUTY_CYCLE | in lan966x_ptp_perout()
822 pin = ptp_find_pin(phc->clock, PTP_PF_PEROUT, rq->perout.index); in lan966x_ptp_perout()
839 if (rq->perout.period.sec == 1 && in lan966x_ptp_perout()
840 rq->perout.period.nsec == 0) in lan966x_ptp_perout()
843 if (rq->perout.flags & PTP_PEROUT_PHASE) { in lan966x_ptp_perout()
844 ts_phase.tv_sec = rq->perout.phase.sec; in lan966x_ptp_perout()
845 ts_phase.tv_nsec = rq->perout.phase.nsec; in lan966x_ptp_perout()
847 ts_phase.tv_sec = rq->perout.start.sec; in lan966x_ptp_perout()
848 ts_phase.tv_nsec = rq->perout.start.nsec; in lan966x_ptp_perout()
857 if (rq->perout.flags & PTP_PEROUT_DUTY_CYCLE) { in lan966x_ptp_perout()
860 ts_on.tv_sec = rq->perout.on.sec; in lan966x_ptp_perout()
861 ts_on.tv_nsec = rq->perout.on.nsec; in lan966x_ptp_perout()
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()