avs.h (f7de161fc8d5e1ebac3c361a37b1d748e7086330) avs.h (700462f55493c6831ad71b209eaebe310dcf11fd)
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

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

139
140 spinlock_t trace_lock; /* serialize debug window I/O between each LOG_BUFFER_STATUS */
141#ifdef CONFIG_DEBUG_FS
142 struct kfifo trace_fifo;
143 wait_queue_head_t trace_waitq;
144 u32 aging_timer_period;
145 u32 fifo_full_timer_period;
146 u32 logged_resources; /* context dependent: core or library */
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

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

139
140 spinlock_t trace_lock; /* serialize debug window I/O between each LOG_BUFFER_STATUS */
141#ifdef CONFIG_DEBUG_FS
142 struct kfifo trace_fifo;
143 wait_queue_head_t trace_waitq;
144 u32 aging_timer_period;
145 u32 fifo_full_timer_period;
146 u32 logged_resources; /* context dependent: core or library */
147 /* probes */
148 struct hdac_ext_stream *extractor;
149 unsigned int num_probe_streams;
147#endif
148};
149
150/* from hda_bus to avs_dev */
151#define hda_to_avs(hda) container_of(hda, struct avs_dev, base)
152/* from hdac_bus to avs_dev */
153#define hdac_to_avs(hdac) hda_to_avs(to_hda_bus(hdac))
154/* from device to avs_dev */

--- 237 unchanged lines hidden ---
150#endif
151};
152
153/* from hda_bus to avs_dev */
154#define hda_to_avs(hda) container_of(hda, struct avs_dev, base)
155/* from hdac_bus to avs_dev */
156#define hdac_to_avs(hdac) hda_to_avs(to_hda_bus(hdac))
157/* from device to avs_dev */

--- 237 unchanged lines hidden ---