Home
last modified time | relevance | path

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

/linux/sound/core/
H A Dump.c16 #define ump_err(ump, fmt, args...) dev_err((ump)->core.dev, fmt, ##args) argument
17 #define ump_warn(ump, fmt, args...) dev_warn((ump)->core.dev, fmt, ##args) argument
18 #define ump_info(ump, fmt, args...) dev_info((ump)->core.dev, fmt, ##args) argument
19 #define ump_dbg(ump, fmt, args...) dev_dbg((ump)->core.dev, fmt, ##args) argument
33 static void ump_handle_stream_msg(struct snd_ump_endpoint *ump,
36 static int process_legacy_output(struct snd_ump_endpoint *ump,
38 static void process_legacy_input(struct snd_ump_endpoint *ump, const u32 *src,
40 static void ump_legacy_set_rawmidi_name(struct snd_ump_endpoint *ump);
41 static void update_legacy_names(struct snd_ump_endpoint *ump);
43 static inline int process_legacy_output(struct snd_ump_endpoint *ump, in process_legacy_output() argument
[all …]
H A DMakefile32 snd-ump-y := ump.o
33 snd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o
50 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/sound/core/seq/
H A Dseq_ump_client.c12 #include <sound/ump.h>
37 struct snd_ump_endpoint *ump; /* assigned endpoint */ member
61 static void seq_ump_input_receive(struct snd_ump_endpoint *ump, in seq_ump_input_receive()
64 struct seq_ump_client *client = ump->seq_client; in seq_ump_input_receive()
76 memcpy(ev.ump, val, words << 2); in seq_ump_input_receive()
99 type = ump_message_type(ump_ev->ump[0]); in seq_ump_process_event()
110 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_open()
114 guard(mutex)(&ump->open_mutex); in seq_ump_client_open()
116 err = snd_rawmidi_kernel_open(&ump in seq_ump_client_open()
60 seq_ump_input_receive(struct snd_ump_endpoint * ump,const u32 * val,int words) seq_ump_input_receive() argument
108 struct snd_ump_endpoint *ump = client->ump; seq_ump_client_open() local
127 struct snd_ump_endpoint *ump = client->ump; seq_ump_client_close() local
392 seq_ump_notify_ep_change(struct snd_ump_endpoint * ump) seq_ump_notify_ep_change() argument
419 seq_ump_notify_fb_change(struct snd_ump_endpoint * ump,struct snd_ump_block * fb) seq_ump_notify_fb_change() argument
434 seq_ump_switch_protocol(struct snd_ump_endpoint * ump) seq_ump_switch_protocol() argument
457 struct snd_ump_endpoint *ump = dev->private_data; snd_seq_ump_probe() local
517 struct snd_ump_endpoint *ump = dev->private_data; snd_seq_ump_remove() local
[all...]
H A Dseq_ump_convert.c10 #include <sound/ump.h>
369 const union snd_ump_midi1_msg *midi1 = (const union snd_ump_midi1_msg *)event->ump; in cvt_ump_midi1_to_midi2()
370 union snd_ump_midi2_msg *midi2 = (union snd_ump_midi2_msg *)ev_cvt.ump; in cvt_ump_midi1_to_midi2()
374 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi1_to_midi2()
439 union snd_ump_midi1_msg *midi1 = (union snd_ump_midi1_msg *)ev_cvt.ump; in cvt_ump_midi2_to_midi1()
440 const union snd_ump_midi2_msg *midi2 = (const union snd_ump_midi2_msg *)event->ump; in cvt_ump_midi2_to_midi1()
445 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi2_to_midi1()
522 len = cvt_ump_system_to_event((union snd_ump_midi1_msg *)ump_ev->ump, in cvt_ump_to_any()
[all...]
H A Dseq_dummy.c63 static int ump; variable
64 module_param(ump, int, 0444);
65 MODULE_PARM_DESC(ump, "UMP conversion (0: no convert, 1: MIDI 1.0, 2: MIDI 2.0)");
184 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/sound/usb/
H A Dmidi2.c60 struct snd_ump_endpoint *ump; /* assigned UMP EP */ member
83 struct snd_ump_endpoint *ump; /* assigned UMP EP object */ member
142 count = snd_ump_transmit(ep->ump, urb->transfer_buffer, in prepare_output_urb()
201 snd_ump_receive(ep->ump, (u32 *)urb->transfer_buffer, len); in input_urb_complete()
328 ump_to_endpoint(struct snd_ump_endpoint *ump, int dir) in ump_to_endpoint() argument
330 struct snd_usb_midi2_ump *rmidi = ump->private_data; in ump_to_endpoint()
336 static int snd_usb_midi_v2_open(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_open() argument
338 struct snd_usb_midi2_endpoint *ep = ump_to_endpoint(ump, dir); in snd_usb_midi_v2_open()
356 static void snd_usb_midi_v2_close(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_close() argument
358 struct snd_usb_midi2_endpoint *ep = ump_to_endpoint(ump, dir); in snd_usb_midi_v2_close()
[all …]
/linux/include/sound/
H A Dump_convert.h27 u32 ump[4]; member