/sound/soc/codecs/ |
D | arizona.h | 108 #define ARIZONA_GAINMUX_CONTROLS(name, base) \ argument 109 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 113 #define ARIZONA_MIXER_CONTROLS(name, base) \ argument 114 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 117 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 120 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 123 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 127 #define ARIZONA_MUX_ENUM_DECL(name, reg) \ argument 129 name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) 131 #define ARIZONA_MUX_CTL_DECL(name) \ argument [all …]
|
D | wm5110.c | 579 #define WM5110_NG_SRC(name, base) \ argument 580 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 581 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 582 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 583 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 584 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 585 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 586 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 587 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 588 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ [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) 657 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 658 { name, "Noise Generator", "Noise Generator" }, \ 659 { name, "Tone Generator 1", "Tone Generator 1" }, \ 660 { name, "Tone Generator 2", "Tone Generator 2" }, \ 661 { name, "Haptics", "HAPTICS" }, \ 662 { name, "AEC", "AEC Loopback" }, \ [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 | wm5102.c | 738 #define WM5102_NG_SRC(name, base) \ argument 739 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 740 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 741 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 742 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 743 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 744 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 745 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 746 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 747 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) [all …]
|
D | wm8997.c | 137 #define WM8997_NG_SRC(name, base) \ argument 138 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 139 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 140 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 141 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0), \ 142 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 143 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 700 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 701 { name, "Noise Generator", "Noise Generator" }, \ 702 { name, "Tone Generator 1", "Tone Generator 1" }, \ [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) 882 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 883 { 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 | 53 const char *name; member 70 const char *name, in snd_create_std_mono_ctl_offset() argument 103 snprintf(kctl->id.name, sizeof(kctl->id.name), name); in snd_create_std_mono_ctl_offset() 122 const char *name, in snd_create_std_mono_ctl() argument 126 val_type, 0 /* Offset */, name, tlv_callback); in snd_create_std_mono_ctl() 137 while (t->name != NULL) { in snd_create_std_mono_table() 139 t->cmask, t->val_type, t->name, t->tlv_callback); in snd_create_std_mono_table() 268 snprintf(hwdep->name, sizeof(hwdep->name), in snd_usb_soundblaster_remote_init() 398 knew.name = snd_audigy2nx_led_names[i]; in snd_audigy2nx_controls_create() 414 const char *name; in snd_audigy2nx_proc_read() member [all …]
|
D | mixer.c | 74 int name; member 133 if (!p || !p->name) in check_mapped_name() 137 return strlcpy(buf, p->name, buflen); in check_mapped_name() 148 if (!p || p->name || p->dB) in check_ignored_ctl() 612 char *name; member 654 unsigned char *name, int maxlen, int term_only) in get_term_name() argument 658 if (iterm->name) in get_term_name() 659 return snd_usb_copy_string_desc(state, iterm->name, in get_term_name() 660 name, maxlen); in get_term_name() 668 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() 295 NULL, "%s", s->name+6); in sound_insert_unit() 319 p->name); in sound_remove_unit() 366 const char *name; in register_sound_special_device() local 371 name = "mixer"; in register_sound_special_device() 374 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() 125 #define SWITCH_GPIO(name, v, on) \ argument 127 (name##_gpio_activestate==0?4:5): \ 128 (name##_gpio_activestate==0?5:4))) 130 #define FTR_GPIO(name, bit) \ argument 131 static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\ 137 if (name##_mute_gpio < 0) \ 141 name##_mute_gpio, \ [all …]
|
/sound/soc/ |
D | soc-core.c | 291 char *name; in soc_init_component_debugfs() local 293 name = kasprintf(GFP_KERNEL, "%s:%s", in soc_init_component_debugfs() 294 component->debugfs_prefix, component->name); in soc_init_component_debugfs() 295 if (name) { in soc_init_component_debugfs() 296 component->debugfs_root = debugfs_create_dir(name, in soc_init_component_debugfs() 298 kfree(name); in soc_init_component_debugfs() 301 component->debugfs_root = debugfs_create_dir(component->name, in soc_init_component_debugfs() 349 codec->component.name); in codec_list_read_file() 389 dai->name); in dai_list_read_file() 428 platform->component.name); in platform_list_read_file() [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/soc/intel/common/ |
D | sst-match-acpi.c | 23 const char *name = NULL; in sst_acpi_find_name() local 29 name = acpi_dev_name(adev); in sst_acpi_find_name() 30 *(const char **)ret = name; in sst_acpi_find_name() 39 const char *name = NULL; in sst_acpi_find_name_from_hid() local 43 (void **)&name); in sst_acpi_find_name_from_hid() 45 if (ACPI_FAILURE(status) || name[0] == '\0') in sst_acpi_find_name_from_hid() 48 return name; in sst_acpi_find_name_from_hid()
|
/sound/soc/davinci/ |
D | davinci-evm.c | 147 .name = "TLV320AIC3X", 160 .name = "TLV320AIC3X", 174 .name = "TLV320AIC3X", 185 .name = "Voice Codec - CQ93VC", 196 .name = "TLV320AIC3X", 208 .name = "McASP", 220 .name = "TLV320AIC3X", 233 .name = "TLV320AIC3X", 256 .name = "DaVinci DM6446 EVM", 270 .name = "DaVinci DM355 EVM", [all …]
|
/sound/soc/intel/boards/ |
D | skl_rt286.c | 300 .name = "Skl Audio Port", 317 .name = "Skl Audio Capture Port", 333 .name = "Skl Audio Reference cap", 345 .name = "Skl Audio DMIC cap", 358 .name = "Skl HDMI Port1", 370 .name = "Skl HDMI Port2", 382 .name = "Skl HDMI Port3", 397 .name = "SSP0-Codec", 415 .name = "dmic01", 427 .name = "iDisp1", [all …]
|
/sound/soc/ux500/ |
D | mop500.c | 32 .name = "ab8500_0", 42 .name = "ab8500_1", 54 .name = "MOP500-card", 117 __func__, mop500_card.name); in mop500_probe() 123 __func__, mop500_card.name, mop500_card.num_links); in mop500_probe() 125 __func__, mop500_card.name, mop500_card.dai_link[0].name); in mop500_probe() 127 __func__, mop500_card.name, in mop500_probe() 159 .name = "snd-soc-mop500",
|