/sound/isa/gus/ |
D | gusmax.c | 132 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 135 memset(&id1, 0, sizeof(id1)); in snd_gusmax_mixer() 137 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 139 strcpy(id1.name, "Aux Playback Switch"); in snd_gusmax_mixer() 141 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 144 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer() 146 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 150 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_gusmax_mixer() 152 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 155 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer() [all …]
|
D | interwave.c | 493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 497 memset(&id1, 0, sizeof(id1)); in snd_interwave_mixer() 499 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer() 502 strcpy(id1.name, "Mic Playback Switch"); in snd_interwave_mixer() 503 err = snd_ctl_remove_id(card, &id1); in snd_interwave_mixer() 506 strcpy(id1.name, "Mic Playback Volume"); in snd_interwave_mixer() 507 err = snd_ctl_remove_id(card, &id1); in snd_interwave_mixer() 522 strcpy(id1.name, "Aux Playback Switch"); in snd_interwave_mixer() 524 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 527 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer() [all …]
|
D | gusextreme.c | 199 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 202 memset(&id1, 0, sizeof(id1)); in snd_gusextreme_mixer() 204 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 207 strcpy(id1.name, "Aux Playback Volume"); in snd_gusextreme_mixer() 209 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 214 strcpy(id1.name, "Master 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 154 memset(&id1, 0, sizeof(id1)); in snd_cmi8328_mixer() 156 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer() 158 strcpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer() 160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 166 strcpy(id1.name, "Aux Playback Volume"); in snd_cmi8328_mixer() 168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 174 strcpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer() 175 id1.index = 1; in snd_cmi8328_mixer() 177 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() [all …]
|
D | sc6000.c | 457 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 460 memset(&id1, 0, sizeof(id1)); in snd_sc6000_mixer() 462 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 465 strcpy(id1.name, "Aux Playback Switch"); in snd_sc6000_mixer() 467 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 470 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer() 472 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 476 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sc6000_mixer() 478 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 481 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer() [all …]
|
D | opl3sa2.c | 485 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 490 memset(&id1, 0, sizeof(id1)); in snd_opl3sa2_mixer() 492 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 494 strcpy(id1.name, "Aux Playback Switch"); in snd_opl3sa2_mixer() 496 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 501 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer() 503 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 509 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opl3sa2_mixer() 511 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 516 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
/sound/drivers/opl4/ |
D | opl4_lib.c | 112 u8 id1, id2; in snd_opl4_detect() local 116 id1 = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_detect() 117 snd_printdd("OPL4[02]=%02x\n", id1); in snd_opl4_detect() 118 switch (id1 & OPL4_DEVICE_ID_MASK) { in snd_opl4_detect() 131 id1 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_FM); 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/isa/opti9xx/ |
D | opti92x-ad1848.c | 588 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local 598 memset(&id1, 0, sizeof(id1)); in snd_opti93x_mixer() 600 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer() 602 strcpy(id1.name, "Aux Playback Switch"); in snd_opti93x_mixer() 604 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer() 610 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opti93x_mixer() 612 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer() 618 strcpy(id1.name, "Aux Playback Volume"); id1.index = 1; in snd_opti93x_mixer() 619 snd_ctl_remove_id(card, &id1); in snd_opti93x_mixer() 622 id1.index = 0; in snd_opti93x_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/soc/codecs/ |
D | wm8804.c | 567 unsigned int id1, id2; in wm8804_probe() local 623 ret = regmap_read(regmap, WM8804_RST_DEVID1, &id1); in wm8804_probe() 635 id2 = (id2 << 8) | id1; in wm8804_probe() 643 ret = regmap_read(regmap, WM8804_DEVREV, &id1); in wm8804_probe() 649 dev_info(dev, "revision %c\n", id1 + 'A'); in wm8804_probe()
|
/sound/soc/ |
D | soc-core.c | 2344 unsigned int id1, id2; in fmt_single_name() local 2365 } else if (sscanf(name, "%x-%x", &id1, &id2) == 2) { in fmt_single_name() 2368 *id = ((id1 & 0xffff) << 16) + id2; in fmt_single_name()
|