Home
last modified time | relevance | path

Searched refs:phc_clock (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/sfc/
Dptp.c327 struct ptp_clock *phc_clock; member
1496 ptp_clock_event(ptp->phc_clock, &ptp_evt); in efx_ptp_pps_worker()
1616 ptp->phc_clock = ptp_clock_register(&ptp->phc_clock_info, in efx_ptp_probe()
1618 if (IS_ERR(ptp->phc_clock)) { in efx_ptp_probe()
1619 rc = PTR_ERR(ptp->phc_clock); in efx_ptp_probe()
1621 } else if (ptp->phc_clock) { in efx_ptp_probe()
1634 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_probe()
1689 if (efx->ptp_data->phc_clock) { in efx_ptp_remove()
1691 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_remove()
1890 if (primary && primary->ptp_data && primary->ptp_data->phc_clock) in efx_ptp_get_ts_info()
[all …]
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dptp.c329 struct ptp_clock *phc_clock; member
1394 ptp_clock_event(ptp->phc_clock, &ptp_evt); in efx_ptp_pps_worker()
1498 ptp->phc_clock = ptp_clock_register(&ptp->phc_clock_info, in efx_ptp_probe()
1500 if (IS_ERR(ptp->phc_clock)) { in efx_ptp_probe()
1501 rc = PTR_ERR(ptp->phc_clock); in efx_ptp_probe()
1503 } else if (ptp->phc_clock) { in efx_ptp_probe()
1517 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_probe()
1571 if (efx->ptp_data->phc_clock) { in efx_ptp_remove()
1573 ptp_clock_unregister(efx->ptp_data->phc_clock); in efx_ptp_remove()
1795 if (primary && primary->ptp_data && primary->ptp_data->phc_clock) in efx_siena_ptp_get_ts_info()
[all …]