include/media/i2c/adp1653.h
Source file repositories/reference/linux-study-clean/include/media/i2c/adp1653.h
File Facts
- System
- Linux kernel
- Corpus path
include/media/i2c/adp1653.h- Extension
.h- Size
- 3703 bytes
- Lines
- 115
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/i2c.hlinux/mutex.hlinux/videodev2.hmedia/v4l2-ctrls.hmedia/v4l2-subdev.h
Detected Declarations
struct adp1653_platform_datastruct adp1653_flash
Annotated Snippet
struct adp1653_platform_data {
int (*power)(struct v4l2_subdev *sd, int on);
u32 max_flash_timeout; /* flash light timeout in us */
u32 max_flash_intensity; /* led intensity, flash mode, mA */
u32 max_torch_intensity; /* led intensity, torch mode, mA */
u32 max_indicator_intensity; /* indicator led intensity, uA */
struct gpio_desc *enable_gpio; /* for device-tree based boot */
};
#define to_adp1653_flash(sd) container_of(sd, struct adp1653_flash, subdev)
struct adp1653_flash {
struct v4l2_subdev subdev;
struct adp1653_platform_data *platform_data;
struct v4l2_ctrl_handler ctrls;
struct v4l2_ctrl *led_mode;
struct v4l2_ctrl *flash_timeout;
struct v4l2_ctrl *flash_intensity;
struct v4l2_ctrl *torch_intensity;
struct v4l2_ctrl *indicator_intensity;
struct mutex power_lock;
int power_count;
int fault;
};
#endif /* ADP1653_H */
Annotation
- Immediate include surface: `linux/i2c.h`, `linux/mutex.h`, `linux/videodev2.h`, `media/v4l2-ctrls.h`, `media/v4l2-subdev.h`.
- Detected declarations: `struct adp1653_platform_data`, `struct adp1653_flash`.
- Atlas domain: Repository Root And Misc / include.
- 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.