Searched refs:sync_events_state (Results 1 – 4 of 4) sorted by relevance
4564 if (channel->sync_events_state == SYNC_EVENTS_REQUESTED || in efx_ef10_rx_enable_timestamping()4565 channel->sync_events_state == SYNC_EVENTS_VALID || in efx_ef10_rx_enable_timestamping()4566 (temp && channel->sync_events_state == SYNC_EVENTS_DISABLED)) in efx_ef10_rx_enable_timestamping()4568 channel->sync_events_state = SYNC_EVENTS_REQUESTED; in efx_ef10_rx_enable_timestamping()4579 channel->sync_events_state = temp ? SYNC_EVENTS_QUIESCENT : in efx_ef10_rx_enable_timestamping()4591 if (channel->sync_events_state == SYNC_EVENTS_DISABLED || in efx_ef10_rx_disable_timestamping()4592 (temp && channel->sync_events_state == SYNC_EVENTS_QUIESCENT)) in efx_ef10_rx_disable_timestamping()4594 if (channel->sync_events_state == SYNC_EVENTS_QUIESCENT) { in efx_ef10_rx_disable_timestamping()4595 channel->sync_events_state = SYNC_EVENTS_DISABLED; in efx_ef10_rx_disable_timestamping()4598 channel->sync_events_state = temp ? SYNC_EVENTS_QUIESCENT : in efx_ef10_rx_disable_timestamping()
579 if (channel->sync_events_state == SYNC_EVENTS_VALID) in efx_rx_skb_attach_timestamp()
466 enum efx_sync_events_state sync_events_state; member
1719 (void) cmpxchg(&channel->sync_events_state, SYNC_EVENTS_REQUESTED, in efx_time_sync_event()