Searched refs:psubstream (Results 1 – 3 of 3) sorted by relevance
505 struct snd_pcm_substream *psubstream, *csubstream; in lpass_platform_pcm_new() local510 psubstream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in lpass_platform_pcm_new()511 if (psubstream) { in lpass_platform_pcm_new()514 size, &psubstream->dma_buffer); in lpass_platform_pcm_new()528 if (psubstream) in lpass_platform_pcm_new()529 snd_dma_free_pages(&psubstream->dma_buffer); in lpass_platform_pcm_new()
805 struct snd_pcm_substream *psubstream, *csubstream; in q6asm_dai_pcm_new() local813 psubstream = pcm->streams[SNDRV_PCM_STREAM_PLAYBACK].substream; in q6asm_dai_pcm_new()814 if (psubstream) { in q6asm_dai_pcm_new()816 &psubstream->dma_buffer); in q6asm_dai_pcm_new()829 if (psubstream) in q6asm_dai_pcm_new()830 snd_dma_free_pages(&psubstream->dma_buffer); in q6asm_dai_pcm_new()
2031 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_set_trigger() local2038 psubstream = pcm_oss_file->streams[SNDRV_PCM_STREAM_PLAYBACK]; in snd_pcm_oss_set_trigger()2041 if (psubstream) { in snd_pcm_oss_set_trigger()2042 if ((err = snd_pcm_oss_make_ready(psubstream)) < 0) in snd_pcm_oss_set_trigger()2049 if (psubstream) { in snd_pcm_oss_set_trigger()2050 runtime = psubstream->runtime; in snd_pcm_oss_set_trigger()2057 if (atomic_read(&psubstream->mmap_count)) in snd_pcm_oss_set_trigger()2058 snd_pcm_oss_simulate_fill(psubstream, in snd_pcm_oss_set_trigger()2074 err = snd_pcm_kernel_ioctl(psubstream, cmd, NULL); in snd_pcm_oss_set_trigger()2111 struct snd_pcm_substream *psubstream = NULL, *csubstream = NULL; in snd_pcm_oss_get_trigger() local[all …]