1/* SPDX-License-Identifier: GPL-2.0 */
2/* Marvell PTP driver
3 *
4 * Copyright (C) 2020 Marvell International Ltd.
5 */
6
7#ifndef PTP_H
8#define PTP_H
9
10#include <linux/timecounter.h>
11#include <linux/time64.h>
12#include <linux/spinlock.h>
13
14struct ptp {
15	struct pci_dev *pdev;
16	void __iomem *reg_base;
17	u32 clock_rate;
18};
19
20struct ptp *ptp_get(void);
21void ptp_put(struct ptp *ptp);
22
23extern struct pci_driver ptp_driver;
24
25#endif
26