drivers/staging/media/atomisp/pci/isp2401_input_system_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/isp2401_input_system_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/isp2401_input_system_global.h- Extension
.h- Size
- 4156 bytes
- Lines
- 167
- Domain
- Driver Families
- Bucket
- drivers/staging
- 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
system_local.hisys_dma_global.hibuf_ctrl_local.hisys_stream2mmio.hcsi_rx.hpixelgen.h
Detected Declarations
struct input_system_channel_sstruct input_system_channel_cfg_sstruct input_system_input_port_sstruct input_system_input_port_cfg_sstruct isp2401_input_system_cfg_sstruct virtual_input_system_stream_sstruct virtual_input_system_stream_cfg_s
Annotated Snippet
struct input_system_channel_s {
stream2mmio_ID_t stream2mmio_id;
stream2mmio_sid_ID_t stream2mmio_sid_id;
ibuf_ctrl_ID_t ibuf_ctrl_id;
isp2401_ib_buffer_t ib_buffer;
isys2401_dma_ID_t dma_id;
isys2401_dma_channel dma_channel;
};
typedef struct input_system_channel_cfg_s input_system_channel_cfg_t;
struct input_system_channel_cfg_s {
stream2mmio_cfg_t stream2mmio_cfg;
ibuf_ctrl_cfg_t ibuf_ctrl_cfg;
isys2401_dma_cfg_t dma_cfg;
isys2401_dma_port_cfg_t dma_src_port_cfg;
isys2401_dma_port_cfg_t dma_dest_port_cfg;
};
typedef struct input_system_input_port_s input_system_input_port_t;
struct input_system_input_port_s {
input_system_source_type_t source_type;
struct {
csi_rx_frontend_ID_t frontend_id;
csi_rx_backend_ID_t backend_id;
csi_mipi_packet_type_t packet_type;
csi_rx_backend_lut_entry_t backend_lut_entry;
} csi_rx;
struct {
csi_mipi_packet_type_t packet_type;
csi_rx_backend_lut_entry_t backend_lut_entry;
} metadata;
struct {
pixelgen_ID_t pixelgen_id;
} pixelgen;
};
typedef struct input_system_input_port_cfg_s input_system_input_port_cfg_t;
struct input_system_input_port_cfg_s {
struct {
csi_rx_frontend_cfg_t frontend_cfg;
csi_rx_backend_cfg_t backend_cfg;
csi_rx_backend_cfg_t md_backend_cfg;
} csi_rx_cfg;
struct {
pixelgen_tpg_cfg_t tpg_cfg;
pixelgen_prbs_cfg_t prbs_cfg;
} pixelgen_cfg;
};
typedef struct isp2401_input_system_cfg_s isp2401_input_system_cfg_t;
struct isp2401_input_system_cfg_s {
input_system_input_port_ID_t input_port_id;
input_system_source_type_t mode;
bool online;
bool raw_packed;
s8 linked_isys_stream_id;
struct {
bool comp_enable;
s32 active_lanes;
s32 fmt_type;
s32 ch_id;
s32 comp_predictor;
s32 comp_scheme;
} csi_port_attr;
pixelgen_tpg_cfg_t tpg_port_attr;
pixelgen_prbs_cfg_t prbs_port_attr;
struct {
s32 align_req_in_bytes;
s32 bits_per_pixel;
s32 pixels_per_line;
s32 lines_per_frame;
} input_port_resolution;
struct {
s32 left_padding;
s32 max_isp_input_width;
} output_port_attr;
Annotation
- Immediate include surface: `system_local.h`, `isys_dma_global.h`, `ibuf_ctrl_local.h`, `isys_stream2mmio.h`, `csi_rx.h`, `pixelgen.h`.
- Detected declarations: `struct input_system_channel_s`, `struct input_system_channel_cfg_s`, `struct input_system_input_port_s`, `struct input_system_input_port_cfg_s`, `struct isp2401_input_system_cfg_s`, `struct virtual_input_system_stream_s`, `struct virtual_input_system_stream_cfg_s`.
- Atlas domain: Driver Families / drivers/staging.
- 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.