Debian Codegraph @

sound/soc/sof/intel/ptl.h

raw
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
2 /*
3 * This file is provided under a dual BSD/GPLv2 license. When using or
4 * redistributing this file, you may do so under either license.
5 *
6 * Copyright(c) 2025 Intel Corporation
7 */
8
9 #ifndef __SOF_INTEL_PTL_H
10 #define __SOF_INTEL_PTL_H
11
12 #define PTL_MICPVCP_DDZE_FORCED BIT(16)
13 #define PTL_MICPVCP_DDZE_ENABLED BIT(17)
14 #define PTL_MICPVCP_DDZLS_SDW GENMASK(26, 20)
15 #define PTL_MICPVCP_GET_SDW_MASK(x) (((x) & PTL_MICPVCP_DDZLS_SDW) >> 20)
16
17 int sof_ptl_set_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *dsp_ops);
18
19 #endif /* __SOF_INTEL_PTL_H */