1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef __OTX2_TIM_EVDEV_H__
6 #define __OTX2_TIM_EVDEV_H__
8 #include <rte_event_timer_adapter.h>
12 #define OTX2_TIM_EVDEV_NAME otx2_tim_eventdev
14 struct otx2_tim_evdev {
15 struct rte_pci_device *pci_dev;
16 struct otx2_mbox *mbox;
21 static inline struct otx2_tim_evdev *
24 const struct rte_memzone *mz;
26 mz = rte_memzone_lookup(RTE_STR(OTX2_TIM_EVDEV_NAME));
33 void otx2_tim_init(struct rte_pci_device *pci_dev, struct otx2_dev *cmn_dev);
34 void otx2_tim_fini(void);
36 #endif /* __OTX2_TIM_EVDEV_H__ */