2021-05-27 00:09:36 +05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2021-10-02 21:09:28 +05:00
|
|
|
/* Marvell RVU Ethernet driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2020 Marvell.
|
|
|
|
*
|
|
|
|
*/
|
2021-05-27 00:09:36 +05:00
|
|
|
|
|
|
|
#ifndef OTX2_PTP_H
|
|
|
|
#define OTX2_PTP_H
|
|
|
|
|
|
|
|
int otx2_ptp_init(struct otx2_nic *pfvf);
|
|
|
|
void otx2_ptp_destroy(struct otx2_nic *pfvf);
|
|
|
|
|
|
|
|
int otx2_ptp_clock_index(struct otx2_nic *pfvf);
|
|
|
|
int otx2_ptp_tstamp2time(struct otx2_nic *pfvf, u64 tstamp, u64 *tsns);
|
|
|
|
|
|
|
|
#endif
|