/sound/isa/ |
D | sgalaxy.c | 188 struct snd_ctl_elem_id id1, id2; in snd_sgalaxy_mixer() local 192 memset(&id1, 0, sizeof(id1)); in snd_sgalaxy_mixer() 194 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sgalaxy_mixer() 196 strcpy(id1.name, "Aux Playback Switch"); in snd_sgalaxy_mixer() 198 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_sgalaxy_mixer() 200 strcpy(id1.name, "Aux Playback Volume"); in snd_sgalaxy_mixer() 202 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_sgalaxy_mixer() 205 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sgalaxy_mixer() 207 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_sgalaxy_mixer() 209 strcpy(id1.name, "Aux Playback Volume"); in snd_sgalaxy_mixer() [all …]
|
D | sc6000.c | 403 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 406 memset(&id1, 0, sizeof(id1)); in snd_sc6000_mixer() 408 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 411 strcpy(id1.name, "Aux Playback Switch"); in snd_sc6000_mixer() 413 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 416 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer() 418 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 422 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sc6000_mixer() 424 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 427 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer() [all …]
|
D | opl3sa2.c | 498 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 503 memset(&id1, 0, sizeof(id1)); in snd_opl3sa2_mixer() 505 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 507 strcpy(id1.name, "Aux Playback Switch"); in snd_opl3sa2_mixer() 509 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 513 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer() 515 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 520 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opl3sa2_mixer() 522 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 526 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
/sound/isa/gus/ |
D | interwave.c | 514 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 518 memset(&id1, 0, sizeof(id1)); in snd_interwave_mixer() 520 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer() 523 strcpy(id1.name, "Mic Playback Switch"); in snd_interwave_mixer() 524 if ((err = snd_ctl_remove_id(card, &id1)) < 0) in snd_interwave_mixer() 526 strcpy(id1.name, "Mic Playback Volume"); in snd_interwave_mixer() 527 if ((err = snd_ctl_remove_id(card, &id1)) < 0) in snd_interwave_mixer() 539 strcpy(id1.name, "Aux Playback Switch"); in snd_interwave_mixer() 541 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer() 543 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer() [all …]
|
D | gusmax.c | 146 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 149 memset(&id1, 0, sizeof(id1)); in snd_gusmax_mixer() 151 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 153 strcpy(id1.name, "Aux Playback Switch"); in snd_gusmax_mixer() 155 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 157 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer() 159 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 162 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_gusmax_mixer() 164 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 166 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer() [all …]
|
D | gusextreme.c | 212 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 215 memset(&id1, 0, sizeof(id1)); in snd_gusextreme_mixer() 217 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 220 strcpy(id1.name, "Aux Playback Volume"); in snd_gusextreme_mixer() 222 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 227 strcpy(id1.name, "Master Playback Switch"); in snd_gusextreme_mixer() 229 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
|
/sound/drivers/opl4/ |
D | opl4_lib.c | 123 u8 id1, id2; in snd_opl4_detect() local 127 id1 = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_detect() 128 snd_printdd("OPL4[02]=%02x\n", id1); in snd_opl4_detect() 129 switch (id1 & OPL4_DEVICE_ID_MASK) { in snd_opl4_detect() 142 id1 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_FM); in snd_opl4_detect() 144 snd_printdd("OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect() 145 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
|
/sound/oss/ |
D | ac97_codec.c | 591 static char *codec_id(u16 id1, u16 id2, char *buf) in codec_id() argument 593 if(id1&0x8080) { in codec_id() 594 snprintf(buf, CODEC_ID_BUFSZ, "0x%04x:0x%04x", id1, id2); in codec_id() 596 buf[0] = (id1 >> 8); in codec_id() 597 buf[1] = (id1 & 0xFF); in codec_id() 700 u16 id1, id2; in ac97_probe_codec() local 715 id1 = codec->codec_read(codec, AC97_VENDOR_ID1); in ac97_probe_codec() 720 if (ac97_codec_ids[i].id == ((id1 << 16) | id2)) { in ac97_probe_codec() 729 codec->model = (id1 << 16) | id2; in ac97_probe_codec() 768 codec_id(id1, id2, cidbuf), codec->name); in ac97_probe_codec()
|