Home
last modified time | relevance | path

Searched refs:pcm_ops (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/sound/soc/sof/
H A Dpcm.c128 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm); in sof_pcm_hw_params() local
146 if (pcm_ops && pcm_ops->hw_free && spcm->prepared[substream->stream]) { in sof_pcm_hw_params()
147 ret = pcm_ops->hw_free(component, substream); in sof_pcm_hw_params()
180 if (pcm_ops && pcm_ops->hw_params) { in sof_pcm_hw_params()
181 ret = pcm_ops->hw_params(component, substream, params, &platform_params); in sof_pcm_hw_params()
199 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm); in sof_pcm_hw_free() local
216 if (pcm_ops && pcm_ops->platform_stop_during_hw_free) in sof_pcm_hw_free()
220 if (pcm_ops && pcm_ops->hw_free) { in sof_pcm_hw_free()
221 ret = pcm_ops->hw_free(component, substream); in sof_pcm_hw_free()
288 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm); in sof_pcm_trigger() local
[all …]
H A Dsof-audio.c838 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm); in sof_pcm_stream_free() local
843 if (pcm_ops && pcm_ops->platform_stop_during_hw_free) in sof_pcm_stream_free()
847 if (pcm_ops && pcm_ops->hw_free) { in sof_pcm_stream_free()
848 ret = pcm_ops->hw_free(sdev->component, substream); in sof_pcm_stream_free()
/openbmc/qemu/audio/
H A Daudio.c601 if (!hw->pcm_ops->volume_in) { in audio_pcm_sw_read()
654 return (hw->pcm_ops->buffer_get_free ? hw->pcm_ops->buffer_get_free(hw) : in audio_pcm_hw_get_free()
748 if (!sw->hw->pcm_ops->volume_out) { in audio_pcm_sw_write()
880 return hw->pcm_ops->write(hw, buf, size); in AUD_write()
902 return hw->pcm_ops->read(hw, buf, size); in AUD_read()
930 if (hw->pcm_ops->enable_out) { in AUD_set_active_out()
931 hw->pcm_ops->enable_out(hw, true); in AUD_set_active_out()
976 if (hw->pcm_ops->enable_in) { in AUD_set_active_in()
977 hw->pcm_ops->enable_in(hw, true); in AUD_set_active_in()
994 if (hw->pcm_ops->enable_in) { in AUD_set_active_in()
[all …]
H A Daudio_template.h229 glue(hw->pcm_ops->fini_, TYPE) (hw); in glue()
278 if (audio_bug(__func__, !drv->pcm_ops)) { in glue()
289 hw->pcm_ops = drv->pcm_ops; in glue()
295 if (glue (hw->pcm_ops->init_, TYPE) (hw, as, s->drv_opaque)) { in glue()
332 glue (hw->pcm_ops->fini_, TYPE) (hw); in glue()
H A Daudio_int.h81 struct audio_pcm_ops *pcm_ops; member
102 struct audio_pcm_ops *pcm_ops; member
148 struct audio_pcm_ops *pcm_ops; member
H A Dnoaudio.c137 .pcm_ops = &no_pcm_ops,
H A Dwavaudio.c214 .pcm_ops = &wav_pcm_ops,
H A Dspiceaudio.c322 .pcm_ops = &audio_callbacks,
H A Dsndioaudio.c552 .pcm_ops = &sndio_pcm_ops,
H A Dsdlaudio.c496 .pcm_ops = &sdl_pcm_ops,
H A Ddsoundaudio.c723 .pcm_ops = &dsound_pcm_ops,
H A Djackaudio.c678 .pcm_ops = &jack_pcm_ops,
H A Ddbusaudio.c678 .pcm_ops = &dbus_pcm_ops,
H A Dossaudio.c785 .pcm_ops = &oss_pcm_ops,
H A Dalsaaudio.c962 .pcm_ops = &alsa_pcm_ops,
H A Dpaaudio.c933 .pcm_ops = &qpa_pcm_ops,
H A Dpwaudio.c844 .pcm_ops = &qpw_pcm_ops,
H A Dcoreaudio.m670 .pcm_ops = &coreaudio_pcm_ops,
/openbmc/linux/sound/usb/6fire/
H A Dpcm.c542 static const struct snd_pcm_ops pcm_ops = { variable
644 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_ops); in usb6fire_pcm_init()
645 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &pcm_ops); in usb6fire_pcm_init()
/openbmc/linux/sound/usb/hiface/
H A Dpcm.c498 static const struct snd_pcm_ops pcm_ops = { variable
598 snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &pcm_ops); in hiface_pcm_init()
/openbmc/linux/drivers/most/
H A Dmost_snd.c408 static const struct snd_pcm_ops pcm_ops = { variable
602 snd_pcm_set_ops(pcm, direction, &pcm_ops); in audio_probe_channel()
/openbmc/linux/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c655 static struct sst_ops pcm_ops = { variable
688 .ops = &pcm_ops,