Lines Matching refs:ump

37 	struct snd_ump_endpoint *ump;	/* assigned endpoint */  member
60 static void seq_ump_input_receive(struct snd_ump_endpoint *ump, in seq_ump_input_receive() argument
63 struct seq_ump_client *client = ump->seq_client; in seq_ump_input_receive()
75 memcpy(ev.ump, val, words << 2); in seq_ump_input_receive()
97 type = ump_message_type(ump_ev->ump[0]); in seq_ump_process_event()
108 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_open() local
111 guard(mutex)(&ump->open_mutex); in seq_ump_client_open()
113 err = snd_rawmidi_kernel_open(&ump->core, 0, in seq_ump_client_open()
127 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_close() local
129 guard(mutex)(&ump->open_mutex); in seq_ump_client_close()
170 unsigned int rawmidi_info = client->ump->core.info_flags; in fill_port_info()
210 (client->ump->info.flags & SNDRV_UMP_EP_INFO_STATIC_BLOCKS); in skip_group()
216 struct snd_ump_group *group = &client->ump->groups[group_index]; in seq_ump_group_init()
256 if (skip_group(client, &client->ump->groups[i])) in update_port_infos()
266 fill_port_info(new, client, &client->ump->groups[i]); in update_port_infos()
282 unsigned int rawmidi_info = client->ump->core.info_flags; in create_ump_endpoint_port()
341 client->ump->seq_ops = NULL; in seq_ump_client_free()
342 client->ump->seq_client = NULL; in seq_ump_client_free()
355 if (client->ump->info.protocol & SNDRV_UMP_EP_INFO_PROTO_MIDI2) in setup_client_midi_version()
374 if (client->ump->groups[p].active) in setup_client_group_filter()
392 static int seq_ump_notify_ep_change(struct snd_ump_endpoint *ump) in seq_ump_notify_ep_change() argument
394 struct seq_ump_client *client = ump->seq_client; in seq_ump_notify_ep_change()
409 if (*ump->core.name && strcmp(ump->core.name, cptr->name)) { in seq_ump_notify_ep_change()
410 strscpy(cptr->name, ump->core.name, sizeof(cptr->name)); in seq_ump_notify_ep_change()
419 static int seq_ump_notify_fb_change(struct snd_ump_endpoint *ump, in seq_ump_notify_fb_change() argument
422 struct seq_ump_client *client = ump->seq_client; in seq_ump_notify_fb_change()
434 static int seq_ump_switch_protocol(struct snd_ump_endpoint *ump) in seq_ump_switch_protocol() argument
436 struct seq_ump_client *client = ump->seq_client; in seq_ump_switch_protocol()
457 struct snd_ump_endpoint *ump = dev->private_data; in snd_seq_ump_probe() local
469 client->ump = ump; in snd_seq_ump_probe()
472 snd_seq_create_kernel_client(card, ump->core.device, in snd_seq_ump_probe()
473 ump->core.name); in snd_seq_ump_probe()
479 client->ump_info[0] = &ump->info; in snd_seq_ump_probe()
480 list_for_each_entry(fb, &ump->block_list, list) in snd_seq_ump_probe()
505 ump->seq_client = client; in snd_seq_ump_probe()
506 ump->seq_ops = &seq_ump_ops; in snd_seq_ump_probe()
517 struct snd_ump_endpoint *ump = dev->private_data; in snd_seq_ump_remove() local
519 if (ump->seq_client) in snd_seq_ump_remove()
520 seq_ump_client_free(ump->seq_client); in snd_seq_ump_remove()