Searched refs:ptp_state (Results 1 – 4 of 4) sorted by relevance
369 struct mlxsw_sp_ptp_state *ptp_state = mlxsw_sp->ptp_state; in mlxsw_sp1_ptp_unmatched_save() local380 unmatched->gc_cycle = mlxsw_sp->ptp_state->gc_cycle + cycles; in mlxsw_sp1_ptp_unmatched_save()382 err = rhltable_insert(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_unmatched_save()398 list = rhltable_lookup(&mlxsw_sp->ptp_state->unmatched_ht, &key, in mlxsw_sp1_ptp_unmatched_lookup()413 return rhltable_remove(&mlxsw_sp->ptp_state->unmatched_ht, in mlxsw_sp1_ptp_unmatched_remove()508 spin_lock(&mlxsw_sp->ptp_state->unmatched_lock); in mlxsw_sp1_ptp_got_piece()536 spin_unlock(&mlxsw_sp->ptp_state->unmatched_lock); in mlxsw_sp1_ptp_got_piece()630 mlxsw_sp1_ptp_ht_gc_collect(struct mlxsw_sp_ptp_state *ptp_state, in mlxsw_sp1_ptp_ht_gc_collect() argument646 spin_lock(&ptp_state->unmatched_lock); in mlxsw_sp1_ptp_ht_gc_collect()647 err = rhltable_remove(&ptp_state->unmatched_ht, &unmatched->ht_node, in mlxsw_sp1_ptp_ht_gc_collect()[all …]
38 void mlxsw_sp1_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state);85 static inline void mlxsw_sp1_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state) in mlxsw_sp1_ptp_fini() argument164 static inline void mlxsw_sp2_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state) in mlxsw_sp2_ptp_fini() argument
157 void (*fini)(struct mlxsw_sp_ptp_state *ptp_state);4854 mlxsw_sp->ptp_state = mlxsw_sp->ptp_ops->init(mlxsw_sp); in mlxsw_sp_init()4855 if (IS_ERR(mlxsw_sp->ptp_state)) { in mlxsw_sp_init()4856 err = PTR_ERR(mlxsw_sp->ptp_state); in mlxsw_sp_init()4893 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_init()4978 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_fini()
161 struct mlxsw_sp_ptp_state *ptp_state; member