include/linux/mfd/tps65910.h
Source file repositories/reference/linux-study-clean/include/linux/mfd/tps65910.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/mfd/tps65910.h- Extension
.h- Size
- 30094 bytes
- Lines
- 912
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/gpio.hlinux/regmap.h
Detected Declarations
struct tps65910_sleep_keepon_datastruct tps65910_boardstruct tps65910struct tps65910_platform_datafunction tps65910_chip_id
Annotated Snippet
struct tps65910_sleep_keepon_data {
unsigned therm_keepon:1;
unsigned clkout32k_keepon:1;
unsigned i2chs_keepon:1;
};
/**
* struct tps65910_board
* Board platform data may be used to initialize regulators.
*/
struct tps65910_board {
int gpio_base;
int irq;
int irq_base;
int vmbch_threshold;
int vmbch2_threshold;
bool en_ck32k_xtal;
bool en_dev_slp;
bool pm_off;
struct tps65910_sleep_keepon_data slp_keepon;
bool en_gpio_sleep[TPS6591X_MAX_NUM_GPIO];
unsigned long regulator_ext_sleep_control[TPS65910_NUM_REGS];
struct regulator_init_data *tps65910_pmic_init_data[TPS65910_NUM_REGS];
};
/**
* struct tps65910 - tps65910 sub-driver chip access routines
*/
struct tps65910 {
struct device *dev;
struct i2c_client *i2c_client;
struct regmap *regmap;
unsigned long id;
/* Device node parsed board data */
struct tps65910_board *of_plat_data;
/* IRQ Handling */
int chip_irq;
struct regmap_irq_chip_data *irq_data;
};
struct tps65910_platform_data {
int irq;
int irq_base;
};
static inline int tps65910_chip_id(struct tps65910 *tps65910)
{
return tps65910->id;
}
#endif /* __LINUX_MFD_TPS65910_H */
Annotation
- Immediate include surface: `linux/gpio.h`, `linux/regmap.h`.
- Detected declarations: `struct tps65910_sleep_keepon_data`, `struct tps65910_board`, `struct tps65910`, `struct tps65910_platform_data`, `function tps65910_chip_id`.
- 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.