Searched refs:plugin (Results 1 - 15 of 15) sorted by relevance

/linux-master/scripts/gcc-plugins/
H A DMakefile21 # If the plugin foo.so is compiled from foo.c and foo2.c, you can do:
27 GCC_PLUGINS_DIR = $(shell $(CC) -print-file-name=plugin)
39 plugin-single := $(foreach m, $(GCC_PLUGIN), $(if $($(m:%.so=%-objs)),,$(m)))
40 plugin-multi := $(filter-out $(plugin-single), $(GCC_PLUGIN))
41 plugin-objs := $(sort $(foreach m, $(plugin-multi), $($(m:%.so=%-objs))))
43 targets += $(plugin-single) $(plugin-multi) $(plugin
[all...]
/linux-master/sound/core/oss/
H A Dio.c34 * Basic io plugin
37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, argument
42 if (snd_BUG_ON(!plugin))
46 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) {
47 return pcm_write(plugin->plug, src_channels->area.addr, frames);
49 int channel, channels = plugin->dst_format.channels;
50 void **bufs = (void**)plugin->extra_data;
59 return pcm_writev(plugin->plug, bufs, frames);
63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, argument
68 if (snd_BUG_ON(!plugin))
90 io_src_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) argument
114 struct snd_pcm_plugin *plugin; local
[all...]
H A Dpcm_plugin.c49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) {
58 format = &plugin->src_format;
60 format = &plugin->dst_format;
72 if (plugin->buf_frames < frames) {
73 kvfree(plugin->buf);
74 plugin->buf = kvzalloc(size, GFP_KERNEL);
75 plugin->buf_frames = frames;
77 if (!plugin->buf) {
78 plugin
114 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); local
126 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); local
142 snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames, struct snd_pcm_plugin_channel **channels) argument
157 struct snd_pcm_plugin *plugin; local
191 snd_pcm_plugin_free(struct snd_pcm_plugin *plugin) argument
207 struct snd_pcm_plugin *plugin, *plugin_next; local
229 struct snd_pcm_plugin *plugin, *plugin_prev; local
379 struct snd_pcm_plugin *plugin = NULL; local
562 struct snd_pcm_plugin *plugin; local
599 struct snd_pcm_plugin *plugin, *next; local
641 struct snd_pcm_plugin *plugin, *next; local
[all...]
H A Drate.c32 * Basic rate conversion plugin
40 typedef void (*rate_f)(struct snd_pcm_plugin *plugin,
53 static void rate_init(struct snd_pcm_plugin *plugin) argument
56 struct rate_priv *data = (struct rate_priv *)plugin->extra_data;
58 for (channel = 0; channel < plugin->src_format.channels; channel++) {
64 static void resample_expand(struct snd_pcm_plugin *plugin, argument
76 struct rate_priv *data = (struct rate_priv *)plugin->extra_data;
79 for (channel = 0; channel < plugin->src_format.channels; channel++) {
85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format);
123 static void resample_shrink(struct snd_pcm_plugin *plugin, argument
183 rate_src_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
216 rate_dst_frames(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) argument
249 rate_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) argument
283 rate_action(struct snd_pcm_plugin *plugin, enum snd_pcm_plugin_action action, unsigned long udata) argument
307 struct snd_pcm_plugin *plugin; local
[all...]
H A Dcopy.c27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, argument
35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
39 nchannels = plugin->src_format.channels;
49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format);
54 snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.format);
67 struct snd_pcm_plugin *plugin; local
86 0, &plugin);
89 plugin->transfer = copy_transfer;
90 *r_plugin = plugin;
H A Droute.c47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, argument
56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
63 nsrcs = plugin->src_format.channels;
64 ndsts = plugin->dst_format.channels;
66 format = plugin->dst_format.format;
92 struct snd_pcm_plugin *plugin; local
104 src_format, dst_format, 0, &plugin);
108 plugin->transfer = route_transfer;
109 *r_plugin = plugin;
H A Dmulaw.c138 * Basic Mu-Law plugin
141 typedef void (*mulaw_f)(struct snd_pcm_plugin *plugin,
168 static void mulaw_decode(struct snd_pcm_plugin *plugin, argument
173 struct mulaw_priv *data = (struct mulaw_priv *)plugin->extra_data;
175 int nchannels = plugin->src_format.channels;
183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
214 static void mulaw_encode(struct snd_pcm_plugin *plugin, argument
219 struct mulaw_priv *data = (struct mulaw_priv *)plugin->extra_data;
221 int nchannels = plugin->src_format.channels;
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin
248 mulaw_transfer(struct snd_pcm_plugin *plugin, const struct snd_pcm_plugin_channel *src_channels, struct snd_pcm_plugin_channel *dst_channels, snd_pcm_uframes_t frames) argument
307 struct snd_pcm_plugin *plugin; local
[all...]
H A Dpcm_plugin.h47 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames);
48 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames);
49 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin,
52 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin,
56 int (*action)(struct snd_pcm_plugin *plugin,
63 void (*private_free)(struct snd_pcm_plugin *plugin);
76 int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin);
116 int snd_pcm_plugin_append(struct snd_pcm_plugin *plugin);
129 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin,
163 #define pdprintf(fmt, args...) printk(KERN_DEBUG "plugin
[all...]
H A Dlinear.c29 * Basic linear conversion plugin
55 static void convert(struct snd_pcm_plugin *plugin, argument
60 struct linear_priv *data = (struct linear_priv *)plugin->extra_data;
62 int nchannels = plugin->src_format.channels;
70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format);
88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, argument
93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
100 for (channel = 0; channel < plugin->src_format.channels; channel++) {
112 convert(plugin, src_channels, dst_channels, frames);
156 struct snd_pcm_plugin *plugin; local
[all...]
H A Dpcm_oss.c527 * plugin
534 struct snd_pcm_plugin *plugin, *next; local
536 plugin = runtime->oss.plugin_first;
537 while (plugin) {
538 next = plugin->next;
539 snd_pcm_plugin_free(plugin);
540 plugin = next;
546 static int snd_pcm_plugin_insert(struct snd_pcm_plugin *plugin) argument
548 struct snd_pcm_runtime *runtime = plugin->plug->runtime;
549 plugin
561 snd_pcm_plugin_append(struct snd_pcm_plugin *plugin) argument
982 struct snd_pcm_plugin *plugin; local
[all...]
/linux-master/scripts/
H A DMakefile.gcc-plugins3 gcc-plugin-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) += latent_entropy_plugin.so
4 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_LATENT_ENTROPY) \
11 gcc-plugin-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) += structleak_plugin.so
12 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_VERBOSE) \
14 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF) \
16 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL) \
22 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STRUCTLEAK) \
25 gcc-plugin-$(CONFIG_GCC_PLUGIN_STACKLEAK) += stackleak_plugin.so
26 gcc-plugin-cflags-$(CONFIG_GCC_PLUGIN_STACKLEAK) \
28 gcc-plugin
[all...]
/linux-master/tools/testing/selftests/tc-testing/
H A DMakefile4 TEST_FILES := action-ebpf tdc*.py Tdc*.py plugins plugin-lib tc-tests scripts
/linux-master/scripts/dummy-tools/
H A Dgcc107 if arg_contain -print-file-name=plugin "$@"; then
109 echo "$(dirname "$(readlink -f "$0")")/dummy-plugin-dir"
/linux-master/fs/ocfs2/
H A Dstackglue.c162 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin) argument
167 if (!ocfs2_stack_lookup(plugin->sp_name)) {
168 plugin->sp_count = 0;
169 plugin->sp_max_proto = locking_max_version;
170 list_add(&plugin->sp_list, &ocfs2_stack_list);
172 plugin->sp_name);
176 plugin->sp_name);
185 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin) argument
190 p = ocfs2_stack_lookup(plugin->sp_name);
192 BUG_ON(p != plugin);
[all...]
H A Dstackglue.h220 * Each stack plugin must describe itself by registering a
288 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin);
289 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);

Completed in 179 milliseconds