include/linux/firmware/cirrus/wmfw.h
Source file repositories/reference/linux-study-clean/include/linux/firmware/cirrus/wmfw.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/firmware/cirrus/wmfw.h- Extension
.h- Size
- 3712 bytes
- Lines
- 209
- Domain
- Core OS
- Bucket
- Core Kernel Interface
- Inferred role
- Core OS: implementation source
- Status
- source implementation candidate
Why This File Exists
Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/types.h
Detected Declarations
struct wmfw_headerstruct wmfw_footerstruct wmfw_adsp1_sizesstruct wmfw_adsp2_sizesstruct wmfw_regionstruct wmfw_id_hdrstruct wmfw_v3_id_hdrstruct wmfw_adsp1_id_hdrstruct wmfw_adsp2_id_hdrstruct wmfw_halo_id_hdrstruct wmfw_alg_hdrstruct wmfw_adsp1_alg_hdrstruct wmfw_adsp2_alg_hdrstruct wmfw_halo_alg_hdrstruct wmfw_adsp_alg_datastruct wmfw_adsp_coeff_datastruct wmfw_coeff_hdrstruct wmfw_coeff_item
Annotated Snippet
struct wmfw_header {
char magic[4];
__le32 len;
__le16 rev;
u8 core;
u8 ver;
} __packed;
struct wmfw_footer {
__le64 timestamp;
__le32 checksum;
} __packed;
struct wmfw_adsp1_sizes {
__le32 dm;
__le32 pm;
__le32 zm;
} __packed;
struct wmfw_adsp2_sizes {
__le32 xm;
__le32 ym;
__le32 pm;
__le32 zm;
} __packed;
struct wmfw_region {
union {
__be32 type;
__le32 offset;
};
__le32 len;
u8 data[];
} __packed;
struct wmfw_id_hdr {
__be32 core_id;
__be32 core_rev;
__be32 id;
__be32 ver;
} __packed;
struct wmfw_v3_id_hdr {
__be32 core_id;
__be32 block_rev;
__be32 vendor_id;
__be32 id;
__be32 ver;
} __packed;
struct wmfw_adsp1_id_hdr {
struct wmfw_id_hdr fw;
__be32 zm;
__be32 dm;
__be32 n_algs;
} __packed;
struct wmfw_adsp2_id_hdr {
struct wmfw_id_hdr fw;
__be32 zm;
__be32 xm;
__be32 ym;
__be32 n_algs;
} __packed;
struct wmfw_halo_id_hdr {
struct wmfw_v3_id_hdr fw;
__be32 xm_base;
__be32 xm_size;
__be32 ym_base;
__be32 ym_size;
__be32 n_algs;
} __packed;
struct wmfw_alg_hdr {
__be32 id;
__be32 ver;
} __packed;
struct wmfw_adsp1_alg_hdr {
struct wmfw_alg_hdr alg;
__be32 zm;
__be32 dm;
} __packed;
struct wmfw_adsp2_alg_hdr {
struct wmfw_alg_hdr alg;
__be32 zm;
__be32 xm;
__be32 ym;
Annotation
- Immediate include surface: `linux/types.h`.
- Detected declarations: `struct wmfw_header`, `struct wmfw_footer`, `struct wmfw_adsp1_sizes`, `struct wmfw_adsp2_sizes`, `struct wmfw_region`, `struct wmfw_id_hdr`, `struct wmfw_v3_id_hdr`, `struct wmfw_adsp1_id_hdr`, `struct wmfw_adsp2_id_hdr`, `struct wmfw_halo_id_hdr`.
- Atlas domain: Core OS / Core Kernel Interface.
- 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.