Searched refs:ptp_data (Results 1 – 7 of 7) sorted by relevance
59 container_of((d), struct sja1105_private, ptp_data)67 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_change_rxtstamping() local81 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() local161 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() local367 if (ptpsyncts && ptp_data->ptpsyncts != ptpsyncts) { in sja1105_extts_poll()371 ptp_clock_event(ptp_data->clock, &event); in sja1105_extts_poll()[all …]
628 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() local730 mutex_lock(&ptp_data->lock); in sja1105_tas_state_machine()837 mutex_unlock(&ptp_data->lock); in sja1105_tas_state_machine()
224 struct sja1105_ptp_data ptp_data; member
1831 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()
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 …]
751 struct efx_ptp_data *ptp_data = efx->ptp_data; in efx_realloc_channels() local821 efx->ptp_data = NULL; in efx_realloc_channels()832 efx->ptp_data = ptp_data; in efx_realloc_channels()
1103 struct efx_ptp_data *ptp_data; member