| /OK3568_Linux_fs/external/rk_pcba_test/tinyalsa/ |
| H A D | pcm.c | 158 struct pcm { struct 175 unsigned int pcm_get_buffer_size(struct pcm *pcm) in pcm_get_buffer_size() argument 177 return pcm->buffer_size; in pcm_get_buffer_size() 180 const char* pcm_get_error(struct pcm *pcm) in pcm_get_error() argument 182 return pcm->error; in pcm_get_error() 185 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops() argument 191 vsnprintf(pcm->error, PCM_ERROR_MAX, fmt, ap); in oops() 193 sz = strlen(pcm->error); in oops() 196 snprintf(pcm->error + sz, PCM_ERROR_MAX - sz, in oops() 228 unsigned int pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes) in pcm_bytes_to_frames() argument [all …]
|
| H A D | asoundlib.h | 43 struct pcm; 139 struct pcm *pcm_open(unsigned int card, unsigned int device, 141 int pcm_close(struct pcm *pcm); 142 int pcm_is_ready(struct pcm *pcm); 154 int pcm_get_config(struct pcm *pcm, struct pcm_config *config); 155 int pcm_set_config(struct pcm *pcm, struct pcm_config *config); 158 const char *pcm_get_error(struct pcm *pcm); 168 unsigned int pcm_get_buffer_size(struct pcm *pcm); 169 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames); 170 unsigned int pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes); [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/ |
| H A D | soc-generic-dmaengine-pcm.c | 28 static struct device *dmaengine_dma_dev(struct dmaengine_pcm *pcm, in dmaengine_dma_dev() argument 31 if (!pcm->chan[substream->stream]) in dmaengine_dma_dev() 34 return pcm->chan[substream->stream]->device->dev; in dmaengine_dma_dev() 80 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_hw_params() local 90 if (!pcm->config) in dmaengine_pcm_hw_params() 93 prepare_slave_config = pcm->config->prepare_slave_config; in dmaengine_pcm_hw_params() 113 struct dmaengine_pcm *pcm = soc_component_to_pcm(component); in dmaengine_pcm_set_runtime_hwparams() local 114 struct device *dma_dev = dmaengine_dma_dev(pcm, substream); in dmaengine_pcm_set_runtime_hwparams() 115 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams() 125 if (pcm->config && pcm->config->pcm_hardware) in dmaengine_pcm_set_runtime_hwparams() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/samsung/ |
| H A D | pcm.c | 154 static void s3c_pcm_snd_txctrl(struct s3c_pcm_info *pcm, int on) in s3c_pcm_snd_txctrl() argument 156 void __iomem *regs = pcm->regs; in s3c_pcm_snd_txctrl() 176 if (!pcm->idleclk) in s3c_pcm_snd_txctrl() 185 static void s3c_pcm_snd_rxctrl(struct s3c_pcm_info *pcm, int on) in s3c_pcm_snd_rxctrl() argument 187 void __iomem *regs = pcm->regs; in s3c_pcm_snd_rxctrl() 207 if (!pcm->idleclk) in s3c_pcm_snd_rxctrl() 220 struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in s3c_pcm_trigger() local 223 dev_dbg(pcm->dev, "Entered %s\n", __func__); in s3c_pcm_trigger() 229 spin_lock_irqsave(&pcm->lock, flags); in s3c_pcm_trigger() 232 s3c_pcm_snd_rxctrl(pcm, 1); in s3c_pcm_trigger() [all …]
|
| /OK3568_Linux_fs/kernel/sound/core/ |
| H A D | pcm.c | 33 static int snd_pcm_free(struct snd_pcm *pcm); 40 struct snd_pcm *pcm; in snd_pcm_get() local 42 list_for_each_entry(pcm, &snd_pcm_devices, list) { in snd_pcm_get() 43 if (pcm->card == card && pcm->device == device) in snd_pcm_get() 44 return pcm; in snd_pcm_get() 51 struct snd_pcm *pcm; in snd_pcm_next() local 53 list_for_each_entry(pcm, &snd_pcm_devices, list) { in snd_pcm_next() 54 if (pcm->card == card && pcm->device > device) in snd_pcm_next() 55 return pcm->device; in snd_pcm_next() 56 else if (pcm->card->number > card->number) in snd_pcm_next() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/ac97/ |
| H A D | ac97_pcm.c | 144 static unsigned char get_slot_reg(struct ac97_pcm *pcm, unsigned short cidx, in get_slot_reg() argument 151 if (pcm->spdif) in get_slot_reg() 153 if (pcm->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_slot_reg() 154 return rate_reg_tables[dbl][pcm->r[dbl].rate_table[cidx]][slot - 3]; in get_slot_reg() 393 static unsigned int get_rates(struct ac97_pcm *pcm, unsigned int cidx, unsigned short slots, int db… in get_rates() argument 402 reg = get_slot_reg(pcm, cidx, i, dbl); in get_rates() 411 rates &= pcm->r[dbl].codec[cidx]->rates[idx]; in get_rates() 436 const struct ac97_pcm *pcm; in snd_ac97_pcm_assign() local 466 pcm = &pcms[i]; in snd_ac97_pcm_assign() 469 if (pcm->copy_flag) { in snd_ac97_pcm_assign() [all …]
|
| /OK3568_Linux_fs/external/rockit/mpi/sdk/deps/etc/ |
| H A D | asound.conf | 1 pcm.!default 4 playback.pcm "softvol_play0" 5 capture.pcm "codec_mic" 8 pcm.card0 { 10 playback.pcm "softvol_play0" 13 pcm.record0 { 15 capture.pcm "codec_mic" 18 pcm.codec_mic { 21 pcm "hw:1,0" 25 pcm.plug_play0 { [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/boards/ |
| H A D | sof_sdw_hdmi.c | 31 struct hdmi_pcm *pcm; in sof_sdw_hdmi_init() local 33 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in sof_sdw_hdmi_init() 34 if (!pcm) in sof_sdw_hdmi_init() 38 pcm->device = rtd->dai_link->id; in sof_sdw_hdmi_init() 39 pcm->codec_dai = dai; in sof_sdw_hdmi_init() 41 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in sof_sdw_hdmi_init() 50 struct hdmi_pcm *pcm; in sof_sdw_hdmi_card_late_probe() local 61 pcm = list_first_entry(&ctx->hdmi_pcm_list, struct hdmi_pcm, in sof_sdw_hdmi_card_late_probe() 63 component = pcm->codec_dai->component; in sof_sdw_hdmi_card_late_probe() 68 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in sof_sdw_hdmi_card_late_probe() [all …]
|
| H A D | skl_hda_dsp_common.c | 25 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_add_pcm() local 28 pcm = devm_kzalloc(card->dev, sizeof(*pcm), GFP_KERNEL); in skl_hda_hdmi_add_pcm() 29 if (!pcm) in skl_hda_hdmi_add_pcm() 34 pcm->codec_dai = snd_soc_card_get_codec_dai(card, dai_name); in skl_hda_hdmi_add_pcm() 35 if (!pcm->codec_dai) in skl_hda_hdmi_add_pcm() 38 pcm->device = device; in skl_hda_hdmi_add_pcm() 39 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skl_hda_hdmi_add_pcm() 141 struct skl_hda_hdmi_pcm *pcm; in skl_hda_hdmi_jack_init() local 148 list_for_each_entry(pcm, &ctx->hdmi_pcm_list, head) { in skl_hda_hdmi_jack_init() 149 component = pcm->codec_dai->component; in skl_hda_hdmi_jack_init() [all …]
|
| H A D | skl_nau88l25_max98357a.c | 186 struct skl_hdmi_pcm *pcm; in skylake_hdmi1_init() local 188 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi1_init() 189 if (!pcm) in skylake_hdmi1_init() 192 pcm->device = SKL_DPCM_AUDIO_HDMI1_PB; in skylake_hdmi1_init() 193 pcm->codec_dai = dai; in skylake_hdmi1_init() 195 list_add_tail(&pcm->head, &ctx->hdmi_pcm_list); in skylake_hdmi1_init() 204 struct skl_hdmi_pcm *pcm; in skylake_hdmi2_init() local 206 pcm = devm_kzalloc(rtd->card->dev, sizeof(*pcm), GFP_KERNEL); in skylake_hdmi2_init() 207 if (!pcm) in skylake_hdmi2_init() 210 pcm->device = SKL_DPCM_AUDIO_HDMI2_PB; in skylake_hdmi2_init() [all …]
|
| /OK3568_Linux_fs/buildroot/package/alsa-lib/ |
| H A D | 0003-add-gain-for-audio-input.patch | 8 src/pcm/pcm.c | 19 +++++++++++++++++++ 11 diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c 13 --- a/src/pcm/pcm.c 14 +++ b/src/pcm/pcm.c 38 static int bad_pcm_state(snd_pcm_t *pcm, unsigned int supported_states, 40 @@ -1813,6 +1831,7 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes… 42 DCBDoing((void*)buffer, tmp * pcm->frame_bits / 8 / sizeof(int16_t), pcm->channels); 44 + add_gain((void*)buffer, tmp * pcm->frame_bits / 8 / sizeof(int16_t), pcm->channels);
|
| H A D | 0002-add-dcbfilter-16bit-process.patch | 7 src/pcm/pcm.c | 169 +++++++++++++++++++++++++++++++++++++++++++++++++- 10 diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c 12 --- a/src/pcm/pcm.c 13 +++ b/src/pcm/pcm.c 181 static int bad_pcm_state(snd_pcm_t *pcm, unsigned int supported_states, 183 @@ -1646,7 +1808,12 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframe… 184 err = bad_pcm_state(pcm, P_STATE_RUNNABLE, 0); 187 - return _snd_pcm_readi(pcm, buffer, size); 189 + snd_pcm_sframes_t tmp = _snd_pcm_readi(pcm, buffer, size); 191 + DCBDoing((void*)buffer, tmp * pcm->frame_bits / 8 / sizeof(int16_t), pcm->channels);
|
| /OK3568_Linux_fs/kernel/sound/soc/codecs/ |
| H A D | hdac_hdmi.c | 147 struct hdac_hdmi_pcm *pcm; in hdac_hdmi_get_pcm_from_cvt() local 149 list_for_each_entry(pcm, &hdmi->pcm_list, head) { in hdac_hdmi_get_pcm_from_cvt() 150 if (pcm->cvt == cvt) in hdac_hdmi_get_pcm_from_cvt() 151 return pcm; in hdac_hdmi_get_pcm_from_cvt() 157 static void hdac_hdmi_jack_report(struct hdac_hdmi_pcm *pcm, in hdac_hdmi_jack_report() argument 169 if (pcm->jack_event == 0) { in hdac_hdmi_jack_report() 172 pcm->pcm_id); in hdac_hdmi_jack_report() 173 snd_soc_jack_report(pcm->jack, SND_JACK_AVOUT, in hdac_hdmi_jack_report() 176 pcm->jack_event++; in hdac_hdmi_jack_report() 183 if (pcm->jack_event == 1) in hdac_hdmi_jack_report() [all …]
|
| H A D | hdac_hda.c | 189 struct hdac_hda_pcm *pcm; in hdac_hda_dai_set_tdm_slot() local 192 pcm = &hda_pvt->pcm[dai->id]; in hdac_hda_dai_set_tdm_slot() 195 pcm->stream_tag[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; in hdac_hda_dai_set_tdm_slot() 197 pcm->stream_tag[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; in hdac_hda_dai_set_tdm_slot() 231 hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; in hdac_hda_dai_hw_params() 241 struct hda_pcm *pcm; in hdac_hda_dai_hw_free() local 244 pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); in hdac_hda_dai_hw_free() 245 if (!pcm) in hdac_hda_dai_hw_free() 248 hda_stream = &pcm->stream[substream->stream]; in hdac_hda_dai_hw_free() 262 struct hda_pcm *pcm; in hdac_hda_dai_prepare() local [all …]
|
| /OK3568_Linux_fs/buildroot/package/pcm-tools/ |
| H A D | pcm-tools.mk | 8 PCM_TOOLS_SITE = $(call github,opcm,pcm,$(PCM_TOOLS_VERSION)) 13 pcm-core pcm-iio pcm-lspci pcm-memory pcm-msr pcm-numa \ 14 pcm-pcicfg pcm-pcie pcm-power pcm-sensor pcm-tsx pcm
|
| /OK3568_Linux_fs/kernel/sound/soc/rockchip/ |
| H A D | rockchip_multi_dais_pcm.c | 55 static struct dma_chan *to_chan(struct dmaengine_mpcm *pcm, in to_chan() argument 61 for (i = 0; i < pcm->mdais->num_dais; i++) { in to_chan() 62 chan = substream->stream ? pcm->rx_chans[i] : pcm->tx_chans[i]; in to_chan() 70 static struct device *dmaengine_dma_dev(struct dmaengine_mpcm *pcm, in dmaengine_dma_dev() argument 75 chan = to_chan(pcm, substream); in dmaengine_dma_dev() 385 struct dmaengine_mpcm *pcm = soc_component_to_mpcm(component); in dmaengine_mpcm_hw_params() local 395 maps = pcm->mdais->playback_channel_maps; in dmaengine_mpcm_hw_params() 397 maps = pcm->mdais->capture_channel_maps; in dmaengine_mpcm_hw_params() 400 num = pcm->mdais->num_dais; in dmaengine_mpcm_hw_params() 409 dma_data = snd_soc_dai_get_dma_data(pcm->mdais->dais[i].dai, in dmaengine_mpcm_hw_params() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A D | pcm.c | 52 spcm->pcm.pcm_id); in sof_pcm_dsp_params() 127 struct sof_ipc_pcm_params pcm; in sof_pcm_hw_params() local 150 spcm->pcm.pcm_id, substream->stream); in sof_pcm_hw_params() 152 memset(&pcm, 0, sizeof(pcm)); in sof_pcm_hw_params() 163 pcm.params.buffer.pages = PFN_UP(runtime->dma_bytes); in sof_pcm_hw_params() 166 pcm.hdr.size = sizeof(pcm); in sof_pcm_hw_params() 167 pcm.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | SOF_IPC_STREAM_PCM_PARAMS; in sof_pcm_hw_params() 168 pcm.comp_id = spcm->stream[substream->stream].comp_id; in sof_pcm_hw_params() 169 pcm.params.hdr.size = sizeof(pcm.params); in sof_pcm_hw_params() 170 pcm.params.buffer.phy_addr = in sof_pcm_hw_params() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/lola/ |
| H A D | lola_pcm.c | 24 return &chip->pcm[substream->stream]; in lola_get_pcm() 29 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_get_stream() local 31 return &pcm->streams[idx]; in lola_get_stream() 128 if (s->pcm->card != substream->pcm->card) in lola_sync_wait_for_fifo() 159 if (s->pcm->card != substream->pcm->card) in lola_sync_pause() 213 struct lola_pcm *pcm = lola_get_pcm(substream); in lola_pcm_open() local 226 runtime->hw.channels_max = pcm->num_streams - str->index; in lola_pcm_open() 246 static void lola_cleanup_slave_streams(struct lola_pcm *pcm, in lola_cleanup_slave_streams() argument 250 for (i = str->index + 1; i < pcm->num_streams; i++) { in lola_cleanup_slave_streams() 251 struct lola_stream *s = &pcm->streams[i]; in lola_cleanup_slave_streams() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/emu10k1/ |
| H A D | emupcm.c | 1379 struct snd_pcm *pcm; in snd_emu10k1_pcm() local 1383 if ((err = snd_pcm_new(emu->card, "emu10k1", device, 32, 1, &pcm)) < 0) in snd_emu10k1_pcm() 1386 pcm->private_data = emu; in snd_emu10k1_pcm() 1388 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_emu10k1_playback_ops); in snd_emu10k1_pcm() 1389 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_emu10k1_capture_ops); in snd_emu10k1_pcm() 1391 pcm->info_flags = 0; in snd_emu10k1_pcm() 1392 pcm->dev_subclass = SNDRV_PCM_SUBCLASS_GENERIC_MIX; in snd_emu10k1_pcm() 1393 strcpy(pcm->name, "ADC Capture/Standard PCM Playback"); in snd_emu10k1_pcm() 1394 emu->pcm = pcm; in snd_emu10k1_pcm() 1397 …for (substream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; substream; substream = substre… in snd_emu10k1_pcm() [all …]
|
| /OK3568_Linux_fs/kernel/sound/pci/au88x0/ |
| H A D | au88x0_pcm.c | 146 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) { in snd_vortex_pcm_open() 148 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_A3D) { in snd_vortex_pcm_open() 152 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_SPDIF) { in snd_vortex_pcm_open() 166 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB in snd_vortex_pcm_open() 167 || VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_I2S) in snd_vortex_pcm_open() 172 VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) { in snd_vortex_pcm_open() 219 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) { in snd_vortex_pcm_hw_params() 220 int dma, type = VORTEX_PCM_TYPE(substream->pcm); in snd_vortex_pcm_hw_params() 243 if (VORTEX_PCM_TYPE(substream->pcm) == VORTEX_PCM_ADB) { in snd_vortex_pcm_hw_params() 276 if (VORTEX_PCM_TYPE(substream->pcm) != VORTEX_PCM_WT) { in snd_vortex_pcm_hw_free() [all …]
|
| /OK3568_Linux_fs/external/alsa-config/alsa/cards/ |
| H A D | rockchip_rk809-.conf | 6 rockchip_rk809-.pcm.default { 12 playback.pcm { 14 slave.pcm { 16 slave.pcm { 18 slave.pcm { 43 capture.pcm { 45 slave.pcm { 47 slave.pcm { 49 slave.pcm {
|
| H A D | rockchip_rk817-.conf | 6 rockchip_rk817-.pcm.default { 12 playback.pcm { 14 slave.pcm { 16 slave.pcm { 18 slave.pcm { 43 capture.pcm { 45 slave.pcm { 47 slave.pcm { 49 slave.pcm {
|
| /OK3568_Linux_fs/kernel/sound/soc/tegra/ |
| H A D | tegra_pcm.c | 204 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in tegra_pcm_mmap() 216 static int tegra_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream, in tegra_pcm_preallocate_dma_buffer() argument 219 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in tegra_pcm_preallocate_dma_buffer() 222 buf->area = dma_alloc_wc(pcm->card->dev, size, &buf->addr, GFP_KERNEL); in tegra_pcm_preallocate_dma_buffer() 228 buf->dev.dev = pcm->card->dev; in tegra_pcm_preallocate_dma_buffer() 234 static void tegra_pcm_deallocate_dma_buffer(struct snd_pcm *pcm, int stream) in tegra_pcm_deallocate_dma_buffer() argument 239 substream = pcm->streams[stream].substream; in tegra_pcm_deallocate_dma_buffer() 247 dma_free_wc(pcm->card->dev, buf->bytes, buf->area, buf->addr); in tegra_pcm_deallocate_dma_buffer() 255 struct snd_pcm *pcm = rtd->pcm; in tegra_pcm_dma_allocate() local 266 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in tegra_pcm_dma_allocate() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/fsl/ |
| H A D | imx-pcm-fiq.c | 223 ret = dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in snd_imx_pcm_mmap() 233 static int imx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) in imx_pcm_preallocate_dma_buffer() argument 235 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in imx_pcm_preallocate_dma_buffer() 240 buf->dev.dev = pcm->card->dev; in imx_pcm_preallocate_dma_buffer() 242 buf->area = dma_alloc_wc(pcm->card->dev, size, &buf->addr, GFP_KERNEL); in imx_pcm_preallocate_dma_buffer() 253 struct snd_pcm *pcm = rtd->pcm; in imx_pcm_new() local 260 if (pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream) { in imx_pcm_new() 261 ret = imx_pcm_preallocate_dma_buffer(pcm, in imx_pcm_new() 267 if (pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream) { in imx_pcm_new() 268 ret = imx_pcm_preallocate_dma_buffer(pcm, in imx_pcm_new() [all …]
|
| /OK3568_Linux_fs/kernel/sound/arm/ |
| H A D | pxa2xx-pcm-lib.c | 138 return dma_mmap_wc(substream->pcm->card->dev, vma, runtime->dma_area, in pxa2xx_pcm_mmap() 143 int pxa2xx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) in pxa2xx_pcm_preallocate_dma_buffer() argument 145 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in pxa2xx_pcm_preallocate_dma_buffer() 149 buf->dev.dev = pcm->card->dev; in pxa2xx_pcm_preallocate_dma_buffer() 151 buf->area = dma_alloc_wc(pcm->card->dev, size, &buf->addr, GFP_KERNEL); in pxa2xx_pcm_preallocate_dma_buffer() 159 void pxa2xx_pcm_free_dma_buffers(struct snd_pcm *pcm) in pxa2xx_pcm_free_dma_buffers() argument 166 substream = pcm->streams[stream].substream; in pxa2xx_pcm_free_dma_buffers() 172 dma_free_wc(pcm->card->dev, buf->bytes, buf->area, buf->addr); in pxa2xx_pcm_free_dma_buffers() 179 struct snd_pcm *pcm) in pxa2xx_soc_pcm_free() argument 181 pxa2xx_pcm_free_dma_buffers(pcm); in pxa2xx_soc_pcm_free() [all …]
|