drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/isp2400_input_system_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/isp2400_input_system_global.h- Extension
.h- Size
- 3078 bytes
- Lines
- 140
- 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
type_support.h
Detected Declarations
struct isp2400_input_system_cfg_sstruct sync_generator_cfg_sstruct tpg_cfg_sstruct prbs_cfg_sstruct gpfifo_cfg_sstruct ib_buffer_sstruct csi_cfg_s
Annotated Snippet
struct isp2400_input_system_cfg_s {
u32 no_side_band;
u32 fmt_type;
u32 ch_id;
u32 input_mode;
};
struct sync_generator_cfg_s {
u32 width;
u32 height;
u32 hblank_cycles;
u32 vblank_cycles;
};
/* MW: tpg & prbs are exclusive */
struct tpg_cfg_s {
u32 x_mask;
u32 y_mask;
u32 x_delta;
u32 y_delta;
u32 xy_mask;
sync_generator_cfg_t sync_gen_cfg;
};
struct prbs_cfg_s {
u32 seed;
sync_generator_cfg_t sync_gen_cfg;
};
struct gpfifo_cfg_s {
// TBD.
sync_generator_cfg_t sync_gen_cfg;
};
typedef struct gpfifo_cfg_s gpfifo_cfg_t;
//ALX:Commented out to pass the compilation.
//typedef struct isp2400_input_system_cfg_s input_system_cfg_t;
struct ib_buffer_s {
u32 mem_reg_size;
u32 nof_mem_regs;
u32 mem_reg_addr;
};
typedef struct ib_buffer_s isp2400_ib_buffer_t;
struct csi_cfg_s {
u32 csi_port;
buffering_mode_t buffering_mode;
isp2400_ib_buffer_t csi_buffer;
isp2400_ib_buffer_t acquisition_buffer;
u32 nof_xmem_buffers;
};
typedef struct csi_cfg_s csi_cfg_t;
typedef enum {
INPUT_SYSTEM_CFG_FLAG_RESET = 0,
INPUT_SYSTEM_CFG_FLAG_SET = 1U << 0,
INPUT_SYSTEM_CFG_FLAG_BLOCKED = 1U << 1,
INPUT_SYSTEM_CFG_FLAG_REQUIRED = 1U << 2,
INPUT_SYSTEM_CFG_FLAG_CONFLICT = 1U << 3 // To mark a conflicting configuration.
} isp2400_input_system_cfg_flag_t;
typedef u32 input_system_config_flags_t;
Annotation
- Immediate include surface: `type_support.h`.
- Detected declarations: `struct isp2400_input_system_cfg_s`, `struct sync_generator_cfg_s`, `struct tpg_cfg_s`, `struct prbs_cfg_s`, `struct gpfifo_cfg_s`, `struct ib_buffer_s`, `struct csi_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.