drivers/media/platform/qcom/camss/camss-csid-340.c
Source file repositories/reference/linux-study-clean/drivers/media/platform/qcom/camss/camss-csid-340.c
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/qcom/camss/camss-csid-340.c- Extension
.c- Size
- 5980 bytes
- Lines
- 202
- 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.
- Touches IRQ or DMA behavior; this matters for the representative real-device path.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/completion.hlinux/bitfield.hlinux/interrupt.hlinux/io.hlinux/kernel.hcamss.hcamss-csid.hcamss-csid-gen2.h
Detected Declarations
enum csid_ifacefunction __csid_configure_rxfunction __csid_configure_streamfunction csid_configure_streamsfunction csid_resetfunction csid_isrfunction csid_configure_testgen_patternfunction csid_subdev_init
Annotated Snippet
static void csid_subdev_init(struct csid_device *csid) {}
const struct csid_hw_ops csid_ops_340 = {
.configure_testgen_pattern = csid_configure_testgen_pattern,
.configure_stream = csid_configure_streams,
.hw_version = csid_hw_version,
.isr = csid_isr,
.reset = csid_reset,
.src_pad_code = csid_src_pad_code,
.subdev_init = csid_subdev_init,
};
Annotation
- Immediate include surface: `linux/completion.h`, `linux/bitfield.h`, `linux/interrupt.h`, `linux/io.h`, `linux/kernel.h`, `camss.h`, `camss-csid.h`, `camss-csid-gen2.h`.
- Detected declarations: `enum csid_iface`, `function __csid_configure_rx`, `function __csid_configure_stream`, `function csid_configure_streams`, `function csid_reset`, `function csid_isr`, `function csid_configure_testgen_pattern`, `function csid_subdev_init`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: source implementation candidate.
- IRQ or DMA behavior appears here, which is relevant to the selected PCIe/NVMe device path.
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.