• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/trident/

Lines Matching refs:evoice

801 	struct snd_trident_voice *evoice = voice->extra;
806 if (evoice == NULL) {
807 evoice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
808 if (evoice == NULL)
810 voice->extra = evoice;
811 evoice->substream = substream;
814 if (evoice != NULL) {
815 snd_trident_free_voice(trident, evoice);
816 voice->extra = evoice = NULL;
862 struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
871 if (evoice != NULL) {
872 snd_trident_free_voice(trident, evoice);
894 struct snd_trident_voice *evoice = voice->extra;
926 if (evoice != NULL) {
927 evoice->Delta = voice->Delta;
928 evoice->spurious_threshold = voice->spurious_threshold;
929 evoice->LBA = voice->LBA;
930 evoice->CSO = 0;
931 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */
932 evoice->CTRL = voice->CTRL;
933 evoice->FMC = 3;
934 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
935 evoice->EC = 0;
936 evoice->Alpha = 0;
937 evoice->FMS = 0;
938 evoice->Vol = 0x3ff; /* mute */
939 evoice->RVol = evoice->CVol = 0x7f; /* mute */
940 evoice->Pan = 0x7f; /* mute */
941 evoice->Attribute = 0;
942 snd_trident_write_voice_regs(trident, evoice);
943 evoice->isync2 = 1;
944 evoice->isync_mark = runtime->period_size;
945 evoice->ESO = (runtime->period_size * 2) - 1;
1101 struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
1104 if (evoice != NULL) {
1105 snd_trident_free_voice(trident, evoice);
1127 struct snd_trident_voice *evoice = voice->extra;
1156 if (evoice != NULL) {
1157 evoice->Delta = snd_trident_convert_rate(runtime->rate);
1158 evoice->spurious_threshold = voice->spurious_threshold;
1159 evoice->LBA = voice->LBA;
1160 evoice->CSO = 0;
1161 evoice->ESO = (runtime->period_size * 2) + 20 - 1; /* in samples, 20 means correction */
1162 evoice->CTRL = voice->CTRL;
1163 evoice->FMC = 3;
1164 evoice->GVSel = 0;
1165 evoice->EC = 0;
1166 evoice->Alpha = 0;
1167 evoice->FMS = 0;
1168 evoice->Vol = 0x3ff; /* mute */
1169 evoice->RVol = evoice->CVol = 0x7f; /* mute */
1170 evoice->Pan = 0x7f; /* mute */
1171 evoice->Attribute = 0;
1172 snd_trident_write_voice_regs(trident, evoice);
1173 evoice->isync2 = 1;
1174 evoice->isync_mark = runtime->period_size;
1175 evoice->ESO = (runtime->period_size * 2) - 1;
1198 struct snd_trident_voice *evoice = voice->extra;
1233 if (evoice != NULL) {
1234 evoice->Delta = voice->Delta;
1235 evoice->spurious_threshold = voice->spurious_threshold;
1236 evoice->LBA = voice->LBA;
1237 evoice->CSO = 0;
1238 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */
1239 evoice->CTRL = voice->CTRL;
1240 evoice->FMC = 3;
1241 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
1242 evoice->EC = 0;
1243 evoice->Alpha = 0;
1244 evoice->FMS = 0;
1245 evoice->Vol = 0x3ff; /* mute */
1246 evoice->RVol = evoice->CVol = 0x7f; /* mute */
1247 evoice->Pan = 0x7f; /* mute */
1248 evoice->Attribute = 0;
1249 snd_trident_write_voice_regs(trident, evoice);
1250 evoice->isync2 = 1;
1251 evoice->isync_mark = runtime->period_size;
1252 evoice->ESO = (runtime->period_size * 2) - 1;
1341 struct snd_trident_voice *evoice = voice->extra;
1427 if (evoice != NULL) {
1428 evoice->Delta = voice->Delta;
1429 evoice->spurious_threshold = voice->spurious_threshold;
1430 evoice->LBA = voice->LBA;
1431 evoice->CSO = 0;
1432 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */
1433 evoice->CTRL = voice->CTRL;
1434 evoice->FMC = 3;
1435 evoice->GVSel = trident->device == TRIDENT_DEVICE_ID_SI7018 ? 0 : 1;
1436 evoice->EC = 0;
1437 evoice->Alpha = 0;
1438 evoice->FMS = 0;
1439 evoice->Vol = 0x3ff; /* mute */
1440 evoice->RVol = evoice->CVol = 0x7f; /* mute */
1441 evoice->Pan = 0x7f; /* mute */
1442 evoice->Attribute = 0;
1443 snd_trident_write_voice_regs(trident, evoice);
1444 evoice->isync2 = 1;
1445 evoice->isync_mark = runtime->period_size;
1446 evoice->ESO = (runtime->period_size * 2) - 1;
1482 struct snd_trident_voice *voice, *evoice;
1505 evoice = voice->extra;
1507 if (evoice == NULL) {
1510 what |= 1 << (evoice->number & 0x1f);
1511 whati |= 1 << (evoice->number & 0x1f);
1513 evoice->stimer = val;