voice            1238 include/linux/soundcard.h 					_seqbuf[_seqbufptr+3] = (voice);\
voice            1248 include/linux/soundcard.h #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
voice            1249 include/linux/soundcard.h #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
voice            1250 include/linux/soundcard.h #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)
voice            1251 include/linux/soundcard.h #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)
voice            1252 include/linux/soundcard.h #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
voice              78 include/linux/ultrasound.h 					_seqbuf[_seqbufptr+3] = voice;\
voice              84 include/linux/ultrasound.h #define GUS_VOICESAMPLE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0)	/* OBSOLETE */
voice              85 include/linux/ultrasound.h #define GUS_VOICEON(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0)
voice              86 include/linux/ultrasound.h #define GUS_VOICEOFF(chn, voice)		_GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0)
voice              87 include/linux/ultrasound.h #define GUS_VOICEFADE(chn, voice)		_GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0)
voice              88 include/linux/ultrasound.h #define GUS_VOICEMODE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0)
voice              89 include/linux/ultrasound.h #define GUS_VOICEBALA(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0)
voice              90 include/linux/ultrasound.h #define GUS_VOICEFREQ(chn, voice, p)		_GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
voice              92 include/linux/ultrasound.h #define GUS_VOICEVOL(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0)
voice              93 include/linux/ultrasound.h #define GUS_VOICEVOL2(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0)
voice              94 include/linux/ultrasound.h #define GUS_RAMPRANGE(chn, voice, low, high)	_GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high))
voice              95 include/linux/ultrasound.h #define GUS_RAMPRATE(chn, voice, p1, p2)	_GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2))
voice              96 include/linux/ultrasound.h #define GUS_RAMPMODE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0)
voice              97 include/linux/ultrasound.h #define GUS_RAMPON(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0)
voice              98 include/linux/ultrasound.h #define GUS_RAMPOFF(chn, voice)			_GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0)
voice              99 include/linux/ultrasound.h #define GUS_VOLUME_SCALE(chn, voice, p1, p2)	_GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2))
voice             100 include/linux/ultrasound.h #define GUS_VOICE_POS(chn, voice, p)		_GUS_CMD(chn, voice, _GUS_VOICE_POS, \
voice              43 include/sound/asound_fm.h 	unsigned char voice;		/* FM voice (0 to 17) */
voice              71 include/sound/asound_fm.h 	unsigned char voice;	/* 0-17 voice channel */
voice             265 include/sound/gus.h 	void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             266 include/sound/gus.h 	void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             267 include/sound/gus.h 	void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             292 include/sound/gus.h 	void (*private_free)(struct snd_gus_voice *voice);
voice             456 include/sound/gus.h 	if (voice != gus->gf1.active_voice) {
voice             457 include/sound/gus.h 		gus->gf1.active_voice = voice;
voice             458 include/sound/gus.h 		outb(voice, GUSP(gus, GF1PAGE));
voice             332 include/sound/trident.h 	void (*private_free)(struct snd_trident_voice *voice);
voice             347 include/sound/trident.h 	struct snd_trident_voice *voice;	/* active voice */
voice             252 include/sound/ymfpci.h 	void (*interrupt)(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice);
voice              49 sound/drivers/opl3/opl3_drums.c 	int voice;
voice              60 sound/drivers/opl3/opl3_drums.c 	int voice;
voice              86 sound/drivers/opl3/opl3_drums.c 	unsigned char op_offset = snd_opl3_regmap[data->voice][data->op];
voice              87 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             121 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             140 sound/drivers/opl3/opl3_drums.c 	unsigned char op_offset = snd_opl3_regmap[data->voice][data->op];
voice             141 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             128 sound/drivers/opl3/opl3_midi.c 	printk("time %.5i: %s [%.2i]: ", opl3->use_time, s, voice);
voice             159 sound/drivers/opl3/opl3_midi.c 		int voice;
voice             165 sound/drivers/opl3/opl3_midi.c 		best[i].voice = -1;
voice             214 sound/drivers/opl3/opl3_midi.c 			bp->voice = i;
voice             219 sound/drivers/opl3/opl3_midi.c 		if (best[i].voice >= 0) {
voice             223 sound/drivers/opl3/opl3_midi.c 			       best[i].voice);
voice             225 sound/drivers/opl3/opl3_midi.c 			return best[i].voice;
voice             294 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             381 sound/drivers/opl3/opl3_midi.c 		voice = opl3_get_voice(opl3, instr_4op, chan);
voice             384 sound/drivers/opl3/opl3_midi.c 		voice = snd_opl3_oss_map[chan->number];		
voice             387 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             390 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             395 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             400 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             407 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             543 sound/drivers/opl3/opl3_midi.c 	opl3->voices[voice].keyon_reg = blocknum;
voice             549 sound/drivers/opl3/opl3_midi.c 	snd_printk("  --> trigger voice %i\n", voice);
voice             557 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off = jiffies +
voice             560 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off_check = 1;
voice             562 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off_check = 0;
voice             575 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             583 sound/drivers/opl3/opl3_midi.c 			vp2 = &opl3->voices[voice + 3];
voice             591 sound/drivers/opl3/opl3_midi.c 	debug_alloc(opl3, "note on ", voice);
voice             620 sound/drivers/opl3/opl3_midi.c 	if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
voice             623 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             624 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             627 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             631 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             636 sound/drivers/opl3/opl3_midi.c 	snd_printk("  --> kill voice %i\n", voice);
voice             646 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             653 sound/drivers/opl3/opl3_midi.c 	debug_alloc(opl3, "note off", voice);
voice             665 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             687 sound/drivers/opl3/opl3_midi.c 		for (voice = 0; voice < opl3->max_voices; voice++) {
voice             688 sound/drivers/opl3/opl3_midi.c 			vp = &opl3->voices[voice];
voice             690 sound/drivers/opl3/opl3_midi.c 				snd_opl3_kill_voice(opl3, voice);
voice             696 sound/drivers/opl3/opl3_midi.c 			voice = snd_opl3_oss_map[chan->number];		
voice             697 sound/drivers/opl3/opl3_midi.c 			snd_opl3_kill_voice(opl3, voice);
voice             741 sound/drivers/opl3/opl3_midi.c 	if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
voice             744 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             748 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             751 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             755 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             781 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             789 sound/drivers/opl3/opl3_midi.c 		for (voice = 0; voice < opl3->max_voices; voice++) {
voice             790 sound/drivers/opl3/opl3_midi.c 			vp = &opl3->voices[voice];
voice             792 sound/drivers/opl3/opl3_midi.c 				snd_opl3_update_pitch(opl3, voice);
voice             798 sound/drivers/opl3/opl3_midi.c 			voice = snd_opl3_oss_map[chan->number];		
voice             799 sound/drivers/opl3/opl3_midi.c 			snd_opl3_update_pitch(opl3, voice);
voice             134 sound/drivers/opl3/opl3_synth.c 			struct snd_dm_fm_voice voice;
voice             135 sound/drivers/opl3/opl3_synth.c 			if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice)))
voice             137 sound/drivers/opl3/opl3_synth.c 			return snd_opl3_set_voice(opl3, &voice);
voice             408 sound/drivers/opl3/opl3_synth.c 	if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ?
voice             413 sound/drivers/opl3/opl3_synth.c 	if (note->voice < MAX_OPL2_VOICES) {
voice             416 sound/drivers/opl3/opl3_synth.c 		voice_offset = note->voice;
voice             420 sound/drivers/opl3/opl3_synth.c 		voice_offset = note->voice - MAX_OPL2_VOICES;
voice             455 sound/drivers/opl3/opl3_synth.c 	if (voice->op > 1)
voice             459 sound/drivers/opl3/opl3_synth.c 	if (voice->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ?
voice             464 sound/drivers/opl3/opl3_synth.c 	if (voice->voice < MAX_OPL2_VOICES) {
voice             467 sound/drivers/opl3/opl3_synth.c 		voice_offset = voice->voice;
voice             471 sound/drivers/opl3/opl3_synth.c 		voice_offset = voice->voice - MAX_OPL2_VOICES;
voice             474 sound/drivers/opl3/opl3_synth.c 	op_offset = snd_opl3_regmap[voice_offset][voice->op];
voice             478 sound/drivers/opl3/opl3_synth.c 	if (voice->am)
voice             481 sound/drivers/opl3/opl3_synth.c 	if (voice->vibrato)
voice             484 sound/drivers/opl3/opl3_synth.c 	if (voice->do_sustain)
voice             487 sound/drivers/opl3/opl3_synth.c 	if (voice->kbd_scale)
voice             490 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->harmonic & OPL3_MULTIPLE_MASK;
voice             497 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->scale_level << 6) & OPL3_KSL_MASK;
voice             499 sound/drivers/opl3/opl3_synth.c 	reg_val |= ~voice->volume & OPL3_TOTAL_LEVEL_MASK;
voice             506 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->attack << 4) & OPL3_ATTACK_MASK;
voice             508 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->decay & OPL3_DECAY_MASK;
voice             515 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->sustain << 4) & OPL3_SUSTAIN_MASK;
voice             517 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->release & OPL3_RELEASE_MASK;
voice             524 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->feedback << 1) & OPL3_FEEDBACK_MASK;
voice             526 sound/drivers/opl3/opl3_synth.c 	if (voice->connection)
voice             530 sound/drivers/opl3/opl3_synth.c 		if (voice->left)
voice             532 sound/drivers/opl3/opl3_synth.c 		if (voice->right)
voice             540 sound/drivers/opl3/opl3_synth.c 	reg_val = voice->waveform & OPL3_WAVE_SELECT_MASK;
voice             317 sound/drivers/opl4/opl4_synth.c 	struct opl4_voice *voice;
voice             321 sound/drivers/opl4/opl4_synth.c 		voice = &opl4->voices[i];
voice             322 sound/drivers/opl4/opl4_synth.c 		if (voice->chan == chan && voice->note == note) {
voice             323 sound/drivers/opl4/opl4_synth.c 			func(opl4, voice);
voice             338 sound/drivers/opl4/opl4_synth.c 	struct opl4_voice *voice;
voice             342 sound/drivers/opl4/opl4_synth.c 		voice = &opl4->voices[i];
voice             343 sound/drivers/opl4/opl4_synth.c 		if (voice->chan == chan) {
voice             344 sound/drivers/opl4/opl4_synth.c 			func(opl4, voice);
voice             358 sound/drivers/opl4/opl4_synth.c 	struct opl4_voice *voice;
voice             362 sound/drivers/opl4/opl4_synth.c 		voice = &opl4->voices[i];
voice             363 sound/drivers/opl4/opl4_synth.c 		if (voice->chan)
voice             364 sound/drivers/opl4/opl4_synth.c 			func(opl4, voice);
voice             373 sound/drivers/opl4/opl4_synth.c 	att = voice->sound->tone_attenuate;
voice             375 sound/drivers/opl4/opl4_synth.c 	att += snd_opl4_volume_table[voice->chan->gm_volume & 0x7f];
voice             376 sound/drivers/opl4/opl4_synth.c 	att += snd_opl4_volume_table[voice->chan->gm_expression & 0x7f];
voice             377 sound/drivers/opl4/opl4_synth.c 	att += snd_opl4_volume_table[voice->velocity];
voice             378 sound/drivers/opl4/opl4_synth.c 	att = 0x7f - (0x7f - att) * (voice->sound->volume_factor) / 0xfe - volume_boost;
voice             383 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_LEVEL + voice->number,
voice             384 sound/drivers/opl4/opl4_synth.c 		       (att << 1) | voice->level_direct);
voice             385 sound/drivers/opl4/opl4_synth.c 	voice->level_direct = 0;
voice             390 sound/drivers/opl4/opl4_synth.c 	int pan = voice->sound->panpot;
voice             392 sound/drivers/opl4/opl4_synth.c 	if (!voice->chan->drum_channel)
voice             393 sound/drivers/opl4/opl4_synth.c 		pan += (voice->chan->control[MIDI_CTL_MSB_PAN] - 0x40) >> 3;
voice             398 sound/drivers/opl4/opl4_synth.c 	voice->reg_misc = (voice->reg_misc & ~OPL4_PAN_POT_MASK)
voice             400 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc);
voice             408 sound/drivers/opl4/opl4_synth.c 	if (voice->chan->drum_channel)
voice             410 sound/drivers/opl4/opl4_synth.c 	depth = (7 - voice->sound->vibrato)
voice             411 sound/drivers/opl4/opl4_synth.c 		* (voice->chan->control[MIDI_CTL_VIBRATO_DEPTH] & 0x7f);
voice             412 sound/drivers/opl4/opl4_synth.c 	depth = (depth >> 7) + voice->sound->vibrato;
voice             413 sound/drivers/opl4/opl4_synth.c 	voice->reg_lfo_vibrato &= ~OPL4_VIBRATO_DEPTH_MASK;
voice             414 sound/drivers/opl4/opl4_synth.c 	voice->reg_lfo_vibrato |= depth & OPL4_VIBRATO_DEPTH_MASK;
voice             415 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_LFO_VIBRATO + voice->number,
voice             416 sound/drivers/opl4/opl4_synth.c 		       voice->reg_lfo_vibrato);
voice             422 sound/drivers/opl4/opl4_synth.c 	struct snd_midi_channel *chan = voice->chan;
voice             425 sound/drivers/opl4/opl4_synth.c 	note = chan->drum_channel ? 60 : voice->note;
voice             430 sound/drivers/opl4/opl4_synth.c 	pitch = ((note - 60) << 7) * voice->sound->key_scaling / 100 + (60 << 7);
voice             431 sound/drivers/opl4/opl4_synth.c 	pitch += voice->sound->pitch_offset;
voice             443 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_OCTAVE + voice->number,
voice             445 sound/drivers/opl4/opl4_synth.c 	voice->reg_f_number = (voice->reg_f_number & OPL4_TONE_NUMBER_BIT8)
voice             447 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_F_NUMBER + voice->number, voice->reg_f_number);
voice             453 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_ATTACK_DECAY1 + voice->number,
voice             454 sound/drivers/opl4/opl4_synth.c 		       voice->sound->reg_attack_decay1);
voice             455 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_LEVEL_DECAY2 + voice->number,
voice             456 sound/drivers/opl4/opl4_synth.c 		       voice->sound->reg_level_decay2);
voice             457 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_RELEASE_CORRECTION + voice->number,
voice             458 sound/drivers/opl4/opl4_synth.c 		       voice->sound->reg_release_correction);
voice             459 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_TREMOLO + voice->number,
voice             460 sound/drivers/opl4/opl4_synth.c 		       voice->sound->reg_tremolo);
voice             486 sound/drivers/opl4/opl4_synth.c 	struct opl4_voice *voice[2];
voice             506 sound/drivers/opl4/opl4_synth.c 		voice[i] = snd_opl4_get_voice(opl4);
voice             507 sound/drivers/opl4/opl4_synth.c 		list_del(&voice[i]->list);
voice             508 sound/drivers/opl4/opl4_synth.c 		list_add_tail(&voice[i]->list, &opl4->on_voices);
voice             509 sound/drivers/opl4/opl4_synth.c 		voice[i]->chan = chan;
voice             510 sound/drivers/opl4/opl4_synth.c 		voice[i]->note = note;
voice             511 sound/drivers/opl4/opl4_synth.c 		voice[i]->velocity = vel & 0x7f;
voice             512 sound/drivers/opl4/opl4_synth.c 		voice[i]->sound = sound[i];
voice             517 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_f_number =
voice             519 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_F_NUMBER + voice[i]->number,
voice             520 sound/drivers/opl4/opl4_synth.c 			       voice[i]->reg_f_number);
voice             521 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_TONE_NUMBER + voice[i]->number,
voice             527 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_misc = OPL4_LFO_RESET_BIT;
voice             528 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_pan(opl4, voice[i]);
voice             529 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_pitch(opl4, voice[i]);
voice             530 sound/drivers/opl4/opl4_synth.c 		voice[i]->level_direct = OPL4_LEVEL_DIRECT_BIT;
voice             531 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_volume(opl4, voice[i]);
voice             541 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_tone_parameters(opl4, voice[i]);
voice             542 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_lfo_vibrato = voice[i]->sound->reg_lfo_vibrato;
voice             543 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_vibrato_depth(opl4, voice[i]);
voice             548 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_misc =
voice             549 sound/drivers/opl4/opl4_synth.c 			(voice[i]->reg_misc & 0x1f) | OPL4_KEY_ON_BIT;
voice             550 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_MISC + voice[i]->number,
voice             551 sound/drivers/opl4/opl4_synth.c 			       voice[i]->reg_misc);
voice             558 sound/drivers/opl4/opl4_synth.c 	list_del(&voice->list);
voice             559 sound/drivers/opl4/opl4_synth.c 	list_add_tail(&voice->list, &opl4->off_voices);
voice             561 sound/drivers/opl4/opl4_synth.c 	voice->reg_misc &= ~OPL4_KEY_ON_BIT;
voice             562 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc);
voice             574 sound/drivers/opl4/opl4_synth.c 	list_del(&voice->list);
voice             575 sound/drivers/opl4/opl4_synth.c 	list_add_tail(&voice->list, &opl4->off_voices);
voice             577 sound/drivers/opl4/opl4_synth.c 	voice->reg_misc = (voice->reg_misc & ~OPL4_KEY_ON_BIT) | OPL4_DAMP_BIT;
voice             578 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc);
voice             448 sound/isa/gus/gus_io.c 	int voice, ctrl;
voice             450 sound/isa/gus/gus_io.c 	voice = gus->gf1.active_voice;
voice             451 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  voice ctrl, ramp ctrl  = 0x%x, 0x%x\n", voice, ctrl = snd_gf1_i_read8(gus, 0), snd_gf1_i_read8(gus, 0x0d));
voice             452 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  frequency              = 0x%x\n", voice, snd_gf1_i_read16(gus, 1));
voice             453 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  loop start, end        = 0x%x (0x%x), 0x%x (0x%x)\n", voice, snd_gf1_i_read_addr(gus, 2, ctrl & 4), snd_gf1_i_read_addr(gus, 2, (ctrl & 4) ^ 4), snd_gf1_i_read_addr(gus, 4, ctrl & 4), snd_gf1_i_read_addr(gus, 4, (ctrl & 4) ^ 4));
voice             454 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  ramp start, end, rate  = 0x%x, 0x%x, 0x%x\n", voice, snd_gf1_i_read8(gus, 7), snd_gf1_i_read8(gus, 8), snd_gf1_i_read8(gus, 6));
voice             455 sound/isa/gus/gus_io.c 	printk(KERN_INFO" -%i- GF1  volume                 = 0x%x\n", voice, snd_gf1_i_read16(gus, 9));
voice             456 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  position               = 0x%x (0x%x)\n", voice, snd_gf1_i_read_addr(gus, 0x0a, ctrl & 4), snd_gf1_i_read_addr(gus, 0x0a, (ctrl & 4) ^ 4));
voice             459 sound/isa/gus/gus_io.c 		printk(KERN_INFO " -%i- GFA1 mode                   = 0x%x\n", voice, mode);
voice             461 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect address         = 0x%x\n", voice, snd_gf1_i_read_addr(gus, 0x11, ctrl & 4));
voice             462 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect volume          = 0x%x\n", voice, snd_gf1_i_read16(gus, 0x16));
voice             463 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect volume final    = 0x%x\n", voice, snd_gf1_i_read16(gus, 0x1d));
voice             464 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect acumulator      = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x14));
voice             467 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 left offset            = 0x%x (%i)\n", voice, snd_gf1_i_read16(gus, 0x13), snd_gf1_i_read16(gus, 0x13) >> 4);
voice             468 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 left offset final      = 0x%x (%i)\n", voice, snd_gf1_i_read16(gus, 0x1c), snd_gf1_i_read16(gus, 0x1c) >> 4);
voice             469 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 right offset           = 0x%x (%i)\n", voice, snd_gf1_i_read16(gus, 0x0c), snd_gf1_i_read16(gus, 0x0c) >> 4);
voice             470 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 right offset final     = 0x%x (%i)\n", voice, snd_gf1_i_read16(gus, 0x1b), snd_gf1_i_read16(gus, 0x1b) >> 4);
voice             472 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GF1  pan                    = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x0c));
voice             474 sound/isa/gus/gus_io.c 		printk(KERN_INFO " -%i- GF1  pan                    = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x0c));
voice              57 sound/isa/gus/gus_irq.c 		unsigned char voice_status, voice;
voice              62 sound/isa/gus/gus_irq.c 			voice = voice_status & 0x1f;
voice              63 sound/isa/gus/gus_irq.c 			_current_ = 1 << voice;
voice              68 sound/isa/gus/gus_irq.c 			printk("voice = %i, voice_status = 0x%x, voice_verify = %i\n", voice, voice_status, inb(GUSP(gus, GF1PAGE)));
voice              70 sound/isa/gus/gus_irq.c 			pvoice = &gus->gf1.voices[voice]; 
voice             114 sound/isa/gus/gus_pcm.c 	unsigned int voice;
voice             133 sound/isa/gus/gus_pcm.c 	for (voice = 0; voice < pcmp->voices; voice++) {
voice             134 sound/isa/gus/gus_pcm.c 		begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels);
voice             139 sound/isa/gus/gus_pcm.c 		pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8;
voice             140 sound/isa/gus/gus_pcm.c 		vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right;
voice             142 sound/isa/gus/gus_pcm.c 		snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             160 sound/isa/gus/gus_pcm.c 	for (voice = 0; voice < pcmp->voices; voice++) {
voice             161 sound/isa/gus/gus_pcm.c 		snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             170 sound/isa/gus/gus_pcm.c 		for (voice = 0; voice < pcmp->voices; voice++) {
voice             171 sound/isa/gus/gus_pcm.c 			snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             353 sound/isa/gus/gus_pcm.c 	bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2));
voice             384 sound/isa/gus/gus_pcm.c 	bpos = samples_to_bytes(runtime, pos) + (voice * (pcmp->dma_size / 2));
voice             493 sound/isa/gus/gus_pcm.c 	int voice;
voice             501 sound/isa/gus/gus_pcm.c 		voice = pcmp->pvoices[0]->number;
voice             502 sound/isa/gus/gus_pcm.c 		snd_gf1_stop_voices(gus, voice, voice);
voice             504 sound/isa/gus/gus_pcm.c 			voice = pcmp->pvoices[1]->number;
voice             505 sound/isa/gus/gus_pcm.c 			snd_gf1_stop_voices(gus, voice, voice);
voice              83 sound/isa/gus/gus_reset.c 		struct snd_gus_voice *voice;
voice              85 sound/isa/gus/gus_reset.c 		voice = &gus->gf1.voices[what & 0xffff];
voice              86 sound/isa/gus/gus_reset.c 		voice->handler_wave =
voice              87 sound/isa/gus/gus_reset.c 		voice->handler_volume = snd_gf1_default_interrupt_handler_wave_and_volume;
voice              88 sound/isa/gus/gus_reset.c 		voice->handler_effect = NULL;
voice              89 sound/isa/gus/gus_reset.c 		voice->volume_change = NULL;
voice             134 sound/isa/gus/gus_reset.c 	snd_gf1_select_voice(gus, voice);
voice             136 sound/isa/gus/gus_reset.c 	printk(KERN_DEBUG " -%i- smart stop voice - volume = 0x%x\n", voice, snd_gf1_i_read16(gus, SNDRV_GF1_VW_VOLUME));
voice             148 sound/isa/gus/gus_reset.c 	snd_gf1_select_voice(gus, voice);
voice             150 sound/isa/gus/gus_reset.c 	printk(KERN_DEBUG " -%i- stop voice - volume = 0x%x\n", voice, snd_gf1_i_read16(gus, SNDRV_GF1_VW_VOLUME));
voice             158 sound/isa/gus/gus_reset.c 	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_VIBRATO);
voice             159 sound/isa/gus/gus_reset.c 	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_TREMOLO);
voice             294 sound/isa/gus/gus_reset.c 	void (*private_free)(struct snd_gus_voice *voice);
voice             297 sound/isa/gus/gus_reset.c 	if (voice == NULL || !voice->use)
voice             299 sound/isa/gus/gus_reset.c 	snd_gf1_set_default_handlers(gus, SNDRV_GF1_HANDLER_VOICE | voice->number);
voice             300 sound/isa/gus/gus_reset.c 	snd_gf1_clear_voices(gus, voice->number, voice->number);
voice             302 sound/isa/gus/gus_reset.c 	private_free = voice->private_free;
voice             303 sound/isa/gus/gus_reset.c 	private_data = voice->private_data;
voice             304 sound/isa/gus/gus_reset.c 	voice->private_free = NULL;
voice             305 sound/isa/gus/gus_reset.c 	voice->private_data = NULL;
voice             306 sound/isa/gus/gus_reset.c 	if (voice->pcm)
voice             308 sound/isa/gus/gus_reset.c 	voice->use = voice->pcm = 0;
voice             309 sound/isa/gus/gus_reset.c 	voice->sample_ops = NULL;
voice             312 sound/isa/gus/gus_reset.c 		private_free(voice);
voice             170 sound/isa/sb/emu8000_callback.c 		int voice;
voice             178 sound/isa/sb/emu8000_callback.c 		best[i].voice = -1;
voice             214 sound/isa/sb/emu8000_callback.c 			bp->voice = i;
voice             219 sound/isa/sb/emu8000_callback.c 		if (best[i].voice >= 0) {
voice             220 sound/isa/sb/emu8000_callback.c 			vp = &emu->voices[best[i].voice];
voice             221 sound/isa/sb/emu8000_callback.c 			vp->ch = best[i].voice;
voice             453 sound/isa/sb/emu8000_pcm.c 	if (voice == -1) {
voice             465 sound/isa/sb/emu8000_pcm.c 		return emu8k_transfer_block(emu, pos + rec->loop_start[voice], src, count);
voice             490 sound/isa/sb/emu8000_pcm.c 	if (voice == -1 && rec->voices == 1)
voice             491 sound/isa/sb/emu8000_pcm.c 		voice = 0;
voice             492 sound/isa/sb/emu8000_pcm.c 	if (voice == -1) {
voice             499 sound/isa/sb/emu8000_pcm.c 		return emu8k_silence_block(emu, pos + rec->loop_start[voice], count);
voice             268 sound/oss/dev_table.h 	int (*kill_note) (int dev, int voice, int note, int velocity);
voice             269 sound/oss/dev_table.h 	int (*start_note) (int dev, int voice, int note, int velocity);
voice             270 sound/oss/dev_table.h 	int (*set_instr) (int dev, int voice, int instr);
voice             275 sound/oss/dev_table.h 	void (*aftertouch) (int dev, int voice, int pressure);
voice             276 sound/oss/dev_table.h 	void (*controller) (int dev, int voice, int ctrl_num, int value);
voice             277 sound/oss/dev_table.h 	void (*panning) (int dev, int voice, int value);
voice             281 sound/oss/dev_table.h 	void (*setup_voice) (int dev, int voice, int chn);
voice             271 sound/oss/opl3.c 	 if (voice < 0 || voice >= devc->nr_voice)
voice             274 sound/oss/opl3.c 	 devc->v_alloc->map[voice] = 0;
voice             276 sound/oss/opl3.c 	 map = &pv_map[devc->lv_map[voice]];
voice             277 sound/oss/opl3.c 	 DEB(printk("Kill note %d\n", voice));
voice             282 sound/oss/opl3.c 	 opl3_command(map->ioaddr, KEYON_BLOCK + map->voice_num, devc->voc[voice].keyon_byte & ~0x20);
voice             283 sound/oss/opl3.c 	 devc->voc[voice].keyon_byte = 0;
voice             284 sound/oss/opl3.c 	 devc->voc[voice].bender = 0;
voice             285 sound/oss/opl3.c 	 devc->voc[voice].volume = 64;
voice             286 sound/oss/opl3.c 	 devc->voc[voice].panning = 0xffff;	/* Not set */
voice             287 sound/oss/opl3.c 	 devc->voc[voice].bender_range = 200;
voice             288 sound/oss/opl3.c 	 devc->voc[voice].orig_freq = 0;
voice             289 sound/oss/opl3.c 	 devc->voc[voice].current_freq = 0;
voice             290 sound/oss/opl3.c 	 devc->voc[voice].mode = 0;
voice             312 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             317 sound/oss/opl3.c 	devc->act_i[voice] = &devc->i_map[instr_no];
voice             376 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             379 sound/oss/opl3.c 	map = &pv_map[devc->lv_map[voice]];
voice             380 sound/oss/opl3.c 	instr = devc->act_i[voice];
voice             388 sound/oss/opl3.c 	if (devc->voc[voice].mode == 0)
voice             391 sound/oss/opl3.c 	if (devc->voc[voice].mode == 2)
voice             464 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             467 sound/oss/opl3.c 	map = &pv_map[devc->lv_map[voice]];
voice             468 sound/oss/opl3.c 	pan = devc->voc[voice].panning;
voice             477 sound/oss/opl3.c 		set_voice_volume(voice, volume, devc->voc[voice].volume);
voice             506 sound/oss/opl3.c 	instr = devc->act_i[voice];
voice             513 sound/oss/opl3.c 		printk(KERN_WARNING "opl3: Initializing voice %d with undefined instrument\n", voice);
voice             644 sound/oss/opl3.c 	devc->voc[voice].mode = voice_mode;
voice             645 sound/oss/opl3.c 	set_voice_volume(voice, volume, devc->voc[voice].volume);
voice             647 sound/oss/opl3.c 	freq = devc->voc[voice].orig_freq = note_to_freq(note) / 1000;
voice             654 sound/oss/opl3.c 	freq = compute_finetune(devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bender_range, 0);
voice             655 sound/oss/opl3.c 	devc->voc[voice].current_freq = freq;
voice             669 sound/oss/opl3.c 		 devc->voc[voice].keyon_byte = data;
voice             851 sound/oss/opl3.c 	devc->voc[voice].panning = value;
voice             870 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             873 sound/oss/opl3.c 	map = &pv_map[devc->lv_map[voice]];
voice             875 sound/oss/opl3.c 	DEB(printk("Aftertouch %d\n", voice));
voice             884 sound/oss/opl3.c 	instr = devc->act_i[voice];
voice             889 sound/oss/opl3.c 	if (devc->voc[voice].mode == 4)
voice             939 sound/oss/opl3.c 	map = &pv_map[devc->lv_map[voice]];
voice             944 sound/oss/opl3.c 	devc->voc[voice].bender = value;
voice             947 sound/oss/opl3.c 	if (!(devc->voc[voice].keyon_byte & 0x20))
voice             952 sound/oss/opl3.c 	freq = compute_finetune(devc->voc[voice].orig_freq, devc->voc[voice].bender, devc->voc[voice].bender_range, 0);
voice             953 sound/oss/opl3.c 	devc->voc[voice].current_freq = freq;
voice             963 sound/oss/opl3.c 	devc->voc[voice].keyon_byte = data;
voice             969 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             975 sound/oss/opl3.c 			bend_pitch(dev, voice, value);
voice             979 sound/oss/opl3.c 			devc->voc[voice].bender_range = value;
voice             983 sound/oss/opl3.c 			devc->voc[voice].volume = value / 128;
voice             987 sound/oss/opl3.c 			devc->voc[voice].panning = (value * 2) - 128;
voice             994 sound/oss/opl3.c 	if (voice < 0 || voice >= devc->nr_voice)
voice             997 sound/oss/opl3.c 	bend_pitch(dev, voice, value - 8192);
voice            1071 sound/oss/opl3.c 	opl3_set_instr(dev, voice, info->pgm_num);
voice            1073 sound/oss/opl3.c 	devc->voc[voice].bender = 0;
voice            1074 sound/oss/opl3.c 	devc->voc[voice].bender_range = info->bender_range;
voice            1075 sound/oss/opl3.c 	devc->voc[voice].volume = info->controllers[CTL_MAIN_VOLUME];
voice            1076 sound/oss/opl3.c 	devc->voc[voice].panning = (info->controllers[CTL_PAN] * 2) - 128;
voice             433 sound/oss/sequencer.c 	int voice;
voice             437 sound/oss/sequencer.c 	voice = synth_devs[dev]->alloc_voice(dev, chn, note,
voice             439 sound/oss/sequencer.c 	synth_devs[dev]->alloc.map[voice] = key;
voice             440 sound/oss/sequencer.c 	synth_devs[dev]->alloc.alloc_times[voice] =
voice             442 sound/oss/sequencer.c 	return voice;
voice             453 sound/oss/sequencer.c 	int voice = -1;
voice             465 sound/oss/sequencer.c 			voice = find_voice(dev, chn, note);
voice             480 sound/oss/sequencer.c 			if (voice == -1 && seq_mode == SEQ_2 && synth_devs[dev]->alloc_voice)
voice             483 sound/oss/sequencer.c 				voice = alloc_voice(dev, chn, note);
voice             485 sound/oss/sequencer.c 			if (voice == -1)
voice             486 sound/oss/sequencer.c 				voice = chn;
voice             497 sound/oss/sequencer.c 					synth_devs[dev]->set_instr(dev, voice, 128 + note);
voice             500 sound/oss/sequencer.c 				synth_devs[dev]->setup_voice(dev, voice, chn);
voice             502 sound/oss/sequencer.c 			synth_devs[dev]->start_note(dev, voice, note, parm);
voice             506 sound/oss/sequencer.c 			if (voice == -1)
voice             507 sound/oss/sequencer.c 				voice = chn;
voice             508 sound/oss/sequencer.c 			synth_devs[dev]->kill_note(dev, voice, note, parm);
voice             512 sound/oss/sequencer.c 			if (voice == -1)
voice             513 sound/oss/sequencer.c 				voice = chn;
voice             514 sound/oss/sequencer.c 			synth_devs[dev]->aftertouch(dev, voice, parm);
voice              68 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice             106 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 = voice->parm1 = 0xcfb23e2f;
voice             107 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0);
voice             108 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1);
voice             322 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice             326 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 &= 0xff00ffff;
voice             327 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 |= (vol[0] & 0xff) << 0x10;
voice             328 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 &= 0xff00ffff;
voice             329 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 |= (vol[1] & 0xff) << 0x10;
voice             332 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 0), voice->parm0);
voice             333 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 1), voice->parm0);
voice             335 sound/pci/au88x0/au88x0_synth.c 	if (voice->this_1D0 & 4) {
voice             340 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFFFC07F;
voice             341 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (ecx & 0x7f) << 7;
voice             342 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFFFFF80;
voice             343 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (eax & 0x7f);
voice             345 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFE03FFF;
voice             346 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (eax & 0xFE00) << 5;
voice             349 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 3), voice->parm3);
voice             355 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice             384 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 &= 0xffff0001;
voice             385 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 |= (eax & 0x7fff) << 1;
voice             386 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 = voice->parm0 | 1;
voice             390 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0);
voice             391 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1);
voice              27 sound/pci/au88x0/au88x0_wt.h #define WT_STEREO(voice)	((WT_BAR(voice)+ 0x20 +(((voice)&0x1f)>>1))<<2)	/* 0x0080 */
voice              28 sound/pci/au88x0/au88x0_wt.h #define WT_MUTE(voice)		((WT_BAR(voice)+ 0x40 +((voice)&0x1f))<<2)	/* 0x0100 */
voice              29 sound/pci/au88x0/au88x0_wt.h #define WT_RUN(voice)		((WT_BAR(voice)+ 0x60 +((voice)&0x1f))<<2)	/* 0x0180 */
voice              32 sound/pci/emu10k1/emu10k1_callback.c 	int voice;
voice             102 sound/pci/emu10k1/emu10k1_callback.c 		if (best[i].voice >= 0) {
voice             104 sound/pci/emu10k1/emu10k1_callback.c 			vp = &emu->voices[best[i].voice];
voice             228 sound/pci/emu10k1/emu10k1_callback.c 		best[i].voice = -1;
voice             274 sound/pci/emu10k1/emu10k1_callback.c 			bp->voice = i;
voice             296 sound/pci/emu10k1/emu10k1_callback.c 		if (best[i].voice >= 0) {
voice             297 sound/pci/emu10k1/emu10k1_callback.c 			vp = &emu->voices[best[i].voice];
voice             209 sound/pci/emu10k1/emu10k1x.c 	struct emu10k1x_voice *voice;
voice             367 sound/pci/emu10k1/emu10k1x.c 	if ((epcm = voice->epcm) == NULL)
voice             421 sound/pci/emu10k1/emu10k1x.c 	if (! epcm->voice) {
voice             422 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = &epcm->emu->voices[substream->pcm->device];
voice             423 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 1;
voice             424 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = epcm;
voice             442 sound/pci/emu10k1/emu10k1x.c 	if (epcm->voice) {
voice             443 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 0;
voice             444 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = NULL;
voice             445 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = NULL;
voice             457 sound/pci/emu10k1/emu10k1x.c 	int voice = epcm->voice->number;
voice             458 sound/pci/emu10k1/emu10k1x.c 	u32 *table_base = (u32 *)(emu->dma_buffer.area+1024*voice);
voice             467 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_ADDR, voice, emu->dma_buffer.addr+1024*voice);
voice             468 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_SIZE, voice, (runtime->periods - 1) << 19);
voice             469 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_PTR, voice, 0);
voice             470 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_POINTER, voice, 0);
voice             471 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN1, voice, 0);
voice             472 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN2, voice, 0);
voice             473 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_DMA_ADDR, voice, runtime->dma_addr);
voice             475 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_size)<<16);
voice             487 sound/pci/emu10k1/emu10k1x.c 	int channel = epcm->voice->number;
voice             520 sound/pci/emu10k1/emu10k1x.c 	int channel = epcm->voice->number;
voice             598 sound/pci/emu10k1/emu10k1x.c 	if (! epcm->voice) {
voice             601 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = &epcm->emu->capture_voice;
voice             602 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = epcm;
voice             603 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 1;
voice             621 sound/pci/emu10k1/emu10k1x.c 	if (epcm->voice) {
voice             622 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 0;
voice             623 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = NULL;
voice             624 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = NULL;
voice            1134 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_FXRT1, voice,
voice            1136 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_FXRT2, voice,
voice            1139 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, FXRT, voice,
voice            1146 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_A, voice, volume[0]);
voice            1147 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_B, voice, volume[1]);
voice            1148 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PSST_FXSENDAMOUNT_C, voice, volume[2]);
voice            1149 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, DSL_FXSENDAMOUNT_D, voice, volume[3]);
voice            1155 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, val);
voice            1178 sound/pci/emu10k1/emumixer.c 	int voice, idx;
voice            1183 sound/pci/emu10k1/emumixer.c 	for (voice = 0; voice < 3; voice++)
voice            1185 sound/pci/emu10k1/emumixer.c 			ucontrol->value.integer.value[(voice * num_efx) + idx] = 
voice            1186 sound/pci/emu10k1/emumixer.c 				mix->send_routing[voice][idx] & mask;
voice            1198 sound/pci/emu10k1/emumixer.c 	int change = 0, voice, idx, val;
voice            1203 sound/pci/emu10k1/emumixer.c 	for (voice = 0; voice < 3; voice++)
voice            1205 sound/pci/emu10k1/emumixer.c 			val = ucontrol->value.integer.value[(voice * num_efx) + idx] & mask;
voice            1206 sound/pci/emu10k1/emumixer.c 			if (mix->send_routing[voice][idx] != val) {
voice            1207 sound/pci/emu10k1/emumixer.c 				mix->send_routing[voice][idx] = val;
voice              42 sound/pci/emu10k1/emupcm.c 	if ((epcm = voice->epcm) == NULL)
voice             287 sound/pci/emu10k1/emupcm.c 	int voice, stereo, w_16;
voice             294 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             334 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK);
voice             335 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK);
voice             337 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, voice, 0);
voice             343 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_FXRT1, voice,
voice             345 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_FXRT2, voice,
voice             347 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice,
voice             353 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, FXRT, voice,
voice             357 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PTRX, voice, (send_amount[0] << 8) | send_amount[1]);
voice             358 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24));
voice             359 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PSST, voice, start_addr | (send_amount[2] << 24));
voice             365 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCCA, voice, start_addr |
voice             369 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCCA, voice, (start_addr + ccis) |
voice             373 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, Z1, voice, 0);
voice             374 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, Z2, voice, 0);
voice             377 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, MAPA, voice, silent_page);
voice             378 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, MAPB, voice, silent_page);
voice             380 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CVCF, voice, 0xffff);
voice             381 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, VTFT, voice, 0xffff);
voice             382 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ATKHLDM, voice, 0);
voice             383 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, DCYSUSM, voice, 0x007f);
voice             384 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, LFOVAL1, voice, 0x8000);
voice             385 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, LFOVAL2, voice, 0x8000);
voice             386 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, FMMOD, voice, 0);
voice             387 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, TREMFRQ, voice, 0);
voice             388 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, FM2FRQ2, voice, 0);
voice             389 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ENVVAL, voice, 0x8000);
voice             391 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ATKHLDV, voice, 0x7f7f);
voice             392 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ENVVOL, voice, 0x0000);
voice             394 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PEFE_FILTERAMOUNT, voice, 0x7f);
voice             396 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PEFE_PITCHAMOUNT, voice, 0);
voice             633 sound/pci/emu10k1/emupcm.c 	unsigned int voice, stereo, i, ccis, cra = 64, cs, sample;
voice             638 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             646 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CD0 + i, voice, sample);
voice             648 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CD0 + i, voice + 1, sample);
voice             652 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice, 0);
voice             653 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CCR_READADDRESS, voice, cra);
voice             655 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice + 1, 0);
voice             656 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCR_READADDRESS, voice + 1, cra);
voice             659 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice, ccis);
voice             661 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCR_CACHEINVALIDSIZE, voice+1, ccis);
voice             672 sound/pci/emu10k1/emupcm.c 	unsigned int voice, tmp;
voice             678 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             683 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, IFATN, voice, attn);
voice             684 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, VTFT, voice, vattn | 0xffff);
voice             685 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CVCF, voice, vattn | 0xffff);
voice             686 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, DCYSUSV, voice, 0x7f7f);
voice             687 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_voice_clear_loop_stop(emu, voice);
voice             694 sound/pci/emu10k1/emupcm.c 	unsigned int voice, pitch, pitch_target;
voice             700 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             707 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PTRX_PITCHTARGET, voice, pitch_target);
voice             709 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CPF_CURRENTPITCH, voice, pitch_target);
voice             710 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, IP, voice, pitch);
voice             712 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_voice_intr_enable(emu, voice);
voice             717 sound/pci/emu10k1/emupcm.c 	unsigned int voice;
voice             721 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             722 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_voice_intr_disable(emu, voice);
voice             723 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PTRX_PITCHTARGET, voice, 0);
voice             724 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CPF_CURRENTPITCH, voice, 0);
voice             725 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, IFATN, voice, 0xffff);
voice             726 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, VTFT, voice, 0xffff);
voice             727 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CVCF, voice, 0xffff);
voice             728 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, IP, voice, 0);
voice             394 sound/pci/emu10k1/emuproc.c 	struct snd_emu10k1_voice *voice;
voice             399 sound/pci/emu10k1/emuproc.c 		voice = &emu->voices[idx];
voice             402 sound/pci/emu10k1/emuproc.c 			voice->use,
voice             403 sound/pci/emu10k1/emuproc.c 			voice->pcm,
voice             404 sound/pci/emu10k1/emuproc.c 			voice->efx,
voice             405 sound/pci/emu10k1/emuproc.c 			voice->synth,
voice             406 sound/pci/emu10k1/emuproc.c 			voice->midi);
voice              60 sound/pci/emu10k1/irq.c 			int voice;
voice              66 sound/pci/emu10k1/irq.c 			for (voice = 0; voice <= voice_max; voice++) {
voice              67 sound/pci/emu10k1/irq.c 				if (voice == 0x20)
voice              72 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_intr_ack(emu, voice);
voice              74 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_intr_disable(emu, voice);
voice              81 sound/pci/emu10k1/irq.c 			for (voice = 0; voice <= voice_max; voice++) {
voice              82 sound/pci/emu10k1/irq.c 				if (voice == 0x20)
voice              87 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_half_loop_intr_ack(emu, voice);
voice              89 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_half_loop_intr_disable(emu, voice);
voice              50 sound/pci/emu10k1/voice.c 	struct snd_emu10k1_voice *voice;
voice              67 sound/pci/emu10k1/voice.c 			voice = &emu->voices[(i+k) % NUM_G];
voice              68 sound/pci/emu10k1/voice.c 			if (voice->use) {
voice              86 sound/pci/emu10k1/voice.c 		voice = &emu->voices[(first_voice + i) % NUM_G];
voice              88 sound/pci/emu10k1/voice.c 		voice->use = 1;
voice              91 sound/pci/emu10k1/voice.c 			voice->pcm = 1;
voice              94 sound/pci/emu10k1/voice.c 			voice->synth = 1;
voice              97 sound/pci/emu10k1/voice.c 			voice->midi = 1;
voice             100 sound/pci/emu10k1/voice.c 			voice->efx = 1;
voice              91 sound/pci/sis7019.c 	struct voice *timing;
voice             129 sound/pci/sis7019.c 	struct voice voices[64];
voice             130 sound/pci/sis7019.c 	struct voice capture_voice;
voice             199 sound/pci/sis7019.c 	void __iomem *base = voice->ctrl_base;
voice             201 sound/pci/sis7019.c 	voice->sso += period;
voice             202 sound/pci/sis7019.c 	if (voice->sso >= voice->buffer_size)
voice             203 sound/pci/sis7019.c 		voice->sso -= voice->buffer_size;
voice             206 sound/pci/sis7019.c 	if (voice->sso < 8)
voice             207 sound/pci/sis7019.c 		voice->sso = 8;
voice             210 sound/pci/sis7019.c 	writew(voice->sso & 0xffff, base + SIS_PLAY_DMA_SSO_ESO + 2);
voice             215 sound/pci/sis7019.c 	if (voice->flags & VOICE_SSO_TIMING) {
voice             216 sound/pci/sis7019.c 		sis_update_sso(voice, voice->period_size);
voice             217 sound/pci/sis7019.c 	} else if (voice->flags & VOICE_SYNC_TIMING) {
voice             223 sound/pci/sis7019.c 		if (voice->vperiod > voice->period_size) {
voice             224 sound/pci/sis7019.c 			voice->vperiod -= voice->period_size;
voice             225 sound/pci/sis7019.c 			if (voice->vperiod < voice->period_size)
voice             226 sound/pci/sis7019.c 				sis_update_sso(voice, voice->vperiod);
voice             228 sound/pci/sis7019.c 				sis_update_sso(voice, voice->period_size);
voice             237 sound/pci/sis7019.c 		sync = voice->sync_cso;
voice             238 sound/pci/sis7019.c 		sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO);
voice             239 sound/pci/sis7019.c 		if (sync > (voice->sync_buffer_size / 2))
voice             240 sound/pci/sis7019.c 			sync -= voice->sync_buffer_size;
voice             250 sound/pci/sis7019.c 			sis_update_sso(voice, sync);
voice             268 sound/pci/sis7019.c 			voice->vperiod = voice->sync_period_size + 1;
voice             270 sound/pci/sis7019.c 			voice->vperiod = voice->sync_period_size - 4;
voice             272 sound/pci/sis7019.c 		if (voice->vperiod < voice->buffer_size) {
voice             273 sound/pci/sis7019.c 			sis_update_sso(voice, voice->vperiod);
voice             274 sound/pci/sis7019.c 			voice->vperiod = 0;
voice             276 sound/pci/sis7019.c 			sis_update_sso(voice, voice->period_size);
voice             278 sound/pci/sis7019.c 		sync = voice->sync_cso + voice->sync_period_size;
voice             279 sound/pci/sis7019.c 		if (sync >= voice->sync_buffer_size)
voice             280 sound/pci/sis7019.c 			sync -= voice->sync_buffer_size;
voice             281 sound/pci/sis7019.c 		voice->sync_cso = sync;
voice             284 sound/pci/sis7019.c 	snd_pcm_period_elapsed(voice->substream);
voice             294 sound/pci/sis7019.c 		voice += bit;
voice             295 sound/pci/sis7019.c 		sis_update_voice(voice);
voice             296 sound/pci/sis7019.c 		voice++;
voice             304 sound/pci/sis7019.c 	struct voice *voice;
voice             334 sound/pci/sis7019.c 			voice = &sis->capture_voice;
voice             335 sound/pci/sis7019.c 			if (!voice->timing)
voice             336 sound/pci/sis7019.c 				snd_pcm_period_elapsed(voice->substream);
voice             397 sound/pci/sis7019.c 	if (voice->timing) {
voice             399 sound/pci/sis7019.c 		voice->timing->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING |
voice             401 sound/pci/sis7019.c 		voice->timing = NULL;
voice             403 sound/pci/sis7019.c 	voice->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING | VOICE_SYNC_TIMING);
voice             407 sound/pci/sis7019.c static struct voice *__sis_alloc_playback_voice(struct sis7019 *sis)
voice             410 sound/pci/sis7019.c 	struct voice *voice;
voice             414 sound/pci/sis7019.c 		voice = &sis->voices[i];
voice             415 sound/pci/sis7019.c 		if (voice->flags & VOICE_IN_USE)
voice             417 sound/pci/sis7019.c 		voice->flags |= VOICE_IN_USE;
voice             420 sound/pci/sis7019.c 	voice = NULL;
voice             423 sound/pci/sis7019.c 	return voice;
voice             426 sound/pci/sis7019.c static struct voice *sis_alloc_playback_voice(struct sis7019 *sis)
voice             428 sound/pci/sis7019.c 	struct voice *voice;
voice             432 sound/pci/sis7019.c 	voice = __sis_alloc_playback_voice(sis);
voice             435 sound/pci/sis7019.c 	return voice;
voice             443 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             457 sound/pci/sis7019.c 	if (needed && !voice->timing) {
voice             459 sound/pci/sis7019.c 		voice->timing = __sis_alloc_playback_voice(sis);
voice             460 sound/pci/sis7019.c 		if (voice->timing)
voice             463 sound/pci/sis7019.c 		if (!voice->timing)
voice             465 sound/pci/sis7019.c 		voice->timing->substream = substream;
voice             466 sound/pci/sis7019.c 	} else if (!needed && voice->timing) {
voice             467 sound/pci/sis7019.c 		sis_free_voice(sis, voice);
voice             468 sound/pci/sis7019.c 		voice->timing = NULL;
voice             478 sound/pci/sis7019.c 	struct voice *voice;
voice             480 sound/pci/sis7019.c 	voice = sis_alloc_playback_voice(sis);
voice             481 sound/pci/sis7019.c 	if (!voice)
voice             484 sound/pci/sis7019.c 	voice->substream = substream;
voice             485 sound/pci/sis7019.c 	runtime->private_data = voice;
voice             499 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             501 sound/pci/sis7019.c 	sis_free_voice(sis, voice);
voice             520 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             521 sound/pci/sis7019.c 	void __iomem *ctrl_base = voice->ctrl_base;
voice             522 sound/pci/sis7019.c 	void __iomem *wave_base = voice->wave_base;
voice             548 sound/pci/sis7019.c 		voice->flags |= VOICE_SSO_TIMING;
voice             549 sound/pci/sis7019.c 		voice->sso = runtime->period_size - 1;
voice             550 sound/pci/sis7019.c 		voice->period_size = runtime->period_size;
voice             551 sound/pci/sis7019.c 		voice->buffer_size = runtime->buffer_size;
voice             588 sound/pci/sis7019.c 	struct voice *voice;
voice             619 sound/pci/sis7019.c 		voice = s->runtime->private_data;
voice             620 sound/pci/sis7019.c 		if (voice->flags & VOICE_CAPTURE) {
voice             621 sound/pci/sis7019.c 			record |= 1 << voice->num;
voice             622 sound/pci/sis7019.c 			voice = voice->timing;
voice             628 sound/pci/sis7019.c 		if (voice)
voice             629 sound/pci/sis7019.c 			play[voice->num / 32] |= 1 << (voice->num & 0x1f);
voice             655 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             658 sound/pci/sis7019.c 	cso = readl(voice->ctrl_base + SIS_PLAY_DMA_FORMAT_CSO);
voice             667 sound/pci/sis7019.c 	struct voice *voice = &sis->capture_voice;
voice             674 sound/pci/sis7019.c 	if (voice->flags & VOICE_IN_USE)
voice             675 sound/pci/sis7019.c 		voice = NULL;
voice             677 sound/pci/sis7019.c 		voice->flags |= VOICE_IN_USE;
voice             680 sound/pci/sis7019.c 	if (!voice)
voice             683 sound/pci/sis7019.c 	voice->substream = substream;
voice             684 sound/pci/sis7019.c 	runtime->private_data = voice;
voice             723 sound/pci/sis7019.c 	struct voice *timing = voice->timing;
voice             777 sound/pci/sis7019.c 	timing->sync_base = voice->ctrl_base;
voice             824 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             825 sound/pci/sis7019.c 	void __iomem *rec_base = voice->ctrl_base;
voice             848 sound/pci/sis7019.c 	if (voice->timing) {
voice             849 sound/pci/sis7019.c 		sis_prepare_timing_voice(voice, substream);
voice            1292 sound/pci/sis7019.c 	struct voice *voice;
voice            1350 sound/pci/sis7019.c 		voice = &sis->voices[i];
voice            1351 sound/pci/sis7019.c 		voice->num = i;
voice            1352 sound/pci/sis7019.c 		voice->ctrl_base = SIS_PLAY_DMA_ADDR(sis->ioaddr, i);
voice            1353 sound/pci/sis7019.c 		voice->wave_base = SIS_WAVE_ADDR(sis->ioaddr, i);
voice            1356 sound/pci/sis7019.c 	voice = &sis->capture_voice;
voice            1357 sound/pci/sis7019.c 	voice->flags = VOICE_CAPTURE;
voice            1358 sound/pci/sis7019.c 	voice->num = SIS_CAPTURE_CHAN_AC97_PCM_IN;
voice            1359 sound/pci/sis7019.c 	voice->ctrl_base = SIS_CAPTURE_DMA_ADDR(sis->ioaddr, voice->num);
voice              71 sound/pci/trident/trident_main.c 	printk("Trident voice %i:\n", voice);
voice              72 sound/pci/trident/trident_main.c 	outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             302 sound/pci/trident/trident_main.c 	unsigned int mask = 1 << (voice & 0x1f);
voice             303 sound/pci/trident/trident_main.c 	unsigned int reg = (voice & 0x20) ? T4D_START_B : T4D_START_A;
voice             326 sound/pci/trident/trident_main.c 	unsigned int mask = 1 << (voice & 0x1f);
voice             327 sound/pci/trident/trident_main.c 	unsigned int reg = (voice & 0x20) ? T4D_STOP_B : T4D_STOP_A;
voice             450 sound/pci/trident/trident_main.c 	regs[1] = voice->LBA;
voice             451 sound/pci/trident/trident_main.c 	regs[4] = (voice->GVSel << 31) |
voice             452 sound/pci/trident/trident_main.c 		  ((voice->Pan & 0x0000007f) << 24) |
voice             453 sound/pci/trident/trident_main.c 		  ((voice->CTRL & 0x0000000f) << 12);
voice             454 sound/pci/trident/trident_main.c 	FmcRvolCvol = ((voice->FMC & 3) << 14) |
voice             455 sound/pci/trident/trident_main.c 	              ((voice->RVol & 0x7f) << 7) |
voice             456 sound/pci/trident/trident_main.c 	              (voice->CVol & 0x7f);
voice             460 sound/pci/trident/trident_main.c 		regs[4] |= voice->number > 31 ?
voice             461 sound/pci/trident/trident_main.c 				(voice->Vol & 0x000003ff) :
voice             462 sound/pci/trident/trident_main.c 				((voice->Vol & 0x00003fc) << (16-2)) |
voice             463 sound/pci/trident/trident_main.c 				(voice->EC & 0x00000fff);
voice             464 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
voice             465 sound/pci/trident/trident_main.c 			(voice->FMS & 0x0000000f);
voice             466 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
voice             467 sound/pci/trident/trident_main.c 		regs[3] = (voice->Attribute << 16) | FmcRvolCvol;
voice             470 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
voice             471 sound/pci/trident/trident_main.c 			   (voice->EC & 0x00000fff);
voice             472 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
voice             473 sound/pci/trident/trident_main.c 			(voice->FMS & 0x0000000f);
voice             474 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
voice             478 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
voice             479 sound/pci/trident/trident_main.c 			   (voice->EC & 0x00000fff);
voice             480 sound/pci/trident/trident_main.c 		regs[0] = (voice->Delta << 24) | (voice->CSO & 0x00ffffff);
voice             481 sound/pci/trident/trident_main.c 		regs[2] = ((voice->Delta << 16) & 0xff000000) |
voice             482 sound/pci/trident/trident_main.c 			(voice->ESO & 0x00ffffff);
voice             483 sound/pci/trident/trident_main.c 		regs[3] = (voice->Alpha << 20) |
voice             484 sound/pci/trident/trident_main.c 			((voice->FMS & 0x0000000f) << 16) | FmcRvolCvol;
voice             491 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             499 sound/pci/trident/trident_main.c 	printk("written %i channel:\n", voice->number);
voice             526 sound/pci/trident/trident_main.c 	voice->CSO = CSO;
voice             527 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             529 sound/pci/trident/trident_main.c 		outw(voice->CSO, TRID_REG(trident, CH_DX_CSO_ALPHA_FMS) + 2);
voice             531 sound/pci/trident/trident_main.c 		outl((voice->Delta << 24) |
voice             532 sound/pci/trident/trident_main.c 		     (voice->CSO & 0x00ffffff), TRID_REG(trident, CH_NX_DELTA_CSO));
voice             552 sound/pci/trident/trident_main.c 	voice->ESO = ESO;
voice             553 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             555 sound/pci/trident/trident_main.c 		outw(voice->ESO, TRID_REG(trident, CH_DX_ESO_DELTA) + 2);
voice             557 sound/pci/trident/trident_main.c 		outl(((voice->Delta << 16) & 0xff000000) | (voice->ESO & 0x00ffffff),
voice             578 sound/pci/trident/trident_main.c 	voice->Vol = Vol;
voice             579 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             583 sound/pci/trident/trident_main.c 		outb(voice->Vol >> 2, TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC + 2));
voice             587 sound/pci/trident/trident_main.c 		outw((voice->CTRL << 12) | voice->Vol,
voice             609 sound/pci/trident/trident_main.c 	voice->Pan = Pan;
voice             610 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             611 sound/pci/trident/trident_main.c 	outb(((voice->GVSel & 0x01) << 7) | (voice->Pan & 0x7f),
voice             631 sound/pci/trident/trident_main.c 	voice->RVol = RVol;
voice             632 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             633 sound/pci/trident/trident_main.c 	outw(((voice->FMC & 0x0003) << 14) | ((voice->RVol & 0x007f) << 7) |
voice             634 sound/pci/trident/trident_main.c 	     (voice->CVol & 0x007f),
voice             655 sound/pci/trident/trident_main.c 	voice->CVol = CVol;
voice             656 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             657 sound/pci/trident/trident_main.c 	outw(((voice->FMC & 0x0003) << 14) | ((voice->RVol & 0x007f) << 7) |
voice             658 sound/pci/trident/trident_main.c 	     (voice->CVol & 0x007f),
voice             818 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             825 sound/pci/trident/trident_main.c 			if (voice->memblk)
voice             826 sound/pci/trident/trident_main.c 				snd_trident_free_pages(trident, voice->memblk);
voice             827 sound/pci/trident/trident_main.c 			voice->memblk = snd_trident_alloc_pages(trident, substream);
voice             828 sound/pci/trident/trident_main.c 			if (voice->memblk == NULL)
voice             852 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             853 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice             862 sound/pci/trident/trident_main.c 			voice->extra = evoice;
voice             868 sound/pci/trident/trident_main.c 			voice->extra = evoice = NULL;
voice             913 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             914 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
voice             917 sound/pci/trident/trident_main.c 		if (voice && voice->memblk) {
voice             918 sound/pci/trident/trident_main.c 			snd_trident_free_pages(trident, voice->memblk);
voice             919 sound/pci/trident/trident_main.c 			voice->memblk = NULL;
voice             925 sound/pci/trident/trident_main.c 		voice->extra = NULL;
voice             945 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             946 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice             952 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_rate(runtime->rate);
voice             953 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice             956 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice             957 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice             959 sound/pci/trident/trident_main.c 		voice->LBA = runtime->dma_addr;
voice             961 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice             962 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice             963 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice             964 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice             965 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice             966 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice             967 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice             968 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice             969 sound/pci/trident/trident_main.c 	voice->Vol = mix->vol;
voice             970 sound/pci/trident/trident_main.c 	voice->RVol = mix->rvol;
voice             971 sound/pci/trident/trident_main.c 	voice->CVol = mix->cvol;
voice             972 sound/pci/trident/trident_main.c 	voice->Pan = mix->pan;
voice             973 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice             975 sound/pci/trident/trident_main.c 	voice->Attribute = (1<<(30-16))|(2<<(26-16))|
voice             978 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice             981 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice             984 sound/pci/trident/trident_main.c 		evoice->Delta = voice->Delta;
voice             985 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice             986 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice             989 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1048 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1060 sound/pci/trident/trident_main.c 	voice->LBA = runtime->dma_addr;
voice            1061 sound/pci/trident/trident_main.c 	outl(voice->LBA, TRID_REG(trident, LEGACY_DMAR0));
voice            1062 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice            1063 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice            1097 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_rate(runtime->rate);
voice            1098 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1099 sound/pci/trident/trident_main.c 	voice->isync = 1;
voice            1100 sound/pci/trident/trident_main.c 	voice->isync_mark = runtime->period_size;
voice            1101 sound/pci/trident/trident_main.c 	voice->isync_max = runtime->buffer_size;
voice            1104 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1105 sound/pci/trident/trident_main.c 	voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1;
voice            1106 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1107 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice            1108 sound/pci/trident/trident_main.c 	voice->RVol = 0x7f;
voice            1109 sound/pci/trident/trident_main.c 	voice->CVol = 0x7f;
voice            1110 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1111 sound/pci/trident/trident_main.c 	voice->Pan = 0x7f;		/* mute */
voice            1112 sound/pci/trident/trident_main.c 	voice->Vol = 0x3ff;		/* mute */
voice            1113 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1114 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1115 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1116 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice            1118 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1162 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1163 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
voice            1168 sound/pci/trident/trident_main.c 		voice->extra = NULL;
voice            1188 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1189 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1193 sound/pci/trident/trident_main.c 	voice->LBA = runtime->dma_addr;
voice            1194 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_adc_rate(runtime->rate);
voice            1195 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1198 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1199 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;		/* in samples */
voice            1200 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1201 sound/pci/trident/trident_main.c 	voice->FMC = 0;
voice            1202 sound/pci/trident/trident_main.c 	voice->RVol = 0;
voice            1203 sound/pci/trident/trident_main.c 	voice->CVol = 0;
voice            1204 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1205 sound/pci/trident/trident_main.c 	voice->Pan = T4D_DEFAULT_PCM_PAN;
voice            1206 sound/pci/trident/trident_main.c 	voice->Vol = 0;
voice            1207 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1208 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1209 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1211 sound/pci/trident/trident_main.c 	voice->Attribute = (2 << (30-16)) |
voice            1216 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1220 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice            1221 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice            1224 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1259 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1260 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1265 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice            1266 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice            1268 sound/pci/trident/trident_main.c 		voice->LBA = runtime->dma_addr;
voice            1271 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice            1274 sound/pci/trident/trident_main.c 	voice->Delta = 0x1000;
voice            1275 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size);
voice            1277 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1278 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1279 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice            1280 sound/pci/trident/trident_main.c 	voice->RVol = 0x7f;
voice            1281 sound/pci/trident/trident_main.c 	voice->CVol = 0x7f;
voice            1282 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1283 sound/pci/trident/trident_main.c 	voice->Pan = 0x7f;	/* mute */
voice            1284 sound/pci/trident/trident_main.c 	voice->Vol = 0x3ff;	/* mute */
voice            1285 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1286 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1287 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1288 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice            1291 sound/pci/trident/trident_main.c 	outb(((voice->number & 0x3f) | 0x80), TRID_REG(trident, T4D_RCI + voice->foldback_chan));
voice            1293 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1296 sound/pci/trident/trident_main.c 		evoice->Delta = voice->Delta;
voice            1297 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice            1298 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice            1301 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1402 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1403 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1413 sound/pci/trident/trident_main.c 		voice->Delta = snd_trident_convert_rate(runtime->rate);
voice            1414 sound/pci/trident/trident_main.c 		voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1418 sound/pci/trident/trident_main.c 		if (voice->memblk)
voice            1419 sound/pci/trident/trident_main.c 			voice->LBA = voice->memblk->offset;
voice            1421 sound/pci/trident/trident_main.c 			voice->LBA = LBAO;
voice            1423 sound/pci/trident/trident_main.c 		voice->isync = 1;
voice            1424 sound/pci/trident/trident_main.c 		voice->isync3 = 1;
voice            1425 sound/pci/trident/trident_main.c 		voice->isync_mark = runtime->period_size;
voice            1426 sound/pci/trident/trident_main.c 		voice->isync_max = runtime->buffer_size;
voice            1430 sound/pci/trident/trident_main.c 		voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1;
voice            1433 sound/pci/trident/trident_main.c 		voice->CTRL = snd_trident_control_mode(substream);
voice            1435 sound/pci/trident/trident_main.c 		voice->FMC = 3;
voice            1436 sound/pci/trident/trident_main.c 		voice->RVol = 0x7f;
voice            1437 sound/pci/trident/trident_main.c 		voice->CVol = 0x7f;
voice            1438 sound/pci/trident/trident_main.c 		voice->GVSel = 1;
voice            1439 sound/pci/trident/trident_main.c 		voice->Pan = 0x7f;
voice            1440 sound/pci/trident/trident_main.c 		voice->Vol = 0x3ff;
voice            1441 sound/pci/trident/trident_main.c 		voice->EC = 0;
voice            1442 sound/pci/trident/trident_main.c 		voice->CSO = 0;
voice            1443 sound/pci/trident/trident_main.c 		voice->Alpha = 0;
voice            1444 sound/pci/trident/trident_main.c 		voice->FMS = 0;
voice            1445 sound/pci/trident/trident_main.c 		voice->Attribute = 0;
voice            1448 sound/pci/trident/trident_main.c 		snd_trident_write_voice_regs(trident, voice);
voice            1453 sound/pci/trident/trident_main.c 		outw((voice->CSO & 0xffff), TRID_REG(trident, NX_SPCTRL_SPCSO));
voice            1454 sound/pci/trident/trident_main.c 		outb((voice->CSO >> 16), TRID_REG(trident, NX_SPCTRL_SPCSO + 2));
voice            1463 sound/pci/trident/trident_main.c 		voice->Delta = 0x800;
voice            1464 sound/pci/trident/trident_main.c 		voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size);
voice            1467 sound/pci/trident/trident_main.c 		if (voice->memblk)
voice            1468 sound/pci/trident/trident_main.c 			voice->LBA = voice->memblk->offset;
voice            1470 sound/pci/trident/trident_main.c 			voice->LBA = runtime->dma_addr;
voice            1472 sound/pci/trident/trident_main.c 		voice->CSO = 0;
voice            1473 sound/pci/trident/trident_main.c 		voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice            1474 sound/pci/trident/trident_main.c 		voice->CTRL = snd_trident_control_mode(substream);
voice            1475 sound/pci/trident/trident_main.c 		voice->FMC = 3;
voice            1476 sound/pci/trident/trident_main.c 		voice->GVSel = 1;
voice            1477 sound/pci/trident/trident_main.c 		voice->EC = 0;
voice            1478 sound/pci/trident/trident_main.c 		voice->Alpha = 0;
voice            1479 sound/pci/trident/trident_main.c 		voice->FMS = 0;
voice            1480 sound/pci/trident/trident_main.c 		voice->Vol = mix->vol;
voice            1481 sound/pci/trident/trident_main.c 		voice->RVol = mix->rvol;
voice            1482 sound/pci/trident/trident_main.c 		voice->CVol = mix->cvol;
voice            1483 sound/pci/trident/trident_main.c 		voice->Pan = mix->pan;
voice            1484 sound/pci/trident/trident_main.c 		voice->Attribute = (1<<(30-16))|(7<<(26-16))|
voice            1487 sound/pci/trident/trident_main.c 		snd_trident_write_voice_regs(trident, voice);
voice            1490 sound/pci/trident/trident_main.c 			evoice->Delta = voice->Delta;
voice            1491 sound/pci/trident/trident_main.c 			evoice->spurious_threshold = voice->spurious_threshold;
voice            1492 sound/pci/trident/trident_main.c 			evoice->LBA = voice->LBA;
voice            1495 sound/pci/trident/trident_main.c 			evoice->CTRL = voice->CTRL;
voice            1544 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice, *evoice;
voice            1566 sound/pci/trident/trident_main.c 			voice = s->runtime->private_data;
voice            1567 sound/pci/trident/trident_main.c 			evoice = voice->extra;
voice            1568 sound/pci/trident/trident_main.c 			what |= 1 << (voice->number & 0x1f);
voice            1570 sound/pci/trident/trident_main.c 				whati |= 1 << (voice->number & 0x1f);
voice            1578 sound/pci/trident/trident_main.c 				voice->running = 1;
voice            1579 sound/pci/trident/trident_main.c 				voice->stimer = val;
voice            1581 sound/pci/trident/trident_main.c 				voice->running = 0;
voice            1584 sound/pci/trident/trident_main.c 			if (voice->capture)
voice            1586 sound/pci/trident/trident_main.c 			if (voice->spdif)
voice            1640 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1643 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1648 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice            1679 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1682 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1709 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1712 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1841 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1844 sound/pci/trident/trident_main.c 	if (voice) {
voice            1845 sound/pci/trident/trident_main.c 		trident = voice->trident;
voice            1846 sound/pci/trident/trident_main.c 		snd_trident_free_voice(trident, voice);
voice            1854 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1856 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1857 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1859 sound/pci/trident/trident_main.c 	snd_trident_pcm_mixer_build(trident, voice, substream);
voice            1860 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1861 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            1882 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1884 sound/pci/trident/trident_main.c 	snd_trident_pcm_mixer_free(trident, voice, substream);
voice            1902 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1905 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1906 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1908 sound/pci/trident/trident_main.c 	voice->spdif = 1;
voice            1909 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1914 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            1981 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1984 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1985 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1987 sound/pci/trident/trident_main.c 	voice->capture = 1;
voice            1988 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1989 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            2025 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            2028 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            2029 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            2031 sound/pci/trident/trident_main.c 	voice->foldback_chan = substream->number;
voice            2032 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            2033 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            2052 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            2054 sound/pci/trident/trident_main.c 	voice = runtime->private_data;
voice            2058 sound/pci/trident/trident_main.c 	outb(0x00, TRID_REG(trident, T4D_RCI + voice->foldback_chan));
voice            2706 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2707 sound/pci/trident/trident_main.c 		snd_trident_write_vol_reg(trident, mix->voice, val);
voice            2770 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2771 sound/pci/trident/trident_main.c 		snd_trident_write_pan_reg(trident, mix->voice, val);
voice            2825 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2826 sound/pci/trident/trident_main.c 		snd_trident_write_rvol_reg(trident, mix->voice, val);
voice            2883 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2884 sound/pci/trident/trident_main.c 		snd_trident_write_cvol_reg(trident, mix->voice, val);
voice            2934 sound/pci/trident/trident_main.c 	if (snd_BUG_ON(!trident || !voice || !substream))
voice            2937 sound/pci/trident/trident_main.c 	tmix->voice = voice;
voice            2953 sound/pci/trident/trident_main.c 	tmix->voice = NULL;
voice            3039 sound/pci/trident/trident_main.c 		tmix->voice = NULL;
voice            3545 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            3645 sound/pci/trident/trident_main.c 		voice = &trident->synth.voices[i];
voice            3646 sound/pci/trident/trident_main.c 		voice->number = i;
voice            3647 sound/pci/trident/trident_main.c 		voice->trident = trident;
voice            3728 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            3749 sound/pci/trident/trident_main.c 			voice = &trident->synth.voices[channel];
voice            3750 sound/pci/trident/trident_main.c 			if (!voice->pcm || voice->substream == NULL) {
voice            3754 sound/pci/trident/trident_main.c 			delta = (int)stimer - (int)voice->stimer;
voice            3757 sound/pci/trident/trident_main.c 			if ((unsigned int)delta < voice->spurious_threshold) {
voice            3764 sound/pci/trident/trident_main.c 			voice->stimer = stimer;
voice            3765 sound/pci/trident/trident_main.c 			if (voice->isync) {
voice            3766 sound/pci/trident/trident_main.c 				if (!voice->isync3) {
voice            3771 sound/pci/trident/trident_main.c 						tmp = voice->isync_max - tmp;
voice            3775 sound/pci/trident/trident_main.c 				if (tmp < voice->isync_mark) {
voice            3777 sound/pci/trident/trident_main.c 						tmp = voice->isync_ESO - 7;
voice            3779 sound/pci/trident/trident_main.c 						tmp = voice->isync_ESO + 2;
voice            3781 sound/pci/trident/trident_main.c 					snd_trident_stop_voice(trident, voice->number);
voice            3782 sound/pci/trident/trident_main.c 					snd_trident_write_eso_reg(trident, voice, tmp);
voice            3783 sound/pci/trident/trident_main.c 					snd_trident_start_voice(trident, voice->number);
voice            3785 sound/pci/trident/trident_main.c 			} else if (voice->isync2) {
voice            3786 sound/pci/trident/trident_main.c 				voice->isync2 = 0;
voice            3788 sound/pci/trident/trident_main.c 				snd_trident_stop_voice(trident, voice->number);
voice            3789 sound/pci/trident/trident_main.c 				snd_trident_write_cso_reg(trident, voice, voice->isync_mark);
voice            3790 sound/pci/trident/trident_main.c 				snd_trident_write_eso_reg(trident, voice, voice->ESO);
voice            3791 sound/pci/trident/trident_main.c 				snd_trident_start_voice(trident, voice->number);
voice            3794 sound/pci/trident/trident_main.c 			if (voice->extra) {
voice            3796 sound/pci/trident/trident_main.c 				snd_trident_stop_voice(trident, voice->extra->number);
voice            3797 sound/pci/trident/trident_main.c 				snd_trident_write_cso_reg(trident, voice->extra, 0);
voice            3798 sound/pci/trident/trident_main.c 				snd_trident_start_voice(trident, voice->extra->number);
voice            3802 sound/pci/trident/trident_main.c 			snd_pcm_period_elapsed(voice->substream);
voice            3872 sound/pci/trident/trident_main.c 	if (voice == NULL || !voice->use)
voice            3874 sound/pci/trident/trident_main.c 	snd_trident_clear_voices(trident, voice->number, voice->number);
voice            3876 sound/pci/trident/trident_main.c 	private_free = voice->private_free;
voice            3877 sound/pci/trident/trident_main.c 	private_data = voice->private_data;
voice            3878 sound/pci/trident/trident_main.c 	voice->private_free = NULL;
voice            3879 sound/pci/trident/trident_main.c 	voice->private_data = NULL;
voice            3880 sound/pci/trident/trident_main.c 	if (voice->pcm)
voice            3881 sound/pci/trident/trident_main.c 		snd_trident_free_pcm_channel(trident, voice->number);
voice            3882 sound/pci/trident/trident_main.c 	if (voice->synth)
voice            3883 sound/pci/trident/trident_main.c 		snd_trident_free_synth_channel(trident, voice->number);
voice            3884 sound/pci/trident/trident_main.c 	voice->use = voice->pcm = voice->synth = voice->midi = 0;
voice            3885 sound/pci/trident/trident_main.c 	voice->capture = voice->spdif = 0;
voice            3886 sound/pci/trident/trident_main.c 	voice->sample_ops = NULL;
voice            3887 sound/pci/trident/trident_main.c 	voice->substream = NULL;
voice            3888 sound/pci/trident/trident_main.c 	voice->extra = NULL;
voice            3891 sound/pci/trident/trident_main.c 		private_free(voice);
voice             221 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice, *voice2;
voice             226 sound/pci/ymfpci/ymfpci_main.c 		voice = &chip->voices[idx];
voice             228 sound/pci/ymfpci/ymfpci_main.c 		if (voice->use || (voice2 && voice2->use))
voice             230 sound/pci/ymfpci/ymfpci_main.c 		voice->use = 1;
voice             235 sound/pci/ymfpci/ymfpci_main.c 			voice->pcm = 1;
voice             240 sound/pci/ymfpci/ymfpci_main.c 			voice->synth = 1;
voice             243 sound/pci/ymfpci/ymfpci_main.c 			voice->midi = 1;
voice             249 sound/pci/ymfpci/ymfpci_main.c 		*rvoice = voice;
voice             307 sound/pci/ymfpci/ymfpci_main.c 	if ((ypcm = voice->ypcm) == NULL)
voice             313 sound/pci/ymfpci/ymfpci_main.c 		pos = le32_to_cpu(voice->bank[chip->active_bank].start);
voice             334 sound/pci/ymfpci/ymfpci_main.c 			bank = &voice->bank[next_bank];
voice             489 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice = ypcm->voices[voiceidx];
voice             500 sound/pci/ymfpci/ymfpci_main.c 	if (snd_BUG_ON(!voice))
voice             525 sound/pci/ymfpci/ymfpci_main.c 				   ypcm->chip->src441_used == voice->number)) {
voice             526 sound/pci/ymfpci/ymfpci_main.c 		ypcm->chip->src441_used = voice->number;
voice             530 sound/pci/ymfpci/ymfpci_main.c 	if (ypcm->chip->src441_used == voice->number &&
voice             539 sound/pci/ymfpci/ymfpci_main.c 		bank = &voice->bank[nbank];
voice             752 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice = ypcm->voices[0];
voice             754 sound/pci/ymfpci/ymfpci_main.c 	if (!(ypcm->running && voice))
voice             756 sound/pci/ymfpci/ymfpci_main.c 	return le32_to_cpu(voice->bank[chip->active_bank].start);
voice             790 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice;
voice             797 sound/pci/ymfpci/ymfpci_main.c 			voice = &chip->voices[nvoice];
voice             798 sound/pci/ymfpci/ymfpci_main.c 			if (voice->interrupt)
voice             799 sound/pci/ymfpci/ymfpci_main.c 				voice->interrupt(chip, voice);
voice            2076 sound/pci/ymfpci/ymfpci_main.c 	int voice, bank, reg;
voice            2106 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_PLAYBACK_VOICES; voice++) {
voice            2107 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].number = voice;
voice            2108 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].bank = (struct snd_ymfpci_playback_bank *)ptr;
voice            2109 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].bank_addr = ptr_addr;
voice            2111 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_playback[voice][bank] = (struct snd_ymfpci_playback_bank *)ptr;
voice            2120 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_CAPTURE_VOICES; voice++)
voice            2122 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_capture[voice][bank] = (struct snd_ymfpci_capture_bank *)ptr;
voice            2130 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_EFFECT_VOICES; voice++)
voice            2132 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_effect[voice][bank] = (struct snd_ymfpci_effect_bank *)ptr;
voice             895 sound/soc/codecs/wm8753.c 	u16 voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x01ec;
voice             900 sound/soc/codecs/wm8753.c 		voice |= 0x0002;
voice             905 sound/soc/codecs/wm8753.c 		voice |= 0x0001;
voice             908 sound/soc/codecs/wm8753.c 		voice |= 0x0003;
voice             911 sound/soc/codecs/wm8753.c 		voice |= 0x0013;
voice             917 sound/soc/codecs/wm8753.c 	wm8753_write(codec, WM8753_PCM, voice);
voice             931 sound/soc/codecs/wm8753.c 	u16 voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x01f3;
voice             939 sound/soc/codecs/wm8753.c 		voice |= 0x0004;
voice             942 sound/soc/codecs/wm8753.c 		voice |= 0x0008;
voice             945 sound/soc/codecs/wm8753.c 		voice |= 0x000c;
voice             954 sound/soc/codecs/wm8753.c 	wm8753_write(codec, WM8753_PCM, voice);
voice             965 sound/soc/codecs/wm8753.c 	u16 voice, ioctl;
voice             967 sound/soc/codecs/wm8753.c 	voice = wm8753_read_reg_cache(codec, WM8753_PCM) & 0x011f;
voice             977 sound/soc/codecs/wm8753.c 		voice |= 0x0040;
voice             992 sound/soc/codecs/wm8753.c 			voice |= 0x0080;
voice            1001 sound/soc/codecs/wm8753.c 		voice &= ~0x0010;
voice            1006 sound/soc/codecs/wm8753.c 			voice |= 0x0090;
voice            1009 sound/soc/codecs/wm8753.c 			voice |= 0x0080;
voice            1012 sound/soc/codecs/wm8753.c 			voice |= 0x0010;
voice            1022 sound/soc/codecs/wm8753.c 	wm8753_write(codec, WM8753_PCM, voice);
voice             345 sound/synth/emux/emux_oss.c 	int voice;
voice             351 sound/synth/emux/emux_oss.c 	voice = event[3];
voice             352 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
voice             355 sound/synth/emux/emux_oss.c 		chan = &port->chset.channels[voice];
voice             383 sound/synth/emux/emux_oss.c 		fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop);
voice             386 sound/synth/emux/emux_oss.c 		fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop);
voice             440 sound/synth/emux/emux_oss.c 	int voice;
voice             450 sound/synth/emux/emux_oss.c 	voice = event[3];
voice             451 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
voice             454 sound/synth/emux/emux_oss.c 	chan = &port->chset.channels[voice];
voice             956 sound/synth/emux/emux_synth.c 	if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
voice             957 sound/synth/emux/emux_synth.c 		emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
voice             960 sound/synth/emux/emux_synth.c 			   voice, emu->voices[voice].state);
voice             973 sound/synth/emux/emux_synth.c 	if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
voice             974 sound/synth/emux/emux_synth.c 		emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
voice             977 sound/synth/emux/emux_synth.c 			   voice, emu->voices[voice].state);