include/uapi/sound/sof/fw.h
Source file repositories/reference/linux-study-clean/include/uapi/sound/sof/fw.h
File Facts
- System
- Linux kernel
- Corpus path
include/uapi/sound/sof/fw.h- Extension
.h- Size
- 2200 bytes
- Lines
- 81
- Domain
- Repository Root And Misc
- Bucket
- include
- Inferred role
- Repository Root And Misc: implementation source
- Status
- source implementation candidate
Why This File Exists
Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct snd_sof_blk_hdrstruct snd_sof_mod_hdrstruct snd_sof_fw_headerenum snd_sof_fw_blk_typeenum snd_sof_fw_mod_type
Annotated Snippet
struct snd_sof_blk_hdr {
enum snd_sof_fw_blk_type type;
__u32 size; /* bytes minus this header */
__u32 offset; /* offset from base */
} __packed;
/*
* Firmware file is made up of 1 .. N different modules types. The module
* type is used to determine how to load and parse the module.
*/
enum snd_sof_fw_mod_type {
SOF_FW_BASE = 0, /* base firmware image */
SOF_FW_MODULE = 1, /* firmware module */
};
struct snd_sof_mod_hdr {
enum snd_sof_fw_mod_type type;
__u32 size; /* bytes minus this header */
__u32 num_blocks; /* number of blocks */
} __packed;
/*
* Firmware file header.
*/
struct snd_sof_fw_header {
unsigned char sig[SND_SOF_FW_SIG_SIZE]; /* "Reef" */
__u32 file_size; /* size of file minus this header */
__u32 num_modules; /* number of modules */
__u32 abi; /* version of header format */
} __packed;
#endif
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct snd_sof_blk_hdr`, `struct snd_sof_mod_hdr`, `struct snd_sof_fw_header`, `enum snd_sof_fw_blk_type`, `enum snd_sof_fw_mod_type`.
- Atlas domain: Repository Root And Misc / include.
- 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.