drivers/watchdog/octeon-wdt-main.c
Source file repositories/reference/linux-study-clean/drivers/watchdog/octeon-wdt-main.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/watchdog/octeon-wdt-main.c- Extension
.c- Size
- 16514 bytes
- Lines
- 608
- 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.
- 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/interrupt.hlinux/watchdog.hlinux/cpumask.hlinux/module.hlinux/delay.hlinux/cpu.hlinux/irq.hlinux/irqdomain.hasm/mipsregs.hasm/uasm.hasm/octeon/octeon.hasm/octeon/cvmx-boot-vector.hasm/octeon/cvmx-ciu2-defs.hasm/octeon/cvmx-rst-defs.h
Detected Declarations
function cpu2corefunction octeon_wdt_poke_irqfunction octeon_wdt_write_stringfunction octeon_wdt_write_hexfunction octeon_wdt_nmi_stage3function octeon_wdt_cpu_to_irqfunction octeon_wdt_cpu_pre_downfunction octeon_wdt_cpu_onlinefunction octeon_wdt_pingfunction for_each_online_cpufunction octeon_wdt_calc_parametersfunction octeon_wdt_set_timeoutfunction for_each_online_cpufunction octeon_wdt_startfunction octeon_wdt_stopfunction octeon_wdt_initfunction octeon_wdt_cleanupmodule init octeon_wdt_init
Annotated Snippet
module_init(octeon_wdt_init);
module_exit(octeon_wdt_cleanup);
Annotation
- Immediate include surface: `linux/interrupt.h`, `linux/watchdog.h`, `linux/cpumask.h`, `linux/module.h`, `linux/delay.h`, `linux/cpu.h`, `linux/irq.h`, `linux/irqdomain.h`.
- Detected declarations: `function cpu2core`, `function octeon_wdt_poke_irq`, `function octeon_wdt_write_string`, `function octeon_wdt_write_hex`, `function octeon_wdt_nmi_stage3`, `function octeon_wdt_cpu_to_irq`, `function octeon_wdt_cpu_pre_down`, `function octeon_wdt_cpu_online`, `function octeon_wdt_ping`, `function for_each_online_cpu`.
- Atlas domain: Driver Families / drivers/watchdog.
- 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.