Lines Matching refs:chset
96 emu->ports[i] = p->chset.port;
138 p->chset.channels = kcalloc(max_channels, sizeof(*p->chset.channels),
140 if (!p->chset.channels) {
145 p->chset.channels[i].number = i;
146 p->chset.private_data = p;
147 p->chset.max_channels = max_channels;
149 p->chset.client = emu->client;
164 p->chset.port = snd_seq_event_port_attach(emu->client, callback,
185 kfree(p->chset.channels);
217 snd_midi_channel_set_clear(&port->chset);
228 for (i = 0; i < port->chset.max_channels; i++) {
229 struct snd_midi_channel *chan = port->chset.channels + i;
248 snd_midi_process_event(&emux_ops, ev, &port->chset);