1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2021 Marvell.
5 #ifndef _ROC_TIM_PRIV_H_
6 #define _ROC_TIM_PRIV_H_
12 TIM_ERR_PARAM = -5120,
15 static inline struct tim *
16 roc_tim_to_tim_priv(struct roc_tim *roc_tim)
18 return (struct tim *)&roc_tim->reserved[0];
21 #endif /* _ROC_TIM_PRIV_H_ */