Lines Matching refs:phc_clock
330 struct ptp_clock *phc_clock; member
1423 ptp_clock_event(ptp->phc_clock, &ptp_evt); in efx_ptp_pps_worker()
1532 ptp->phc_clock = ptp_clock_register(&ptp->phc_clock_info, in efx_ptp_probe()
1534 if (IS_ERR(ptp->phc_clock)) { in efx_ptp_probe()
1535 rc = PTR_ERR(ptp->phc_clock); in efx_ptp_probe()
1537 } else if (ptp->phc_clock) { in efx_ptp_probe()
1550 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_probe()
1604 if (efx->ptp_data->phc_clock) { in efx_ptp_remove()
1606 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_remove()
1841 if (primary && primary->ptp_data && primary->ptp_data->phc_clock) in efx_ptp_get_ts_info()
1843 ptp_clock_index(primary->ptp_data->phc_clock); in efx_ptp_get_ts_info()