#include "tsnep.h"
void tsnep_get_system_time(struct tsnep_adapter *adapter, u64 *time)
{ … }
int tsnep_ptp_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd)
{ … }
static int tsnep_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm)
{ … }
static int tsnep_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta)
{ … }
static int tsnep_ptp_gettimex64(struct ptp_clock_info *ptp,
struct timespec64 *ts,
struct ptp_system_timestamp *sts)
{ … }
static int tsnep_ptp_settime64(struct ptp_clock_info *ptp,
const struct timespec64 *ts)
{ … }
static int tsnep_ptp_getcyclesx64(struct ptp_clock_info *ptp,
struct timespec64 *ts,
struct ptp_system_timestamp *sts)
{ … }
int tsnep_ptp_init(struct tsnep_adapter *adapter)
{ … }
void tsnep_ptp_cleanup(struct tsnep_adapter *adapter)
{ … }