drivers/net/wireless/intel/iwlwifi/mld/ptp.h

Source file repositories/reference/linux-study-clean/drivers/net/wireless/intel/iwlwifi/mld/ptp.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wireless/intel/iwlwifi/mld/ptp.h
Extension
.h
Size
1423 bytes
Lines
46
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

struct ptp_data {
	struct ptp_clock *ptp_clock;
	struct ptp_clock_info ptp_clock_info;

	spinlock_t lock;
	s64 delta;
	u32 scale_update_gp2;
	u64 scale_update_adj_time_ns;
	u64 scaled_freq;
	u32 last_gp2;
	u32 wrap_counter;
	struct delayed_work dwork;
};

void iwl_mld_ptp_init(struct iwl_mld *mld);
void iwl_mld_ptp_remove(struct iwl_mld *mld);
u64 iwl_mld_ptp_get_adj_time(struct iwl_mld *mld, u64 base_time_ns);

#endif /* __iwl_mld_ptp_h__ */

Annotation

Implementation Notes