drivers/mfd/ab8500-core.c
Source file repositories/reference/linux-study-clean/drivers/mfd/ab8500-core.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/mfd/ab8500-core.c- Extension
.c- Size
- 31649 bytes
- Lines
- 1274
- Domain
- Driver Families
- Bucket
- drivers/mfd
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
- 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/kernel.hlinux/slab.hlinux/init.hlinux/irq.hlinux/irqdomain.hlinux/delay.hlinux/interrupt.hlinux/moduleparam.hlinux/platform_device.hlinux/mfd/core.hlinux/mfd/abx500.hlinux/mfd/abx500/ab8500.hlinux/mfd/dbx500-prcmu.hlinux/of.h
Detected Declarations
function ab8500_prcmu_writefunction ab8500_prcmu_write_maskedfunction ab8500_prcmu_readfunction ab8500_get_chip_idfunction set_register_interruptiblefunction ab8500_set_registerfunction get_register_interruptiblefunction ab8500_get_registerfunction mask_and_set_register_interruptiblefunction ab8500_mask_and_set_registerfunction ab8500_irq_lockfunction ab8500_irq_sync_unlockfunction ab8500_irq_maskfunction ab8500_irq_unmaskfunction ab8500_irq_set_typefunction update_latch_offsetfunction ab8500_handle_hierarchical_linefunction ab8500_handle_hierarchical_latchfunction ab8500_hierarchical_irqfunction ab8500_irq_mapfunction ab8500_irq_initfunction ab8500_suspendfunction chip_id_showfunction tofunction ab8500_override_turn_on_statfunction tofunction turn_on_status_2_showfunction dbbrstn_showfunction dbbrstn_storefunction ab8500_probefunction ab8500_core_initmodule init ab8500_core_init
Annotated Snippet
core_initcall(ab8500_core_init);
Annotation
- Immediate include surface: `linux/kernel.h`, `linux/slab.h`, `linux/init.h`, `linux/irq.h`, `linux/irqdomain.h`, `linux/delay.h`, `linux/interrupt.h`, `linux/moduleparam.h`.
- Detected declarations: `function ab8500_prcmu_write`, `function ab8500_prcmu_write_masked`, `function ab8500_prcmu_read`, `function ab8500_get_chip_id`, `function set_register_interruptible`, `function ab8500_set_register`, `function get_register_interruptible`, `function ab8500_get_register`, `function mask_and_set_register_interruptible`, `function ab8500_mask_and_set_register`.
- Atlas domain: Driver Families / drivers/mfd.
- Implementation status: integration implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
- 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.