include/linux/mfd/adp5585.h

Source file repositories/reference/linux-study-clean/include/linux/mfd/adp5585.h

File Facts

System
Linux kernel
Corpus path
include/linux/mfd/adp5585.h
Extension
.h
Size
7040 bytes
Lines
227
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct adp5585_regs {
	unsigned int gen_cfg;
	unsigned int ext_cfg;
	unsigned int int_en;
	unsigned int poll_ptime_cfg;
	unsigned int reset_cfg;
	unsigned int reset1_event_a;
	unsigned int reset2_event_a;
	unsigned int pin_cfg_a;
};

struct adp5585_dev {
	struct device *dev;
	struct regmap *regmap;
	const struct adp5585_regs *regs;
	struct blocking_notifier_head event_notifier;
	unsigned long *pin_usage;
	unsigned int n_pins;
	unsigned int reset2_out;
	enum adp5585_variant variant;
	unsigned int id;
	bool has_unlock;
	bool has_pin6;
	int irq;
	unsigned int ev_poll_time;
	unsigned int unlock_time;
	unsigned int unlock_keys[2];
	unsigned int nkeys_unlock;
	unsigned int reset1_keys[3];
	unsigned int nkeys_reset1;
	unsigned int reset2_keys[2];
	unsigned int nkeys_reset2;
	u8 reset_cfg;
};

#endif

Annotation

Implementation Notes