drivers/staging/media/ipu7/abi/ipu7_fw_syscom_abi.h
Source file repositories/reference/linux-study-clean/drivers/staging/media/ipu7/abi/ipu7_fw_syscom_abi.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/staging/media/ipu7/abi/ipu7_fw_syscom_abi.h- Extension
.h- Size
- 989 bytes
- Lines
- 50
- 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
linux/types.hipu7_fw_common_abi.h
Detected Declarations
struct syscom_queue_params_configstruct syscom_config_sstruct syscom_queue_indices_sfunction syscom_config_get_queue_configsfunction syscom_config_get_queue_configs_const
Annotated Snippet
struct syscom_queue_params_config {
ia_gofo_addr_t token_array_mem;
u16 token_size_in_bytes;
u16 max_capacity;
};
struct syscom_config_s {
u16 max_output_queues;
u16 max_input_queues;
};
#pragma pack(pop)
static inline struct syscom_queue_params_config *
syscom_config_get_queue_configs(struct syscom_config_s *config)
{
return (struct syscom_queue_params_config *)(&config[1]);
}
static inline const struct syscom_queue_params_config *
syscom_config_get_queue_configs_const(const struct syscom_config_s *config)
{
return (const struct syscom_queue_params_config *)(&config[1]);
}
#pragma pack(push, 1)
struct syscom_queue_indices_s {
u32 read_index;
u32 write_index;
};
#pragma pack(pop)
#endif
Annotation
- Immediate include surface: `linux/types.h`, `ipu7_fw_common_abi.h`.
- Detected declarations: `struct syscom_queue_params_config`, `struct syscom_config_s`, `struct syscom_queue_indices_s`, `function syscom_config_get_queue_configs`, `function syscom_config_get_queue_configs_const`.
- 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.