include/linux/leds-pca9532.h
Source file repositories/reference/linux-study-clean/include/linux/leds-pca9532.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/leds-pca9532.h- Extension
.h- Size
- 866 bytes
- Lines
- 44
- 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/leds.hlinux/workqueue.hdt-bindings/leds/leds-pca9532.h
Detected Declarations
struct pca9532_ledstruct pca9532_platform_dataenum pca9532_state
Annotated Snippet
struct pca9532_led {
u8 id;
struct i2c_client *client;
const char *name;
const char *default_trigger;
struct led_classdev ldev;
struct work_struct work;
u32 type;
enum pca9532_state state;
};
struct pca9532_platform_data {
struct pca9532_led leds[16];
u8 pwm[2];
u8 psc[2];
int gpio_base;
};
#endif /* __LINUX_PCA9532_H */
Annotation
- Immediate include surface: `linux/leds.h`, `linux/workqueue.h`, `dt-bindings/leds/leds-pca9532.h`.
- Detected declarations: `struct pca9532_led`, `struct pca9532_platform_data`, `enum pca9532_state`.
- 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.