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()
218 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_client_size()
230 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
236 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size()
241 stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_slave_size()
243 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_slave_size()
254 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_slave_size()
361 int snd_pcm_plug_format_plugins(struct snd_pcm_substream *plug, in snd_pcm_plug_format_plugins() argument
371 int stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_format_plugins()
419 err = snd_pcm_plugin_build_mulaw(plug, in snd_pcm_plug_format_plugins()
436 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
454 err = snd_pcm_plugin_build_linear(plug, in snd_pcm_plug_format_plugins()
468 err = snd_pcm_plugin_build_rate(plug, in snd_pcm_plug_format_plugins()
488 err = snd_pcm_plugin_build_mulaw(plug, in snd_pcm_plug_format_plugins()
494 err = snd_pcm_plugin_build_linear(plug, in snd_pcm_plug_format_plugins()
515 err = snd_pcm_plugin_build_route(plug, &srcformat, &tmpformat, &plugin); in snd_pcm_plug_format_plugins()
530 err = snd_pcm_plugin_build_copy(plug, in snd_pcm_plug_format_plugins()
547 snd_pcm_sframes_t snd_pcm_plug_client_channels_buf(struct snd_pcm_substream *plug, in snd_pcm_plug_client_channels_buf() argument
556 int stream = snd_pcm_plug_stream(plug); in snd_pcm_plug_client_channels_buf()
561 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_client_channels_buf()
564 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_client_channels_buf()
586 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
593 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_write_transfer()
615 return snd_pcm_plug_client_size(plug, frames); in snd_pcm_plug_write_transfer()
618 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
625 frames = snd_pcm_plug_slave_size(plug, frames); in snd_pcm_plug_read_transfer()
630 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_read_transfer()