Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_ptp.c59 container_of((d), struct sja1105_private, ptp_data)
67 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_change_rxtstamping() local
81 ptp_cancel_worker_sync(ptp_data->clock); in sja1105_change_rxtstamping()
82 skb_queue_purge(&ptp_data->skb_rxtstamp_queue); in sja1105_change_rxtstamping()
158 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_get_ts_info() local
161 if (!ptp_data->clock) in sja1105_get_ts_info()
171 info->phc_index = ptp_clock_index(ptp_data->clock); in sja1105_get_ts_info()
355 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_extts_poll() local
367 if (ptpsyncts && ptp_data->ptpsyncts != ptpsyncts) { in sja1105_extts_poll()
371 ptp_clock_event(ptp_data->clock, &event); in sja1105_extts_poll()
[all …]
Dsja1105_tas.c628 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_start()
655 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_stop()
723 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_tas_state_machine() local
730 mutex_lock(&ptp_data->lock); in sja1105_tas_state_machine()
837 mutex_unlock(&ptp_data->lock); in sja1105_tas_state_machine()
Dsja1105.h224 struct sja1105_ptp_data ptp_data; member
Dsja1105_main.c1831 mutex_lock(&priv->ptp_data.lock); in sja1105_static_config_reload()
1860 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
3514 mutex_init(&priv->ptp_data.lock); in sja1105_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dptp.c399 if (!efx->ptp_data) in efx_ptp_describe_stats()
413 if (!efx->ptp_data) in efx_ptp_update_stats()
420 stats[i] = *(unsigned int *)((char *)efx->ptp_data + in efx_ptp_update_stats()
542 return efx->ptp_data ? efx->ptp_data->channel : NULL; in efx_ptp_channel()
547 if (efx->ptp_data) in efx_ptp_update_channel()
548 efx->ptp_data->channel = channel; in efx_ptp_update_channel()
619 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time()
640 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes()
752 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
754 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
[all …]
Defx_channels.c751 struct efx_ptp_data *ptp_data = efx->ptp_data; in efx_realloc_channels() local
821 efx->ptp_data = NULL; in efx_realloc_channels()
832 efx->ptp_data = ptp_data; in efx_realloc_channels()
Dnet_driver.h1103 struct efx_ptp_data *ptp_data; member