Searched refs:ptp_data (Results 1 – 7 of 7) sorted by relevance
59 container_of((d), struct sja1105_private, ptp_data)68 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_change_rxtstamping() local82 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() local163 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() local369 if (ptpsyncts && ptp_data->ptpsyncts != ptpsyncts) { in sja1105_extts_poll()373 ptp_clock_event(ptp_data->clock, &event); in sja1105_extts_poll()[all …]
630 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() local732 mutex_lock(&ptp_data->lock); in sja1105_tas_state_machine()839 mutex_unlock(&ptp_data->lock); in sja1105_tas_state_machine()
254 struct sja1105_ptp_data ptp_data; member
2198 mutex_lock(&priv->ptp_data.lock); in sja1105_static_config_reload()2202 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()2209 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()2215 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()2232 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()3345 mutex_init(&priv->ptp_data.lock); in sja1105_probe()
399 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 …]
851 struct efx_ptp_data *ptp_data = efx->ptp_data; in efx_realloc_channels() local922 efx->ptp_data = NULL; in efx_realloc_channels()933 efx->ptp_data = ptp_data; in efx_realloc_channels()
1153 struct efx_ptp_data *ptp_data; member