include/linux/leds-lp3952.h
Source file repositories/reference/linux-study-clean/include/linux/leds-lp3952.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/leds-lp3952.h- Extension
.h- Size
- 2410 bytes
- Lines
- 122
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct lp3952_ctrl_hdlstruct ptrn_gen_cmdstruct lp3952_led_arrayenum lp3952_ttenum lp3952_cetenum lp3952_colour_I_log_0enum lp3952_leds
Annotated Snippet
struct lp3952_ctrl_hdl {
struct led_classdev cdev;
char name[LP3952_LABEL_MAX_LEN];
enum lp3952_leds channel;
void *priv;
};
struct ptrn_gen_cmd {
union {
struct {
u16 tt:3;
u16 b:3;
u16 cet:4;
u16 g:3;
u16 r:3;
};
struct {
u8 lsb;
u8 msb;
} bytes;
};
} __packed;
struct lp3952_led_array {
struct regmap *regmap;
struct i2c_client *client;
struct gpio_desc *enable_gpio;
struct lp3952_ctrl_hdl leds[LP3952_LED_ALL];
};
#endif /* LEDS_LP3952_H_ */
Annotation
- Detected declarations: `struct lp3952_ctrl_hdl`, `struct ptrn_gen_cmd`, `struct lp3952_led_array`, `enum lp3952_tt`, `enum lp3952_cet`, `enum lp3952_colour_I_log_0`, `enum lp3952_leds`.
- 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.