/sound/soc/codecs/ |
D | arizona.h | 109 #define ARIZONA_GAINMUX_CONTROLS(name, base) \ argument 110 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 114 #define ARIZONA_MIXER_CONTROLS(name, base) \ argument 115 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 118 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 121 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 124 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 128 #define ARIZONA_MUX_ENUM_DECL(name, reg) \ argument 130 name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) 132 #define ARIZONA_MUX_CTL_DECL(name) \ argument [all …]
|
D | wm5110.c | 581 #define WM5110_NG_SRC(name, base) \ argument 582 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 583 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 584 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 585 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 586 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 587 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 588 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 589 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 590 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ [all …]
|
D | wm2200.c | 114 { .name = "DSP1DM", .range_min = WM2200_DSP1_DM_BASE, 121 { .name = "DSP1PM", .range_min = WM2200_DSP1_PM_BASE, 128 { .name = "DSP1ZM", .range_min = WM2200_DSP1_ZM_BASE, 135 { .name = "DSP2DM", .range_min = WM2200_DSP2_DM_BASE, 142 { .name = "DSP2PM", .range_min = WM2200_DSP2_PM_BASE, 149 { .name = "DSP2ZM", .range_min = WM2200_DSP2_ZM_BASE, 1070 #define WM2200_MIXER_CONTROLS(name, base) \ argument 1071 SOC_SINGLE_TLV(name " Input 1 Volume", base + 1 , \ 1073 SOC_SINGLE_TLV(name " Input 2 Volume", base + 3 , \ 1075 SOC_SINGLE_TLV(name " Input 3 Volume", base + 5 , \ [all …]
|
D | cs47l24.c | 84 #define CS47L24_NG_SRC(name, base) \ argument 85 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 86 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 87 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0) 662 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 663 { name, "Noise Generator", "Noise Generator" }, \ 664 { name, "Tone Generator 1", "Tone Generator 1" }, \ 665 { name, "Tone Generator 2", "Tone Generator 2" }, \ 666 { name, "Haptics", "HAPTICS" }, \ 667 { name, "AEC", "AEC Loopback" }, \ [all …]
|
D | wm8997.c | 140 #define WM8997_NG_SRC(name, base) \ argument 141 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 142 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 143 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 144 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0), \ 145 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 146 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 705 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 706 { name, "Noise Generator", "Noise Generator" }, \ 707 { name, "Tone Generator 1", "Tone Generator 1" }, \ [all …]
|
D | wm5102.c | 741 #define WM5102_NG_SRC(name, base) \ argument 742 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 743 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 744 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 745 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 746 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 747 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 748 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 749 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 750 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) [all …]
|
D | wm8998.c | 233 #define WM8998_NG_SRC(name, base) \ argument 234 SOC_SINGLE(name " NG HPOUTL Switch", base, 0, 1, 0), \ 235 SOC_SINGLE(name " NG HPOUTR Switch", base, 1, 1, 0), \ 236 SOC_SINGLE(name " NG LINEOUTL Switch", base, 2, 1, 0), \ 237 SOC_SINGLE(name " NG LINEOUTR Switch", base, 3, 1, 0), \ 238 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 239 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 240 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0) 884 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 885 { name, "Tone Generator 1", "Tone Generator 1" }, \ [all …]
|
/sound/soc/au1x/ |
D | db1200.c | 26 .name = "db1200-ac97", 29 .name = "db1200-i2s", 32 .name = "db1300-ac97", 35 .name = "db1300-i2s", 38 .name = "db1550-ac97", 41 .name = "db1550-i2s", 50 .name = "AC97", 59 .name = "DB1200_AC97", 66 .name = "AC97", 75 .name = "DB1300_AC97", [all …]
|
/sound/aoa/fabrics/ |
D | layout.c | 58 char *name; member 278 .name = "onyx", 282 .name = "topaz", 289 .name = "onyx", 296 .name = "topaz", 304 .name = "onyx", 311 .name = "topaz", 319 .name = "onyx", 323 .name = "topaz", 330 .name = "onyx", [all …]
|
/sound/pci/ice1712/ |
D | psc724.c | 206 strlcpy(elem_id.name, "Master Speakers Playback Switch", in psc724_set_jack_state() 207 sizeof(elem_id.name)); in psc724_set_jack_state() 211 strlcpy(elem_id.name, spec->wm8776.ctl[WM8776_CTL_HP_SW].name, in psc724_set_jack_state() 212 sizeof(elem_id.name)); in psc724_set_jack_state() 257 const char *name; member 264 .name = "Master Speakers Playback Switch", 269 .name = "Headphone Jack Detection Playback Switch", 326 spec->wm8776.ctl[WM8776_CTL_DAC_VOL].name = front_volume; in psc724_add_controls() 327 spec->wm8776.ctl[WM8776_CTL_DAC_SW].name = front_switch; in psc724_add_controls() 328 spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; in psc724_add_controls() [all …]
|
D | wm8776.c | 55 strlcpy(elem_id.name, ctl_name, sizeof(elem_id.name)); in snd_wm8776_activate_ctl() 91 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, false); in snd_wm8776_update_agc_ctl() 93 snd_wm8776_activate_ctl(wm, wm->ctl[i].name, true); in snd_wm8776_update_agc_ctl() 148 .name = "Master Playback Volume", 159 .name = "Master Playback Switch", 168 .name = "Master Zero Cross Detect Playback Switch", 174 .name = "Headphone Playback Volume", 186 .name = "Headphone Playback Switch", 193 .name = "Headphone Zero Cross Detect Playback Switch", 202 .name = "AUX Playback Switch", [all …]
|
/sound/usb/ |
D | mixer_scarlett.c | 175 const char *name; member 394 uinfo->value.enumerated.name, in scarlett_ctl_enum_dynamic_info() 482 .name = "", 494 .name = "", 506 .name = "", 516 .name = "", 524 .name = "", 533 .name = "", 542 int val_type, int channels, const char *name, in add_new_ctl() argument 574 strlcpy(kctl->id.name, name, sizeof(kctl->id.name)); in add_new_ctl() [all …]
|
D | mixer_quirks.c | 54 const char *name; member 71 const char *name, in snd_create_std_mono_ctl_offset() argument 104 snprintf(kctl->id.name, sizeof(kctl->id.name), name); in snd_create_std_mono_ctl_offset() 123 const char *name, in snd_create_std_mono_ctl() argument 127 val_type, 0 /* Offset */, name, tlv_callback); in snd_create_std_mono_ctl() 138 while (t->name != NULL) { in snd_create_std_mono_table() 140 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table() 269 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init() 399 knew.name = snd_audigy2nx_led_names[i]; in snd_audigy2nx_controls_create() 415 const char *name; in snd_audigy2nx_proc_read() member [all …]
|
D | mixer.c | 74 int name; member 134 if (!p || !p->name) in check_mapped_name() 138 return strlcpy(buf, p->name, buflen); in check_mapped_name() 149 if (!p || p->name || p->dB) in check_ignored_ctl() 619 char *name; member 661 unsigned char *name, int maxlen, int term_only) in get_term_name() argument 665 if (iterm->name) in get_term_name() 666 return snd_usb_copy_string_desc(state, iterm->name, in get_term_name() 667 name, maxlen); in get_term_name() 675 strcpy(name, "Selector"); in get_term_name() [all …]
|
/sound/ |
D | sound_core.c | 119 char name[32]; member 254 …st struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, stru… in sound_insert_unit() argument 270 sprintf(s->name, "sound/%s", name); in sound_insert_unit() 272 sprintf(s->name, "sound/%s%d", name, r / SOUND_STEP); in sound_insert_unit() 280 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit() 296 NULL, "%s", s->name+6); in sound_insert_unit() 320 p->name); in sound_remove_unit() 367 const char *name; in register_sound_special_device() local 372 name = "mixer"; in register_sound_special_device() 375 name = "sequencer"; in register_sound_special_device() [all …]
|
/sound/core/ |
D | ctljack.c | 34 static int get_available_index(struct snd_card *card, const char *name) in get_available_index() argument 42 strlcpy(sid.name, name, sizeof(sid.name)); in get_available_index() 53 static void jack_kctl_name_gen(char *name, const char *src_name, int size) in jack_kctl_name_gen() argument 62 snprintf(name, size, need_cat ? "%s Jack" : "%s", src_name); in jack_kctl_name_gen() 67 snd_kctl_jack_new(const char *name, struct snd_card *card) in snd_kctl_jack_new() argument 75 jack_kctl_name_gen(kctl->id.name, name, sizeof(kctl->id.name)); in snd_kctl_jack_new() 76 kctl->id.index = get_available_index(card, kctl->id.name); in snd_kctl_jack_new()
|
/sound/soc/samsung/ |
D | bells.c | 67 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); in bells_set_bias_level() 113 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); in bells_set_bias_level_post() 159 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_AP_DSP].name); in bells_late_probe() 162 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_DSP_CODEC].name); in bells_late_probe() 202 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_CODEC_CP].name); in bells_late_probe() 214 rtd = snd_soc_get_pcm_runtime(card, card->dai_link[DAI_CODEC_SUB].name); in bells_late_probe() 252 .name = "CPU-DSP", 262 .name = "DSP-CODEC", 276 .name = "CPU-DSP", 286 .name = "DSP-CODEC", [all …]
|
/sound/aoa/core/ |
D | gpio-pmf.c | 14 #define PMF_GPIO(name, bit) \ argument 15 static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\ 21 rc = pmf_call_function(rt->node, #name "-mute", &args); \ 23 printk(KERN_WARNING "pmf_gpio_set_" #name \ 28 static int pmf_gpio_get_##name(struct gpio_runtime *rt) \ 138 char *name; in pmf_set_notify() local 144 name = "headphone-detect"; in pmf_set_notify() 148 name = "linein-detect"; in pmf_set_notify() 152 name = "lineout-detect"; in pmf_set_notify() 190 name, in pmf_set_notify() [all …]
|
D | gpio-feature.c | 55 static struct device_node *get_gpio(char *name, in get_gpio() argument 67 np = of_find_node_by_name(NULL, name); in get_gpio() 80 if (strcmp(audio_gpio, name) == 0) in get_gpio() 127 #define SWITCH_GPIO(name, v, on) \ argument 129 (name##_gpio_activestate==0?4:5): \ 130 (name##_gpio_activestate==0?5:4))) 132 #define FTR_GPIO(name, bit) \ argument 133 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\ 139 if (name##_mute_gpio < 0) \ 143 name##_mute_gpio, \ [all …]
|
/sound/soc/ |
D | soc-core.c | 307 char *name; in soc_init_component_debugfs() local 309 name = kasprintf(GFP_KERNEL, "%s:%s", in soc_init_component_debugfs() 310 component->debugfs_prefix, component->name); in soc_init_component_debugfs() 311 if (name) { in soc_init_component_debugfs() 312 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs() 314 kfree(name); in soc_init_component_debugfs() 317 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs() 366 codec->component.name); in codec_list_read_file() 406 dai->name); in dai_list_read_file() 445 platform->component.name); in platform_list_read_file() [all …]
|
/sound/soc/intel/boards/ |
D | kbl_rt5663_max98927.c | 181 .name = MAXIM_DEV0_NAME, 185 .name = MAXIM_DEV1_NAME, 467 .name = "Kbl Audio Port", 482 .name = "Kbl Audio Capture Port", 496 .name = "Kbl Audio Headset Playback", 507 .name = "Kbl Audio Echo Reference cap", 518 .name = "Kbl Audio Reference cap", 531 .name = "Kbl Audio DMIC cap", 544 .name = "Kbl HDMI Port1", 558 .name = "Kbl HDMI Port2", [all …]
|
D | bxt_rt298.c | 335 .name = "Bxt Audio Port", 350 .name = "Bxt Audio Capture Port", 364 .name = "Bxt Audio Reference cap", 377 .name = "Bxt Audio DMIC cap", 391 .name = "Bxt HDMI Port1", 404 .name = "Bxt HDMI Port2", 417 .name = "Bxt HDMI Port3", 431 .name = "SSP5-Codec", 448 .name = "dmic01", 460 .name = "iDisp1", [all …]
|
D | kbl_rt5663_rt5514_max98927.c | 150 .name = MAXIM_DEV0_NAME, 154 .name = MAXIM_DEV1_NAME, 158 .name = RT5514_DEV_NAME, 304 if (!strcmp(fe_dai_link->name, "Kbl Audio Port") || in kabylake_ssp_fixup() 305 !strcmp(fe_dai_link->name, "Kbl Audio Capture Port")) { in kabylake_ssp_fixup() 310 } else if (!strcmp(fe_dai_link->name, "Kbl Audio DMIC cap")) { in kabylake_ssp_fixup() 321 if (!strcmp(be_dai_link->name, "SSP0-Codec")) in kabylake_ssp_fixup() 360 if (!strcmp(codec_dai->component->name, RT5514_DEV_NAME)) { in kabylake_ssp0_hw_params() 374 if (!strcmp(codec_dai->component->name, MAXIM_DEV0_NAME)) { in kabylake_ssp0_hw_params() 382 if (!strcmp(codec_dai->component->name, MAXIM_DEV1_NAME)) { in kabylake_ssp0_hw_params() [all …]
|
/sound/oss/ |
D | dev_table.c | 51 int sound_install_audiodrv(int vers, char *name, struct audio_driver *driver, in sound_install_audiodrv() argument 60 printk(KERN_ERR "Sound: Incompatible audio driver for %s\n", name); in sound_install_audiodrv() 80 printk(KERN_ERR "Sound: Can't allocate driver for (%s)\n", name); in sound_install_audiodrv() 93 strlcpy(op->name, name, sizeof(op->name)); in sound_install_audiodrv() 110 int sound_install_mixer(int vers, char *name, struct mixer_operations *driver, in sound_install_mixer() argument 123 printk(KERN_ERR "Sound: Incompatible mixer driver for %s\n", name); in sound_install_mixer() 136 printk(KERN_ERR "Sound: Can't allocate mixer driver for (%s)\n", name); in sound_install_mixer() 141 strlcpy(op->name, name, sizeof(op->name)); in sound_install_mixer()
|
/sound/drivers/opl3/ |
D | opl3_oss.c | 65 char name[32]; in snd_opl3_oss_create_port() local 82 sprintf(name, "OPL%i OSS Port", opl_ver); in snd_opl3_oss_create_port() 92 name); in snd_opl3_oss_create_port() 105 void snd_opl3_init_seq_oss(struct snd_opl3 *opl3, char *name) in snd_opl3_init_seq_oss() argument 115 strlcpy(dev->name, name, sizeof(dev->name)); in snd_opl3_init_seq_oss() 194 char name[32]; in snd_opl3_load_patch_seq_oss() local 221 memset(name, 0, sizeof(name)); in snd_opl3_load_patch_seq_oss() 222 sprintf(name, "Chan%d", sbi.channel); in snd_opl3_load_patch_seq_oss() 224 err = snd_opl3_load_patch(opl3, sbi.channel, 127, type, name, NULL, in snd_opl3_load_patch_seq_oss()
|