/linux-4.4.14/sound/core/oss/ |
D | pcm_plugin.c | 49 static int snd_pcm_plugin_alloc(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t frames) in snd_pcm_plugin_alloc() argument 57 if (plugin->stream == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plugin_alloc() 58 format = &plugin->src_format; in snd_pcm_plugin_alloc() 60 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 68 if (plugin->buf_frames < frames) { in snd_pcm_plugin_alloc() 69 vfree(plugin->buf); in snd_pcm_plugin_alloc() 70 plugin->buf = vmalloc(size); in snd_pcm_plugin_alloc() 71 plugin->buf_frames = frames; in snd_pcm_plugin_alloc() 73 if (!plugin->buf) { in snd_pcm_plugin_alloc() 74 plugin->buf_frames = 0; in snd_pcm_plugin_alloc() [all …]
|
D | io.c | 37 static snd_pcm_sframes_t io_playback_transfer(struct snd_pcm_plugin *plugin, in io_playback_transfer() argument 42 if (snd_BUG_ON(!plugin)) in io_playback_transfer() 46 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) { in io_playback_transfer() 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() 50 void **bufs = (void**)plugin->extra_data; in io_playback_transfer() 59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer() 63 static snd_pcm_sframes_t io_capture_transfer(struct snd_pcm_plugin *plugin, in io_capture_transfer() argument 68 if (snd_BUG_ON(!plugin)) in io_capture_transfer() 72 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) { in io_capture_transfer() [all …]
|
D | rate.c | 40 typedef void (*rate_f)(struct snd_pcm_plugin *plugin, 53 static void rate_init(struct snd_pcm_plugin *plugin) in rate_init() argument 56 struct rate_priv *data = (struct rate_priv *)plugin->extra_data; in rate_init() 58 for (channel = 0; channel < plugin->src_format.channels; channel++) { in rate_init() 64 static void resample_expand(struct snd_pcm_plugin *plugin, in resample_expand() argument 76 struct rate_priv *data = (struct rate_priv *)plugin->extra_data; in resample_expand() 79 for (channel = 0; channel < plugin->src_format.channels; channel++) { in resample_expand() 85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand() 123 static void resample_shrink(struct snd_pcm_plugin *plugin, in resample_shrink() argument 135 struct rate_priv *data = (struct rate_priv *)plugin->extra_data; in resample_shrink() [all …]
|
D | mulaw.c | 141 typedef void (*mulaw_f)(struct snd_pcm_plugin *plugin, 168 static void mulaw_decode(struct snd_pcm_plugin *plugin, in mulaw_decode() argument 173 struct mulaw_priv *data = (struct mulaw_priv *)plugin->extra_data; in mulaw_decode() 175 int nchannels = plugin->src_format.channels; in mulaw_decode() 183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode() 214 static void mulaw_encode(struct snd_pcm_plugin *plugin, in mulaw_encode() argument 219 struct mulaw_priv *data = (struct mulaw_priv *)plugin->extra_data; in mulaw_encode() 221 int nchannels = plugin->src_format.channels; in mulaw_encode() 229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode() 248 static snd_pcm_sframes_t mulaw_transfer(struct snd_pcm_plugin *plugin, in mulaw_transfer() argument [all …]
|
D | copy.c | 27 static snd_pcm_sframes_t copy_transfer(struct snd_pcm_plugin *plugin, in copy_transfer() argument 35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer() 39 nchannels = plugin->src_format.channels; in copy_transfer() 49 snd_pcm_area_silence(&dst_channels->area, 0, frames, plugin->dst_format.format); in copy_transfer() 54 …snd_pcm_area_copy(&src_channels->area, 0, &dst_channels->area, 0, frames, plugin->src_format.forma… in copy_transfer() 67 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_copy() local 86 0, &plugin); in snd_pcm_plugin_build_copy() 89 plugin->transfer = copy_transfer; in snd_pcm_plugin_build_copy() 90 *r_plugin = plugin; in snd_pcm_plugin_build_copy()
|
D | route.c | 47 static snd_pcm_sframes_t route_transfer(struct snd_pcm_plugin *plugin, in route_transfer() argument 56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 61 nsrcs = plugin->src_format.channels; in route_transfer() 62 ndsts = plugin->dst_format.channels; in route_transfer() 64 format = plugin->dst_format.format; in route_transfer() 90 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_route() local 102 src_format, dst_format, 0, &plugin); in snd_pcm_plugin_build_route() 106 plugin->transfer = route_transfer; in snd_pcm_plugin_build_route() 107 *r_plugin = plugin; in snd_pcm_plugin_build_route()
|
D | linear.c | 55 static void convert(struct snd_pcm_plugin *plugin, in convert() argument 60 struct linear_priv *data = (struct linear_priv *)plugin->extra_data; in convert() 62 int nchannels = plugin->src_format.channels; in convert() 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 88 static snd_pcm_sframes_t linear_transfer(struct snd_pcm_plugin *plugin, in linear_transfer() argument 93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 100 for (channel = 0; channel < plugin->src_format.channels; channel++) { in linear_transfer() 110 convert(plugin, src_channels, dst_channels, frames); in linear_transfer() 154 struct snd_pcm_plugin *plugin; in snd_pcm_plugin_build_linear() local 170 sizeof(struct linear_priv), &plugin); in snd_pcm_plugin_build_linear() [all …]
|
D | pcm_plugin.h | 62 snd_pcm_sframes_t (*src_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t dst_frames); 63 snd_pcm_sframes_t (*dst_frames)(struct snd_pcm_plugin *plugin, snd_pcm_uframes_t src_frames); 64 snd_pcm_sframes_t (*client_channels)(struct snd_pcm_plugin *plugin, 67 snd_pcm_sframes_t (*transfer)(struct snd_pcm_plugin *plugin, 71 int (*action)(struct snd_pcm_plugin *plugin, 78 void (*private_free)(struct snd_pcm_plugin *plugin); 91 int snd_pcm_plugin_free(struct snd_pcm_plugin *plugin); 131 int snd_pcm_plugin_append(struct snd_pcm_plugin *plugin); 144 snd_pcm_sframes_t snd_pcm_plugin_client_channels(struct snd_pcm_plugin *plugin,
|
D | pcm_oss.c | 568 struct snd_pcm_plugin *plugin, *next; in snd_pcm_oss_plugin_clear() local 570 plugin = runtime->oss.plugin_first; in snd_pcm_oss_plugin_clear() 571 while (plugin) { in snd_pcm_oss_plugin_clear() 572 next = plugin->next; in snd_pcm_oss_plugin_clear() 573 snd_pcm_plugin_free(plugin); in snd_pcm_oss_plugin_clear() 574 plugin = next; in snd_pcm_oss_plugin_clear() 580 static int snd_pcm_plugin_insert(struct snd_pcm_plugin *plugin) in snd_pcm_plugin_insert() argument 582 struct snd_pcm_runtime *runtime = plugin->plug->runtime; in snd_pcm_plugin_insert() 583 plugin->next = runtime->oss.plugin_first; in snd_pcm_plugin_insert() 584 plugin->prev = NULL; in snd_pcm_plugin_insert() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | event-plugin.c | 42 char *plugin; member 169 char *plugin; in update_option() local 173 plugin = strdup(option->plugin_alias); in update_option() 174 if (!plugin) in update_option() 178 plugin = strdup(file); in update_option() 179 if (!plugin) in update_option() 181 p = strstr(plugin, "."); in update_option() 188 if (!op->plugin) in update_option() 190 if (strcmp(op->plugin, plugin) != 0) in update_option() 203 if (op->plugin) in update_option() [all …]
|
D | Build | 2 libtraceevent-y += event-plugin.o
|
D | Makefile | 247 for plugin in $1; do \ 248 $(call do_install,$$plugin,$(plugin_dir_SQ)); \
|
/linux-4.4.14/fs/ocfs2/ |
D | stackglue.c | 172 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin) in ocfs2_stack_glue_register() argument 177 if (!ocfs2_stack_lookup(plugin->sp_name)) { in ocfs2_stack_glue_register() 178 plugin->sp_count = 0; in ocfs2_stack_glue_register() 179 plugin->sp_max_proto = locking_max_version; in ocfs2_stack_glue_register() 180 list_add(&plugin->sp_list, &ocfs2_stack_list); in ocfs2_stack_glue_register() 182 plugin->sp_name); in ocfs2_stack_glue_register() 186 plugin->sp_name); in ocfs2_stack_glue_register() 195 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin) in ocfs2_stack_glue_unregister() argument 200 p = ocfs2_stack_lookup(plugin->sp_name); in ocfs2_stack_glue_unregister() 202 BUG_ON(p != plugin); in ocfs2_stack_glue_unregister() [all …]
|
D | stackglue.h | 298 int ocfs2_stack_glue_register(struct ocfs2_stack_plugin *plugin); 299 void ocfs2_stack_glue_unregister(struct ocfs2_stack_plugin *plugin);
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-ocfs2 | 35 A cluster plugin is required to use ocfs2 in a cluster. 40 * 'user' - A plugin supporting userspace cluster software 54 cluster plugin is currently in use by the filesystem. 55 The active plugin will appear in the loaded_cluster_plugins 56 file as well. Only one plugin can be used at a time. 58 Reading from this file returns the name of the active plugin 61 This file is read-only. Which plugin is active depends on 77 plugin is active. All other cluster stacks use the 'user' 78 cluster plugin.
|
/linux-4.4.14/drivers/target/ |
D | Kconfig | 19 Say Y here to enable the TCM/IBLOCK subsystem plugin for non-buffered 25 Say Y here to enable the TCM/FILEIO subsystem plugin for buffered 31 Say Y here to enable the TCM/pSCSI subsystem plugin for non-buffered 38 Say Y here to enable the TCM/USER subsystem plugin for a userspace
|
/linux-4.4.14/drivers/target/tcm_fc/ |
D | Kconfig | 5 Say Y here to enable the TCM FC plugin for accessing FC fabrics in TCM
|
/linux-4.4.14/Documentation/devicetree/ |
D | dynamic-resolution-notes.txt | 12 proper dtc option and having a /plugin/ tag. This generates the
|
D | overlay-notes.txt | 42 /plugin/; /* allow undefined label references and record them */
|
/linux-4.4.14/drivers/media/usb/pwc/ |
D | philips.txt | 32 a lot of extra information, a FAQ, and the binary plugin 'PWCX'. This plugin 89 compression (only useful with the plugin)
|
/linux-4.4.14/Documentation/target/ |
D | tcmu-design.txt | 263 First, consider instead writing a plugin for tcmu-runner. tcmu-runner 264 implements all of this, and provides a higher-level API for plugin
|
/linux-4.4.14/Documentation/networking/ |
D | l2tp.txt | 106 by starting pppd with the pppol2tp plugin and appropriate 343 kernel. The project also implemented the pppol2tp plugin for pppd
|
/linux-4.4.14/drivers/net/ppp/ |
D | Kconfig | 138 This driver requires pppd plugin to work in client mode or
|
/linux-4.4.14/sound/core/ |
D | Kconfig | 88 bool "OSS PCM (digital audio) API - Include plugin system"
|
/linux-4.4.14/Documentation/sound/alsa/ |
D | OSS-Emulation.txt | 113 As default, ALSA emulates the OSS PCM with so-called plugin layer,
|
D | HD-Audio.txt | 264 plugin), you'll likely have "Digital Capture Volume" control as well.
|
/linux-4.4.14/kernel/trace/ |
D | Kconfig | 231 want to trace. It also includes the sched_switch tracer plugin.
|
/linux-4.4.14/Documentation/block/ |
D | biodoc.txt | 226 As in 2.4, it is possible to plugin a brand new i/o scheduler for a particular
|