drivers/rtc/rtc-rx6110.c
Source file repositories/reference/linux-study-clean/drivers/rtc/rtc-rx6110.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/rtc/rtc-rx6110.c- Extension
.c- Size
- 12372 bytes
- Lines
- 512
- Domain
- Driver Families
- Bucket
- drivers/rtc
- 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.
- 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/bcd.hlinux/init.hlinux/kernel.hlinux/module.hlinux/regmap.hlinux/rtc.hlinux/of.hlinux/spi/spi.hlinux/i2c.h
Detected Declarations
struct rx6110_datafunction rx6110_rtc_tm_to_datafunction rx6110_data_to_rtc_tmfunction rx6110_set_timefunction rx6110_get_timefunction rx6110_initfunction rx6110_probefunction rx6110_spi_probefunction rx6110_spi_registerfunction rx6110_spi_unregisterfunction rx6110_spi_registerfunction rx6110_spi_unregisterfunction rx6110_i2c_probefunction rx6110_i2c_registerfunction rx6110_i2c_unregisterfunction rx6110_i2c_registerfunction rx6110_i2c_unregisterfunction rx6110_module_exitmodule init rx6110_module_init
Annotated Snippet
module_init(rx6110_module_init);
static void __exit rx6110_module_exit(void)
{
rx6110_spi_unregister();
rx6110_i2c_unregister();
}
module_exit(rx6110_module_exit);
MODULE_AUTHOR("Val Krutov <val.krutov@erd.epson.com>");
MODULE_DESCRIPTION("RX-6110 SA RTC driver");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/bcd.h`, `linux/init.h`, `linux/kernel.h`, `linux/module.h`, `linux/regmap.h`, `linux/rtc.h`, `linux/of.h`, `linux/spi/spi.h`.
- Detected declarations: `struct rx6110_data`, `function rx6110_rtc_tm_to_data`, `function rx6110_data_to_rtc_tm`, `function rx6110_set_time`, `function rx6110_get_time`, `function rx6110_init`, `function rx6110_probe`, `function rx6110_spi_probe`, `function rx6110_spi_register`, `function rx6110_spi_unregister`.
- Atlas domain: Driver Families / drivers/rtc.
- 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.