• Home
  • Raw
  • Download

Lines Matching refs:plug

35 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first)  argument
36 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last) argument
104 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument
107 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc()
109 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc()
110 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc()
122 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc()
146 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument
156 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build()
164 plugin->plug = plug; in snd_pcm_plugin_build()
165 plugin->stream = snd_pcm_plug_stream(plug); in snd_pcm_plugin_build()
199 snd_pcm_sframes_t snd_pcm_plug_client_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t drv_fr… in snd_pcm_plug_client_size() argument
204 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size()
208 stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_client_size()
210 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_client_size()
220 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_client_size()
234 snd_pcm_sframes_t snd_pcm_plug_slave_size(struct snd_pcm_substream *plug, snd_pcm_uframes_t clt_fra… in snd_pcm_plug_slave_size() argument
240 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size()
245 stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_slave_size()
247 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_slave_size()
260 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_slave_size()
370 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *plug, in snd_pcm_plug_format_plugins() argument
380 int stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_format_plugins()
428 err = snd_pcm_plugin_build_mulaw(plug, in snd_pcm_plug_format_plugins()
445 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
463 err = snd_pcm_plugin_build_linear(plug, in snd_pcm_plug_format_plugins()
477 err = snd_pcm_plugin_build_rate(plug, in snd_pcm_plug_format_plugins()
497 err = snd_pcm_plugin_build_mulaw(plug, in snd_pcm_plug_format_plugins()
503 err = snd_pcm_plugin_build_linear(plug, in snd_pcm_plug_format_plugins()
524 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
539 err = snd_pcm_plugin_build_copy(plug, in snd_pcm_plug_format_plugins()
556 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, in snd_pcm_plug_client_channels_buf() argument
565 int stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_client_channels_buf()
570 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_client_channels_buf()
573 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_client_channels_buf()
595 snd_pcm_sframes_t snd_pcm_plug_write_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin… in snd_pcm_plug_write_transfer() argument
602 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_write_transfer()
632 return snd_pcm_plug_client_size(plug, frames); in snd_pcm_plug_write_transfer()
635 snd_pcm_sframes_t snd_pcm_plug_read_transfer(struct snd_pcm_substream *plug, struct snd_pcm_plugin_… in snd_pcm_plug_read_transfer() argument
642 frames = snd_pcm_plug_slave_size(plug, frames); in snd_pcm_plug_read_transfer()
647 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_read_transfer()