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