/sound/isa/gus/ |
D | gusmax.c | 132 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 136 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer() 137 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 140 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer() 141 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 145 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer() 146 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 151 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer() 152 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 156 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer() [all …]
|
D | interwave.c | 493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 498 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer() 499 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer() 523 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer() 524 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 528 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer() 529 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 534 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer() 535 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 539 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer() [all …]
|
D | gusextreme.c | 199 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 203 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer() 204 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 208 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer() 209 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 215 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer() 216 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
|
/sound/isa/ |
D | cmi8328.c | 149 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local 155 memset(&id2, 0, sizeof(id2)); in snd_cmi8328_mixer() 156 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer() 159 strcpy(id2.name, "CD Playback Switch"); in snd_cmi8328_mixer() 160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 167 strcpy(id2.name, "CD Playback Volume"); in snd_cmi8328_mixer() 168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 176 strcpy(id2.name, "Synth Playback Switch"); in snd_cmi8328_mixer() 177 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 185 strcpy(id2.name, "Synth Playback Volume"); in snd_cmi8328_mixer() [all …]
|
D | sc6000.c | 457 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 461 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer() 463 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 466 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer() 467 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 471 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer() 472 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 477 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer() 478 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 482 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer() [all …]
|
D | opl3sa2.c | 485 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 491 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer() 492 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 495 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer() 496 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 502 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer() 503 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 510 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer() 511 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 517 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
/sound/ac97/ |
D | ac97_core.h | 9 static inline bool ac97_ids_match(unsigned int id1, unsigned int id2, in ac97_ids_match() argument 12 return (id1 & mask) == (id2 & mask); in ac97_ids_match()
|
/sound/drivers/opl4/ |
D | opl4_lib.c | 112 u8 id1, id2; in snd_opl4_detect() local 132 id2 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_PCM); in snd_opl4_detect() 133 snd_printdd("OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect() 134 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
|
/sound/soc/codecs/ |
D | wm8804.c | 568 unsigned int id1, id2; in wm8804_probe() local 630 ret = regmap_read(regmap, WM8804_DEVID2, &id2); in wm8804_probe() 636 id2 = (id2 << 8) | id1; in wm8804_probe() 638 if (id2 != 0x8805) { in wm8804_probe() 639 dev_err(dev, "Invalid device ID: %#x\n", id2); in wm8804_probe()
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 588 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local 599 memset(&id2, 0, sizeof(id2)); in snd_opti93x_mixer() 600 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer() 603 strcpy(id2.name, "CD Playback Switch"); in snd_opti93x_mixer() 604 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer() 611 strcpy(id2.name, "FM Playback Switch"); in snd_opti93x_mixer() 612 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
|
/sound/soc/ |
D | soc-core.c | 2373 unsigned int id1, id2; in fmt_single_name() local 2394 } else if (sscanf(name, "%x-%x", &id1, &id2) == 2) { in fmt_single_name() 2397 *id = ((id1 & 0xffff) << 16) + id2; in fmt_single_name()
|
/sound/pci/cs46xx/ |
D | cs46xx_lib.c | 2500 unsigned int id2 = chip->ac97[CS46XX_PRIMARY_CODEC_INDEX]->id & 0xffff; in snd_cs46xx_mixer() local 2501 if ((id2 & 0xfff0) == 0x5920) { /* CS4294 and CS4298 */ in snd_cs46xx_mixer()
|