hda-dai.c (7d88b9608142f95ccdd3dfb190da4a5faddb1cc7) | hda-dai.c (3dc0d709177828a22dfc9d0072e3ac937ef90d06) |
---|---|
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) 2018 Intel Corporation. All rights reserved. 7// 8// Authors: Keyon Jie <yang.jie@linux.intel.com> 9// 10 11#include <sound/pcm_params.h> 12#include <sound/hdaudio_ext.h> 13#include "../sof-priv.h" 14#include "../sof-audio.h" 15#include "hda.h" 16 17#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA) 18 | 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) 2018 Intel Corporation. All rights reserved. 7// 8// Authors: Keyon Jie <yang.jie@linux.intel.com> 9// 10 11#include <sound/pcm_params.h> 12#include <sound/hdaudio_ext.h> 13#include "../sof-priv.h" 14#include "../sof-audio.h" 15#include "hda.h" 16 17#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA) 18 |
19#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_PROBES) 20#include "../sof-probes.h" 21#endif 22 | |
23struct hda_pipe_params { 24 u32 ch; 25 u32 s_freq; 26 u32 s_fmt; 27 u8 linktype; 28 snd_pcm_format_t format; 29 int link_index; 30 int stream; --- 701 unchanged lines hidden (view full) --- 732 .channels_min = 1, 733 .channels_max = 16, 734 }, 735 .capture = { 736 .channels_min = 1, 737 .channels_max = 16, 738 }, 739}, | 19struct hda_pipe_params { 20 u32 ch; 21 u32 s_freq; 22 u32 s_fmt; 23 u8 linktype; 24 snd_pcm_format_t format; 25 int link_index; 26 int stream; --- 701 unchanged lines hidden (view full) --- 728 .channels_min = 1, 729 .channels_max = 16, 730 }, 731 .capture = { 732 .channels_min = 1, 733 .channels_max = 16, 734 }, 735}, |
740#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_PROBES) 741{ 742 .name = "Probe Extraction CPU DAI", 743 .compress_new = snd_soc_new_compress, 744 .cops = &sof_probe_compr_ops, 745 .capture = { 746 .stream_name = "Probe Extraction", 747 .channels_min = 1, 748 .channels_max = 8, 749 .rates = SNDRV_PCM_RATE_48000, 750 .rate_min = 48000, 751 .rate_max = 48000, 752 }, 753}, | |
754#endif | 736#endif |
755#endif | |
756}; | 737}; |