drivers/clocksource/timer-cs5535.c
Source file repositories/reference/linux-study-clean/drivers/clocksource/timer-cs5535.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/clocksource/timer-cs5535.c- Extension
.c- Size
- 5734 bytes
- Lines
- 190
- Domain
- Driver Families
- Bucket
- drivers/clocksource
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/kernel.hlinux/irq.hlinux/interrupt.hlinux/module.hlinux/cs5535.hlinux/clockchips.h
Detected Declarations
function disable_timerfunction start_timerfunction mfgpt_shutdownfunction mfgpt_set_periodicfunction mfgpt_next_eventfunction mfgpt_tickfunction cs5535_mfgpt_initmodule init cs5535_mfgpt_init
Annotated Snippet
module_init(cs5535_mfgpt_init);
MODULE_AUTHOR("Andres Salomon <dilinger@queued.net>");
MODULE_DESCRIPTION("CS5535/CS5536 MFGPT clock event driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/irq.h`, `linux/interrupt.h`, `linux/module.h`, `linux/cs5535.h`, `linux/clockchips.h`.
- Detected declarations: `function disable_timer`, `function start_timer`, `function mfgpt_shutdown`, `function mfgpt_set_periodic`, `function mfgpt_next_event`, `function mfgpt_tick`, `function cs5535_mfgpt_init`, `module init cs5535_mfgpt_init`.
- Atlas domain: Driver Families / drivers/clocksource.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.