/sound/soc/codecs/ |
D | arizona.h | 141 #define ARIZONA_GAINMUX_CONTROLS(name, base) \ argument 142 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 146 #define ARIZONA_MIXER_CONTROLS(name, base) \ argument 147 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 150 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 153 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 156 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 160 #define ARIZONA_MUX_ENUM_DECL(name, reg) \ argument 162 name, reg, 0, 0xff, arizona_mixer_texts, arizona_mixer_values) 164 #define ARIZONA_MUX_CTL_DECL(name) \ argument [all …]
|
D | madera.h | 188 #define MADERA_GAINMUX_CONTROLS(name, base) \ argument 189 SOC_SINGLE_RANGE_TLV(name " Input Volume", base + 1, \ 193 #define MADERA_MIXER_CONTROLS(name, base) \ argument 194 SOC_SINGLE_RANGE_TLV(name " Input 1 Volume", base + 1, \ 197 SOC_SINGLE_RANGE_TLV(name " Input 2 Volume", base + 3, \ 200 SOC_SINGLE_RANGE_TLV(name " Input 3 Volume", base + 5, \ 203 SOC_SINGLE_RANGE_TLV(name " Input 4 Volume", base + 7, \ 207 #define MADERA_MUX_ENUM_DECL(name, reg) \ argument 209 name, reg, 0, 0xff, madera_mixer_texts, madera_mixer_values) 211 #define MADERA_MUX_CTL_DECL(name) \ argument [all …]
|
D | cs47l90.c | 141 #define CS47L90_NG_SRC(name, base) \ argument 142 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 143 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 144 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 145 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 146 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 147 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 148 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 149 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 151 #define CS47L90_RXANC_INPUT_ROUTES(widget, name) \ argument [all …]
|
D | cs47l85.c | 144 #define CS47L85_NG_SRC(name, base) \ argument 145 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 146 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 147 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 148 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 149 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 150 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 151 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 152 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 153 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ [all …]
|
D | wm5110.c | 592 #define WM5110_NG_SRC(name, base) \ argument 593 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 594 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 595 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 596 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 597 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 598 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 599 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 600 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 601 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ [all …]
|
D | wm2200.c | 105 { .name = "DSP1DM", .range_min = WM2200_DSP1_DM_BASE, 112 { .name = "DSP1PM", .range_min = WM2200_DSP1_PM_BASE, 119 { .name = "DSP1ZM", .range_min = WM2200_DSP1_ZM_BASE, 126 { .name = "DSP2DM", .range_min = WM2200_DSP2_DM_BASE, 133 { .name = "DSP2PM", .range_min = WM2200_DSP2_PM_BASE, 140 { .name = "DSP2ZM", .range_min = WM2200_DSP2_ZM_BASE, 1061 #define WM2200_MIXER_CONTROLS(name, base) \ argument 1062 SOC_SINGLE_TLV(name " Input 1 Volume", base + 1 , \ 1064 SOC_SINGLE_TLV(name " Input 2 Volume", base + 3 , \ 1066 SOC_SINGLE_TLV(name " Input 3 Volume", base + 5 , \ [all …]
|
D | cs47l24.c | 85 #define CS47L24_NG_SRC(name, base) \ argument 86 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 87 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 88 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0) 664 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 665 { name, "Noise Generator", "Noise Generator" }, \ 666 { name, "Tone Generator 1", "Tone Generator 1" }, \ 667 { name, "Tone Generator 2", "Tone Generator 2" }, \ 668 { name, "Haptics", "HAPTICS" }, \ 669 { name, "AEC", "AEC Loopback" }, \ [all …]
|
D | cs47l35.c | 120 #define CS47L35_NG_SRC(name, base) \ argument 121 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 122 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 123 SOC_SINGLE(name " NG SPKOUT Switch", base, 6, 1, 0), \ 124 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 125 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 945 #define MADERA_MIXER_INPUT_ROUTES(name) \ argument 946 { name, "Noise Generator", "Noise Generator" }, \ 947 { name, "Tone Generator 1", "Tone Generator 1" }, \ 948 { name, "Tone Generator 2", "Tone Generator 2" }, \ [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) 701 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 702 { name, "Noise Generator", "Noise Generator" }, \ 703 { name, "Tone Generator 1", "Tone Generator 1" }, \ [all …]
|
D | cs47l92.c | 218 #define CS47L92_NG_SRC(name, base) \ argument 219 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 220 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 221 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 222 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 223 SOC_SINGLE(name " NG HPOUT3L Switch", base, 4, 1, 0), \ 224 SOC_SINGLE(name " NG HPOUT3R Switch", base, 5, 1, 0), \ 225 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 226 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 1191 #define MADERA_MIXER_INPUT_ROUTES(name) \ argument [all …]
|
D | wm5102.c | 753 #define WM5102_NG_SRC(name, base) \ argument 754 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 755 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 756 SOC_SINGLE(name " NG HPOUT2L Switch", base, 2, 1, 0), \ 757 SOC_SINGLE(name " NG HPOUT2R Switch", base, 3, 1, 0), \ 758 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 759 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 760 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0), \ 761 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 762 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) [all …]
|
D | cs47l15.c | 99 #define CS47L15_NG_SRC(name, base) \ argument 100 SOC_SINGLE(name " NG HPOUT1L Switch", base, 0, 1, 0), \ 101 SOC_SINGLE(name " NG HPOUT1R Switch", base, 1, 1, 0), \ 102 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 103 SOC_SINGLE(name " NG SPKDAT1L Switch", base, 8, 1, 0), \ 104 SOC_SINGLE(name " NG SPKDAT1R Switch", base, 9, 1, 0) 806 #define MADERA_MIXER_INPUT_ROUTES(name) \ argument 807 { name, "Noise Generator", "Noise Generator" }, \ 808 { name, "Tone Generator 1", "Tone Generator 1" }, \ 809 { name, "Tone Generator 2", "Tone Generator 2" }, \ [all …]
|
D | wm8998.c | 193 #define WM8998_NG_SRC(name, base) \ argument 194 SOC_SINGLE(name " NG HPOUTL Switch", base, 0, 1, 0), \ 195 SOC_SINGLE(name " NG HPOUTR Switch", base, 1, 1, 0), \ 196 SOC_SINGLE(name " NG LINEOUTL Switch", base, 2, 1, 0), \ 197 SOC_SINGLE(name " NG LINEOUTR Switch", base, 3, 1, 0), \ 198 SOC_SINGLE(name " NG EPOUT Switch", base, 4, 1, 0), \ 199 SOC_SINGLE(name " NG SPKOUTL Switch", base, 6, 1, 0), \ 200 SOC_SINGLE(name " NG SPKOUTR Switch", base, 7, 1, 0) 844 #define ARIZONA_MIXER_INPUT_ROUTES(name) \ argument 845 { name, "Tone Generator 1", "Tone Generator 1" }, \ [all …]
|
/sound/xen/ |
D | xen_snd_front_cfg.c | 22 const char *name; member 28 { .name = "5512", .mask = SNDRV_PCM_RATE_5512, .value = 5512 }, 29 { .name = "8000", .mask = SNDRV_PCM_RATE_8000, .value = 8000 }, 30 { .name = "11025", .mask = SNDRV_PCM_RATE_11025, .value = 11025 }, 31 { .name = "16000", .mask = SNDRV_PCM_RATE_16000, .value = 16000 }, 32 { .name = "22050", .mask = SNDRV_PCM_RATE_22050, .value = 22050 }, 33 { .name = "32000", .mask = SNDRV_PCM_RATE_32000, .value = 32000 }, 34 { .name = "44100", .mask = SNDRV_PCM_RATE_44100, .value = 44100 }, 35 { .name = "48000", .mask = SNDRV_PCM_RATE_48000, .value = 48000 }, 36 { .name = "64000", .mask = SNDRV_PCM_RATE_64000, .value = 64000 }, [all …]
|
/sound/aoa/fabrics/ |
D | layout.c | 56 char *name; member 276 .name = "onyx", 280 .name = "topaz", 287 .name = "onyx", 294 .name = "topaz", 302 .name = "onyx", 309 .name = "topaz", 317 .name = "onyx", 321 .name = "topaz", 328 .name = "onyx", [all …]
|
/sound/soc/au1x/ |
D | db1200.c | 27 .name = "db1200-ac97", 30 .name = "db1200-i2s", 33 .name = "db1300-ac97", 36 .name = "db1300-i2s", 39 .name = "db1550-ac97", 42 .name = "db1550-i2s", 56 .name = "AC97", 62 .name = "DB1200_AC97", 74 .name = "AC97", 80 .name = "DB1300_AC97", [all …]
|
/sound/soc/tegra/ |
D | tegra210_ahub.c | 1004 #define TEGRA_COMMON_MUX_ROUTES(name) \ argument 1005 { name " XBAR-TX", NULL, name " Mux" }, \ 1006 { name " Mux", "ADMAIF1", "ADMAIF1 XBAR-RX" }, \ 1007 { name " Mux", "ADMAIF2", "ADMAIF2 XBAR-RX" }, \ 1008 { name " Mux", "ADMAIF3", "ADMAIF3 XBAR-RX" }, \ 1009 { name " Mux", "ADMAIF4", "ADMAIF4 XBAR-RX" }, \ 1010 { name " Mux", "ADMAIF5", "ADMAIF5 XBAR-RX" }, \ 1011 { name " Mux", "ADMAIF6", "ADMAIF6 XBAR-RX" }, \ 1012 { name " Mux", "ADMAIF7", "ADMAIF7 XBAR-RX" }, \ 1013 { name " Mux", "ADMAIF8", "ADMAIF8 XBAR-RX" }, \ [all …]
|
/sound/usb/ |
D | mixer_scarlett.c | 166 const char *name; member 393 uinfo->value.enumerated.name, in scarlett_ctl_enum_dynamic_info() 480 .name = "", 492 .name = "", 504 .name = "", 514 .name = "", 522 .name = "", 531 .name = "", 540 int val_type, int channels, const char *name, in add_new_ctl() argument 572 strscpy(kctl->id.name, name, sizeof(kctl->id.name)); in add_new_ctl() [all …]
|
/sound/pci/ice1712/ |
D | psc724.c | 192 strscpy(elem_id.name, "Master Speakers Playback Switch", in psc724_set_jack_state() 193 sizeof(elem_id.name)); in psc724_set_jack_state() 197 strscpy(elem_id.name, spec->wm8776.ctl[WM8776_CTL_HP_SW].name, in psc724_set_jack_state() 198 sizeof(elem_id.name)); in psc724_set_jack_state() 243 const char *name; member 250 .name = "Master Speakers Playback Switch", 255 .name = "Headphone Jack Detection Playback Switch", 312 spec->wm8776.ctl[WM8776_CTL_DAC_VOL].name = front_volume; in psc724_add_controls() 313 spec->wm8776.ctl[WM8776_CTL_DAC_SW].name = front_switch; in psc724_add_controls() 314 spec->wm8776.ctl[WM8776_CTL_DAC_ZC_SW].name = front_zc; in psc724_add_controls() [all …]
|
/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-clock-ctrl.c | 42 char name[13]; in mt2701_init_clock() local 44 snprintf(name, sizeof(name), "i2s%d_src_sel", i); in mt2701_init_clock() 45 i2s_path->sel_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock() 47 dev_err(afe->dev, "failed to get %s\n", name); in mt2701_init_clock() 51 snprintf(name, sizeof(name), "i2s%d_src_div", i); in mt2701_init_clock() 52 i2s_path->div_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock() 54 dev_err(afe->dev, "failed to get %s\n", name); in mt2701_init_clock() 58 snprintf(name, sizeof(name), "i2s%d_mclk_en", i); in mt2701_init_clock() 59 i2s_path->mclk_ck = devm_clk_get(afe->dev, name); in mt2701_init_clock() 61 dev_err(afe->dev, "failed to get %s\n", name); in mt2701_init_clock() [all …]
|
/sound/soc/intel/boards/ |
D | kbl_da7219_max98927.c | 197 if (!strcmp(codec_dai->component->name, MAX98927_DEV0_NAME)) { in kabylake_ssp0_hw_params() 204 if (!strcmp(codec_dai->component->name, MAX98927_DEV1_NAME)) { in kabylake_ssp0_hw_params() 211 if (!strcmp(codec_dai->component->name, MAX98373_DEV0_NAME)) { in kabylake_ssp0_hw_params() 220 if (!strcmp(codec_dai->component->name, MAX98373_DEV1_NAME)) { in kabylake_ssp0_hw_params() 241 const char *name = codec_dai->component->name; in kabylake_ssp0_trigger() local 247 if (strcmp(name, MAX98927_DEV0_NAME) && in kabylake_ssp0_trigger() 248 strcmp(name, MAX98927_DEV1_NAME) && in kabylake_ssp0_trigger() 249 strcmp(name, MAX98373_DEV0_NAME) && in kabylake_ssp0_trigger() 250 strcmp(name, MAX98373_DEV1_NAME)) in kabylake_ssp0_trigger() 329 if (!strcmp(rtd_dpcm->fe->dai_link->name, "Kbl Audio Port") || in kabylake_ssp_fixup() [all …]
|
/sound/soc/mediatek/mt8186/ |
D | mt8186-mt6366-da7219-max98357.c | 127 if (!strcmp(codec_dai->component->name, DA7219_DEV_NAME)) { in mt8186_da7219_i2s_hw_params() 164 if (!strcmp(codec_dai->component->name, DA7219_DEV_NAME)) { in mt8186_da7219_i2s_hw_free() 252 if (!strcmp(rtd->dai_link->name, "I2S0") || in mt8186_sof_dai_link_fixup() 253 !strcmp(rtd->dai_link->name, "I2S1") || in mt8186_sof_dai_link_fixup() 254 !strcmp(rtd->dai_link->name, "I2S2")) in mt8186_sof_dai_link_fixup() 256 else if (!strcmp(rtd->dai_link->name, "I2S3")) in mt8186_sof_dai_link_fixup() 565 .name = "Playback_1", 578 .name = "Playback_12", 587 .name = "Playback_2", 599 .name = "Playback_3", [all …]
|
D | mt8186-mt6366-rt1019-rt5682s.c | 228 if (!strcmp(rtd->dai_link->name, "I2S0") || in mt8186_sof_dai_link_fixup() 229 !strcmp(rtd->dai_link->name, "I2S1") || in mt8186_sof_dai_link_fixup() 230 !strcmp(rtd->dai_link->name, "I2S2")) in mt8186_sof_dai_link_fixup() 232 else if (!strcmp(rtd->dai_link->name, "I2S3")) in mt8186_sof_dai_link_fixup() 541 .name = "Playback_1", 554 .name = "Playback_12", 563 .name = "Playback_2", 575 .name = "Playback_3", 588 .name = "Playback_4", 597 .name = "Playback_5", [all …]
|
/sound/soc/uniphier/ |
D | aio-ld11.c | 14 .name = AUD_NAME_PCMIN1, 28 .name = AUD_NAME_PCMIN2, 41 .name = AUD_NAME_PCMIN3, 55 .name = AUD_NAME_IECIN1, 69 .name = AUD_NAME_HPCMOUT1, 82 .name = AUD_NAME_PCMOUT1, 96 .name = AUD_NAME_PCMOUT2, 110 .name = AUD_NAME_PCMOUT3, 123 .name = AUD_NAME_EPCMOUT2, 138 .name = AUD_NAME_EPCMOUT3, [all …]
|
/sound/ |
D | sound_core.c | 114 char name[32]; member 238 …st struct file_operations *fops, int index, int low, int top, const char *name, umode_t mode, stru… in sound_insert_unit() argument 254 sprintf(s->name, "sound/%s", name); in sound_insert_unit() 256 sprintf(s->name, "sound/%s%d", name, r / SOUND_STEP); in sound_insert_unit() 264 r = __register_chrdev(SOUND_MAJOR, s->unit_minor, 1, s->name, in sound_insert_unit() 280 NULL, "%s", s->name+6); in sound_insert_unit() 304 p->name); in sound_remove_unit() 351 const char *name; in register_sound_special_device() local 356 name = "mixer"; in register_sound_special_device() 359 name = "sequencer"; in register_sound_special_device() [all …]
|