Searched refs:ss (Results 1 – 7 of 7) sorted by relevance
/sound/soc/sh/ |
D | siu_pcm.c | 296 static int siu_pcm_hw_params(struct snd_pcm_substream *ss, in siu_pcm_hw_params() argument 300 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_params() 305 ret = snd_pcm_lib_malloc_pages(ss, params_buffer_bytes(hw_params)); in siu_pcm_hw_params() 312 static int siu_pcm_hw_free(struct snd_pcm_substream *ss) in siu_pcm_hw_free() argument 315 struct siu_port *port_info = siu_port_info(ss); in siu_pcm_hw_free() 316 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_free() 319 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_hw_free() 326 return snd_pcm_lib_free_pages(ss); in siu_pcm_hw_free() 339 static int siu_pcm_open(struct snd_pcm_substream *ss) in siu_pcm_open() argument 342 struct snd_soc_pcm_runtime *rtd = ss->private_data; in siu_pcm_open() [all …]
|
/sound/parisc/ |
D | harmony.c | 306 snd_harmony_playback_trigger(struct snd_pcm_substream *ss, int cmd) in snd_harmony_playback_trigger() argument 308 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_playback_trigger() 342 snd_harmony_capture_trigger(struct snd_pcm_substream *ss, int cmd) in snd_harmony_capture_trigger() argument 344 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_capture_trigger() 408 snd_harmony_playback_prepare(struct snd_pcm_substream *ss) in snd_harmony_playback_prepare() argument 410 struct snd_harmony *h = snd_pcm_substream_chip(ss); in snd_harmony_playback_prepare() 411 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_playback_prepare() 416 h->pbuf.size = snd_pcm_lib_buffer_bytes(ss); in snd_harmony_playback_prepare() 417 h->pbuf.count = snd_pcm_lib_period_bytes(ss); in snd_harmony_playback_prepare() 438 snd_harmony_capture_prepare(struct snd_pcm_substream *ss) in snd_harmony_capture_prepare() argument [all …]
|
/sound/pci/ |
D | ad1889.c | 325 snd_ad1889_playback_open(struct snd_pcm_substream *ss) in snd_ad1889_playback_open() argument 327 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_playback_open() 328 struct snd_pcm_runtime *rt = ss->runtime; in snd_ad1889_playback_open() 330 chip->psubs = ss; in snd_ad1889_playback_open() 337 snd_ad1889_capture_open(struct snd_pcm_substream *ss) in snd_ad1889_capture_open() argument 339 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_capture_open() 340 struct snd_pcm_runtime *rt = ss->runtime; in snd_ad1889_capture_open() 342 chip->csubs = ss; in snd_ad1889_capture_open() 349 snd_ad1889_playback_close(struct snd_pcm_substream *ss) in snd_ad1889_playback_close() argument 351 struct snd_ad1889 *chip = snd_pcm_substream_chip(ss); in snd_ad1889_playback_close() [all …]
|
/sound/soc/au1x/ |
D | dma.c | 188 static inline struct alchemy_pcm_ctx *ss_to_ctx(struct snd_pcm_substream *ss) in ss_to_ctx() argument 190 struct snd_soc_pcm_runtime *rtd = ss->private_data; in ss_to_ctx() 194 static inline struct audio_stream *ss_to_as(struct snd_pcm_substream *ss) in ss_to_as() argument 196 struct alchemy_pcm_ctx *ctx = ss_to_ctx(ss); in ss_to_as() 197 return &(ctx->stream[ss->stream]); in ss_to_as() 282 static snd_pcm_uframes_t alchemy_pcm_pointer(struct snd_pcm_substream *ss) in alchemy_pcm_pointer() argument 284 struct audio_stream *stream = ss_to_as(ss); in alchemy_pcm_pointer() 291 return bytes_to_frames(ss->runtime, location); in alchemy_pcm_pointer()
|
D | dbdma2.c | 196 static inline struct au1xpsc_audio_dmadata *to_dmadata(struct snd_pcm_substream *ss) in to_dmadata() argument 198 struct snd_soc_pcm_runtime *rtd = ss->private_data; in to_dmadata() 201 return &pcd[ss->stream]; in to_dmadata()
|
/sound/pci/echoaudio/ |
D | echoaudio.c | 892 struct snd_pcm_substream *ss; in snd_echo_preallocate_pages() local 896 for (ss = pcm->streams[stream].substream; ss; ss = ss->next) { in snd_echo_preallocate_pages() 897 err = snd_pcm_lib_preallocate_pages(ss, SNDRV_DMA_TYPE_DEV_SG, in snd_echo_preallocate_pages() 899 ss->number ? 0 : 128<<10, in snd_echo_preallocate_pages() 1858 int period, ss, st; in snd_echo_interrupt() local 1868 for (ss = 0; ss < DSP_MAXPIPES; ss++) { in snd_echo_interrupt() 1869 substream = chip->substream[ss]; in snd_echo_interrupt() 1874 if (period != chip->last_period[ss]) { in snd_echo_interrupt() 1875 chip->last_period[ss] = period; in snd_echo_interrupt()
|
/sound/pci/rme9652/ |
D | hdspm.c | 5967 levels->speed = ss; in snd_hdspm_hwdep_ioctl()
|