sound/soc/sof/mediatek/mtk-adsp-common.h
Source file repositories/reference/linux-study-clean/sound/soc/sof/mediatek/mtk-adsp-common.h
File Facts
- System
- Linux kernel
- Corpus path
sound/soc/sof/mediatek/mtk-adsp-common.h- Extension
.h- Size
- 848 bytes
- Lines
- 21
- Domain
- Driver Families
- Bucket
- sound/soc
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __MEDIATEK_ADSP_COMMON_H__
#define __MEDIATEK_ADSP_COMMON_H__
#define EXCEPT_MAX_HDR_SIZE 0x400
#define MTK_ADSP_STACK_DUMP_SIZE 32
void mtk_adsp_dump(struct snd_sof_dev *sdev, u32 flags);
int mtk_adsp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
void mtk_adsp_handle_reply(struct mtk_adsp_ipc *ipc);
void mtk_adsp_handle_request(struct mtk_adsp_ipc *ipc);
int mtk_adsp_get_bar_index(struct snd_sof_dev *sdev, u32 type);
int mtk_adsp_stream_pcm_hw_params(struct snd_sof_dev *sdev,
struct snd_pcm_substream *substream,
struct snd_pcm_hw_params *params,
struct snd_sof_platform_stream_params *platform_params);
snd_pcm_uframes_t mtk_adsp_stream_pcm_pointer(struct snd_sof_dev *sdev,
struct snd_pcm_substream *substream);
#endif
Annotation
- Atlas domain: Driver Families / sound/soc.
- 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.