Home
last modified time | relevance | path

Searched refs:ptp_data (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/net/dsa/sja1105/
Dsja1105_ptp.c59 container_of((d), struct sja1105_private, ptp_data)
68 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_change_rxtstamping() local
82 ptp_cancel_worker_sync(ptp_data->clock); in sja1105_change_rxtstamping()
84 skb_queue_purge(&ptp_data->skb_rxtstamp_queue); in sja1105_change_rxtstamping()
160 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_get_ts_info() local
163 if (!ptp_data->clock) in sja1105_get_ts_info()
173 info->phc_index = ptp_clock_index(ptp_data->clock); in sja1105_get_ts_info()
357 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_extts_poll() local
369 if (ptpsyncts && ptp_data->ptpsyncts != ptpsyncts) { in sja1105_extts_poll()
373 ptp_clock_event(ptp_data->clock, &event); in sja1105_extts_poll()
[all …]
Dsja1105_tas.c630 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_start()
657 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_stop()
725 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_tas_state_machine() local
732 mutex_lock(&ptp_data->lock); in sja1105_tas_state_machine()
839 mutex_unlock(&ptp_data->lock); in sja1105_tas_state_machine()
Dsja1105.h252 struct sja1105_ptp_data ptp_data; member
Dsja1105_main.c2158 mutex_lock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2162 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2169 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2175 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2192 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
3305 mutex_init(&priv->ptp_data.lock); in sja1105_probe()
/Linux-v5.15/drivers/net/ethernet/sfc/
Dptp.c398 if (!efx->ptp_data) in efx_ptp_describe_stats()
412 if (!efx->ptp_data) in efx_ptp_update_stats()
419 stats[i] = *(unsigned int *)((char *)efx->ptp_data + in efx_ptp_update_stats()
541 return efx->ptp_data ? efx->ptp_data->channel : NULL; in efx_ptp_channel()
612 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time()
633 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes()
745 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
747 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
749 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
751 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
[all …]
Dnet_driver.h1111 struct efx_ptp_data *ptp_data; member