drivers/ptp/ptp_fc3.h
Source file repositories/reference/linux-study-clean/drivers/ptp/ptp_fc3.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/ptp/ptp_fc3.h- Extension
.h- Size
- 1022 bytes
- Lines
- 46
- Domain
- Driver Families
- Bucket
- drivers/ptp
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/ktime.hlinux/ptp_clock.hlinux/regmap.h
Detected Declarations
struct idtfc3
Annotated Snippet
struct idtfc3 {
struct ptp_clock_info caps;
struct ptp_clock *ptp_clock;
struct device *dev;
/* Mutex to protect operations from being interrupted */
struct mutex *lock;
struct device *mfd;
struct regmap *regmap;
struct idtfc3_hw_param hw_param;
u32 sub_sync_count;
u32 ns_per_sync;
int tdc_offset_sign;
u64 tdc_apll_freq;
u32 time_ref_freq;
u16 fod_n;
u8 lpf_mode;
/* Time counter */
u32 last_counter;
s64 ns;
u32 ns_per_counter;
u32 tc_update_period;
u32 tc_write_timeout;
s64 tod_write_overhead;
};
#endif /* PTP_IDTFC3_H */
Annotation
- Immediate include surface: `linux/ktime.h`, `linux/ptp_clock.h`, `linux/regmap.h`.
- Detected declarations: `struct idtfc3`.
- Atlas domain: Driver Families / drivers/ptp.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.