messages.h (c16c8bfa09d5f318c1bd65698d058d3739970c24) messages.h (2f1f570cd730c81807ae143a83766068dd82d577)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
4 *
5 * Authors: Cezary Rojewski <cezary.rojewski@intel.com>
6 * Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com>
7 */
8

--- 173 unchanged lines hidden (view full) ---

182 } ext;
183 };
184} __packed;
185
186enum avs_notify_msg_type {
187 AVS_NOTIFY_PHRASE_DETECTED = 4,
188 AVS_NOTIFY_RESOURCE_EVENT = 5,
189 AVS_NOTIFY_FW_READY = 8,
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
4 *
5 * Authors: Cezary Rojewski <cezary.rojewski@intel.com>
6 * Amadeusz Slawinski <amadeuszx.slawinski@linux.intel.com>
7 */
8

--- 173 unchanged lines hidden (view full) ---

182 } ext;
183 };
184} __packed;
185
186enum avs_notify_msg_type {
187 AVS_NOTIFY_PHRASE_DETECTED = 4,
188 AVS_NOTIFY_RESOURCE_EVENT = 5,
189 AVS_NOTIFY_FW_READY = 8,
190 AVS_NOTIFY_EXCEPTION_CAUGHT = 10,
190 AVS_NOTIFY_MODULE_EVENT = 12,
191};
192
193union avs_notify_msg {
194 u64 val;
195 struct {
196 union {
197 u32 primary;
198 struct {
199 u32 rsvd:16;
200 u32 notify_msg_type:8;
201 u32 global_msg_type:5;
202 u32 msg_direction:1;
203 u32 msg_target:1;
204 };
205 };
206 union {
207 u32 val;
191 AVS_NOTIFY_MODULE_EVENT = 12,
192};
193
194union avs_notify_msg {
195 u64 val;
196 struct {
197 union {
198 u32 primary;
199 struct {
200 u32 rsvd:16;
201 u32 notify_msg_type:8;
202 u32 global_msg_type:5;
203 u32 msg_direction:1;
204 u32 msg_target:1;
205 };
206 };
207 union {
208 u32 val;
209 struct {
210 u32 core_id:2;
211 u32 stack_dump_size:16;
212 } coredump;
208 } ext;
209 };
210} __packed;
211
212#define AVS_MSG(hdr) { .val = hdr }
213
214#define AVS_GLOBAL_REQUEST(msg_type) \
215{ \

--- 537 unchanged lines hidden ---
213 } ext;
214 };
215} __packed;
216
217#define AVS_MSG(hdr) { .val = hdr }
218
219#define AVS_GLOBAL_REQUEST(msg_type) \
220{ \

--- 537 unchanged lines hidden ---