Lines Matching refs:perout_event_ch
404 if (ptp->perout_event_ch >= 0) { in lan743x_ptp_perout_off()
407 PTP_CLOCK_TARGET_SEC_X(ptp->perout_event_ch), in lan743x_ptp_perout_off()
410 PTP_CLOCK_TARGET_NS_X(ptp->perout_event_ch), in lan743x_ptp_perout_off()
415 (ptp->perout_event_ch); in lan743x_ptp_perout_off()
417 lan743x_ptp_release_event_ch(adapter, ptp->perout_event_ch); in lan743x_ptp_perout_off()
418 ptp->perout_event_ch = -1; in lan743x_ptp_perout_off()
437 if (ptp->perout_event_ch >= 0 || in lan743x_ptp_perout()
443 ptp->perout_event_ch = lan743x_ptp_reserve_event_ch(adapter); in lan743x_ptp_perout()
444 if (ptp->perout_event_ch < 0) { in lan743x_ptp_perout()
461 ptp->perout_event_ch); in lan743x_ptp_perout()
502 PTP_CLOCK_TARGET_SEC_X(ptp->perout_event_ch), in lan743x_ptp_perout()
505 PTP_CLOCK_TARGET_NS_X(ptp->perout_event_ch), 0); in lan743x_ptp_perout()
510 (ptp->perout_event_ch)); in lan743x_ptp_perout()
512 (ptp->perout_event_ch, pulse_width); in lan743x_ptp_perout()
514 (ptp->perout_event_ch); in lan743x_ptp_perout()
519 PTP_CLOCK_TARGET_RELOAD_SEC_X(ptp->perout_event_ch), in lan743x_ptp_perout()
522 PTP_CLOCK_TARGET_RELOAD_NS_X(ptp->perout_event_ch), in lan743x_ptp_perout()
527 PTP_CLOCK_TARGET_SEC_X(ptp->perout_event_ch), in lan743x_ptp_perout()
530 PTP_CLOCK_TARGET_NS_X(ptp->perout_event_ch), in lan743x_ptp_perout()
868 ptp->perout_event_ch = -1; in lan743x_ptp_init()