drivers/net/ethernet/wangxun/libwx/wx_ptp.h

Source file repositories/reference/linux-study-clean/drivers/net/ethernet/wangxun/libwx/wx_ptp.h

File Facts

System
Linux kernel
Corpus path
drivers/net/ethernet/wangxun/libwx/wx_ptp.h
Extension
.h
Size
673 bytes
Lines
21
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#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_ */

Annotation

Implementation Notes