voice              53 drivers/staging/speakup/speakup_apollo.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice              67 drivers/staging/speakup/speakup_decext.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice             163 drivers/staging/speakup/speakup_decpc.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice              69 drivers/staging/speakup/speakup_dectlk.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice              72 drivers/staging/speakup/speakup_dtlk.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice              53 drivers/staging/speakup/speakup_ltlk.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice              69 drivers/staging/speakup/speakup_soft.c 	__ATTR(voice, 0644, spk_var_show, spk_var_store);
voice            1816 include/sound/emu10k1.h void snd_emu10k1_voice_init(struct snd_emu10k1 * emu, int voice);
voice             226 include/sound/emux_synth.h void snd_emux_lock_voice(struct snd_emux *emu, int voice);
voice             227 include/sound/emux_synth.h void snd_emux_unlock_voice(struct snd_emux *emu, int voice);
voice             250 include/sound/gus.h 	void (*handler_wave) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             251 include/sound/gus.h 	void (*handler_volume) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             252 include/sound/gus.h 	void (*handler_effect) (struct snd_gus_card * gus, struct snd_gus_voice * voice);
voice             277 include/sound/gus.h 	void (*private_free)(struct snd_gus_voice *voice);
voice             436 include/sound/gus.h static inline void snd_gf1_select_voice(struct snd_gus_card * gus, int voice)
voice             441 include/sound/gus.h 	if (voice != gus->gf1.active_voice) {
voice             442 include/sound/gus.h 		gus->gf1.active_voice = voice;
voice             443 include/sound/gus.h 		outb(voice, GUSP(gus, GF1PAGE));
voice             517 include/sound/gus.h extern irqreturn_t snd_gf1_lfo_effect_interrupt(struct snd_gus_card * gus, snd_gf1_voice_t * voice);
voice             521 include/sound/gus.h extern void snd_gf1_lfo_program(struct snd_gus_card * gus, int voice, int lfo_type, struct _SND_IW_LFO_PROGRAM *program);
voice             522 include/sound/gus.h extern void snd_gf1_lfo_enable(struct snd_gus_card * gus, int voice, int lfo_type);
voice             523 include/sound/gus.h extern void snd_gf1_lfo_disable(struct snd_gus_card * gus, int voice, int lfo_type);
voice             524 include/sound/gus.h extern void snd_gf1_lfo_change_freq(struct snd_gus_card * gus, int voice, int lfo_type, int freq);
voice             525 include/sound/gus.h extern void snd_gf1_lfo_change_depth(struct snd_gus_card * gus, int voice, int lfo_type, int depth);
voice             526 include/sound/gus.h extern void snd_gf1_lfo_setup(struct snd_gus_card * gus, int voice, int lfo_type, int freq, int current_depth, int depth, int sweep, int shape);
voice             527 include/sound/gus.h extern void snd_gf1_lfo_shutdown(struct snd_gus_card * gus, int voice, int lfo_type);
voice             529 include/sound/gus.h extern void snd_gf1_lfo_command(struct snd_gus_card * gus, int voice, unsigned char *command);
voice             565 include/sound/gus.h void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice);
voice             566 include/sound/gus.h void snd_gf1_stop_voice(struct snd_gus_card * gus, unsigned short voice);
voice             569 include/sound/gus.h void snd_gf1_free_voice(struct snd_gus_card * gus, struct snd_gus_voice *voice);
voice            1205 include/uapi/linux/soundcard.h #define SEQ_V2_X_CONTROL(dev, voice, controller, value)	{_SEQ_NEEDBUF(8);\
voice            1209 include/uapi/linux/soundcard.h 					_seqbuf[_seqbufptr+3] = (voice);\
voice            1219 include/uapi/linux/soundcard.h #define SEQ_PITCHBEND(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER, value)
voice            1220 include/uapi/linux/soundcard.h #define SEQ_BENDER_RANGE(dev, voice, value) SEQ_V2_X_CONTROL(dev, voice, CTRL_PITCH_BENDER_RANGE, value)
voice            1221 include/uapi/linux/soundcard.h #define SEQ_EXPRESSION(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_EXPRESSION, value*128)
voice            1222 include/uapi/linux/soundcard.h #define SEQ_MAIN_VOLUME(dev, voice, value) SEQ_CONTROL(dev, voice, CTL_MAIN_VOLUME, (value*16383)/100)
voice            1223 include/uapi/linux/soundcard.h #define SEQ_PANNING(dev, voice, pos) SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2)
voice              76 include/uapi/linux/ultrasound.h #define _GUS_CMD(chn, voice, cmd, p1, p2) \
voice              79 include/uapi/linux/ultrasound.h 					_seqbuf[_seqbufptr+3] = voice;\
voice              85 include/uapi/linux/ultrasound.h #define GUS_VOICESAMPLE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICESAMPLE, (p1), 0)	/* OBSOLETE */
voice              86 include/uapi/linux/ultrasound.h #define GUS_VOICEON(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEON, (p1), 0)
voice              87 include/uapi/linux/ultrasound.h #define GUS_VOICEOFF(chn, voice)		_GUS_CMD(chn, voice, _GUS_VOICEOFF, 0, 0)
voice              88 include/uapi/linux/ultrasound.h #define GUS_VOICEFADE(chn, voice)		_GUS_CMD(chn, voice, _GUS_VOICEFADE, 0, 0)
voice              89 include/uapi/linux/ultrasound.h #define GUS_VOICEMODE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEMODE, (p1), 0)
voice              90 include/uapi/linux/ultrasound.h #define GUS_VOICEBALA(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEBALA, (p1), 0)
voice              91 include/uapi/linux/ultrasound.h #define GUS_VOICEFREQ(chn, voice, p)		_GUS_CMD(chn, voice, _GUS_VOICEFREQ, \
voice              93 include/uapi/linux/ultrasound.h #define GUS_VOICEVOL(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEVOL, (p1), 0)
voice              94 include/uapi/linux/ultrasound.h #define GUS_VOICEVOL2(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_VOICEVOL2, (p1), 0)
voice              95 include/uapi/linux/ultrasound.h #define GUS_RAMPRANGE(chn, voice, low, high)	_GUS_CMD(chn, voice, _GUS_RAMPRANGE, (low), (high))
voice              96 include/uapi/linux/ultrasound.h #define GUS_RAMPRATE(chn, voice, p1, p2)	_GUS_CMD(chn, voice, _GUS_RAMPRATE, (p1), (p2))
voice              97 include/uapi/linux/ultrasound.h #define GUS_RAMPMODE(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_RAMPMODE, (p1), 0)
voice              98 include/uapi/linux/ultrasound.h #define GUS_RAMPON(chn, voice, p1)		_GUS_CMD(chn, voice, _GUS_RAMPON, (p1), 0)
voice              99 include/uapi/linux/ultrasound.h #define GUS_RAMPOFF(chn, voice)			_GUS_CMD(chn, voice, _GUS_RAMPOFF, 0, 0)
voice             100 include/uapi/linux/ultrasound.h #define GUS_VOLUME_SCALE(chn, voice, p1, p2)	_GUS_CMD(chn, voice, _GUS_VOLUME_SCALE, (p1), (p2))
voice             101 include/uapi/linux/ultrasound.h #define GUS_VOICE_POS(chn, voice, p)		_GUS_CMD(chn, voice, _GUS_VOICE_POS, \
voice              44 include/uapi/sound/asound_fm.h 	unsigned char voice;		/* FM voice (0 to 17) */
voice              72 include/uapi/sound/asound_fm.h 	unsigned char voice;	/* 0-17 voice channel */
voice             798 net/bluetooth/sco.c 	struct bt_voice voice;
voice             831 net/bluetooth/sco.c 		voice.setting = sco_pi(sk)->setting;
voice             833 net/bluetooth/sco.c 		len = min_t(unsigned int, sizeof(voice), optlen);
voice             834 net/bluetooth/sco.c 		if (copy_from_user((char *)&voice, optval, len)) {
voice             840 net/bluetooth/sco.c 		if (voice.setting != BT_VOICE_TRANSPARENT &&
voice             841 net/bluetooth/sco.c 		    voice.setting != BT_VOICE_CVSD_16BIT) {
voice             846 net/bluetooth/sco.c 		sco_pi(sk)->setting = voice.setting;
voice             924 net/bluetooth/sco.c 	struct bt_voice voice;
voice             951 net/bluetooth/sco.c 		voice.setting = sco_pi(sk)->setting;
voice             953 net/bluetooth/sco.c 		len = min_t(unsigned int, len, sizeof(voice));
voice             954 net/bluetooth/sco.c 		if (copy_to_user(optval, (char *)&voice, len))
voice              33 sound/drivers/opl3/opl3_drums.c 	int voice;
voice              44 sound/drivers/opl3/opl3_drums.c 	int voice;
voice              70 sound/drivers/opl3/opl3_drums.c 	unsigned char op_offset = snd_opl3_regmap[data->voice][data->op];
voice              71 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             105 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             124 sound/drivers/opl3/opl3_drums.c 	unsigned char op_offset = snd_opl3_regmap[data->voice][data->op];
voice             125 sound/drivers/opl3/opl3_drums.c 	unsigned char voice_offset = data->voice;
voice             110 sound/drivers/opl3/opl3_midi.c static void debug_alloc(struct snd_opl3 *opl3, char *s, int voice) {
voice             114 sound/drivers/opl3/opl3_midi.c 	printk(KERN_DEBUG "time %.5i: %s [%.2i]: ", opl3->use_time, s, voice);
voice             145 sound/drivers/opl3/opl3_midi.c 		int voice;
voice             151 sound/drivers/opl3/opl3_midi.c 		best[i].voice = -1;
voice             200 sound/drivers/opl3/opl3_midi.c 			bp->voice = i;
voice             205 sound/drivers/opl3/opl3_midi.c 		if (best[i].voice >= 0) {
voice             209 sound/drivers/opl3/opl3_midi.c 			       best[i].voice);
voice             211 sound/drivers/opl3/opl3_midi.c 			return best[i].voice;
voice             281 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             369 sound/drivers/opl3/opl3_midi.c 		voice = opl3_get_voice(opl3, instr_4op, chan);
voice             372 sound/drivers/opl3/opl3_midi.c 		voice = snd_opl3_oss_map[chan->number];		
voice             375 sound/drivers/opl3/opl3_midi.c 	if (voice < 0) {
voice             380 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             383 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             388 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             393 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             400 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             536 sound/drivers/opl3/opl3_midi.c 	opl3->voices[voice].keyon_reg = blocknum;
voice             542 sound/drivers/opl3/opl3_midi.c 	snd_printk(KERN_DEBUG "  --> trigger voice %i\n", voice);
voice             550 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off = jiffies +
voice             553 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off_check = 1;
voice             555 sound/drivers/opl3/opl3_midi.c 		opl3->voices[voice].note_off_check = 0;
voice             568 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             576 sound/drivers/opl3/opl3_midi.c 			vp2 = &opl3->voices[voice + 3];
voice             584 sound/drivers/opl3/opl3_midi.c 	debug_alloc(opl3, "note on ", voice);
voice             605 sound/drivers/opl3/opl3_midi.c static void snd_opl3_kill_voice(struct snd_opl3 *opl3, int voice)
voice             613 sound/drivers/opl3/opl3_midi.c 	if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
voice             616 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             617 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             620 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             624 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             629 sound/drivers/opl3/opl3_midi.c 	snd_printk(KERN_DEBUG "  --> kill voice %i\n", voice);
voice             639 sound/drivers/opl3/opl3_midi.c 		vp2 = &opl3->voices[voice + 3];
voice             646 sound/drivers/opl3/opl3_midi.c 	debug_alloc(opl3, "note off", voice);
voice             659 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             676 sound/drivers/opl3/opl3_midi.c 		for (voice = 0; voice < opl3->max_voices; voice++) {
voice             677 sound/drivers/opl3/opl3_midi.c 			vp = &opl3->voices[voice];
voice             679 sound/drivers/opl3/opl3_midi.c 				snd_opl3_kill_voice(opl3, voice);
voice             685 sound/drivers/opl3/opl3_midi.c 			voice = snd_opl3_oss_map[chan->number];		
voice             686 sound/drivers/opl3/opl3_midi.c 			snd_opl3_kill_voice(opl3, voice);
voice             724 sound/drivers/opl3/opl3_midi.c static void snd_opl3_update_pitch(struct snd_opl3 *opl3, int voice)
voice             734 sound/drivers/opl3/opl3_midi.c 	if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
voice             737 sound/drivers/opl3/opl3_midi.c 	vp = &opl3->voices[voice];
voice             741 sound/drivers/opl3/opl3_midi.c 	if (voice < MAX_OPL2_VOICES) {
voice             744 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice;
voice             748 sound/drivers/opl3/opl3_midi.c 		voice_offset = voice - MAX_OPL2_VOICES;
voice             774 sound/drivers/opl3/opl3_midi.c 	int voice;
voice             782 sound/drivers/opl3/opl3_midi.c 		for (voice = 0; voice < opl3->max_voices; voice++) {
voice             783 sound/drivers/opl3/opl3_midi.c 			vp = &opl3->voices[voice];
voice             785 sound/drivers/opl3/opl3_midi.c 				snd_opl3_update_pitch(opl3, voice);
voice             791 sound/drivers/opl3/opl3_midi.c 			voice = snd_opl3_oss_map[chan->number];		
voice             792 sound/drivers/opl3/opl3_midi.c 			snd_opl3_update_pitch(opl3, voice);
voice              61 sound/drivers/opl3/opl3_synth.c static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice);
voice             124 sound/drivers/opl3/opl3_synth.c 			struct snd_dm_fm_voice voice;
voice             125 sound/drivers/opl3/opl3_synth.c 			if (copy_from_user(&voice, argp, sizeof(struct snd_dm_fm_voice)))
voice             127 sound/drivers/opl3/opl3_synth.c 			return snd_opl3_set_voice(opl3, &voice);
voice             398 sound/drivers/opl3/opl3_synth.c 	if (note->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ?
voice             403 sound/drivers/opl3/opl3_synth.c 	if (note->voice < MAX_OPL2_VOICES) {
voice             406 sound/drivers/opl3/opl3_synth.c 		voice_offset = note->voice;
voice             410 sound/drivers/opl3/opl3_synth.c 		voice_offset = note->voice - MAX_OPL2_VOICES;
voice             435 sound/drivers/opl3/opl3_synth.c static int snd_opl3_set_voice(struct snd_opl3 * opl3, struct snd_dm_fm_voice * voice)
voice             445 sound/drivers/opl3/opl3_synth.c 	if (voice->op > 1)
voice             449 sound/drivers/opl3/opl3_synth.c 	if (voice->voice >= ((opl3->fm_mode == SNDRV_DM_FM_MODE_OPL3) ?
voice             454 sound/drivers/opl3/opl3_synth.c 	if (voice->voice < MAX_OPL2_VOICES) {
voice             457 sound/drivers/opl3/opl3_synth.c 		voice_offset = voice->voice;
voice             461 sound/drivers/opl3/opl3_synth.c 		voice_offset = voice->voice - MAX_OPL2_VOICES;
voice             465 sound/drivers/opl3/opl3_synth.c 	voice_op = array_index_nospec(voice->op, 4);
voice             470 sound/drivers/opl3/opl3_synth.c 	if (voice->am)
voice             473 sound/drivers/opl3/opl3_synth.c 	if (voice->vibrato)
voice             476 sound/drivers/opl3/opl3_synth.c 	if (voice->do_sustain)
voice             479 sound/drivers/opl3/opl3_synth.c 	if (voice->kbd_scale)
voice             482 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->harmonic & OPL3_MULTIPLE_MASK;
voice             489 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->scale_level << 6) & OPL3_KSL_MASK;
voice             491 sound/drivers/opl3/opl3_synth.c 	reg_val |= ~voice->volume & OPL3_TOTAL_LEVEL_MASK;
voice             498 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->attack << 4) & OPL3_ATTACK_MASK;
voice             500 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->decay & OPL3_DECAY_MASK;
voice             507 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->sustain << 4) & OPL3_SUSTAIN_MASK;
voice             509 sound/drivers/opl3/opl3_synth.c 	reg_val |= voice->release & OPL3_RELEASE_MASK;
voice             516 sound/drivers/opl3/opl3_synth.c 	reg_val = (voice->feedback << 1) & OPL3_FEEDBACK_MASK;
voice             518 sound/drivers/opl3/opl3_synth.c 	if (voice->connection)
voice             522 sound/drivers/opl3/opl3_synth.c 		if (voice->left)
voice             524 sound/drivers/opl3/opl3_synth.c 		if (voice->right)
voice             532 sound/drivers/opl3/opl3_synth.c 	reg_val = voice->waveform & OPL3_WAVE_SELECT_MASK;
voice             313 sound/drivers/opl4/opl4_synth.c 				 void (*func)(struct snd_opl4 *opl4, struct opl4_voice *voice))
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             334 sound/drivers/opl4/opl4_synth.c 				    void (*func)(struct snd_opl4 *opl4, struct opl4_voice *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             354 sound/drivers/opl4/opl4_synth.c 				void (*func)(struct snd_opl4 *opl4, struct opl4_voice *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             369 sound/drivers/opl4/opl4_synth.c static void snd_opl4_update_volume(struct snd_opl4 *opl4, struct opl4_voice *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             388 sound/drivers/opl4/opl4_synth.c static void snd_opl4_update_pan(struct snd_opl4 *opl4, struct opl4_voice *voice)
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             404 sound/drivers/opl4/opl4_synth.c 					  struct opl4_voice *voice)
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             420 sound/drivers/opl4/opl4_synth.c 				  struct opl4_voice *voice)
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             451 sound/drivers/opl4/opl4_synth.c 					    struct opl4_voice *voice)
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_move_tail(&voice[i]->list, &opl4->on_voices);
voice             508 sound/drivers/opl4/opl4_synth.c 		voice[i]->chan = chan;
voice             509 sound/drivers/opl4/opl4_synth.c 		voice[i]->note = note;
voice             510 sound/drivers/opl4/opl4_synth.c 		voice[i]->velocity = vel & 0x7f;
voice             511 sound/drivers/opl4/opl4_synth.c 		voice[i]->sound = sound[i];
voice             516 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_f_number =
voice             518 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_F_NUMBER + voice[i]->number,
voice             519 sound/drivers/opl4/opl4_synth.c 			       voice[i]->reg_f_number);
voice             520 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_TONE_NUMBER + voice[i]->number,
voice             526 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_misc = OPL4_LFO_RESET_BIT;
voice             527 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_pan(opl4, voice[i]);
voice             528 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_pitch(opl4, voice[i]);
voice             529 sound/drivers/opl4/opl4_synth.c 		voice[i]->level_direct = OPL4_LEVEL_DIRECT_BIT;
voice             530 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_volume(opl4, voice[i]);
voice             540 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_tone_parameters(opl4, voice[i]);
voice             541 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_lfo_vibrato = voice[i]->sound->reg_lfo_vibrato;
voice             542 sound/drivers/opl4/opl4_synth.c 		snd_opl4_update_vibrato_depth(opl4, voice[i]);
voice             547 sound/drivers/opl4/opl4_synth.c 		voice[i]->reg_misc =
voice             548 sound/drivers/opl4/opl4_synth.c 			(voice[i]->reg_misc & 0x1f) | OPL4_KEY_ON_BIT;
voice             549 sound/drivers/opl4/opl4_synth.c 		snd_opl4_write(opl4, OPL4_REG_MISC + voice[i]->number,
voice             550 sound/drivers/opl4/opl4_synth.c 			       voice[i]->reg_misc);
voice             555 sound/drivers/opl4/opl4_synth.c static void snd_opl4_voice_off(struct snd_opl4 *opl4, struct opl4_voice *voice)
voice             557 sound/drivers/opl4/opl4_synth.c 	list_move_tail(&voice->list, &opl4->off_voices);
voice             559 sound/drivers/opl4/opl4_synth.c 	voice->reg_misc &= ~OPL4_KEY_ON_BIT;
voice             560 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc);
voice             570 sound/drivers/opl4/opl4_synth.c static void snd_opl4_terminate_voice(struct snd_opl4 *opl4, struct opl4_voice *voice)
voice             572 sound/drivers/opl4/opl4_synth.c 	list_move_tail(&voice->list, &opl4->off_voices);
voice             574 sound/drivers/opl4/opl4_synth.c 	voice->reg_misc = (voice->reg_misc & ~OPL4_KEY_ON_BIT) | OPL4_DAMP_BIT;
voice             575 sound/drivers/opl4/opl4_synth.c 	snd_opl4_write(opl4, OPL4_REG_MISC + voice->number, voice->reg_misc);
voice             433 sound/isa/gus/gus_io.c 	int voice, ctrl;
voice             435 sound/isa/gus/gus_io.c 	voice = gus->gf1.active_voice;
voice             436 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             437 sound/isa/gus/gus_io.c 	printk(KERN_INFO " -%i- GF1  frequency              = 0x%x\n", voice, snd_gf1_i_read16(gus, 1));
voice             438 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             439 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             440 sound/isa/gus/gus_io.c 	printk(KERN_INFO" -%i- GF1  volume                 = 0x%x\n", voice, snd_gf1_i_read16(gus, 9));
voice             441 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             444 sound/isa/gus/gus_io.c 		printk(KERN_INFO " -%i- GFA1 mode                   = 0x%x\n", voice, mode);
voice             446 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             447 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect volume          = 0x%x\n", voice, snd_gf1_i_read16(gus, 0x16));
voice             448 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             449 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GFA1 effect accumulator     = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x14));
voice             452 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             453 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             454 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             455 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             457 sound/isa/gus/gus_io.c 			printk(KERN_INFO " -%i- GF1  pan                    = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x0c));
voice             459 sound/isa/gus/gus_io.c 		printk(KERN_INFO " -%i- GF1  pan                    = 0x%x\n", voice, snd_gf1_i_read8(gus, 0x0c));
voice              42 sound/isa/gus/gus_irq.c 		unsigned char voice_status, voice;
voice              47 sound/isa/gus/gus_irq.c 			voice = voice_status & 0x1f;
voice              48 sound/isa/gus/gus_irq.c 			_current_ = 1 << voice;
voice              55 sound/isa/gus/gus_irq.c 			       voice, voice_status, inb(GUSP(gus, GF1PAGE)));
voice              57 sound/isa/gus/gus_irq.c 			pvoice = &gus->gf1.voices[voice]; 
voice             102 sound/isa/gus/gus_pcm.c 	unsigned int voice;
voice             121 sound/isa/gus/gus_pcm.c 	for (voice = 0; voice < pcmp->voices; voice++) {
voice             122 sound/isa/gus/gus_pcm.c 		begin = pcmp->memory + voice * (pcmp->dma_size / runtime->channels);
voice             131 sound/isa/gus/gus_pcm.c 		pan = runtime->channels == 2 ? (!voice ? 1 : 14) : 8;
voice             132 sound/isa/gus/gus_pcm.c 		vol = !voice ? gus->gf1.pcm_volume_level_left : gus->gf1.pcm_volume_level_right;
voice             134 sound/isa/gus/gus_pcm.c 		snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             152 sound/isa/gus/gus_pcm.c 	for (voice = 0; voice < pcmp->voices; voice++) {
voice             153 sound/isa/gus/gus_pcm.c 		snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             162 sound/isa/gus/gus_pcm.c 		for (voice = 0; voice < pcmp->voices; voice++) {
voice             163 sound/isa/gus/gus_pcm.c 			snd_gf1_select_voice(gus, pcmp->pvoices[voice]->number);
voice             341 sound/isa/gus/gus_pcm.c static int get_bpos(struct gus_pcm_private *pcmp, int voice, unsigned int pos,
voice             344 sound/isa/gus/gus_pcm.c 	unsigned int bpos = pos + (voice * (pcmp->dma_size / 2));
voice             371 sound/isa/gus/gus_pcm.c 				     int voice, unsigned long pos,
voice             379 sound/isa/gus/gus_pcm.c 	bpos = get_bpos(pcmp, voice, pos, len);
voice             388 sound/isa/gus/gus_pcm.c 					    int voice, unsigned long pos,
voice             396 sound/isa/gus/gus_pcm.c 	bpos = get_bpos(pcmp, voice, pos, len);
voice             404 sound/isa/gus/gus_pcm.c 					int voice, unsigned long pos,
voice             412 sound/isa/gus/gus_pcm.c 	bpos = get_bpos(pcmp, voice, pos, len);
voice             508 sound/isa/gus/gus_pcm.c 	int voice;
voice             516 sound/isa/gus/gus_pcm.c 		voice = pcmp->pvoices[0]->number;
voice             517 sound/isa/gus/gus_pcm.c 		snd_gf1_stop_voices(gus, voice, voice);
voice             519 sound/isa/gus/gus_pcm.c 			voice = pcmp->pvoices[1]->number;
voice             520 sound/isa/gus/gus_pcm.c 			snd_gf1_stop_voices(gus, voice, voice);
voice              41 sound/isa/gus/gus_reset.c static void snd_gf1_default_interrupt_handler_wave_and_volume(struct snd_gus_card * gus, struct snd_gus_voice * voice)
voice              68 sound/isa/gus/gus_reset.c 		struct snd_gus_voice *voice;
voice              70 sound/isa/gus/gus_reset.c 		voice = &gus->gf1.voices[what & 0xffff];
voice              71 sound/isa/gus/gus_reset.c 		voice->handler_wave =
voice              72 sound/isa/gus/gus_reset.c 		voice->handler_volume = snd_gf1_default_interrupt_handler_wave_and_volume;
voice              73 sound/isa/gus/gus_reset.c 		voice->handler_effect = NULL;
voice              74 sound/isa/gus/gus_reset.c 		voice->volume_change = NULL;
voice             114 sound/isa/gus/gus_reset.c void snd_gf1_smart_stop_voice(struct snd_gus_card * gus, unsigned short voice)
voice             119 sound/isa/gus/gus_reset.c 	snd_gf1_select_voice(gus, voice);
voice             121 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             128 sound/isa/gus/gus_reset.c void snd_gf1_stop_voice(struct snd_gus_card * gus, unsigned short voice)
voice             133 sound/isa/gus/gus_reset.c 	snd_gf1_select_voice(gus, voice);
voice             135 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             143 sound/isa/gus/gus_reset.c 	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_VIBRATO);
voice             144 sound/isa/gus/gus_reset.c 	snd_gf1_lfo_shutdown(gus, voice, ULTRA_LFO_TREMOLO);
voice             276 sound/isa/gus/gus_reset.c void snd_gf1_free_voice(struct snd_gus_card * gus, struct snd_gus_voice *voice)
voice             279 sound/isa/gus/gus_reset.c 	void (*private_free)(struct snd_gus_voice *voice);
voice             281 sound/isa/gus/gus_reset.c 	if (voice == NULL || !voice->use)
voice             283 sound/isa/gus/gus_reset.c 	snd_gf1_set_default_handlers(gus, SNDRV_GF1_HANDLER_VOICE | voice->number);
voice             284 sound/isa/gus/gus_reset.c 	snd_gf1_clear_voices(gus, voice->number, voice->number);
voice             286 sound/isa/gus/gus_reset.c 	private_free = voice->private_free;
voice             287 sound/isa/gus/gus_reset.c 	voice->private_free = NULL;
voice             288 sound/isa/gus/gus_reset.c 	voice->private_data = NULL;
voice             289 sound/isa/gus/gus_reset.c 	if (voice->pcm)
voice             291 sound/isa/gus/gus_reset.c 	voice->use = voice->pcm = 0;
voice             292 sound/isa/gus/gus_reset.c 	voice->sample_ops = NULL;
voice             295 sound/isa/gus/gus_reset.c 		private_free(voice);
voice             158 sound/isa/sb/emu8000_callback.c 		int voice;
voice             166 sound/isa/sb/emu8000_callback.c 		best[i].voice = -1;
voice             202 sound/isa/sb/emu8000_callback.c 			bp->voice = i;
voice             207 sound/isa/sb/emu8000_callback.c 		if (best[i].voice >= 0) {
voice             208 sound/isa/sb/emu8000_callback.c 			vp = &emu->voices[best[i].voice];
voice             209 sound/isa/sb/emu8000_callback.c 			vp->ch = best[i].voice;
voice             452 sound/isa/sb/emu8000_pcm.c 			  int voice, unsigned long pos,
voice             458 sound/isa/sb/emu8000_pcm.c 	pos = (pos << 1) + rec->loop_start[voice];
voice             465 sound/isa/sb/emu8000_pcm.c 				 int voice, unsigned long pos,
voice             471 sound/isa/sb/emu8000_pcm.c 	pos = (pos << 1) + rec->loop_start[voice];
voice             479 sound/isa/sb/emu8000_pcm.c 			     int voice, unsigned long pos, unsigned long count)
voice             484 sound/isa/sb/emu8000_pcm.c 	pos = (pos << 1) + rec->loop_start[voice];
voice             520 sound/isa/sb/emu8000_pcm.c 			  int voice, unsigned long pos,
voice             533 sound/isa/sb/emu8000_pcm.c 				 int voice, unsigned long pos,
voice             546 sound/isa/sb/emu8000_pcm.c 			     int voice, unsigned long pos, unsigned long count)
voice              56 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice              95 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 = voice->parm1 = 0xcfb23e2f;
voice              96 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0);
voice              97 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1);
voice             327 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice             331 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 &= 0xff00ffff;
voice             332 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 |= (vol[0] & 0xff) << 0x10;
voice             333 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 &= 0xff00ffff;
voice             334 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 |= (vol[1] & 0xff) << 0x10;
voice             337 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 0), voice->parm0);
voice             338 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 1), voice->parm0);
voice             340 sound/pci/au88x0/au88x0_synth.c 	if (voice->this_1D0 & 4) {
voice             345 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFFFC07F;
voice             346 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (ecx & 0x7f) << 7;
voice             347 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFFFFF80;
voice             348 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (eax & 0x7f);
voice             350 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 &= 0xFFE03FFF;
voice             351 sound/pci/au88x0/au88x0_synth.c 		voice->parm3 |= (eax & 0xFE00) << 5;
voice             354 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex, WT_PARM(wt, 3), voice->parm3);
voice             360 sound/pci/au88x0/au88x0_synth.c 	wt_voice_t *voice = &(vortex->wt_voice[wt]);
voice             389 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 &= 0xffff0001;
voice             390 sound/pci/au88x0/au88x0_synth.c 	voice->parm0 |= (eax & 0x7fff) << 1;
voice             391 sound/pci/au88x0/au88x0_synth.c 	voice->parm1 = voice->parm0 | 1;
voice             395 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 0), voice->parm0);
voice             396 sound/pci/au88x0/au88x0_synth.c 	hwwrite(vortex->mmio, WT_PARM(wt, 1), voice->parm1);
voice              28 sound/pci/au88x0/au88x0_wt.h #define WT_STEREO(voice)	((WT_BAR(voice)+ 0x20 +(((voice)&0x1f)>>1))<<2)	/* 0x0080 */
voice              29 sound/pci/au88x0/au88x0_wt.h #define WT_MUTE(voice)		((WT_BAR(voice)+ 0x40 +((voice)&0x1f))<<2)	/* 0x0100 */
voice              30 sound/pci/au88x0/au88x0_wt.h #define WT_RUN(voice)		((WT_BAR(voice)+ 0x60 +((voice)&0x1f))<<2)	/* 0x0180 */
voice              20 sound/pci/emu10k1/emu10k1_callback.c 	int voice;
voice              90 sound/pci/emu10k1/emu10k1_callback.c 		if (best[i].voice >= 0) {
voice              92 sound/pci/emu10k1/emu10k1_callback.c 			vp = &emu->voices[best[i].voice];
voice             217 sound/pci/emu10k1/emu10k1_callback.c 		best[i].voice = -1;
voice             263 sound/pci/emu10k1/emu10k1_callback.c 			bp->voice = i;
voice             285 sound/pci/emu10k1/emu10k1_callback.c 		if (best[i].voice >= 0) {
voice             286 sound/pci/emu10k1/emu10k1_callback.c 			vp = &emu->voices[best[i].voice];
voice             195 sound/pci/emu10k1/emu10k1x.c 	struct emu10k1x_voice *voice;
voice             349 sound/pci/emu10k1/emu10k1x.c static void snd_emu10k1x_pcm_interrupt(struct emu10k1x *emu, struct emu10k1x_voice *voice)
voice             353 sound/pci/emu10k1/emu10k1x.c 	if ((epcm = voice->epcm) == NULL)
voice             408 sound/pci/emu10k1/emu10k1x.c 	if (! epcm->voice) {
voice             409 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = &epcm->emu->voices[substream->pcm->device];
voice             410 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 1;
voice             411 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = epcm;
voice             429 sound/pci/emu10k1/emu10k1x.c 	if (epcm->voice) {
voice             430 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 0;
voice             431 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = NULL;
voice             432 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = NULL;
voice             444 sound/pci/emu10k1/emu10k1x.c 	int voice = epcm->voice->number;
voice             445 sound/pci/emu10k1/emu10k1x.c 	u32 *table_base = (u32 *)(emu->dma_buffer.area+1024*voice);
voice             454 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_ADDR, voice, emu->dma_buffer.addr+1024*voice);
voice             455 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_SIZE, voice, (runtime->periods - 1) << 19);
voice             456 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_LIST_PTR, voice, 0);
voice             457 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_POINTER, voice, 0);
voice             458 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN1, voice, 0);
voice             459 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_UNKNOWN2, voice, 0);
voice             460 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_DMA_ADDR, voice, runtime->dma_addr);
voice             462 sound/pci/emu10k1/emu10k1x.c 	snd_emu10k1x_ptr_write(emu, PLAYBACK_PERIOD_SIZE, voice, frames_to_bytes(runtime, runtime->period_size)<<16);
voice             474 sound/pci/emu10k1/emu10k1x.c 	int channel = epcm->voice->number;
voice             511 sound/pci/emu10k1/emu10k1x.c 	int channel = epcm->voice->number;
voice             589 sound/pci/emu10k1/emu10k1x.c 	if (! epcm->voice) {
voice             592 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = &epcm->emu->capture_voice;
voice             593 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = epcm;
voice             594 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 1;
voice             612 sound/pci/emu10k1/emu10k1x.c 	if (epcm->voice) {
voice             613 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->use = 0;
voice             614 sound/pci/emu10k1/emu10k1x.c 		epcm->voice->epcm = NULL;
voice             615 sound/pci/emu10k1/emu10k1x.c 		epcm->voice = NULL;
voice            1187 sound/pci/emu10k1/emumixer.c static void update_emu10k1_fxrt(struct snd_emu10k1 *emu, int voice, unsigned char *route)
voice            1190 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_FXRT1, voice,
voice            1192 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_FXRT2, voice,
voice            1195 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, FXRT, voice,
voice            1200 sound/pci/emu10k1/emumixer.c static void update_emu10k1_send_volume(struct snd_emu10k1 *emu, int voice, unsigned char *volume)
voice            1202 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_A, voice, volume[0]);
voice            1203 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PTRX_FXSENDAMOUNT_B, voice, volume[1]);
voice            1204 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, PSST_FXSENDAMOUNT_C, voice, volume[2]);
voice            1205 sound/pci/emu10k1/emumixer.c 	snd_emu10k1_ptr_write(emu, DSL_FXSENDAMOUNT_D, voice, volume[3]);
voice            1211 sound/pci/emu10k1/emumixer.c 		snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice, val);
voice            1234 sound/pci/emu10k1/emumixer.c 	int voice, idx;
voice            1239 sound/pci/emu10k1/emumixer.c 	for (voice = 0; voice < 3; voice++)
voice            1241 sound/pci/emu10k1/emumixer.c 			ucontrol->value.integer.value[(voice * num_efx) + idx] = 
voice            1242 sound/pci/emu10k1/emumixer.c 				mix->send_routing[voice][idx] & mask;
voice            1254 sound/pci/emu10k1/emumixer.c 	int change = 0, voice, idx, val;
voice            1259 sound/pci/emu10k1/emumixer.c 	for (voice = 0; voice < 3; voice++)
voice            1261 sound/pci/emu10k1/emumixer.c 			val = ucontrol->value.integer.value[(voice * num_efx) + idx] & mask;
voice            1262 sound/pci/emu10k1/emumixer.c 			if (mix->send_routing[voice][idx] != val) {
voice            1263 sound/pci/emu10k1/emumixer.c 				mix->send_routing[voice][idx] = val;
voice              24 sound/pci/emu10k1/emupcm.c 				      struct snd_emu10k1_voice *voice)
voice              28 sound/pci/emu10k1/emupcm.c 	if ((epcm = voice->epcm) == NULL)
voice             278 sound/pci/emu10k1/emupcm.c 	int voice, stereo, w_16;
voice             285 sound/pci/emu10k1/emupcm.c 	voice = evoice->number;
voice             324 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, voice, CPF_STEREO_MASK);
voice             325 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, (voice + 1), CPF_STEREO_MASK);
voice             327 sound/pci/emu10k1/emupcm.c 			snd_emu10k1_ptr_write(emu, CPF, voice, 0);
voice             333 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_FXRT1, voice,
voice             335 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_FXRT2, voice,
voice             337 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, A_SENDAMOUNTS, voice,
voice             343 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, FXRT, voice,
voice             347 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PTRX, voice, (send_amount[0] << 8) | send_amount[1]);
voice             348 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24));
voice             349 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PSST, voice,
voice             357 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCCA, voice, start_addr |
voice             361 sound/pci/emu10k1/emupcm.c 		snd_emu10k1_ptr_write(emu, CCCA, voice, (start_addr + ccis) |
voice             365 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, Z1, voice, 0);
voice             366 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, Z2, voice, 0);
voice             369 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, MAPA, voice, silent_page);
voice             370 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, MAPB, voice, silent_page);
voice             372 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, CVCF, voice, 0xffff);
voice             373 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, VTFT, voice, 0xffff);
voice             374 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ATKHLDM, voice, 0);
voice             375 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, DCYSUSM, voice, 0x007f);
voice             376 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, LFOVAL1, voice, 0x8000);
voice             377 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, LFOVAL2, voice, 0x8000);
voice             378 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, FMMOD, voice, 0);
voice             379 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, TREMFRQ, voice, 0);
voice             380 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, FM2FRQ2, voice, 0);
voice             381 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ENVVAL, voice, 0x8000);
voice             383 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ATKHLDV, voice, 0x7f7f);
voice             384 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, ENVVOL, voice, 0x0000);
voice             386 sound/pci/emu10k1/emupcm.c 	snd_emu10k1_ptr_write(emu, PEFE_FILTERAMOUNT, voice, 0x7f);
voice             388 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             366 sound/pci/emu10k1/emuproc.c 	struct snd_emu10k1_voice *voice;
voice             371 sound/pci/emu10k1/emuproc.c 		voice = &emu->voices[idx];
voice             374 sound/pci/emu10k1/emuproc.c 			voice->use,
voice             375 sound/pci/emu10k1/emuproc.c 			voice->pcm,
voice             376 sound/pci/emu10k1/emuproc.c 			voice->efx,
voice             377 sound/pci/emu10k1/emuproc.c 			voice->synth,
voice             378 sound/pci/emu10k1/emuproc.c 			voice->midi);
voice              47 sound/pci/emu10k1/irq.c 			int voice;
voice              53 sound/pci/emu10k1/irq.c 			for (voice = 0; voice <= voice_max; voice++) {
voice              54 sound/pci/emu10k1/irq.c 				if (voice == 0x20)
voice              59 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_intr_ack(emu, voice);
voice              61 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_intr_disable(emu, voice);
voice              68 sound/pci/emu10k1/irq.c 			for (voice = 0; voice <= voice_max; voice++) {
voice              69 sound/pci/emu10k1/irq.c 				if (voice == 0x20)
voice              74 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_half_loop_intr_ack(emu, voice);
voice              76 sound/pci/emu10k1/irq.c 						snd_emu10k1_voice_half_loop_intr_disable(emu, voice);
voice              37 sound/pci/emu10k1/voice.c 	struct snd_emu10k1_voice *voice;
voice              57 sound/pci/emu10k1/voice.c 			voice = &emu->voices[(i+k) % NUM_G];
voice              58 sound/pci/emu10k1/voice.c 			if (voice->use) {
voice              76 sound/pci/emu10k1/voice.c 		voice = &emu->voices[(first_voice + i) % NUM_G];
voice              81 sound/pci/emu10k1/voice.c 		voice->use = 1;
voice              84 sound/pci/emu10k1/voice.c 			voice->pcm = 1;
voice              87 sound/pci/emu10k1/voice.c 			voice->synth = 1;
voice              90 sound/pci/emu10k1/voice.c 			voice->midi = 1;
voice              93 sound/pci/emu10k1/voice.c 			voice->efx = 1;
voice              83 sound/pci/sis7019.c 	struct voice *timing;
voice             121 sound/pci/sis7019.c 	struct voice voices[64];
voice             122 sound/pci/sis7019.c 	struct voice capture_voice;
voice             192 sound/pci/sis7019.c static void sis_update_sso(struct voice *voice, u16 period)
voice             194 sound/pci/sis7019.c 	void __iomem *base = voice->ctrl_base;
voice             196 sound/pci/sis7019.c 	voice->sso += period;
voice             197 sound/pci/sis7019.c 	if (voice->sso >= voice->buffer_size)
voice             198 sound/pci/sis7019.c 		voice->sso -= voice->buffer_size;
voice             201 sound/pci/sis7019.c 	if (voice->sso < 8)
voice             202 sound/pci/sis7019.c 		voice->sso = 8;
voice             205 sound/pci/sis7019.c 	writew(voice->sso & 0xffff, base + SIS_PLAY_DMA_SSO_ESO + 2);
voice             208 sound/pci/sis7019.c static void sis_update_voice(struct voice *voice)
voice             210 sound/pci/sis7019.c 	if (voice->flags & VOICE_SSO_TIMING) {
voice             211 sound/pci/sis7019.c 		sis_update_sso(voice, voice->period_size);
voice             212 sound/pci/sis7019.c 	} else if (voice->flags & VOICE_SYNC_TIMING) {
voice             218 sound/pci/sis7019.c 		if (voice->vperiod > voice->period_size) {
voice             219 sound/pci/sis7019.c 			voice->vperiod -= voice->period_size;
voice             220 sound/pci/sis7019.c 			if (voice->vperiod < voice->period_size)
voice             221 sound/pci/sis7019.c 				sis_update_sso(voice, voice->vperiod);
voice             223 sound/pci/sis7019.c 				sis_update_sso(voice, voice->period_size);
voice             232 sound/pci/sis7019.c 		sync = voice->sync_cso;
voice             233 sound/pci/sis7019.c 		sync -= readw(voice->sync_base + SIS_CAPTURE_DMA_FORMAT_CSO);
voice             234 sound/pci/sis7019.c 		if (sync > (voice->sync_buffer_size / 2))
voice             235 sound/pci/sis7019.c 			sync -= voice->sync_buffer_size;
voice             245 sound/pci/sis7019.c 			sis_update_sso(voice, sync);
voice             265 sound/pci/sis7019.c 			voice->vperiod = voice->sync_period_size + 1;
voice             267 sound/pci/sis7019.c 			voice->vperiod = voice->sync_period_size + sync + 10;
voice             269 sound/pci/sis7019.c 		if (voice->vperiod < voice->buffer_size) {
voice             270 sound/pci/sis7019.c 			sis_update_sso(voice, voice->vperiod);
voice             271 sound/pci/sis7019.c 			voice->vperiod = 0;
voice             273 sound/pci/sis7019.c 			sis_update_sso(voice, voice->period_size);
voice             275 sound/pci/sis7019.c 		sync = voice->sync_cso + voice->sync_period_size;
voice             276 sound/pci/sis7019.c 		if (sync >= voice->sync_buffer_size)
voice             277 sound/pci/sis7019.c 			sync -= voice->sync_buffer_size;
voice             278 sound/pci/sis7019.c 		voice->sync_cso = sync;
voice             281 sound/pci/sis7019.c 	snd_pcm_period_elapsed(voice->substream);
voice             284 sound/pci/sis7019.c static void sis_voice_irq(u32 status, struct voice *voice)
voice             291 sound/pci/sis7019.c 		voice += bit;
voice             292 sound/pci/sis7019.c 		sis_update_voice(voice);
voice             293 sound/pci/sis7019.c 		voice++;
voice             301 sound/pci/sis7019.c 	struct voice *voice;
voice             331 sound/pci/sis7019.c 			voice = &sis->capture_voice;
voice             332 sound/pci/sis7019.c 			if (!voice->timing)
voice             333 sound/pci/sis7019.c 				snd_pcm_period_elapsed(voice->substream);
voice             389 sound/pci/sis7019.c static void sis_free_voice(struct sis7019 *sis, struct voice *voice)
voice             394 sound/pci/sis7019.c 	if (voice->timing) {
voice             396 sound/pci/sis7019.c 		voice->timing->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING |
voice             398 sound/pci/sis7019.c 		voice->timing = NULL;
voice             400 sound/pci/sis7019.c 	voice->flags &= ~(VOICE_IN_USE | VOICE_SSO_TIMING | VOICE_SYNC_TIMING);
voice             404 sound/pci/sis7019.c static struct voice *__sis_alloc_playback_voice(struct sis7019 *sis)
voice             407 sound/pci/sis7019.c 	struct voice *voice;
voice             411 sound/pci/sis7019.c 		voice = &sis->voices[i];
voice             412 sound/pci/sis7019.c 		if (voice->flags & VOICE_IN_USE)
voice             414 sound/pci/sis7019.c 		voice->flags |= VOICE_IN_USE;
voice             417 sound/pci/sis7019.c 	voice = NULL;
voice             420 sound/pci/sis7019.c 	return voice;
voice             423 sound/pci/sis7019.c static struct voice *sis_alloc_playback_voice(struct sis7019 *sis)
voice             425 sound/pci/sis7019.c 	struct voice *voice;
voice             429 sound/pci/sis7019.c 	voice = __sis_alloc_playback_voice(sis);
voice             432 sound/pci/sis7019.c 	return voice;
voice             440 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             454 sound/pci/sis7019.c 	if (needed && !voice->timing) {
voice             456 sound/pci/sis7019.c 		voice->timing = __sis_alloc_playback_voice(sis);
voice             457 sound/pci/sis7019.c 		if (voice->timing)
voice             460 sound/pci/sis7019.c 		if (!voice->timing)
voice             462 sound/pci/sis7019.c 		voice->timing->substream = substream;
voice             463 sound/pci/sis7019.c 	} else if (!needed && voice->timing) {
voice             464 sound/pci/sis7019.c 		sis_free_voice(sis, voice);
voice             465 sound/pci/sis7019.c 		voice->timing = NULL;
voice             475 sound/pci/sis7019.c 	struct voice *voice;
voice             477 sound/pci/sis7019.c 	voice = sis_alloc_playback_voice(sis);
voice             478 sound/pci/sis7019.c 	if (!voice)
voice             481 sound/pci/sis7019.c 	voice->substream = substream;
voice             482 sound/pci/sis7019.c 	runtime->private_data = voice;
voice             496 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             498 sound/pci/sis7019.c 	sis_free_voice(sis, voice);
voice             517 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             518 sound/pci/sis7019.c 	void __iomem *ctrl_base = voice->ctrl_base;
voice             519 sound/pci/sis7019.c 	void __iomem *wave_base = voice->wave_base;
voice             545 sound/pci/sis7019.c 		voice->flags |= VOICE_SSO_TIMING;
voice             546 sound/pci/sis7019.c 		voice->sso = runtime->period_size - 1;
voice             547 sound/pci/sis7019.c 		voice->period_size = runtime->period_size;
voice             548 sound/pci/sis7019.c 		voice->buffer_size = runtime->buffer_size;
voice             585 sound/pci/sis7019.c 	struct voice *voice;
voice             616 sound/pci/sis7019.c 		voice = s->runtime->private_data;
voice             617 sound/pci/sis7019.c 		if (voice->flags & VOICE_CAPTURE) {
voice             618 sound/pci/sis7019.c 			record |= 1 << voice->num;
voice             619 sound/pci/sis7019.c 			voice = voice->timing;
voice             625 sound/pci/sis7019.c 		if (voice)
voice             626 sound/pci/sis7019.c 			play[voice->num / 32] |= 1 << (voice->num & 0x1f);
voice             652 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             655 sound/pci/sis7019.c 	cso = readl(voice->ctrl_base + SIS_PLAY_DMA_FORMAT_CSO);
voice             664 sound/pci/sis7019.c 	struct voice *voice = &sis->capture_voice;
voice             671 sound/pci/sis7019.c 	if (voice->flags & VOICE_IN_USE)
voice             672 sound/pci/sis7019.c 		voice = NULL;
voice             674 sound/pci/sis7019.c 		voice->flags |= VOICE_IN_USE;
voice             677 sound/pci/sis7019.c 	if (!voice)
voice             680 sound/pci/sis7019.c 	voice->substream = substream;
voice             681 sound/pci/sis7019.c 	runtime->private_data = voice;
voice             715 sound/pci/sis7019.c static void sis_prepare_timing_voice(struct voice *voice,
voice             720 sound/pci/sis7019.c 	struct voice *timing = voice->timing;
voice             774 sound/pci/sis7019.c 	timing->sync_base = voice->ctrl_base;
voice             821 sound/pci/sis7019.c 	struct voice *voice = runtime->private_data;
voice             822 sound/pci/sis7019.c 	void __iomem *rec_base = voice->ctrl_base;
voice             845 sound/pci/sis7019.c 	if (voice->timing) {
voice             846 sound/pci/sis7019.c 		sis_prepare_timing_voice(voice, substream);
voice            1304 sound/pci/sis7019.c 	struct voice *voice;
voice            1363 sound/pci/sis7019.c 		voice = &sis->voices[i];
voice            1364 sound/pci/sis7019.c 		voice->num = i;
voice            1365 sound/pci/sis7019.c 		voice->ctrl_base = SIS_PLAY_DMA_ADDR(sis->ioaddr, i);
voice            1366 sound/pci/sis7019.c 		voice->wave_base = SIS_WAVE_ADDR(sis->ioaddr, i);
voice            1369 sound/pci/sis7019.c 	voice = &sis->capture_voice;
voice            1370 sound/pci/sis7019.c 	voice->flags = VOICE_CAPTURE;
voice            1371 sound/pci/sis7019.c 	voice->num = SIS_CAPTURE_CHAN_AC97_PCM_IN;
voice            1372 sound/pci/sis7019.c 	voice->ctrl_base = SIS_CAPTURE_DMA_ADDR(sis->ioaddr, voice->num);
voice             317 sound/pci/trident/trident.h 	void (*private_free)(struct snd_trident_voice *voice);
voice             332 sound/pci/trident/trident.h 	struct snd_trident_voice *voice;	/* active voice */
voice             414 sound/pci/trident/trident.h void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice);
voice             415 sound/pci/trident/trident.h void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice);
voice             416 sound/pci/trident/trident.h void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice);
voice             417 sound/pci/trident/trident.h void snd_trident_write_voice_regs(struct snd_trident * trident, struct snd_trident_voice *voice);
voice              35 sound/pci/trident/trident_main.c 				       struct snd_trident_voice * voice,
voice              38 sound/pci/trident/trident_main.c 				      struct snd_trident_voice * voice,
voice              53 sound/pci/trident/trident_main.c static void snd_trident_print_voice_regs(struct snd_trident *trident, int voice)
voice              57 sound/pci/trident/trident_main.c 	dev_dbg(trident->card->dev, "Trident voice %i:\n", voice);
voice              58 sound/pci/trident/trident_main.c 	outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             287 sound/pci/trident/trident_main.c void snd_trident_start_voice(struct snd_trident * trident, unsigned int voice)
voice             289 sound/pci/trident/trident_main.c 	unsigned int mask = 1 << (voice & 0x1f);
voice             290 sound/pci/trident/trident_main.c 	unsigned int reg = (voice & 0x20) ? T4D_START_B : T4D_START_A;
voice             311 sound/pci/trident/trident_main.c void snd_trident_stop_voice(struct snd_trident * trident, unsigned int voice)
voice             313 sound/pci/trident/trident_main.c 	unsigned int mask = 1 << (voice & 0x1f);
voice             314 sound/pci/trident/trident_main.c 	unsigned int reg = (voice & 0x20) ? T4D_STOP_B : T4D_STOP_A;
voice             432 sound/pci/trident/trident_main.c 				  struct snd_trident_voice * voice)
voice             437 sound/pci/trident/trident_main.c 	regs[1] = voice->LBA;
voice             438 sound/pci/trident/trident_main.c 	regs[4] = (voice->GVSel << 31) |
voice             439 sound/pci/trident/trident_main.c 		  ((voice->Pan & 0x0000007f) << 24) |
voice             440 sound/pci/trident/trident_main.c 		  ((voice->CTRL & 0x0000000f) << 12);
voice             441 sound/pci/trident/trident_main.c 	FmcRvolCvol = ((voice->FMC & 3) << 14) |
voice             442 sound/pci/trident/trident_main.c 	              ((voice->RVol & 0x7f) << 7) |
voice             443 sound/pci/trident/trident_main.c 	              (voice->CVol & 0x7f);
voice             447 sound/pci/trident/trident_main.c 		regs[4] |= voice->number > 31 ?
voice             448 sound/pci/trident/trident_main.c 				(voice->Vol & 0x000003ff) :
voice             449 sound/pci/trident/trident_main.c 				((voice->Vol & 0x00003fc) << (16-2)) |
voice             450 sound/pci/trident/trident_main.c 				(voice->EC & 0x00000fff);
voice             451 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
voice             452 sound/pci/trident/trident_main.c 			(voice->FMS & 0x0000000f);
voice             453 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
voice             454 sound/pci/trident/trident_main.c 		regs[3] = (voice->Attribute << 16) | FmcRvolCvol;
voice             457 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
voice             458 sound/pci/trident/trident_main.c 			   (voice->EC & 0x00000fff);
voice             459 sound/pci/trident/trident_main.c 		regs[0] = (voice->CSO << 16) | ((voice->Alpha & 0x00000fff) << 4) |
voice             460 sound/pci/trident/trident_main.c 			(voice->FMS & 0x0000000f);
voice             461 sound/pci/trident/trident_main.c 		regs[2] = (voice->ESO << 16) | (voice->Delta & 0x0ffff);
voice             465 sound/pci/trident/trident_main.c 		regs[4] |= ((voice->Vol & 0x000003fc) << (16-2)) |
voice             466 sound/pci/trident/trident_main.c 			   (voice->EC & 0x00000fff);
voice             467 sound/pci/trident/trident_main.c 		regs[0] = (voice->Delta << 24) | (voice->CSO & 0x00ffffff);
voice             468 sound/pci/trident/trident_main.c 		regs[2] = ((voice->Delta << 16) & 0xff000000) |
voice             469 sound/pci/trident/trident_main.c 			(voice->ESO & 0x00ffffff);
voice             470 sound/pci/trident/trident_main.c 		regs[3] = (voice->Alpha << 20) |
voice             471 sound/pci/trident/trident_main.c 			((voice->FMS & 0x0000000f) << 16) | FmcRvolCvol;
voice             478 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             486 sound/pci/trident/trident_main.c 	dev_dbg(trident->card->dev, "written %i channel:\n", voice->number);
voice             515 sound/pci/trident/trident_main.c 				      struct snd_trident_voice * voice,
voice             518 sound/pci/trident/trident_main.c 	voice->CSO = CSO;
voice             519 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             521 sound/pci/trident/trident_main.c 		outw(voice->CSO, TRID_REG(trident, CH_DX_CSO_ALPHA_FMS) + 2);
voice             523 sound/pci/trident/trident_main.c 		outl((voice->Delta << 24) |
voice             524 sound/pci/trident/trident_main.c 		     (voice->CSO & 0x00ffffff), TRID_REG(trident, CH_NX_DELTA_CSO));
voice             541 sound/pci/trident/trident_main.c 				      struct snd_trident_voice * voice,
voice             544 sound/pci/trident/trident_main.c 	voice->ESO = ESO;
voice             545 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             547 sound/pci/trident/trident_main.c 		outw(voice->ESO, TRID_REG(trident, CH_DX_ESO_DELTA) + 2);
voice             549 sound/pci/trident/trident_main.c 		outl(((voice->Delta << 16) & 0xff000000) | (voice->ESO & 0x00ffffff),
voice             567 sound/pci/trident/trident_main.c 				      struct snd_trident_voice * voice,
voice             570 sound/pci/trident/trident_main.c 	voice->Vol = Vol;
voice             571 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             575 sound/pci/trident/trident_main.c 		outb(voice->Vol >> 2, TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC + 2));
voice             579 sound/pci/trident/trident_main.c 		outw((voice->CTRL << 12) | voice->Vol,
voice             598 sound/pci/trident/trident_main.c 				      struct snd_trident_voice * voice,
voice             601 sound/pci/trident/trident_main.c 	voice->Pan = Pan;
voice             602 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             603 sound/pci/trident/trident_main.c 	outb(((voice->GVSel & 0x01) << 7) | (voice->Pan & 0x7f),
voice             620 sound/pci/trident/trident_main.c 				       struct snd_trident_voice * voice,
voice             623 sound/pci/trident/trident_main.c 	voice->RVol = RVol;
voice             624 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             625 sound/pci/trident/trident_main.c 	outw(((voice->FMC & 0x0003) << 14) | ((voice->RVol & 0x007f) << 7) |
voice             626 sound/pci/trident/trident_main.c 	     (voice->CVol & 0x007f),
voice             644 sound/pci/trident/trident_main.c 				       struct snd_trident_voice * voice,
voice             647 sound/pci/trident/trident_main.c 	voice->CVol = CVol;
voice             648 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice             649 sound/pci/trident/trident_main.c 	outw(((voice->FMC & 0x0003) << 14) | ((voice->RVol & 0x007f) << 7) |
voice             650 sound/pci/trident/trident_main.c 	     (voice->CVol & 0x007f),
voice             810 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             817 sound/pci/trident/trident_main.c 			if (voice->memblk)
voice             818 sound/pci/trident/trident_main.c 				snd_trident_free_pages(trident, voice->memblk);
voice             819 sound/pci/trident/trident_main.c 			voice->memblk = snd_trident_alloc_pages(trident, substream);
voice             820 sound/pci/trident/trident_main.c 			if (voice->memblk == NULL)
voice             844 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             845 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice             854 sound/pci/trident/trident_main.c 			voice->extra = evoice;
voice             860 sound/pci/trident/trident_main.c 			voice->extra = evoice = NULL;
voice             905 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             906 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
voice             909 sound/pci/trident/trident_main.c 		if (voice && voice->memblk) {
voice             910 sound/pci/trident/trident_main.c 			snd_trident_free_pages(trident, voice->memblk);
voice             911 sound/pci/trident/trident_main.c 			voice->memblk = NULL;
voice             917 sound/pci/trident/trident_main.c 		voice->extra = NULL;
voice             937 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice             938 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice             944 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_rate(runtime->rate);
voice             945 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice             948 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice             949 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice             951 sound/pci/trident/trident_main.c 		voice->LBA = runtime->dma_addr;
voice             953 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice             954 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice             955 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice             956 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice             957 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice             958 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice             959 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice             960 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice             961 sound/pci/trident/trident_main.c 	voice->Vol = mix->vol;
voice             962 sound/pci/trident/trident_main.c 	voice->RVol = mix->rvol;
voice             963 sound/pci/trident/trident_main.c 	voice->CVol = mix->cvol;
voice             964 sound/pci/trident/trident_main.c 	voice->Pan = mix->pan;
voice             965 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice             967 sound/pci/trident/trident_main.c 	voice->Attribute = (1<<(30-16))|(2<<(26-16))|
voice             970 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice             973 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice             976 sound/pci/trident/trident_main.c 		evoice->Delta = voice->Delta;
voice             977 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice             978 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice             981 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1040 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1052 sound/pci/trident/trident_main.c 	voice->LBA = runtime->dma_addr;
voice            1053 sound/pci/trident/trident_main.c 	outl(voice->LBA, TRID_REG(trident, LEGACY_DMAR0));
voice            1054 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice            1055 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice            1089 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_rate(runtime->rate);
voice            1090 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1091 sound/pci/trident/trident_main.c 	voice->isync = 1;
voice            1092 sound/pci/trident/trident_main.c 	voice->isync_mark = runtime->period_size;
voice            1093 sound/pci/trident/trident_main.c 	voice->isync_max = runtime->buffer_size;
voice            1096 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1097 sound/pci/trident/trident_main.c 	voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1;
voice            1098 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1099 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice            1100 sound/pci/trident/trident_main.c 	voice->RVol = 0x7f;
voice            1101 sound/pci/trident/trident_main.c 	voice->CVol = 0x7f;
voice            1102 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1103 sound/pci/trident/trident_main.c 	voice->Pan = 0x7f;		/* mute */
voice            1104 sound/pci/trident/trident_main.c 	voice->Vol = 0x3ff;		/* mute */
voice            1105 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1106 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1107 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1108 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice            1110 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1154 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1155 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice ? voice->extra : NULL;
voice            1160 sound/pci/trident/trident_main.c 		voice->extra = NULL;
voice            1180 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1181 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1185 sound/pci/trident/trident_main.c 	voice->LBA = runtime->dma_addr;
voice            1186 sound/pci/trident/trident_main.c 	voice->Delta = snd_trident_convert_adc_rate(runtime->rate);
voice            1187 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1190 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1191 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;		/* in samples */
voice            1192 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1193 sound/pci/trident/trident_main.c 	voice->FMC = 0;
voice            1194 sound/pci/trident/trident_main.c 	voice->RVol = 0;
voice            1195 sound/pci/trident/trident_main.c 	voice->CVol = 0;
voice            1196 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1197 sound/pci/trident/trident_main.c 	voice->Pan = T4D_DEFAULT_PCM_PAN;
voice            1198 sound/pci/trident/trident_main.c 	voice->Vol = 0;
voice            1199 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1200 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1201 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1203 sound/pci/trident/trident_main.c 	voice->Attribute = (2 << (30-16)) |
voice            1208 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1212 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice            1213 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice            1216 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1251 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1252 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1257 sound/pci/trident/trident_main.c 	if (voice->memblk)
voice            1258 sound/pci/trident/trident_main.c 		voice->LBA = voice->memblk->offset;
voice            1260 sound/pci/trident/trident_main.c 		voice->LBA = runtime->dma_addr;
voice            1263 sound/pci/trident/trident_main.c 	voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice            1266 sound/pci/trident/trident_main.c 	voice->Delta = 0x1000;
voice            1267 sound/pci/trident/trident_main.c 	voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size);
voice            1269 sound/pci/trident/trident_main.c 	voice->CSO = 0;
voice            1270 sound/pci/trident/trident_main.c 	voice->CTRL = snd_trident_control_mode(substream);
voice            1271 sound/pci/trident/trident_main.c 	voice->FMC = 3;
voice            1272 sound/pci/trident/trident_main.c 	voice->RVol = 0x7f;
voice            1273 sound/pci/trident/trident_main.c 	voice->CVol = 0x7f;
voice            1274 sound/pci/trident/trident_main.c 	voice->GVSel = 1;
voice            1275 sound/pci/trident/trident_main.c 	voice->Pan = 0x7f;	/* mute */
voice            1276 sound/pci/trident/trident_main.c 	voice->Vol = 0x3ff;	/* mute */
voice            1277 sound/pci/trident/trident_main.c 	voice->EC = 0;
voice            1278 sound/pci/trident/trident_main.c 	voice->Alpha = 0;
voice            1279 sound/pci/trident/trident_main.c 	voice->FMS = 0;
voice            1280 sound/pci/trident/trident_main.c 	voice->Attribute = 0;
voice            1283 sound/pci/trident/trident_main.c 	outb(((voice->number & 0x3f) | 0x80), TRID_REG(trident, T4D_RCI + voice->foldback_chan));
voice            1285 sound/pci/trident/trident_main.c 	snd_trident_write_voice_regs(trident, voice);
voice            1288 sound/pci/trident/trident_main.c 		evoice->Delta = voice->Delta;
voice            1289 sound/pci/trident/trident_main.c 		evoice->spurious_threshold = voice->spurious_threshold;
voice            1290 sound/pci/trident/trident_main.c 		evoice->LBA = voice->LBA;
voice            1293 sound/pci/trident/trident_main.c 		evoice->CTRL = voice->CTRL;
voice            1394 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1395 sound/pci/trident/trident_main.c 	struct snd_trident_voice *evoice = voice->extra;
voice            1405 sound/pci/trident/trident_main.c 		voice->Delta = snd_trident_convert_rate(runtime->rate);
voice            1406 sound/pci/trident/trident_main.c 		voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size);
voice            1410 sound/pci/trident/trident_main.c 		if (voice->memblk)
voice            1411 sound/pci/trident/trident_main.c 			voice->LBA = voice->memblk->offset;
voice            1413 sound/pci/trident/trident_main.c 			voice->LBA = LBAO;
voice            1415 sound/pci/trident/trident_main.c 		voice->isync = 1;
voice            1416 sound/pci/trident/trident_main.c 		voice->isync3 = 1;
voice            1417 sound/pci/trident/trident_main.c 		voice->isync_mark = runtime->period_size;
voice            1418 sound/pci/trident/trident_main.c 		voice->isync_max = runtime->buffer_size;
voice            1422 sound/pci/trident/trident_main.c 		voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1;
voice            1425 sound/pci/trident/trident_main.c 		voice->CTRL = snd_trident_control_mode(substream);
voice            1427 sound/pci/trident/trident_main.c 		voice->FMC = 3;
voice            1428 sound/pci/trident/trident_main.c 		voice->RVol = 0x7f;
voice            1429 sound/pci/trident/trident_main.c 		voice->CVol = 0x7f;
voice            1430 sound/pci/trident/trident_main.c 		voice->GVSel = 1;
voice            1431 sound/pci/trident/trident_main.c 		voice->Pan = 0x7f;
voice            1432 sound/pci/trident/trident_main.c 		voice->Vol = 0x3ff;
voice            1433 sound/pci/trident/trident_main.c 		voice->EC = 0;
voice            1434 sound/pci/trident/trident_main.c 		voice->CSO = 0;
voice            1435 sound/pci/trident/trident_main.c 		voice->Alpha = 0;
voice            1436 sound/pci/trident/trident_main.c 		voice->FMS = 0;
voice            1437 sound/pci/trident/trident_main.c 		voice->Attribute = 0;
voice            1440 sound/pci/trident/trident_main.c 		snd_trident_write_voice_regs(trident, voice);
voice            1445 sound/pci/trident/trident_main.c 		outw((voice->CSO & 0xffff), TRID_REG(trident, NX_SPCTRL_SPCSO));
voice            1446 sound/pci/trident/trident_main.c 		outb((voice->CSO >> 16), TRID_REG(trident, NX_SPCTRL_SPCSO + 2));
voice            1455 sound/pci/trident/trident_main.c 		voice->Delta = 0x800;
voice            1456 sound/pci/trident/trident_main.c 		voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size);
voice            1459 sound/pci/trident/trident_main.c 		if (voice->memblk)
voice            1460 sound/pci/trident/trident_main.c 			voice->LBA = voice->memblk->offset;
voice            1462 sound/pci/trident/trident_main.c 			voice->LBA = runtime->dma_addr;
voice            1464 sound/pci/trident/trident_main.c 		voice->CSO = 0;
voice            1465 sound/pci/trident/trident_main.c 		voice->ESO = runtime->buffer_size - 1;	/* in samples */
voice            1466 sound/pci/trident/trident_main.c 		voice->CTRL = snd_trident_control_mode(substream);
voice            1467 sound/pci/trident/trident_main.c 		voice->FMC = 3;
voice            1468 sound/pci/trident/trident_main.c 		voice->GVSel = 1;
voice            1469 sound/pci/trident/trident_main.c 		voice->EC = 0;
voice            1470 sound/pci/trident/trident_main.c 		voice->Alpha = 0;
voice            1471 sound/pci/trident/trident_main.c 		voice->FMS = 0;
voice            1472 sound/pci/trident/trident_main.c 		voice->Vol = mix->vol;
voice            1473 sound/pci/trident/trident_main.c 		voice->RVol = mix->rvol;
voice            1474 sound/pci/trident/trident_main.c 		voice->CVol = mix->cvol;
voice            1475 sound/pci/trident/trident_main.c 		voice->Pan = mix->pan;
voice            1476 sound/pci/trident/trident_main.c 		voice->Attribute = (1<<(30-16))|(7<<(26-16))|
voice            1479 sound/pci/trident/trident_main.c 		snd_trident_write_voice_regs(trident, voice);
voice            1482 sound/pci/trident/trident_main.c 			evoice->Delta = voice->Delta;
voice            1483 sound/pci/trident/trident_main.c 			evoice->spurious_threshold = voice->spurious_threshold;
voice            1484 sound/pci/trident/trident_main.c 			evoice->LBA = voice->LBA;
voice            1487 sound/pci/trident/trident_main.c 			evoice->CTRL = voice->CTRL;
voice            1536 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice, *evoice;
voice            1558 sound/pci/trident/trident_main.c 			voice = s->runtime->private_data;
voice            1559 sound/pci/trident/trident_main.c 			evoice = voice->extra;
voice            1560 sound/pci/trident/trident_main.c 			what |= 1 << (voice->number & 0x1f);
voice            1562 sound/pci/trident/trident_main.c 				whati |= 1 << (voice->number & 0x1f);
voice            1570 sound/pci/trident/trident_main.c 				voice->running = 1;
voice            1571 sound/pci/trident/trident_main.c 				voice->stimer = val;
voice            1573 sound/pci/trident/trident_main.c 				voice->running = 0;
voice            1576 sound/pci/trident/trident_main.c 			if (voice->capture)
voice            1578 sound/pci/trident/trident_main.c 			if (voice->spdif)
voice            1632 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1635 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1640 sound/pci/trident/trident_main.c 	outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR));
voice            1671 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1674 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1701 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1704 sound/pci/trident/trident_main.c 	if (!voice->running)
voice            1833 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1836 sound/pci/trident/trident_main.c 	if (voice) {
voice            1837 sound/pci/trident/trident_main.c 		trident = voice->trident;
voice            1838 sound/pci/trident/trident_main.c 		snd_trident_free_voice(trident, voice);
voice            1846 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1848 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1849 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1851 sound/pci/trident/trident_main.c 	snd_trident_pcm_mixer_build(trident, voice, substream);
voice            1852 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1853 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            1874 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice = runtime->private_data;
voice            1876 sound/pci/trident/trident_main.c 	snd_trident_pcm_mixer_free(trident, voice, substream);
voice            1894 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1897 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1898 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1900 sound/pci/trident/trident_main.c 	voice->spdif = 1;
voice            1901 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1906 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            1973 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            1976 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            1977 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            1979 sound/pci/trident/trident_main.c 	voice->capture = 1;
voice            1980 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            1981 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            2017 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            2020 sound/pci/trident/trident_main.c 	voice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0);
voice            2021 sound/pci/trident/trident_main.c 	if (voice == NULL)
voice            2023 sound/pci/trident/trident_main.c 	voice->foldback_chan = substream->number;
voice            2024 sound/pci/trident/trident_main.c 	voice->substream = substream;
voice            2025 sound/pci/trident/trident_main.c 	runtime->private_data = voice;
voice            2044 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            2046 sound/pci/trident/trident_main.c 	voice = runtime->private_data;
voice            2050 sound/pci/trident/trident_main.c 	outb(0x00, TRID_REG(trident, T4D_RCI + voice->foldback_chan));
voice            2683 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2684 sound/pci/trident/trident_main.c 		snd_trident_write_vol_reg(trident, mix->voice, val);
voice            2747 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2748 sound/pci/trident/trident_main.c 		snd_trident_write_pan_reg(trident, mix->voice, val);
voice            2802 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2803 sound/pci/trident/trident_main.c 		snd_trident_write_rvol_reg(trident, mix->voice, val);
voice            2860 sound/pci/trident/trident_main.c 	if (mix->voice != NULL)
voice            2861 sound/pci/trident/trident_main.c 		snd_trident_write_cvol_reg(trident, mix->voice, val);
voice            2906 sound/pci/trident/trident_main.c 				       struct snd_trident_voice *voice,
voice            2911 sound/pci/trident/trident_main.c 	if (snd_BUG_ON(!trident || !voice || !substream))
voice            2914 sound/pci/trident/trident_main.c 	tmix->voice = voice;
voice            2923 sound/pci/trident/trident_main.c static int snd_trident_pcm_mixer_free(struct snd_trident *trident, struct snd_trident_voice *voice, struct snd_pcm_substream *substream)
voice            2930 sound/pci/trident/trident_main.c 	tmix->voice = NULL;
voice            3018 sound/pci/trident/trident_main.c 		tmix->voice = NULL;
voice            3526 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            3627 sound/pci/trident/trident_main.c 		voice = &trident->synth.voices[i];
voice            3628 sound/pci/trident/trident_main.c 		voice->number = i;
voice            3629 sound/pci/trident/trident_main.c 		voice->trident = trident;
voice            3708 sound/pci/trident/trident_main.c 	struct snd_trident_voice *voice;
voice            3729 sound/pci/trident/trident_main.c 			voice = &trident->synth.voices[channel];
voice            3730 sound/pci/trident/trident_main.c 			if (!voice->pcm || voice->substream == NULL) {
voice            3734 sound/pci/trident/trident_main.c 			delta = (int)stimer - (int)voice->stimer;
voice            3737 sound/pci/trident/trident_main.c 			if ((unsigned int)delta < voice->spurious_threshold) {
voice            3744 sound/pci/trident/trident_main.c 			voice->stimer = stimer;
voice            3745 sound/pci/trident/trident_main.c 			if (voice->isync) {
voice            3746 sound/pci/trident/trident_main.c 				if (!voice->isync3) {
voice            3751 sound/pci/trident/trident_main.c 						tmp = voice->isync_max - tmp;
voice            3755 sound/pci/trident/trident_main.c 				if (tmp < voice->isync_mark) {
voice            3757 sound/pci/trident/trident_main.c 						tmp = voice->isync_ESO - 7;
voice            3759 sound/pci/trident/trident_main.c 						tmp = voice->isync_ESO + 2;
voice            3761 sound/pci/trident/trident_main.c 					snd_trident_stop_voice(trident, voice->number);
voice            3762 sound/pci/trident/trident_main.c 					snd_trident_write_eso_reg(trident, voice, tmp);
voice            3763 sound/pci/trident/trident_main.c 					snd_trident_start_voice(trident, voice->number);
voice            3765 sound/pci/trident/trident_main.c 			} else if (voice->isync2) {
voice            3766 sound/pci/trident/trident_main.c 				voice->isync2 = 0;
voice            3768 sound/pci/trident/trident_main.c 				snd_trident_stop_voice(trident, voice->number);
voice            3769 sound/pci/trident/trident_main.c 				snd_trident_write_cso_reg(trident, voice, voice->isync_mark);
voice            3770 sound/pci/trident/trident_main.c 				snd_trident_write_eso_reg(trident, voice, voice->ESO);
voice            3771 sound/pci/trident/trident_main.c 				snd_trident_start_voice(trident, voice->number);
voice            3774 sound/pci/trident/trident_main.c 			if (voice->extra) {
voice            3776 sound/pci/trident/trident_main.c 				snd_trident_stop_voice(trident, voice->extra->number);
voice            3777 sound/pci/trident/trident_main.c 				snd_trident_write_cso_reg(trident, voice->extra, 0);
voice            3778 sound/pci/trident/trident_main.c 				snd_trident_start_voice(trident, voice->extra->number);
voice            3782 sound/pci/trident/trident_main.c 			snd_pcm_period_elapsed(voice->substream);
voice            3846 sound/pci/trident/trident_main.c void snd_trident_free_voice(struct snd_trident * trident, struct snd_trident_voice *voice)
voice            3851 sound/pci/trident/trident_main.c 	if (voice == NULL || !voice->use)
voice            3853 sound/pci/trident/trident_main.c 	snd_trident_clear_voices(trident, voice->number, voice->number);
voice            3855 sound/pci/trident/trident_main.c 	private_free = voice->private_free;
voice            3856 sound/pci/trident/trident_main.c 	voice->private_free = NULL;
voice            3857 sound/pci/trident/trident_main.c 	voice->private_data = NULL;
voice            3858 sound/pci/trident/trident_main.c 	if (voice->pcm)
voice            3859 sound/pci/trident/trident_main.c 		snd_trident_free_pcm_channel(trident, voice->number);
voice            3860 sound/pci/trident/trident_main.c 	if (voice->synth)
voice            3861 sound/pci/trident/trident_main.c 		snd_trident_free_synth_channel(trident, voice->number);
voice            3862 sound/pci/trident/trident_main.c 	voice->use = voice->pcm = voice->synth = voice->midi = 0;
voice            3863 sound/pci/trident/trident_main.c 	voice->capture = voice->spdif = 0;
voice            3864 sound/pci/trident/trident_main.c 	voice->sample_ops = NULL;
voice            3865 sound/pci/trident/trident_main.c 	voice->substream = NULL;
voice            3866 sound/pci/trident/trident_main.c 	voice->extra = NULL;
voice            3869 sound/pci/trident/trident_main.c 		private_free(voice);
voice             237 sound/pci/ymfpci/ymfpci.h 	void (*interrupt)(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice);
voice             209 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice, *voice2;
voice             214 sound/pci/ymfpci/ymfpci_main.c 		voice = &chip->voices[idx];
voice             216 sound/pci/ymfpci/ymfpci_main.c 		if (voice->use || (voice2 && voice2->use))
voice             218 sound/pci/ymfpci/ymfpci_main.c 		voice->use = 1;
voice             223 sound/pci/ymfpci/ymfpci_main.c 			voice->pcm = 1;
voice             228 sound/pci/ymfpci/ymfpci_main.c 			voice->synth = 1;
voice             231 sound/pci/ymfpci/ymfpci_main.c 			voice->midi = 1;
voice             237 sound/pci/ymfpci/ymfpci_main.c 		*rvoice = voice;
voice             290 sound/pci/ymfpci/ymfpci_main.c static void snd_ymfpci_pcm_interrupt(struct snd_ymfpci *chip, struct snd_ymfpci_voice *voice)
voice             295 sound/pci/ymfpci/ymfpci_main.c 	if ((ypcm = voice->ypcm) == NULL)
voice             301 sound/pci/ymfpci/ymfpci_main.c 		pos = le32_to_cpu(voice->bank[chip->active_bank].start);
voice             327 sound/pci/ymfpci/ymfpci_main.c 			bank = &voice->bank[next_bank];
voice             487 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice = ypcm->voices[voiceidx];
voice             498 sound/pci/ymfpci/ymfpci_main.c 	if (snd_BUG_ON(!voice))
voice             523 sound/pci/ymfpci/ymfpci_main.c 				   ypcm->chip->src441_used == voice->number)) {
voice             524 sound/pci/ymfpci/ymfpci_main.c 		ypcm->chip->src441_used = voice->number;
voice             528 sound/pci/ymfpci/ymfpci_main.c 	if (ypcm->chip->src441_used == voice->number &&
voice             537 sound/pci/ymfpci/ymfpci_main.c 		bank = &voice->bank[nbank];
voice             750 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice = ypcm->voices[0];
voice             752 sound/pci/ymfpci/ymfpci_main.c 	if (!(ypcm->running && voice))
voice             754 sound/pci/ymfpci/ymfpci_main.c 	return le32_to_cpu(voice->bank[chip->active_bank].start);
voice             788 sound/pci/ymfpci/ymfpci_main.c 	struct snd_ymfpci_voice *voice;
voice             795 sound/pci/ymfpci/ymfpci_main.c 			voice = &chip->voices[nvoice];
voice             796 sound/pci/ymfpci/ymfpci_main.c 			if (voice->interrupt)
voice             797 sound/pci/ymfpci/ymfpci_main.c 				voice->interrupt(chip, voice);
voice            2094 sound/pci/ymfpci/ymfpci_main.c 	int voice, bank, reg;
voice            2124 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_PLAYBACK_VOICES; voice++) {
voice            2125 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].number = voice;
voice            2126 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].bank = (struct snd_ymfpci_playback_bank *)ptr;
voice            2127 sound/pci/ymfpci/ymfpci_main.c 		chip->voices[voice].bank_addr = ptr_addr;
voice            2129 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_playback[voice][bank] = (struct snd_ymfpci_playback_bank *)ptr;
voice            2138 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_CAPTURE_VOICES; voice++)
voice            2140 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_capture[voice][bank] = (struct snd_ymfpci_capture_bank *)ptr;
voice            2148 sound/pci/ymfpci/ymfpci_main.c 	for (voice = 0; voice < YDSXG_EFFECT_VOICES; voice++)
voice            2150 sound/pci/ymfpci/ymfpci_main.c 			chip->bank_effect[voice][bank] = (struct snd_ymfpci_effect_bank *)ptr;
voice             891 sound/soc/codecs/wm8753.c 	u16 voice = snd_soc_component_read32(component, WM8753_PCM) & 0x01ec;
voice             896 sound/soc/codecs/wm8753.c 		voice |= 0x0002;
voice             901 sound/soc/codecs/wm8753.c 		voice |= 0x0001;
voice             904 sound/soc/codecs/wm8753.c 		voice |= 0x0003;
voice             907 sound/soc/codecs/wm8753.c 		voice |= 0x0013;
voice             913 sound/soc/codecs/wm8753.c 	snd_soc_component_write(component, WM8753_PCM, voice);
voice             926 sound/soc/codecs/wm8753.c 	u16 voice = snd_soc_component_read32(component, WM8753_PCM) & 0x01f3;
voice             934 sound/soc/codecs/wm8753.c 		voice |= 0x0004;
voice             937 sound/soc/codecs/wm8753.c 		voice |= 0x0008;
voice             940 sound/soc/codecs/wm8753.c 		voice |= 0x000c;
voice             949 sound/soc/codecs/wm8753.c 	snd_soc_component_write(component, WM8753_PCM, voice);
voice             959 sound/soc/codecs/wm8753.c 	u16 voice, ioctl;
voice             961 sound/soc/codecs/wm8753.c 	voice = snd_soc_component_read32(component, WM8753_PCM) & 0x011f;
voice             971 sound/soc/codecs/wm8753.c 		voice |= 0x0040;
voice             986 sound/soc/codecs/wm8753.c 			voice |= 0x0080;
voice             995 sound/soc/codecs/wm8753.c 		voice &= ~0x0010;
voice            1000 sound/soc/codecs/wm8753.c 			voice |= 0x0090;
voice            1003 sound/soc/codecs/wm8753.c 			voice |= 0x0080;
voice            1006 sound/soc/codecs/wm8753.c 			voice |= 0x0010;
voice            1016 sound/soc/codecs/wm8753.c 	snd_soc_component_write(component, WM8753_PCM, voice);
voice             135 sound/soc/pxa/zylonite.c SND_SOC_DAILINK_DEFS(voice,
voice             158 sound/soc/pxa/zylonite.c 	SND_SOC_DAILINK_REG(voice),
voice             433 sound/soc/samsung/tm2_wm5110.c SND_SOC_DAILINK_DEFS(voice,
voice             463 sound/soc/samsung/tm2_wm5110.c 		SND_SOC_DAILINK_REG(voice),
voice             203 sound/soc/ti/omap-twl4030.c SND_SOC_DAILINK_DEFS(voice,
voice             221 sound/soc/ti/omap-twl4030.c 		SND_SOC_DAILINK_REG(voice),
voice             323 sound/synth/emux/emux_oss.c 	int voice;
voice             329 sound/synth/emux/emux_oss.c 	voice = event[3];
voice             330 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
voice             333 sound/synth/emux/emux_oss.c 		chan = &port->chset.channels[voice];
voice             361 sound/synth/emux/emux_oss.c 		fake_event(emu, port, voice, MIDI_CTL_ALL_NOTES_OFF, 0, atomic, hop);
voice             364 sound/synth/emux/emux_oss.c 		fake_event(emu, port, voice, MIDI_CTL_ALL_SOUNDS_OFF, 0, atomic, hop);
voice             418 sound/synth/emux/emux_oss.c 	int voice;
voice             427 sound/synth/emux/emux_oss.c 	voice = event[3];
voice             428 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
voice             431 sound/synth/emux/emux_oss.c 	chan = &port->chset.channels[voice];
voice             936 sound/synth/emux/emux_synth.c void snd_emux_lock_voice(struct snd_emux *emu, int voice)
voice             941 sound/synth/emux/emux_synth.c 	if (emu->voices[voice].state == SNDRV_EMUX_ST_OFF)
voice             942 sound/synth/emux/emux_synth.c 		emu->voices[voice].state = SNDRV_EMUX_ST_LOCKED;
voice             946 sound/synth/emux/emux_synth.c 			   voice, emu->voices[voice].state);
voice             954 sound/synth/emux/emux_synth.c void snd_emux_unlock_voice(struct snd_emux *emu, int voice)
voice             959 sound/synth/emux/emux_synth.c 	if (emu->voices[voice].state == SNDRV_EMUX_ST_LOCKED)
voice             960 sound/synth/emux/emux_synth.c 		emu->voices[voice].state = SNDRV_EMUX_ST_OFF;
voice             964 sound/synth/emux/emux_synth.c 			   voice, emu->voices[voice].state);