Searched refs:ptp_state (Results 1 – 4 of 4) sorted by relevance
351 struct mlxsw_sp_ptp_state *ptp_state = mlxsw_sp->ptp_state; in mlxsw_sp1_ptp_unmatched_save() local631 spin_lock(&ptp_state->unmatched_lock); in mlxsw_sp1_ptp_ht_gc_collect()667 struct mlxsw_sp_ptp_state *ptp_state; in mlxsw_sp1_ptp_ht_gc() local673 gc_cycle = ptp_state->gc_cycle++; in mlxsw_sp1_ptp_ht_gc()813 struct mlxsw_sp_ptp_state *ptp_state; in mlxsw_sp1_ptp_init() local821 ptp_state = kzalloc(sizeof(*ptp_state), GFP_KERNEL); in mlxsw_sp1_ptp_init()822 if (!ptp_state) in mlxsw_sp1_ptp_init()824 ptp_state->mlxsw_sp = mlxsw_sp; in mlxsw_sp1_ptp_init()857 return ptp_state; in mlxsw_sp1_ptp_init()866 kfree(ptp_state); in mlxsw_sp1_ptp_init()[all …]
31 void mlxsw_sp1_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state);78 static inline void mlxsw_sp1_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state) in mlxsw_sp1_ptp_fini() argument157 static inline void mlxsw_sp2_ptp_fini(struct mlxsw_sp_ptp_state *ptp_state) in mlxsw_sp2_ptp_fini() argument
181 struct mlxsw_sp_ptp_state *ptp_state; member214 void (*fini)(struct mlxsw_sp_ptp_state *ptp_state);
2878 mlxsw_sp->ptp_state = mlxsw_sp->ptp_ops->init(mlxsw_sp); in mlxsw_sp_init()2879 if (IS_ERR(mlxsw_sp->ptp_state)) { in mlxsw_sp_init()2880 err = PTR_ERR(mlxsw_sp->ptp_state); in mlxsw_sp_init()2936 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_init()3072 mlxsw_sp->ptp_ops->fini(mlxsw_sp->ptp_state); in mlxsw_sp_fini()
Completed in 20 milliseconds