drivers/watchdog/advantech_ec_wdt.c
Source file repositories/reference/linux-study-clean/drivers/watchdog/advantech_ec_wdt.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/watchdog/advantech_ec_wdt.c- Extension
.c- Size
- 5202 bytes
- Lines
- 206
- Domain
- Driver Families
- Bucket
- drivers/watchdog
- 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/delay.hlinux/io.hlinux/isa.hlinux/kernel.hlinux/module.hlinux/moduleparam.hlinux/watchdog.h
Detected Declarations
function adv_ec_wdt_timing_gatefunction adv_ec_wdt_outbfunction adv_ec_wdt_inbfunction adv_ec_wdt_pingfunction adv_ec_wdt_set_timeoutfunction adv_ec_wdt_startfunction adv_ec_wdt_stopfunction adv_ec_wdt_probefunction adv_ec_wdt_initfunction adv_ec_wdt_exitmodule init adv_ec_wdt_init
Annotated Snippet
module_init(adv_ec_wdt_init);
module_exit(adv_ec_wdt_exit);
MODULE_AUTHOR("Thomas Kastner <thomas.kastner@advantech.com>");
MODULE_DESCRIPTION("Advantech Embedded Controller Watchdog Device Driver");
MODULE_LICENSE("GPL");
MODULE_VERSION("20221019");
MODULE_ALIAS("isa:" DRIVER_NAME);
Annotation
- Immediate include surface: `linux/delay.h`, `linux/io.h`, `linux/isa.h`, `linux/kernel.h`, `linux/module.h`, `linux/moduleparam.h`, `linux/watchdog.h`.
- Detected declarations: `function adv_ec_wdt_timing_gate`, `function adv_ec_wdt_outb`, `function adv_ec_wdt_inb`, `function adv_ec_wdt_ping`, `function adv_ec_wdt_set_timeout`, `function adv_ec_wdt_start`, `function adv_ec_wdt_stop`, `function adv_ec_wdt_probe`, `function adv_ec_wdt_init`, `function adv_ec_wdt_exit`.
- Atlas domain: Driver Families / drivers/watchdog.
- 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.