pcm.c (542898c5aa5c6a3179dffb1d1606884a63f75fed) | pcm.c (ee8443050b2bf06d80fdd2c78cc25cae2abdedcd) |
---|---|
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// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 5 unchanged lines hidden (view full) --- 14#include <sound/pcm_params.h> 15#include <sound/sof.h> 16#include "sof-priv.h" 17#include "sof-audio.h" 18#include "ops.h" 19#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_PROBES) 20#include "sof-probes.h" 21#endif | 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// Author: Liam Girdwood <liam.r.girdwood@linux.intel.com> --- 5 unchanged lines hidden (view full) --- 14#include <sound/pcm_params.h> 15#include <sound/sof.h> 16#include "sof-priv.h" 17#include "sof-audio.h" 18#include "ops.h" 19#if IS_ENABLED(CONFIG_SND_SOC_SOF_DEBUG_PROBES) 20#include "sof-probes.h" 21#endif |
22#include "sof-utils.h" |
|
22 23/* Create DMA buffer page table for DSP */ 24static int create_page_table(struct snd_soc_component *component, 25 struct snd_pcm_substream *substream, 26 unsigned char *dma_area, size_t size) 27{ 28 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); 29 struct snd_sof_pcm *spcm; --- 910 unchanged lines hidden --- | 23 24/* Create DMA buffer page table for DSP */ 25static int create_page_table(struct snd_soc_component *component, 26 struct snd_pcm_substream *substream, 27 unsigned char *dma_area, size_t size) 28{ 29 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); 30 struct snd_sof_pcm *spcm; --- 910 unchanged lines hidden --- |