drivers/regulator/lp8755.c
Source file repositories/reference/linux-study-clean/drivers/regulator/lp8755.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/regulator/lp8755.c- Extension
.c- Size
- 11928 bytes
- Lines
- 466
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- 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/slab.hlinux/i2c.hlinux/err.hlinux/irq.hlinux/interrupt.hlinux/regmap.hlinux/uaccess.hlinux/regulator/driver.hlinux/regulator/machine.hlinux/platform_data/lp8755.h
Detected Declarations
struct lp8755_mphasestruct lp8755_chipfunction lp8755_buck_enable_timefunction lp8755_buck_set_modefunction lp8755_buck_get_modefunction lp8755_init_datafunction lp8755_regulator_initfunction lp8755_irq_handlerfunction lp8755_int_configfunction lp8755_probefunction lp8755_removefunction lp8755_initfunction lp8755_exitmodule init lp8755_init
Annotated Snippet
subsys_initcall(lp8755_init);
static void __exit lp8755_exit(void)
{
i2c_del_driver(&lp8755_i2c_driver);
}
module_exit(lp8755_exit);
MODULE_DESCRIPTION("Texas Instruments lp8755 driver");
MODULE_AUTHOR("Daniel Jeong <daniel.jeong@ti.com>");
MODULE_LICENSE("GPL v2");
Annotation
- Immediate include surface: `linux/module.h`, `linux/slab.h`, `linux/i2c.h`, `linux/err.h`, `linux/irq.h`, `linux/interrupt.h`, `linux/regmap.h`, `linux/uaccess.h`.
- Detected declarations: `struct lp8755_mphase`, `struct lp8755_chip`, `function lp8755_buck_enable_time`, `function lp8755_buck_set_mode`, `function lp8755_buck_get_mode`, `function lp8755_init_data`, `function lp8755_regulator_init`, `function lp8755_irq_handler`, `function lp8755_int_config`, `function lp8755_probe`.
- Atlas domain: Driver Families / drivers/regulator.
- Implementation status: integration implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.