FILE
wx_ptp.h
File preview with syntax highlighting.
linux-6.19.14/drivers/net/ethernet/wangxun/libwx/wx_ptp.h
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* Copyright (c) 2019 - 2025 Beijing WangXun Technology Co., Ltd. */ 3 4#ifndef _WX_PTP_H_ 5#define _WX_PTP_H_ 6 7void wx_ptp_check_pps_event(struct wx *wx); 8void wx_ptp_reset_cyclecounter(struct wx *wx); 9void wx_ptp_reset(struct wx *wx); 10void wx_ptp_init(struct wx *wx); 11void wx_ptp_suspend(struct wx *wx); 12void wx_ptp_stop(struct wx *wx); 13void wx_ptp_rx_hwtstamp(struct wx *wx, struct sk_buff *skb); 14int wx_hwtstamp_get(struct net_device *dev, 15 struct kernel_hwtstamp_config *cfg); 16int wx_hwtstamp_set(struct net_device *dev, 17 struct kernel_hwtstamp_config *cfg, 18 struct netlink_ext_ack *extack); 19 20#endif /* _WX_PTP_H_ */
~/
Read-only file preview.