Home
last modified time | relevance | path

Searched refs:plug (Results 1 – 11 of 11) sorted by relevance

/sound/core/oss/
Dio.c28 #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,1) 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,1) 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()
[all …]
Dpcm_plugin.c35 #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()
[all …]
Dpcm_plugin.h27 #define snd_pcm_plug_stream(plug) ((plug)->stream) argument
76 struct snd_pcm_substream *plug; member
93 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
157 void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size);
158 void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr);
Dcopy.c61 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_copy() argument
85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, in snd_pcm_plugin_build_copy()
Droute.c85 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_route() argument
101 err = snd_pcm_plugin_build(plug, "route conversion", in snd_pcm_plugin_build_route()
Dlinear.c147 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_linear() argument
168 err = snd_pcm_plugin_build(plug, "linear format conversion", in snd_pcm_plugin_build_linear()
Dmulaw.c298 int snd_pcm_plugin_build_mulaw(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_mulaw() argument
333 err = snd_pcm_plugin_build(plug, "Mu-Law<->linear conversion", in snd_pcm_plugin_build_mulaw()
Drate.c300 int snd_pcm_plugin_build_rate(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_rate() argument
324 err = snd_pcm_plugin_build(plug, "rate conversion", in snd_pcm_plugin_build_rate()
Dpcm_oss.c582 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert()
597 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_append()
/sound/firewire/
Dfcp.h19 unsigned short plug);
22 unsigned short plug);
/sound/ppc/
DKconfig24 bool "Toggle DRC automatically at headphone/line plug-in"