drivers/staging/media/atomisp/pci/css_2401_system/pixelgen_global.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/css_2401_system/pixelgen_global.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/css_2401_system/pixelgen_global.h- Extension
.h- Size
- 1764 bytes
- Lines
- 83
- 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 isp2401_sync_generator_cfg_sstruct pixelgen_tpg_cfg_sstruct pixelgen_prbs_cfg_s
Annotated Snippet
struct isp2401_sync_generator_cfg_s {
u32 hblank_cycles;
u32 vblank_cycles;
u32 pixels_per_clock;
u32 nr_of_frames;
u32 pixels_per_line;
u32 lines_per_frame;
};
typedef enum {
PIXELGEN_TPG_MODE_RAMP = 0,
PIXELGEN_TPG_MODE_CHBO,
PIXELGEN_TPG_MODE_MONO,
N_PIXELGEN_TPG_MODE
} pixelgen_tpg_mode_t;
/*
* "pixelgen_tpg_cfg_t" duplicates parts of
* "tpg_cfg_t" in "input_system_global.h".
*/
typedef struct pixelgen_tpg_cfg_s pixelgen_tpg_cfg_t;
struct pixelgen_tpg_cfg_s {
pixelgen_tpg_mode_t mode; /* CHBO, MONO */
struct {
/* be used by CHBO and MON */
u32 R1;
u32 G1;
u32 B1;
/* be used by CHBO only */
u32 R2;
u32 G2;
u32 B2;
} color_cfg;
struct {
u32 h_mask; /* horizontal mask */
u32 v_mask; /* vertical mask */
u32 hv_mask; /* horizontal+vertical mask? */
} mask_cfg;
struct {
s32 h_delta; /* horizontal delta? */
s32 v_delta; /* vertical delta? */
} delta_cfg;
isp2401_sync_generator_cfg_t sync_gen_cfg;
};
/*
* "pixelgen_prbs_cfg_t" duplicates parts of
* prbs_cfg_t" in "input_system_global.h".
*/
typedef struct pixelgen_prbs_cfg_s pixelgen_prbs_cfg_t;
struct pixelgen_prbs_cfg_s {
s32 seed0;
s32 seed1;
isp2401_sync_generator_cfg_t sync_gen_cfg;
};
/* end of Pixel-generator: TPG. ("pixelgen_global.h") */
#endif /* __PIXELGEN_GLOBAL_H_INCLUDED__ */
Annotation
- Immediate include surface: `type_support.h`.
- Detected declarations: `struct isp2401_sync_generator_cfg_s`, `struct pixelgen_tpg_cfg_s`, `struct pixelgen_prbs_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.