Lines Matching refs:channels
95 if (chanset->channels == NULL) in snd_midi_process_event()
107 chan = chanset->channels + dest_channel; in snd_midi_process_event()
391 struct snd_midi_channel *chan = chset->channels + i; in snd_midi_channel_set_clear()
541 chset->channels[p].drum_channel = 1; in sysex()
543 chset->channels[p].drum_channel = 0; in sysex()
550 ! chset->channels[p].drum_channel) { in sysex()
552 chset->channels[p].midi_program = buf[7]; in sysex()
581 if (chset->channels[i].drum_channel) in sysex()
582 chset->channels[i].control[MIDI_CTL_MSB_BANK] = 127; in sysex()
584 chset->channels[i].control[MIDI_CTL_MSB_BANK] = 0; in sysex()
672 struct snd_midi_channel *chan = chset->channels + ch; in reset_all_channels()
695 chset->channels = snd_midi_channel_init_set(n); in snd_midi_channel_alloc_set()
721 kfree(chset->channels); in snd_midi_channel_free_set()