Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/
H 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()
625 ump->info.version, ump->info.num_blocks, ump->info.protocol_caps); in ump_handle_ep_info_msg()
657 return ump_append_string(ump, ump->info.name, sizeof(ump->info.name), in ump_handle_ep_name_msg()
[all …]
H A DMakefile31 snd-ump-objs := 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()
/openbmc/linux/include/sound/
H A Dump.h25 void (*private_free)(struct snd_ump_endpoint *ump);
65 int (*open)(struct snd_ump_endpoint *ump, int dir);
66 void (*close)(struct snd_ump_endpoint *ump, int dir);
67 void (*trigger)(struct snd_ump_endpoint *ump, int dir, int up);
68 void (*drain)(struct snd_ump_endpoint *ump, int dir);
73 void (*input_receive)(struct snd_ump_endpoint *ump,
75 int (*notify_fb_change)(struct snd_ump_endpoint *ump,
77 int (*switch_protocol)(struct snd_ump_endpoint *ump);
82 struct snd_ump_endpoint *ump; member
95 int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
[all …]
H A Dump_convert.h27 u32 ump[4]; member
/openbmc/linux/sound/core/seq/
H A Dseq_ump_client.c118 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_open() local
121 mutex_lock(&ump->open_mutex); in seq_ump_client_open()
139 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_close() local
141 mutex_lock(&ump->open_mutex); in seq_ump_client_close()
414 client->ump->seq_ops = NULL; in seq_ump_client_free()
480 if (!ump->seq_client) in seq_ump_switch_protocol()
508 client->ump = ump; in snd_seq_ump_probe()
512 ump->core.name); in snd_seq_ump_probe()
545 ump->seq_client = client; in snd_seq_ump_probe()
546 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()
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()
1127 memset(dest->ump, 0, sizeof(dest->ump)); in setup_ump_event()
1153 ev_cvt.ump[0] = data[i].raw; in cvt_to_ump_midi1()
1188 memcpy(ev_cvt.ump, &data[i], sizeof(data[i])); in cvt_to_ump_midi2()
[all …]
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-objs := seq_ump_client.o
24 obj-$(CONFIG_SND_SEQ_UMP_CLIENT) += snd-seq-ump-client.o
H A Dseq_memory.c367 memcpy(&cell->ump, event, size); in snd_seq_event_dup()
370 cell->ump.raw.extra = 0; in snd_seq_event_dup()
/openbmc/linux/sound/usb/
H A Dmidi2.c591 struct snd_ump_endpoint *ump = rmidi->ump; in parse_group_terminal_block() local
610 if (ump->info.protocol && ump->info.protocol != protocol) in parse_group_terminal_block()
627 if (ump->info.protocol_caps && ump->info.protocol_caps != protocol_caps) in parse_group_terminal_block()
734 rmidi->ump = ump; in create_midi2_ump()
745 ep_in->ump = ump; in create_midi2_ump()
750 ep_out->ump = ump; in create_midi2_ump()
807 if (!rmidi->ump || in parse_ump_endpoints()
889 if (!rmidi->ump) in create_blocks_from_gtb()
1031 usb_string(dev, id, ump->info.name, sizeof(ump->info.name)); in fill_ump_ep_name()
1047 ump = rmidi->ump; in set_fallback_rawmidi_names()
[all …]
/openbmc/linux/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()
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 …]
/openbmc/linux/include/uapi/sound/
H A Dasequencer.h297 unsigned int ump[4]; member