Lines Matching refs:chset
109 emu->ports[i] = p->chset.port; in snd_emux_init_seq()
151 p->chset.channels = kcalloc(max_channels, sizeof(struct snd_midi_channel), GFP_KERNEL); in snd_emux_create_port()
152 if (p->chset.channels == NULL) { in snd_emux_create_port()
158 p->chset.channels[i].number = i; in snd_emux_create_port()
159 p->chset.private_data = p; in snd_emux_create_port()
160 p->chset.max_channels = max_channels; in snd_emux_create_port()
162 p->chset.client = emu->client; in snd_emux_create_port()
177 p->chset.port = snd_seq_event_port_attach(emu->client, callback, in snd_emux_create_port()
198 kfree(p->chset.channels); in free_port()
230 snd_midi_channel_set_clear(&port->chset); in snd_emux_reset_port()
241 for (i = 0; i < port->chset.max_channels; i++) { in snd_emux_reset_port()
242 struct snd_midi_channel *chan = port->chset.channels + i; in snd_emux_reset_port()
261 snd_midi_process_event(&emux_ops, ev, &port->chset); in snd_emux_event_input()