Lines Matching refs:ptp_clock
190 ptp_clock_event(bp->ptp_cfg->ptp_clock, &event); in bnxt_ptp_pps_event()
338 pin_id = ptp_find_pin(ptp->ptp_clock, PTP_PF_EXTTS, in bnxt_ptp_enable()
351 pin_id = ptp_find_pin(ptp->ptp_clock, PTP_PF_PEROUT, in bnxt_ptp_enable()
602 ptp_schedule_worker(ptp->ptp_clock, 0); in bnxt_get_tx_ts_p5()
732 if (ptp->ptp_clock && bnxt_pps_config_ok(bp)) in bnxt_ptp_init()
735 if (ptp->ptp_clock) { in bnxt_ptp_init()
736 ptp_clock_unregister(ptp->ptp_clock); in bnxt_ptp_init()
737 ptp->ptp_clock = NULL; in bnxt_ptp_init()
758 ptp->ptp_clock = ptp_clock_register(&ptp->ptp_info, &bp->pdev->dev); in bnxt_ptp_init()
759 if (IS_ERR(ptp->ptp_clock)) { in bnxt_ptp_init()
760 int err = PTR_ERR(ptp->ptp_clock); in bnxt_ptp_init()
762 ptp->ptp_clock = NULL; in bnxt_ptp_init()
771 ptp_schedule_worker(ptp->ptp_clock, 0); in bnxt_ptp_init()
783 if (ptp->ptp_clock) in bnxt_ptp_clear()
784 ptp_clock_unregister(ptp->ptp_clock); in bnxt_ptp_clear()
786 ptp->ptp_clock = NULL; in bnxt_ptp_clear()