Lines Matching refs:perout
199 if (rq->perout.flags & ~(PTP_PEROUT_DUTY_CYCLE | in ocelot_ptp_enable()
204 rq->perout.index); in ocelot_ptp_enable()
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()
231 if (rq->perout.flags & PTP_PEROUT_PHASE) { in ocelot_ptp_enable()
232 ts_phase.tv_sec = rq->perout.phase.sec; in ocelot_ptp_enable()
233 ts_phase.tv_nsec = rq->perout.phase.nsec; in ocelot_ptp_enable()
236 ts_phase.tv_sec = rq->perout.start.sec; in ocelot_ptp_enable()
237 ts_phase.tv_nsec = rq->perout.start.nsec; in ocelot_ptp_enable()
248 if (rq->perout.flags & PTP_PEROUT_DUTY_CYCLE) { in ocelot_ptp_enable()
251 ts_on.tv_sec = rq->perout.on.sec; in ocelot_ptp_enable()
252 ts_on.tv_nsec = rq->perout.on.nsec; in ocelot_ptp_enable()