Home
last modified time | relevance | path

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

/linux/sound/core/
A Dump.c87 ump->private_free(ump); in snd_ump_endpoint_free()
133 ump = kzalloc(sizeof(*ump), GFP_KERNEL); in snd_ump_endpoint_new()
192 ump->seq_dev->private_data = ump; in snd_ump_dev_register()
227 err = ump->ops->open(ump, dir); in snd_ump_rawmidi_open()
240 ump->ops->close(ump, dir); in snd_ump_rawmidi_close()
250 ump->ops->trigger(ump, dir, up); in snd_ump_rawmidi_trigger()
316 ump->seq_ops->input_receive(ump, ump->input_buf, n); in snd_ump_receive()
379 fb->ump = ump; in snd_ump_block_new()
688 ump->info.version, ump->info.num_blocks, ump->info.protocol_caps); in ump_handle_ep_info_msg()
721 return ump_append_string(ump, ump->info.name, sizeof(ump->info.name), in ump_handle_ep_name_msg()
[all …]
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
A Dump_convert.c526 cvt->ump_bytes = do_convert_to_ump(cvt, group, protocol, c, cvt->ump); in snd_ump_convert_to_ump()
/linux/sound/core/seq/
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
343 client->ump->seq_ops = NULL; in seq_ump_client_free()
408 if (!ump->seq_client) in seq_ump_switch_protocol()
436 client->ump = ump; in snd_seq_ump_probe()
440 ump->core.name); in snd_seq_ump_probe()
472 ump->seq_client = client; in snd_seq_ump_probe()
473 ump->seq_ops = &seq_ump_ops; in snd_seq_ump_probe()
[all …]
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()
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()
575 if (ump_is_groupless_msg(ump_message_type(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()
[all …]
A Dseq_memory.h18 struct snd_seq_ump_event ump; member
32 union __snd_seq_event ump; member
A DMakefile17 snd-seq-ump-client-y := seq_ump_client.o
24 obj-$(CONFIG_SND_SEQ_UMP_CLIENT) += snd-seq-ump-client.o
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/include/sound/
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);
78 void (*trigger)(struct snd_ump_endpoint *ump, int dir, int up);
79 void (*drain)(struct snd_ump_endpoint *ump, int dir);
84 void (*input_receive)(struct snd_ump_endpoint *ump,
86 int (*notify_fb_change)(struct snd_ump_endpoint *ump,
88 int (*switch_protocol)(struct snd_ump_endpoint *ump);
93 struct snd_ump_endpoint *ump; member
106 int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
[all …]
A Dump_convert.h27 u32 ump[4]; member
/linux/sound/usb/
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/drivers/usb/gadget/function/
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()
1536 struct snd_ump_endpoint *ump; in f_midi2_create_card() local
1555 1, 1, &ump); in f_midi2_create_card()
1560 ep->ump = ump; in f_midi2_create_card()
1562 ump->private_data = ep; in f_midi2_create_card()
1568 ump->info.version = 0x0101; in f_midi2_create_card()
1576 sizeof(ump->info.name)); in f_midi2_create_card()
[all …]
/linux/include/uapi/sound/
A Dasequencer.h297 unsigned int ump[4]; member

Completed in 46 milliseconds