drivers/ptp/ptp_vmw.c
Source file repositories/reference/linux-study-clean/drivers/ptp/ptp_vmw.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/ptp/ptp_vmw.c- Extension
.c- Size
- 2898 bytes
- Lines
- 135
- Domain
- Driver Families
- Bucket
- drivers/ptp
- Inferred role
- Driver Families: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/acpi.hlinux/kernel.hlinux/module.hlinux/platform_device.hlinux/ptp_clock_kernel.hasm/hypervisor.hasm/vmware.h
Detected Declarations
function ptp_vmw_pclk_readfunction ptp_vmw_adjtimefunction ptp_vmw_adjfinefunction ptp_vmw_gettimefunction ptp_vmw_settimefunction ptp_vmw_enablefunction ptp_vmw_acpi_probefunction ptp_vmw_acpi_removefunction ptp_vmw_initfunction ptp_vmw_exitmodule init ptp_vmw_init
Annotated Snippet
module_init(ptp_vmw_init);
module_exit(ptp_vmw_exit);
MODULE_DESCRIPTION("VMware virtual PTP clock driver");
MODULE_AUTHOR("VMware, Inc.");
MODULE_LICENSE("Dual BSD/GPL");
Annotation
- Immediate include surface: `linux/acpi.h`, `linux/kernel.h`, `linux/module.h`, `linux/platform_device.h`, `linux/ptp_clock_kernel.h`, `asm/hypervisor.h`, `asm/vmware.h`.
- Detected declarations: `function ptp_vmw_pclk_read`, `function ptp_vmw_adjtime`, `function ptp_vmw_adjfine`, `function ptp_vmw_gettime`, `function ptp_vmw_settime`, `function ptp_vmw_enable`, `function ptp_vmw_acpi_probe`, `function ptp_vmw_acpi_remove`, `function ptp_vmw_init`, `function ptp_vmw_exit`.
- Atlas domain: Driver Families / drivers/ptp.
- Implementation status: integration 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.