/openbmc/linux/sound/soc/sof/ |
H A D | pcm.c | 128 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 D | sof-audio.c | 838 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 D | audio.c | 601 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 D | audio_template.h | 229 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 D | audio_int.h | 81 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 D | noaudio.c | 137 .pcm_ops = &no_pcm_ops,
|
H A D | wavaudio.c | 214 .pcm_ops = &wav_pcm_ops,
|
H A D | spiceaudio.c | 322 .pcm_ops = &audio_callbacks,
|
H A D | sndioaudio.c | 552 .pcm_ops = &sndio_pcm_ops,
|
H A D | sdlaudio.c | 496 .pcm_ops = &sdl_pcm_ops,
|
H A D | dsoundaudio.c | 723 .pcm_ops = &dsound_pcm_ops,
|
H A D | jackaudio.c | 678 .pcm_ops = &jack_pcm_ops,
|
H A D | dbusaudio.c | 678 .pcm_ops = &dbus_pcm_ops,
|
H A D | ossaudio.c | 785 .pcm_ops = &oss_pcm_ops,
|
H A D | alsaaudio.c | 962 .pcm_ops = &alsa_pcm_ops,
|
H A D | paaudio.c | 933 .pcm_ops = &qpa_pcm_ops,
|
H A D | pwaudio.c | 844 .pcm_ops = &qpw_pcm_ops,
|
H A D | coreaudio.m | 670 .pcm_ops = &coreaudio_pcm_ops,
|
/openbmc/linux/sound/usb/6fire/ |
H A D | pcm.c | 542 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 D | pcm.c | 498 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 D | most_snd.c | 408 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 D | sst_drv_interface.c | 655 static struct sst_ops pcm_ops = { variable 688 .ops = &pcm_ops,
|