drivers/regulator/tps65910-regulator.c
Source file repositories/reference/linux-study-clean/drivers/regulator/tps65910-regulator.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/regulator/tps65910-regulator.c- Extension
.c- Size
- 33779 bytes
- Lines
- 1279
- Domain
- Driver Families
- Bucket
- drivers/regulator
- 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/kernel.hlinux/module.hlinux/init.hlinux/err.hlinux/of.hlinux/platform_device.hlinux/regulator/driver.hlinux/regulator/machine.hlinux/slab.hlinux/mfd/tps65910.hlinux/regulator/of_regulator.h
Detected Declarations
struct tps_infostruct tps65910_regfunction tps65910_get_ctrl_registerfunction tps65911_get_ctrl_registerfunction tps65910_set_modefunction tps65910_get_modefunction tps65910_get_voltage_dcdc_selfunction tps65910_get_voltage_selfunction tps65910_get_voltage_vdd3function tps65911_get_voltage_selfunction tps65910_set_voltage_dcdc_selfunction tps65910_set_voltage_selfunction tps65911_set_voltage_selfunction tps65910_list_voltage_dcdcfunction tps65911_list_voltagefunction tps65910_set_ext_sleep_configfunction tps65910_probefunction tps65910_chip_idfunction tps65910_shutdownfunction tps65910_initfunction tps65910_cleanupmodule init tps65910_init
Annotated Snippet
subsys_initcall(tps65910_init);
static void __exit tps65910_cleanup(void)
{
platform_driver_unregister(&tps65910_driver);
}
module_exit(tps65910_cleanup);
MODULE_AUTHOR("Graeme Gregory <gg@slimlogic.co.uk>");
MODULE_DESCRIPTION("TPS65910/TPS65911 voltage regulator driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:tps65910-pmic");
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/module.h`, `linux/init.h`, `linux/err.h`, `linux/of.h`, `linux/platform_device.h`, `linux/regulator/driver.h`, `linux/regulator/machine.h`.
- Detected declarations: `struct tps_info`, `struct tps65910_reg`, `function tps65910_get_ctrl_register`, `function tps65911_get_ctrl_register`, `function tps65910_set_mode`, `function tps65910_get_mode`, `function tps65910_get_voltage_dcdc_sel`, `function tps65910_get_voltage_sel`, `function tps65910_get_voltage_vdd3`, `function tps65911_get_voltage_sel`.
- Atlas domain: Driver Families / drivers/regulator.
- 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.