drivers/watchdog/i6300esb.c
Source file repositories/reference/linux-study-clean/drivers/watchdog/i6300esb.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/watchdog/i6300esb.c- Extension
.c- Size
- 10220 bytes
- Lines
- 354
- Domain
- Driver Families
- Bucket
- drivers/watchdog
- Inferred role
- Driver Families: operation-table or driver-model contract
- Status
- pattern 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.
- Defines an operation table; this is where Linux turns generic core objects into subsystem-specific behavior.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/types.hlinux/kernel.hlinux/fs.hlinux/mm.hlinux/miscdevice.hlinux/watchdog.hlinux/pci.hlinux/ioport.hlinux/uaccess.hlinux/io.h
Detected Declarations
struct esb_devfunction esb_unlock_registersfunction esb_timer_startfunction esb_timer_stopfunction esb_timer_keepalivefunction esb_timer_set_heartbeatfunction esb_getdevicefunction esb_initdevicefunction esb_probefunction esb_remove
Annotated Snippet
static struct pci_driver esb_driver = {
.name = ESB_MODULE_NAME,
.id_table = esb_pci_tbl,
.probe = esb_probe,
.remove = esb_remove,
};
module_pci_driver(esb_driver);
MODULE_AUTHOR("Ross Biro and David Härdeman");
MODULE_DESCRIPTION("Watchdog driver for Intel 6300ESB chipsets");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/kernel.h`, `linux/fs.h`, `linux/mm.h`, `linux/miscdevice.h`, `linux/watchdog.h`, `linux/pci.h`.
- Detected declarations: `struct esb_dev`, `function esb_unlock_registers`, `function esb_timer_start`, `function esb_timer_stop`, `function esb_timer_keepalive`, `function esb_timer_set_heartbeat`, `function esb_getdevice`, `function esb_initdevice`, `function esb_probe`, `function esb_remove`.
- Atlas domain: Driver Families / drivers/watchdog.
- Implementation status: pattern 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.