Home
last modified time | relevance | path

Searched refs:ump (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/sound/core/
H A Dump.c123 ump->private_free(ump); in snd_ump_endpoint_free()
228 ump->seq_dev->private_data = ump; in snd_ump_dev_register()
263 err = ump->ops->open(ump, dir); in snd_ump_rawmidi_open()
276 ump->ops->close(ump, dir); in snd_ump_rawmidi_close()
286 ump->ops->trigger(ump, dir, up); in snd_ump_rawmidi_trigger()
352 ump->seq_ops->input_receive(ump, ump->input_buf, n); in snd_ump_receive()
415 fb->ump = ump; in snd_ump_block_new()
702 if (ump->parsed && ump->seq_ops && ump->seq_ops->notify_ep_change) in seq_notify_ep_change()
727 ump->info.version, ump->info.num_blocks, ump->info.protocol_caps); in ump_handle_ep_info_msg()
771 ret = ump_append_string(ump, ump->info.name, sizeof(ump->info.name), in ump_handle_ep_name_msg()
[all …]
H A DMakefile31 snd-ump-y := ump.o
32 snd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o
49 obj-$(CONFIG_SND_UMP) += snd-ump.o
H A Dump_convert.c526 cvt->ump_bytes = do_convert_to_ump(cvt, group, protocol, c, cvt->ump); in snd_ump_convert_to_ump()
/linux-6.15/sound/core/seq/
H A Dseq_ump_client.c75 memcpy(ev.ump, val, words << 2); in seq_ump_input_receive()
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()
127 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_close() local
341 client->ump->seq_ops = NULL; in seq_ump_client_free()
409 if (*ump->core.name && strcmp(ump->core.name, cptr->name)) { in seq_ump_notify_ep_change()
470 client->ump = ump; in snd_seq_ump_probe()
474 ump->core.name); in snd_seq_ump_probe()
506 ump->seq_client = client; in snd_seq_ump_probe()
507 ump->seq_ops = &seq_ump_ops; in snd_seq_ump_probe()
[all …]
H A Dseq_ump_convert.c374 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi1_to_midi2()
445 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi2_to_midi1()
559 ev.ump[0] &= ~(0xfU << 24); in deliver_with_group_convert()
561 ev.ump[0] |= ((dest_port->ump_group - 1) << 24); in deliver_with_group_convert()
574 group = ump_message_group(ev->ump[0]); in ump_event_filtered()
595 type = ump_message_type(ump_ev->ump[0]); in snd_seq_deliver_from_ump()
1128 memset(dest->ump, 0, sizeof(dest->ump)); in setup_ump_event()
1154 ev_cvt.ump[0] = data[i].raw; in cvt_to_ump_midi1()
1189 memcpy(ev_cvt.ump, &data[i], sizeof(data[i])); in cvt_to_ump_midi2()
1300 type = ump_message_type(ump_ev->ump[0]); in snd_seq_ump_group_port()
[all …]
H A Dseq_dummy.c62 static int ump; variable
63 module_param(ump, int, 0444);
64 MODULE_PARM_DESC(ump, "UMP conversion (0: no convert, 1: MIDI 1.0, 2: MIDI 2.0)");
181 switch (ump) { in register_client()
H A Dseq_memory.h18 struct snd_seq_ump_event ump; member
32 union __snd_seq_event ump; member
H A DMakefile17 snd-seq-ump-client-y := seq_ump_client.o
24 obj-$(CONFIG_SND_SEQ_UMP_CLIENT) += snd-seq-ump-client.o
H A Dseq_memory.c365 memcpy(&cell->ump, event, size); in snd_seq_event_dup()
368 cell->ump.raw.extra = 0; in snd_seq_event_dup()
/linux-6.15/include/sound/
H A Dump.h34 void (*private_free)(struct snd_ump_endpoint *ump);
76 int (*open)(struct snd_ump_endpoint *ump, int dir);
77 void (*close)(struct snd_ump_endpoint *ump, int dir);
79 void (*drain)(struct snd_ump_endpoint *ump, int dir);
84 void (*input_receive)(struct snd_ump_endpoint *ump,
86 int (*notify_ep_change)(struct snd_ump_endpoint *ump);
87 int (*notify_fb_change)(struct snd_ump_endpoint *ump,
89 int (*switch_protocol)(struct snd_ump_endpoint *ump);
94 struct snd_ump_endpoint *ump; member
107 int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
[all …]
H A Dump_convert.h27 u32 ump[4]; member
/linux-6.15/sound/usb/
H A Dmidi2.c591 struct snd_ump_endpoint *ump = rmidi->ump; in parse_group_terminal_block() local
724 rmidi->ump = ump; in create_midi2_ump()
735 ep_in->ump = ump; in create_midi2_ump()
740 ep_out->ump = ump; in create_midi2_ump()
797 if (!rmidi->ump || in parse_ump_endpoints()
895 if (!rmidi->ump) in create_blocks_from_gtb()
1037 usb_string(dev, id, ump->info.name, sizeof(ump->info.name)); in fill_ump_ep_name()
1053 ump = rmidi->ump; in set_fallback_rawmidi_names()
1060 if (!*ump->info.name) in set_fallback_rawmidi_names()
1063 if (!*ump->core.name) in set_fallback_rawmidi_names()
[all …]
/linux-6.15/drivers/usb/gadget/function/
H A Df_midi2.c991 u32 ump; in process_midi1_transmit() local
1006 len = snd_ump_transmit(ep->ump, &ump, 4); in process_midi1_transmit()
1009 if (snd_ump_receive_ump_val(ep->ump, ump) <= 0) in process_midi1_transmit()
1083 snd_ump_receive(ep->ump, cvt->ump, in f_midi2_midi1_ep_out_complete()
1534 struct snd_ump_endpoint *ump; in f_midi2_create_card() local
1553 1, 1, &ump); in f_midi2_create_card()
1558 ep->ump = ump; in f_midi2_create_card()
1560 ump->private_data = ep; in f_midi2_create_card()
1566 ump->info.version = 0x0101; in f_midi2_create_card()
1574 sizeof(ump->info.name)); in f_midi2_create_card()
[all …]
/linux-6.15/include/uapi/sound/
H A Dasequencer.h307 unsigned int ump[4]; member