drivers/input/misc/hp_sdc_rtc.c
Source file repositories/reference/linux-study-clean/drivers/input/misc/hp_sdc_rtc.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/input/misc/hp_sdc_rtc.c- Extension
.c- Size
- 10166 bytes
- Lines
- 378
- Domain
- Driver Families
- Bucket
- drivers/input
- 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/hp_sdc.hlinux/errno.hlinux/types.hlinux/init.hlinux/module.hlinux/time.hlinux/miscdevice.hlinux/proc_fs.hlinux/seq_file.hlinux/poll.hlinux/rtc.hlinux/mutex.hlinux/semaphore.h
Detected Declarations
function hp_sdc_rtc_isrfunction hp_sdc_rtc_do_read_bbrtcfunction hp_sdc_rtc_read_bbrtcfunction hp_sdc_rtc_read_i8042timerfunction hp_sdc_rtc_read_rtfunction hp_sdc_rtc_read_fhsfunction hp_sdc_rtc_read_mtfunction hp_sdc_rtc_read_dtfunction hp_sdc_rtc_read_ctfunction hp_sdc_rtc_proc_showfunction hp_sdc_rtc_initfunction hp_sdc_rtc_exitmodule init hp_sdc_rtc_init
Annotated Snippet
module_init(hp_sdc_rtc_init);
module_exit(hp_sdc_rtc_exit);
Annotation
- Immediate include surface: `linux/hp_sdc.h`, `linux/errno.h`, `linux/types.h`, `linux/init.h`, `linux/module.h`, `linux/time.h`, `linux/miscdevice.h`, `linux/proc_fs.h`.
- Detected declarations: `function hp_sdc_rtc_isr`, `function hp_sdc_rtc_do_read_bbrtc`, `function hp_sdc_rtc_read_bbrtc`, `function hp_sdc_rtc_read_i8042timer`, `function hp_sdc_rtc_read_rt`, `function hp_sdc_rtc_read_fhs`, `function hp_sdc_rtc_read_mt`, `function hp_sdc_rtc_read_dt`, `function hp_sdc_rtc_read_ct`, `function hp_sdc_rtc_proc_show`.
- Atlas domain: Driver Families / drivers/input.
- 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.