Lines Matching defs:ptp_clock
217 pin = ptp_find_pin(ocelot->ptp_clock, PTP_PF_PEROUT,
585 info->phc_index = ocelot->ptp_clock ?
586 ptp_clock_index(ocelot->ptp_clock) : -1;
818 struct ptp_clock *ptp_clock;
833 ptp_clock = ptp_clock_register(&ocelot->ptp_info, ocelot->dev);
834 if (IS_ERR(ptp_clock))
835 return PTR_ERR(ptp_clock);
837 if (!ptp_clock)
840 ocelot->ptp_clock = ptp_clock;
854 if (ocelot->ptp_clock)
855 ptp_clock_unregister(ocelot->ptp_clock);