Lines Matching refs:plug
28 #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1) argument
29 #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) argument
30 #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1) argument
31 #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) argument
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer()
73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer()
85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer()
108 int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_io() argument
119 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io()
124 err = snd_pcm_plugin_build(plug, "I/O io", in snd_pcm_plugin_build_io()
131 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_build_io()