drivers/watchdog/wd501p.h
Source file repositories/reference/linux-study-clean/drivers/watchdog/wd501p.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/watchdog/wd501p.h- Extension
.h- Size
- 1475 bytes
- Lines
- 48
- Domain
- Driver Families
- Bucket
- drivers/watchdog
- 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.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#define WDT_COUNT0 (io+0)
#define WDT_COUNT1 (io+1)
#define WDT_COUNT2 (io+2)
#define WDT_CR (io+3)
#define WDT_SR (io+4) /* Start buzzer on PCI write */
#define WDT_RT (io+5) /* Stop buzzer on PCI write */
#define WDT_BUZZER (io+6) /* PCI only: rd=disable, wr=enable */
#define WDT_DC (io+7)
/* The following are only on the PCI card, they're outside of I/O space on
* the ISA card: */
#define WDT_CLOCK (io+12) /* COUNT2: rd=16.67MHz, wr=2.0833MHz */
/* inverted opto isolated reset output: */
#define WDT_OPTONOTRST (io+13) /* wr=enable, rd=disable */
/* opto isolated reset output: */
#define WDT_OPTORST (io+14) /* wr=enable, rd=disable */
/* programmable outputs: */
#define WDT_PROGOUT (io+15) /* wr=enable, rd=disable */
/* FAN 501 500 */
#define WDC_SR_WCCR 1 /* Active low */ /* X X X */
#define WDC_SR_TGOOD 2 /* X X - */
#define WDC_SR_ISOI0 4 /* X X X */
#define WDC_SR_ISII1 8 /* X X X */
#define WDC_SR_FANGOOD 16 /* X - - */
#define WDC_SR_PSUOVER 32 /* Active low */ /* X X - */
#define WDC_SR_PSUUNDR 64 /* Active low */ /* X X - */
#define WDC_SR_IRQ 128 /* Active low */ /* X X X */
Annotation
- Atlas domain: Driver Families / drivers/watchdog.
- 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.