include/linux/mfd/samsung/s2mpg11.h
Source file repositories/reference/linux-study-clean/include/linux/mfd/samsung/s2mpg11.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/mfd/samsung/s2mpg11.h- Extension
.h- Size
- 11875 bytes
- Lines
- 435
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
enum s2mpg11_common_regenum s2mpg11_pmic_regenum s2mpg11_meter_regenum s2mpg11_regulators
Annotated Snippet
#ifndef __LINUX_MFD_S2MPG11_H
#define __LINUX_MFD_S2MPG11_H
/* Common registers (type 0x000) */
enum s2mpg11_common_reg {
S2MPG11_COMMON_CHIPID,
S2MPG11_COMMON_INT,
S2MPG11_COMMON_INT_MASK,
S2MPG11_COMMON_SPD_CTRL1 = 0x0a,
S2MPG11_COMMON_SPD_CTRL2,
S2MPG11_COMMON_SPD_CTRL3,
S2MPG11_COMMON_MON1SEL = 0x1a,
S2MPG11_COMMON_MON2SEL,
S2MPG11_COMMON_MONR,
S2MPG11_COMMON_DEBUG_CTRL1,
S2MPG11_COMMON_DEBUG_CTRL2,
S2MPG11_COMMON_DEBUG_CTRL3,
S2MPG11_COMMON_DEBUG_CTRL4,
S2MPG11_COMMON_DEBUG_CTRL5,
S2MPG11_COMMON_DEBUG_CTRL6,
S2MPG11_COMMON_TEST_MODE1,
S2MPG11_COMMON_SPD_DEBUG1,
S2MPG11_COMMON_SPD_DEBUG2,
S2MPG11_COMMON_SPD_DEBUG3,
S2MPG11_COMMON_SPD_DEBUG4,
};
/* For S2MPG11_COMMON_INT and S2MPG11_COMMON_INT_MASK */
#define S2MPG11_COMMON_INT_SRC GENMASK(2, 0)
#define S2MPG11_COMMON_IN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BUCKD_OUT,
S2MPG11_PMIC_BUCKA_CTRL,
S2MPG11_PMIC_BUCKA_OUT,
S2MPG11_PMIC_BB_CTRL,
S2MPG11_PMIC_BB_OUT1,
S2MPG11_PMIC_BB_OUT2,
S2MPG11_PMIC_BUCK1S_USONIC,
S2MPG11_PMIC_BUCK2S_USONIC,
S2MPG11_PMIC_BUCK3S_USONIC,
S2MPG11_PMIC_BUCK4S_USONIC,
S2MPG11_PMIC_BUCK5S_USONIC,
Annotation
- Detected declarations: `enum s2mpg11_common_reg`, `enum s2mpg11_pmic_reg`, `enum s2mpg11_meter_reg`, `enum s2mpg11_regulators`.
- Atlas domain: Core OS / Core Kernel Interface.
- Implementation status: source 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.