/linux-6.6.21/sound/core/ |
D | ump.c | 16 #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, 41 static inline int process_legacy_output(struct snd_ump_endpoint *ump, in process_legacy_output() argument 46 static inline void process_legacy_input(struct snd_ump_endpoint *ump, in process_legacy_input() argument 74 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); in snd_ump_endpoint_free() local [all …]
|
D | Makefile | 31 snd-ump-objs := ump.o 32 snd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o 49 obj-$(CONFIG_SND_UMP) += snd-ump.o
|
D | ump_convert.c | 503 cvt->ump_bytes = do_convert_to_ump(cvt, group, protocol, c, cvt->ump); in snd_ump_convert_to_ump()
|
/linux-6.6.21/include/sound/ |
D | ump.h | 25 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 …]
|
D | ump_convert.h | 26 u32 ump[4]; member
|
/linux-6.6.21/sound/core/seq/ |
D | seq_ump_client.c | 45 struct snd_ump_endpoint *ump; /* assigned endpoint */ member 69 static void seq_ump_input_receive(struct snd_ump_endpoint *ump, in seq_ump_input_receive() argument 72 struct seq_ump_client *client = ump->seq_client; in seq_ump_input_receive() 84 memcpy(ev.ump, val, words << 2); in seq_ump_input_receive() 106 type = ump_message_type(ump_ev->ump[0]); in seq_ump_process_event() 117 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_open() local 120 mutex_lock(&ump->open_mutex); in seq_ump_client_open() 122 err = snd_rawmidi_kernel_open(&ump->core, 0, in seq_ump_client_open() 131 mutex_unlock(&ump->open_mutex); in seq_ump_client_open() 138 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_close() local [all …]
|
D | seq_ump_convert.c | 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() 373 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi1_to_midi2() 420 union snd_ump_midi1_msg *midi1 = (union snd_ump_midi1_msg *)ev_cvt.ump; in cvt_ump_midi2_to_midi1() 421 const union snd_ump_midi2_msg *midi2 = (const union snd_ump_midi2_msg *)event->ump; in cvt_ump_midi2_to_midi1() 425 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump)); in cvt_ump_midi2_to_midi1() 484 len = cvt_ump_system_to_event((union snd_ump_midi1_msg *)ump_ev->ump, in cvt_ump_to_any() 488 len = cvt_ump_midi1_to_event((union snd_ump_midi1_msg *)ump_ev->ump, in cvt_ump_to_any() 492 len = cvt_ump_midi2_to_event((union snd_ump_midi2_msg *)ump_ev->ump, in cvt_ump_to_any() 496 len = cvt_ump_sysex7_to_event(ump_ev->ump, sysex_buf, ev_cvt); in cvt_ump_to_any() [all …]
|
D | seq_memory.h | 18 struct snd_seq_ump_event ump; member 32 union __snd_seq_event ump; member
|
D | Makefile | 17 snd-seq-ump-client-objs := seq_ump_client.o 24 obj-$(CONFIG_SND_SEQ_UMP_CLIENT) += snd-seq-ump-client.o
|
D | seq_memory.c | 367 memcpy(&cell->ump, event, size); in snd_seq_event_dup() 370 cell->ump.raw.extra = 0; in snd_seq_event_dup()
|
/linux-6.6.21/sound/usb/ |
D | midi2.c | 60 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() 204 snd_ump_receive(ep->ump, (u32 *)urb->transfer_buffer, len); in input_urb_complete() 336 ump_to_endpoint(struct snd_ump_endpoint *ump, int dir) in ump_to_endpoint() argument 338 struct snd_usb_midi2_ump *rmidi = ump->private_data; in ump_to_endpoint() 344 static int snd_usb_midi_v2_open(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_open() argument 346 struct snd_usb_midi2_endpoint *ep = ump_to_endpoint(ump, dir); in snd_usb_midi_v2_open() 364 static void snd_usb_midi_v2_close(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_close() argument 366 struct snd_usb_midi2_endpoint *ep = ump_to_endpoint(ump, dir); in snd_usb_midi_v2_close() [all …]
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_midi2.c | 78 struct snd_ump_endpoint *ump; /* assigned UMP EP */ member 636 snd_ump_switch_protocol(ep->ump, ep->info.protocol); in process_ump_stream_msg() 658 const u32 *in_buf = ep->ump->input_buf; in process_ump() 661 if (snd_ump_receive_ump_val(ep->ump, *data) <= 0) in process_ump() 693 snd_ump_receive(ep->ump, req->buf, req->actual & ~3); in f_midi2_ep_out_complete() 721 len = snd_ump_transmit(ep->ump, (u32 *)req->buf, in process_ump_transmit() 980 u32 ump; in process_midi1_transmit() local 995 len = snd_ump_transmit(ep->ump, &ump, 4); in process_midi1_transmit() 998 if (snd_ump_receive_ump_val(ep->ump, ump) <= 0) in process_midi1_transmit() 1000 size = snd_ump_convert_from_ump(ep->ump->input_buf, outbuf, in process_midi1_transmit() [all …]
|
/linux-6.6.21/include/uapi/sound/ |
D | asequencer.h | 297 unsigned int ump[4]; member
|