include/linux/firmware/mediatek/mtk-adsp-ipc.h
Source file repositories/reference/linux-study-clean/include/linux/firmware/mediatek/mtk-adsp-ipc.h
File Facts
- System
- Linux kernel
- Corpus path
include/linux/firmware/mediatek/mtk-adsp-ipc.h- Extension
.h- Size
- 1199 bytes
- Lines
- 60
- 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/device.hlinux/types.hlinux/mailbox_controller.hlinux/mailbox_client.h
Detected Declarations
struct mtk_adsp_ipcstruct mtk_adsp_ipc_opsstruct mtk_adsp_chanstruct mtk_adsp_ipcfunction mtk_adsp_ipc_set_data
Annotated Snippet
struct mtk_adsp_ipc_ops {
void (*handle_reply)(struct mtk_adsp_ipc *ipc);
void (*handle_request)(struct mtk_adsp_ipc *ipc);
};
struct mtk_adsp_chan {
struct mtk_adsp_ipc *ipc;
struct mbox_client cl;
struct mbox_chan *ch;
char *name;
int idx;
};
struct mtk_adsp_ipc {
struct mtk_adsp_chan chans[MTK_ADSP_MBOX_NUM];
struct device *dev;
const struct mtk_adsp_ipc_ops *ops;
void *private_data;
};
static inline void mtk_adsp_ipc_set_data(struct mtk_adsp_ipc *ipc, void *data)
{
ipc->private_data = data;
}
static inline void *mtk_adsp_ipc_get_data(struct mtk_adsp_ipc *ipc)
{
return ipc->private_data;
}
int mtk_adsp_ipc_send(struct mtk_adsp_ipc *ipc, unsigned int idx, uint32_t op);
#endif /* MTK_ADSP_IPC_H */
Annotation
- Immediate include surface: `linux/device.h`, `linux/types.h`, `linux/mailbox_controller.h`, `linux/mailbox_client.h`.
- Detected declarations: `struct mtk_adsp_ipc`, `struct mtk_adsp_ipc_ops`, `struct mtk_adsp_chan`, `struct mtk_adsp_ipc`, `function mtk_adsp_ipc_set_data`.
- 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.