mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Implement support for generating a 1pps output signal on SDP0. And support custom firmware to output TOD. Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com> Link: https://patch.msgid.link/20250218023432.146536-5-jiawenwu@trustnetic.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
20 lines
673 B
C
20 lines
673 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (c) 2019 - 2025 Beijing WangXun Technology Co., Ltd. */
|
|
|
|
#ifndef _WX_PTP_H_
|
|
#define _WX_PTP_H_
|
|
|
|
void wx_ptp_check_pps_event(struct wx *wx);
|
|
void wx_ptp_reset_cyclecounter(struct wx *wx);
|
|
void wx_ptp_reset(struct wx *wx);
|
|
void wx_ptp_init(struct wx *wx);
|
|
void wx_ptp_suspend(struct wx *wx);
|
|
void wx_ptp_stop(struct wx *wx);
|
|
void wx_ptp_rx_hwtstamp(struct wx *wx, struct sk_buff *skb);
|
|
int wx_hwtstamp_get(struct net_device *dev,
|
|
struct kernel_hwtstamp_config *cfg);
|
|
int wx_hwtstamp_set(struct net_device *dev,
|
|
struct kernel_hwtstamp_config *cfg,
|
|
struct netlink_ext_ack *extack);
|
|
|
|
#endif /* _WX_PTP_H_ */
|