drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
Source file repositories/reference/linux-study-clean/drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/sunxi/sun6i-csi/sun6i_csi.h- Extension
.h- Size
- 1353 bytes
- Lines
- 64
- Domain
- Driver Families
- Bucket
- drivers/media
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
media/v4l2-device.hmedia/videobuf2-v4l2.hsun6i_csi_bridge.hsun6i_csi_capture.h
Detected Declarations
struct sun6i_csi_bufferstruct sun6i_csi_v4l2struct sun6i_csi_devicestruct sun6i_csi_variantenum sun6i_csi_port
Annotated Snippet
struct sun6i_csi_buffer {
struct vb2_v4l2_buffer v4l2_buffer;
struct list_head list;
};
struct sun6i_csi_v4l2 {
struct v4l2_device v4l2_dev;
struct media_device media_dev;
};
struct sun6i_csi_device {
struct device *dev;
struct v4l2_device *v4l2_dev;
struct media_device *media_dev;
struct sun6i_csi_v4l2 v4l2;
struct sun6i_csi_bridge bridge;
struct sun6i_csi_capture capture;
struct regmap *regmap;
struct clk *clock_mod;
struct clk *clock_ram;
struct reset_control *reset;
bool isp_available;
};
struct sun6i_csi_variant {
unsigned long clock_mod_rate;
};
/* ISP */
int sun6i_csi_isp_complete(struct sun6i_csi_device *csi_dev,
struct v4l2_device *v4l2_dev);
#endif
Annotation
- Immediate include surface: `media/v4l2-device.h`, `media/videobuf2-v4l2.h`, `sun6i_csi_bridge.h`, `sun6i_csi_capture.h`.
- Detected declarations: `struct sun6i_csi_buffer`, `struct sun6i_csi_v4l2`, `struct sun6i_csi_device`, `struct sun6i_csi_variant`, `enum sun6i_csi_port`.
- Atlas domain: Driver Families / drivers/media.
- 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.