Lines Matching defs:temp
1110 struct snd_kcontrol_new temp;
1114 temp = mixart_control_analog_level;
1115 temp.name = "Master Playback Volume";
1116 temp.private_value = 0; /* playback */
1117 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1125 temp = mixart_control_analog_level;
1126 temp.name = "Master Capture Volume";
1127 temp.private_value = 1; /* capture */
1128 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1132 temp = snd_mixart_pcm_vol;
1133 temp.name = "PCM Playback Volume";
1134 temp.count = MIXART_PLAYBACK_STREAMS;
1135 temp.private_value = 0; /* playback analog */
1136 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1139 temp.name = "PCM Capture Volume";
1140 temp.count = 1;
1141 temp.private_value = MIXART_VOL_REC_MASK; /* capture analog */
1142 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1146 temp.name = "AES Playback Volume";
1147 temp.count = MIXART_PLAYBACK_STREAMS;
1148 temp.private_value = MIXART_VOL_AES_MASK; /* playback AES/EBU */
1149 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1152 temp.name = "AES Capture Volume";
1153 temp.count = 0;
1154 temp.private_value = MIXART_VOL_REC_MASK | MIXART_VOL_AES_MASK; /* capture AES/EBU */
1155 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1158 temp = mixart_control_pcm_switch;
1159 temp.name = "PCM Playback Switch";
1160 temp.private_value = 0; /* playback analog */
1161 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)
1165 temp.name = "AES Playback Switch";
1166 temp.private_value = MIXART_VOL_AES_MASK; /* playback AES/EBU */
1167 if ((err = snd_ctl_add(chip->card, snd_ctl_new1(&temp, chip))) < 0)