drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter_local.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter_local.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter_local.h- Extension
.h- Size
- 3357 bytes
- Lines
- 110
- 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
input_formatter_global.hisp.h
Detected Declarations
struct input_formatter_switch_state_sstruct input_formatter_state_sstruct input_formatter_bin_state_s
Annotated Snippet
struct input_formatter_switch_state_s {
int if_input_switch_lut_reg[8];
int if_input_switch_fsync_lut;
int if_input_switch_ch_id_fmt_type;
bool if_input_switch_map[HIVE_SWITCH_N_CHANNELS][HIVE_SWITCH_N_FORMATTYPES];
};
struct input_formatter_state_s {
/* int reset; */
int start_line;
int start_column;
int cropped_height;
int cropped_width;
int ver_decimation;
int hor_decimation;
int ver_deinterleaving;
int hor_deinterleaving;
int left_padding;
int eol_offset;
int vmem_start_address;
int vmem_end_address;
int vmem_increment;
int is_yuv420;
int vsync_active_low;
int hsync_active_low;
int allow_fifo_overflow;
int block_fifo_when_no_req;
int fsm_sync_status;
int fsm_sync_counter;
int fsm_crop_status;
int fsm_crop_line_counter;
int fsm_crop_pixel_counter;
int fsm_deinterleaving_index;
int fsm_dec_h_counter;
int fsm_dec_v_counter;
int fsm_dec_block_v_counter;
int fsm_padding_status;
int fsm_padding_elem_counter;
int fsm_vector_support_error;
int fsm_vector_buffer_full;
int vector_support;
int sensor_data_lost;
};
struct input_formatter_bin_state_s {
u32 reset;
u32 input_endianness;
u32 output_endianness;
u32 bitswap;
u32 block_synch;
u32 packet_synch;
u32 readpostwrite_synch;
u32 is_2ppc;
u32 en_status_update;
};
#endif /* __INPUT_FORMATTER_LOCAL_H_INCLUDED__ */
Annotation
- Immediate include surface: `input_formatter_global.h`, `isp.h`.
- Detected declarations: `struct input_formatter_switch_state_s`, `struct input_formatter_state_s`, `struct input_formatter_bin_state_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.