Home
last modified time | relevance | path

Searched refs:ptp_rx (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.c90 struct aq_ring_s ptp_rx;
826 aq_ptp->ptp_rx.idx); in aq_ptp_irq_alloc()
850 &aq_ptp->ptp_rx == ring || &aq_ptp->hwts_rx == ring; in aq_ptp_ring_init()
908 &aq_ptp->ptp_rx); in aq_ptp_ring_start()
912 if (aq_ptp->ptp_rx.sw_head != aq_ptp->ptp_rx.hw_head) { in aq_ptp_ring_start()
915 err = aq_ring_rx_clean(&aq_ptp->ptp_rx, napi, &work_done, budget); in aq_ptp_ring_start()
919 sw_tail_old = aq_ptp->ptp_rx.sw_tail; in aq_ptp_ring_start()
920 err = aq_ring_rx_fill(&aq_ptp->ptp_rx); in aq_ptp_ring_start()
925 &aq_ptp->ptp_rx,
71 struct aq_ring_s ptp_rx; global() member
[all...]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c680 if (!test_bit(I40E_FLAG_PTP_ENA, pf->flags) || !pf->ptp_rx) in i40e_ptp_rx_hang()
818 if (!test_bit(I40E_FLAG_PTP_ENA, pf->flags) || !pf->ptp_rx) in i40e_ptp_rx_hwtstamp()
1204 pf->ptp_rx = false; in i40e_ptp_set_timestamp_mode()
1217 pf->ptp_rx = true; in i40e_ptp_set_timestamp_mode()
1235 pf->ptp_rx = true; in i40e_ptp_set_timestamp_mode()
1281 * ignore Rx timestamps via the pf->ptp_rx flag. in i40e_ptp_set_timestamp_mode()
1546 pf->ptp_rx = false; in i40e_ptp_stop()
H A Di40e.h681 bool ptp_rx; member
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c316 s32 ptp_rx; member
747 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
765 efx->ptp_data->ts_corrections.ptp_rx; in efx_ptp_get_timestamp_corrections()
769 efx->ptp_data->ts_corrections.ptp_rx = 0; in efx_ptp_get_timestamp_corrections()
1868 ptp->ts_corrections.ptp_rx); in ptp_event_rx()
/linux/drivers/net/ethernet/sfc/
H A Dptp.c320 s32 ptp_rx; member
734 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
752 efx->ptp_data->ts_corrections.ptp_rx; in efx_ptp_get_timestamp_corrections()
756 efx->ptp_data->ts_corrections.ptp_rx = 0; in efx_ptp_get_timestamp_corrections()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c2993 if (MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS) || chs->params.ptp_rx) { in mlx5e_open_channels()
4793 static int mlx5e_hwstamp_config_ptp_rx(struct mlx5e_priv *priv, bool ptp_rx)
4797 if (ptp_rx == priv->channels.params.ptp_rx) in mlx5e_hwstamp_config_ptp_rx()
4801 new_params.ptp_rx = ptp_rx; in mlx5e_hwstamp_config_ptp_rx()
4803 &new_params.ptp_rx, true); in mlx5e_hwstamp_config_ptp_rx()
4811 bool ptp_rx; in mlx5e_hwtstamp_set()
4836 ptp_rx = false; in mlx5e_hwtstamp_set()
4854 /* ptp_rx i in mlx5e_hwtstamp_set()
4794 mlx5e_hwstamp_config_ptp_rx(struct mlx5e_priv * priv,bool ptp_rx) mlx5e_hwstamp_config_ptp_rx() argument
4812 bool ptp_rx; mlx5e_hwtstamp_set() local
[all...]
H A Den_ethtool.c2243 new_params.ptp_rx = new_val; in mlx5e_modify_rx_cqe_compression_locked()
2245 if (new_params.ptp_rx == priv->channels.params.ptp_rx) in mlx5e_modify_rx_cqe_compression_locked()
2249 &new_params.ptp_rx, true); in mlx5e_modify_rx_cqe_compression_locked()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c145 vsi->rx_rings[i]->ptp_rx = on; in ice_set_rx_tstamp()