Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c20 #define ptp_data_to_ksz_dev(d) container_of((d), struct ksz_device, ptp_data)
181 struct ksz_ptp_data *ptp_data = &dev->ptp_data; in ksz_ptp_enable_perout() local
192 if (ptp_data->tou_mode != KSZ_PTP_TOU_PEROUT && in ksz_ptp_enable_perout()
193 ptp_data->tou_mode != KSZ_PTP_TOU_IDLE) in ksz_ptp_enable_perout()
196 pin = ptp_find_pin(ptp_data->clock, PTP_PF_PEROUT, request->index); in ksz_ptp_enable_perout()
212 ptp_data->tou_mode = KSZ_PTP_TOU_IDLE; in ksz_ptp_enable_perout()
216 ptp_data->perout_target_time_first.tv_sec = request->start.sec; in ksz_ptp_enable_perout()
217 ptp_data->perout_target_time_first.tv_nsec = request->start.nsec; in ksz_ptp_enable_perout()
219 ptp_data->perout_period.tv_sec = request->period.sec; in ksz_ptp_enable_perout()
220 ptp_data->perout_period.tv_nsec = request->period.nsec; in ksz_ptp_enable_perout()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c398 if (!efx->ptp_data) in efx_siena_ptp_describe_stats()
412 if (!efx->ptp_data) in efx_siena_ptp_update_stats()
419 stats[i] = *(unsigned int *)((char *)efx->ptp_data + in efx_siena_ptp_update_stats()
541 return efx->ptp_data ? efx->ptp_data->channel : NULL; in efx_siena_ptp_channel()
612 struct efx_ptp_data *ptp = efx->ptp_data; in efx_siena_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 …]
H A Dtx.c317 ((efx_siena_ptp_use_mac_tx_timestamps(efx) && efx->ptp_data) || in efx_siena_hard_start_xmit()
H A Dnet_driver.h1096 struct efx_ptp_data *ptp_data; member
/linux/drivers/net/ethernet/sfc/
H A Dptp.c404 if (!efx->ptp_data) in efx_ptp_describe_stats()
418 if (!efx->ptp_data) in efx_ptp_update_stats()
425 stats[i] = *(unsigned int *)((char *)efx->ptp_data + in efx_ptp_update_stats()
528 return efx->ptp_data ? efx->ptp_data->channel : NULL; in efx_ptp_channel()
533 if (efx->ptp_data) in efx_ptp_update_channel()
534 efx->ptp_data->channel = channel; in efx_ptp_update_channel()
605 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time()
626 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes()
732 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
734 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
[all …]
H A Defx_channels.c848 struct efx_ptp_data *ptp_data = efx->ptp_data; in efx_realloc_channels() local
894 efx->ptp_data = NULL; in efx_realloc_channels()
905 efx->ptp_data = ptp_data; in efx_realloc_channels()
H A Dnet_driver.h1175 struct efx_ptp_data *ptp_data; member
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_tas.c633 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_start()
660 struct sja1105_ptp_cmd *cmd = &priv->ptp_data.cmd; in sja1105_tas_stop()
728 struct sja1105_ptp_data *ptp_data = &priv->ptp_data; in sja1105_tas_state_machine() local
735 mutex_lock(&ptp_data->lock); in sja1105_tas_state_machine()
840 mutex_unlock(&ptp_data->lock); in sja1105_tas_state_machine()
H A Dsja1105_main.c2292 mutex_lock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2296 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2303 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2309 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
2326 mutex_unlock(&priv->ptp_data.lock); in sja1105_static_config_reload()
3320 mutex_init(&priv->ptp_data.lock); in sja1105_probe()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.h27 struct ptp_data { struct
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dfw.c1855 if (!mvm->ptp_data.ptp_clock) in iwl_mvm_up()