chset              53 include/sound/emux_synth.h 		      struct snd_midi_channel_set *chset);
chset             128 include/sound/emux_synth.h 	struct snd_midi_channel_set chset;
chset             207 include/sound/gus.h 	struct snd_midi_channel_set * chset;
chset             313 include/sound/opl3.h 	struct snd_midi_channel_set * chset;
chset              75 include/sound/seq_midi_emul.h 		     struct snd_midi_channel_set *chset);
chset              77 include/sound/seq_midi_emul.h 		      struct snd_midi_channel_set *chset);
chset             179 include/sound/seq_midi_emul.h void snd_midi_channel_set_clear(struct snd_midi_channel_set *chset);
chset             181 include/sound/seq_midi_emul.h void snd_midi_channel_free_set(struct snd_midi_channel_set *chset);
chset              37 sound/core/seq/seq_midi_emul.c 		       struct snd_midi_channel_set *chset,
chset              41 sound/core/seq/seq_midi_emul.c 		struct snd_midi_channel_set *chset);
chset              43 sound/core/seq/seq_midi_emul.c 		 struct snd_midi_channel_set *chset);
chset              45 sound/core/seq/seq_midi_emul.c 		  int len, struct snd_midi_channel_set *chset);
chset              51 sound/core/seq/seq_midi_emul.c static void reset_all_channels(struct snd_midi_channel_set *chset);
chset             254 sound/core/seq/seq_midi_emul.c do_control(struct snd_midi_op *ops, void *drv, struct snd_midi_channel_set *chset,
chset             310 sound/core/seq/seq_midi_emul.c 			rpn(ops, drv, chan, chset);
chset             312 sound/core/seq/seq_midi_emul.c 			nrpn(ops, drv, chan, chset);
chset             332 sound/core/seq/seq_midi_emul.c 		if (chset->midi_mode == SNDRV_MIDI_MODE_XG) {
chset             373 sound/core/seq/seq_midi_emul.c snd_midi_channel_set_clear(struct snd_midi_channel_set *chset)
chset             377 sound/core/seq/seq_midi_emul.c 	chset->midi_mode = SNDRV_MIDI_MODE_GM;
chset             378 sound/core/seq/seq_midi_emul.c 	chset->gs_master_volume = 127;
chset             380 sound/core/seq/seq_midi_emul.c 	for (i = 0; i < chset->max_channels; i++) {
chset             381 sound/core/seq/seq_midi_emul.c 		struct snd_midi_channel *chan = chset->channels + i;
chset             406 sound/core/seq/seq_midi_emul.c     struct snd_midi_channel_set *chset)
chset             411 sound/core/seq/seq_midi_emul.c 	if (chset->midi_mode != SNDRV_MIDI_MODE_NONE) {
chset             446 sound/core/seq/seq_midi_emul.c      struct snd_midi_channel_set *chset)
chset             450 sound/core/seq/seq_midi_emul.c 		ops->nrpn(drv, chan, chset);
chset             474 sound/core/seq/seq_midi_emul.c       struct snd_midi_channel_set *chset)
chset             505 sound/core/seq/seq_midi_emul.c 		if (chset->midi_mode != SNDRV_MIDI_MODE_GS &&
chset             506 sound/core/seq/seq_midi_emul.c 		    chset->midi_mode != SNDRV_MIDI_MODE_XG) {
chset             507 sound/core/seq/seq_midi_emul.c 			chset->midi_mode = SNDRV_MIDI_MODE_GM;
chset             508 sound/core/seq/seq_midi_emul.c 			reset_all_channels(chset);
chset             516 sound/core/seq/seq_midi_emul.c 		if (chset->midi_mode != SNDRV_MIDI_MODE_GS &&
chset             517 sound/core/seq/seq_midi_emul.c 		    chset->midi_mode != SNDRV_MIDI_MODE_XG)
chset             518 sound/core/seq/seq_midi_emul.c 			chset->midi_mode = SNDRV_MIDI_MODE_GS;
chset             523 sound/core/seq/seq_midi_emul.c 			reset_all_channels(chset);
chset             529 sound/core/seq/seq_midi_emul.c 			if (p < chset->max_channels) {
chset             532 sound/core/seq/seq_midi_emul.c 					chset->channels[p].drum_channel = 1;
chset             534 sound/core/seq/seq_midi_emul.c 					chset->channels[p].drum_channel = 0;
chset             540 sound/core/seq/seq_midi_emul.c 			if (p < chset->max_channels &&
chset             541 sound/core/seq/seq_midi_emul.c 			    ! chset->channels[p].drum_channel) {
chset             543 sound/core/seq/seq_midi_emul.c 				chset->channels[p].midi_program = buf[7];
chset             549 sound/core/seq/seq_midi_emul.c 			chset->gs_reverb_mode = buf[7];
chset             554 sound/core/seq/seq_midi_emul.c 			chset->gs_chorus_mode = buf[7];
chset             559 sound/core/seq/seq_midi_emul.c 			chset->gs_master_volume = buf[7];
chset             568 sound/core/seq/seq_midi_emul.c 		chset->midi_mode = SNDRV_MIDI_MODE_XG;
chset             571 sound/core/seq/seq_midi_emul.c 		for (i = 0; i < chset->max_channels; i++) {
chset             572 sound/core/seq/seq_midi_emul.c 			if (chset->channels[i].drum_channel)
chset             573 sound/core/seq/seq_midi_emul.c 				chset->channels[i].control[MIDI_CTL_MSB_BANK] = 127;
chset             575 sound/core/seq/seq_midi_emul.c 				chset->channels[i].control[MIDI_CTL_MSB_BANK] = 0;
chset             580 sound/core/seq/seq_midi_emul.c 		ops->sysex(private, buf - 1, len + 1, parsed, chset);
chset             659 sound/core/seq/seq_midi_emul.c reset_all_channels(struct snd_midi_channel_set *chset)
chset             662 sound/core/seq/seq_midi_emul.c 	for (ch = 0; ch < chset->max_channels; ch++) {
chset             663 sound/core/seq/seq_midi_emul.c 		struct snd_midi_channel *chan = chset->channels + ch;
chset             682 sound/core/seq/seq_midi_emul.c 	struct snd_midi_channel_set *chset;
chset             684 sound/core/seq/seq_midi_emul.c 	chset = kmalloc(sizeof(*chset), GFP_KERNEL);
chset             685 sound/core/seq/seq_midi_emul.c 	if (chset) {
chset             686 sound/core/seq/seq_midi_emul.c 		chset->channels = snd_midi_channel_init_set(n);
chset             687 sound/core/seq/seq_midi_emul.c 		chset->private_data = NULL;
chset             688 sound/core/seq/seq_midi_emul.c 		chset->max_channels = n;
chset             690 sound/core/seq/seq_midi_emul.c 	return chset;
chset             709 sound/core/seq/seq_midi_emul.c void snd_midi_channel_free_set(struct snd_midi_channel_set *chset)
chset             711 sound/core/seq/seq_midi_emul.c 	if (chset == NULL)
chset             713 sound/core/seq/seq_midi_emul.c 	kfree(chset->channels);
chset             714 sound/core/seq/seq_midi_emul.c 	kfree(chset);
chset             839 sound/drivers/opl3/opl3_midi.c 		   struct snd_midi_channel_set *chset)
chset             851 sound/drivers/opl3/opl3_midi.c 		    int parsed, struct snd_midi_channel_set *chset)
chset             146 sound/drivers/opl3/opl3_seq.c 	snd_midi_process_event(&opl3_ops, ev, opl3->chset);
chset             156 sound/drivers/opl3/opl3_seq.c 	snd_midi_channel_free_set(opl3->chset);
chset             167 sound/drivers/opl3/opl3_seq.c 	opl3->chset = snd_midi_channel_alloc_set(16);
chset             168 sound/drivers/opl3/opl3_seq.c 	if (opl3->chset == NULL)
chset             170 sound/drivers/opl3/opl3_seq.c 	opl3->chset->private_data = opl3;
chset             183 sound/drivers/opl3/opl3_seq.c 	opl3->chset->client = opl3->seq_client;
chset             184 sound/drivers/opl3/opl3_seq.c 	opl3->chset->port = snd_seq_event_port_attach(opl3->seq_client, &callbacks,
chset             194 sound/drivers/opl3/opl3_seq.c 	if (opl3->chset->port < 0) {
chset             196 sound/drivers/opl3/opl3_seq.c 		port = opl3->chset->port;
chset             197 sound/drivers/opl3/opl3_seq.c 		snd_midi_channel_free_set(opl3->chset);
chset              23 sound/drivers/opl3/opl3_voice.h void snd_opl3_nrpn(void *p, struct snd_midi_channel *chan, struct snd_midi_channel_set *chset);
chset              24 sound/drivers/opl3/opl3_voice.h void snd_opl3_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
chset             194 sound/drivers/opl4/opl4_local.h 	struct snd_midi_channel_set *chset;
chset             229 sound/drivers/opl4/opl4_local.h void snd_opl4_sysex(void *p, unsigned char *buf, int len, int parsed, struct snd_midi_channel_set *chset);
chset             116 sound/drivers/opl4/opl4_seq.c 	snd_midi_process_event(&opl4_ops, ev, opl4->chset);
chset             124 sound/drivers/opl4/opl4_seq.c 	snd_midi_channel_free_set(opl4->chset);
chset             141 sound/drivers/opl4/opl4_seq.c 	opl4->chset = snd_midi_channel_alloc_set(16);
chset             142 sound/drivers/opl4/opl4_seq.c 	if (!opl4->chset)
chset             144 sound/drivers/opl4/opl4_seq.c 	opl4->chset->private_data = opl4;
chset             150 sound/drivers/opl4/opl4_seq.c 		snd_midi_channel_free_set(opl4->chset);
chset             154 sound/drivers/opl4/opl4_seq.c 	opl4->chset->client = client;
chset             165 sound/drivers/opl4/opl4_seq.c 	opl4->chset->port = snd_seq_event_port_attach(client, &pcallbacks,
chset             174 sound/drivers/opl4/opl4_seq.c 	if (opl4->chset->port < 0) {
chset             175 sound/drivers/opl4/opl4_seq.c 		int err = opl4->chset->port;
chset             176 sound/drivers/opl4/opl4_seq.c 		snd_midi_channel_free_set(opl4->chset);
chset             291 sound/drivers/opl4/opl4_synth.c 	snd_midi_channel_set_clear(opl4->chset);
chset             374 sound/drivers/opl4/opl4_synth.c 	att += snd_opl4_volume_table[opl4->chset->gs_master_volume & 0x7f];
chset             625 sound/drivers/opl4/opl4_synth.c 		    int parsed, struct snd_midi_channel_set *chset)
chset              25 sound/isa/sb/emu8000_callback.c 		  struct snd_midi_channel_set *chset);
chset             447 sound/isa/sb/emu8000_callback.c sysex(struct snd_emux *emu, char *buf, int len, int parsed, struct snd_midi_channel_set *chset)
chset             455 sound/isa/sb/emu8000_callback.c 		hw->chorus_mode = chset->gs_chorus_mode;
chset             460 sound/isa/sb/emu8000_callback.c 		hw->reverb_mode = chset->gs_reverb_mode;
chset             239 sound/pci/trident/trident.h 	struct snd_midi_channel_set * chset;
chset             269 sound/synth/emux/emux_effect.c 	p->effect = kcalloc(p->chset.max_channels,
chset             272 sound/synth/emux/emux_effect.c 		for (i = 0; i < p->chset.max_channels; i++)
chset             273 sound/synth/emux/emux_effect.c 			p->chset.channels[i].private = p->effect + i;
chset             275 sound/synth/emux/emux_effect.c 		for (i = 0; i < p->chset.max_channels; i++)
chset             276 sound/synth/emux/emux_effect.c 			p->chset.channels[i].private = NULL;
chset             292 sound/synth/emux/emux_effect.c 		       p->chset.max_channels);
chset             274 sound/synth/emux/emux_nrpn.c 	      struct snd_midi_channel_set *chset)
chset             297 sound/synth/emux/emux_nrpn.c 	if (port->chset.midi_mode == SNDRV_MIDI_MODE_GS &&
chset             363 sound/synth/emux/emux_nrpn.c 	       struct snd_midi_channel_set *chset)
chset             369 sound/synth/emux/emux_nrpn.c 	if (snd_BUG_ON(!port || !chset))
chset             379 sound/synth/emux/emux_nrpn.c 			emu->ops.sysex(emu, buf, len, parsed, chset);
chset             125 sound/synth/emux/emux_oss.c 	arg->addr.client = p->chset.client;
chset             126 sound/synth/emux/emux_oss.c 	arg->addr.port = p->chset.port;
chset             178 sound/synth/emux/emux_oss.c 	snd_soundfont_close_check(emu->sflist, SF_CLIENT_NO(p->chset.port));
chset             179 sound/synth/emux/emux_oss.c 	snd_seq_event_port_detach(p->chset.client, p->chset.port);
chset             209 sound/synth/emux/emux_oss.c 						 SF_CLIENT_NO(p->chset.port));
chset             218 sound/synth/emux/emux_oss.c 			rc = snd_soundfont_load(emu->sflist, buf, count, SF_CLIENT_NO(p->chset.port));
chset             330 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
chset             333 sound/synth/emux/emux_oss.c 		chan = &port->chset.channels[voice];
chset             388 sound/synth/emux/emux_oss.c 		for (i = 0; i < port->chset.max_channels; i++) {
chset             389 sound/synth/emux/emux_oss.c 			chan = &port->chset.channels[i];
chset             428 sound/synth/emux/emux_oss.c 	if (voice < 0 || voice >= port->chset.max_channels)
chset             431 sound/synth/emux/emux_oss.c 	chan = &port->chset.channels[voice];
chset              96 sound/synth/emux/emux_seq.c 		emu->ports[i] = p->chset.port;
chset             138 sound/synth/emux/emux_seq.c 	p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels),
chset             140 sound/synth/emux/emux_seq.c 	if (!p->chset.channels) {
chset             145 sound/synth/emux/emux_seq.c 		p->chset.channels[i].number = i;
chset             146 sound/synth/emux/emux_seq.c 	p->chset.private_data = p;
chset             147 sound/synth/emux/emux_seq.c 	p->chset.max_channels = max_channels;
chset             149 sound/synth/emux/emux_seq.c 	p->chset.client = emu->client;
chset             164 sound/synth/emux/emux_seq.c 	p->chset.port = snd_seq_event_port_attach(emu->client, callback,
chset             185 sound/synth/emux/emux_seq.c 		kfree(p->chset.channels);
chset             217 sound/synth/emux/emux_seq.c 	snd_midi_channel_set_clear(&port->chset);
chset             228 sound/synth/emux/emux_seq.c 	for (i = 0; i < port->chset.max_channels; i++) {
chset             229 sound/synth/emux/emux_seq.c 		struct snd_midi_channel *chan = port->chset.channels + i;
chset             248 sound/synth/emux/emux_seq.c 	snd_midi_process_event(&emux_ops, ev, &port->chset);
chset             354 sound/synth/emux/emux_synth.c 	if (port->chset.midi_mode == SNDRV_MIDI_MODE_XG) {
chset             771 sound/synth/emux/emux_synth.c 	master_vol = port->chset.gs_master_volume;
chset             864 sound/synth/emux/emux_synth.c 	switch (port->chset.midi_mode) {
chset              61 sound/synth/emux/emux_voice.h 		    int parsed, struct snd_midi_channel_set *chset);
chset              65 sound/synth/emux/emux_voice.h 		   struct snd_midi_channel_set *chset);