Lines Matching refs:id1
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()
529 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
533 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_interwave_mixer()
535 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
538 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer()
540 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
707 struct snd_ctl_elem_id id1, id2; in snd_interwave_probe() local
708 memset(&id1, 0, sizeof(id1)); in snd_interwave_probe()
710 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_probe()
711 strcpy(id1.name, "Master Playback Switch"); in snd_interwave_probe()
712 strcpy(id2.name, id1.name); in snd_interwave_probe()
714 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_probe()
717 strcpy(id1.name, "Master Playback Volume"); in snd_interwave_probe()
718 strcpy(id2.name, id1.name); in snd_interwave_probe()
719 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_probe()