Searched refs:ump (Results 1 - 15 of 15) sorted by relevance

/linux-master/sound/core/
H A Dump.c13 #include <sound/ump.h>
16 #define ump_err(ump, fmt, args...) dev_err((ump)->core.dev, fmt, ##args)
17 #define ump_warn(ump, fmt, args...) dev_warn((ump)->core.dev, fmt, ##args)
18 #define ump_info(ump, fmt, args...) dev_info((ump)->core.dev, fmt, ##args)
19 #define ump_dbg(ump, fmt, args...) dev_dbg((ump)->core.dev, fmt, ##args)
33 static void ump_handle_stream_msg(struct snd_ump_endpoint *ump,
41 process_legacy_output(struct snd_ump_endpoint *ump, u32 *buffer, int count) argument
46 process_legacy_input(struct snd_ump_endpoint *ump, const u32 *src, int words) argument
74 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); local
123 struct snd_ump_endpoint *ump; local
176 struct snd_ump_endpoint *ump = device->private_data; local
185 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); local
205 snd_ump_get_block(struct snd_ump_endpoint *ump, unsigned char id) argument
221 struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi); local
236 struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi); local
247 struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi); local
255 struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi); local
275 snd_ump_receive_ump_val(struct snd_ump_endpoint *ump, u32 val) argument
303 snd_ump_receive(struct snd_ump_endpoint *ump, const u32 *buffer, int count) argument
338 snd_ump_transmit(struct snd_ump_endpoint *ump, u32 *buffer, int count) argument
363 snd_ump_block_new(struct snd_ump_endpoint *ump, unsigned int blk, unsigned int direction, unsigned int first_group, unsigned int num_groups, struct snd_ump_block **blk_ret) argument
409 snd_ump_ioctl_block(struct snd_ump_endpoint *ump, struct snd_ump_block_info __user *argp) argument
431 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); local
479 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); local
532 ump_request_open(struct snd_ump_endpoint *ump) argument
539 ump_request_close(struct snd_ump_endpoint *ump) argument
548 ump_req_msg(struct snd_ump_endpoint *ump, u32 req1, u32 req2, u32 reply) argument
577 ump_append_string(struct snd_ump_endpoint *ump, char *dest, int maxsize, const u32 *buf, int offset) argument
606 ump_handle_ep_info_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
630 ump_handle_device_info_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
654 ump_handle_ep_name_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
662 ump_handle_product_id_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
671 seq_notify_protocol(struct snd_ump_endpoint *ump) argument
686 snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol) argument
701 ump_handle_stream_cfg_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
712 fill_fb_info(struct snd_ump_endpoint *ump, struct snd_ump_block_info *info, const union snd_ump_stream_msg *buf) argument
732 is_fb_info_updated(struct snd_ump_endpoint *ump, struct snd_ump_block *fb, const union snd_ump_stream_msg *buf) argument
750 seq_notify_fb_change(struct snd_ump_endpoint *ump, struct snd_ump_block *fb) argument
760 ump_handle_fb_info_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
790 ump_handle_fb_name_msg(struct snd_ump_endpoint *ump, const union snd_ump_stream_msg *buf) argument
810 create_block_from_fb_info(struct snd_ump_endpoint *ump, int blk) argument
855 ump_handle_stream_msg(struct snd_ump_endpoint *ump, const u32 *buf, int size) argument
915 snd_ump_parse_endpoint(struct snd_ump_endpoint *ump) argument
985 struct snd_ump_endpoint *ump = substream->rmidi->private_data; local
1012 struct snd_ump_endpoint *ump = substream->rmidi->private_data; local
1029 struct snd_ump_endpoint *ump = substream->rmidi->private_data; local
1037 struct snd_ump_endpoint *ump = substream->rmidi->private_data; local
1066 process_legacy_output(struct snd_ump_endpoint *ump, u32 *buffer, int count) argument
1097 process_legacy_input(struct snd_ump_endpoint *ump, const u32 *src, int words) argument
1116 fill_legacy_mapping(struct snd_ump_endpoint *ump) argument
1143 fill_substream_names(struct snd_ump_endpoint *ump, struct snd_rawmidi *rmidi, int dir) argument
1153 snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump, char *id, int device) argument
[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.c10 #include <sound/ump.h>
503 cvt->ump_bytes = do_convert_to_ump(cvt, group, protocol, c, cvt->ump);
H A Drawmidi.c24 #include <sound/ump.h>
1816 /* used for both rawmidi and ump */
1916 /* called from ump.c, too */
/linux-master/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 in struct:snd_ump_block
95 int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
106 snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump, char *id, int device) argument
[all...]
H A Dump_convert.h26 u32 ump[4]; member in struct:ump_cvt_to_ump
39 /* reset the converter context, called at each open to ump */
/linux-master/sound/core/seq/
H A Dseq_ump_client.c12 #include <sound/ump.h>
45 struct snd_ump_endpoint *ump; /* assigned endpoint */ member in struct:seq_ump_client
69 static void seq_ump_input_receive(struct snd_ump_endpoint *ump, argument
72 struct seq_ump_client *client = ump->seq_client;
84 memcpy(ev.ump, val, words << 2);
106 type = ump_message_type(ump_ev->ump[0]);
117 struct snd_ump_endpoint *ump = client->ump; local
120 guard(mutex)(&ump->open_mutex);
122 err = snd_rawmidi_kernel_open(&ump
136 struct snd_ump_endpoint *ump = client->ump; local
438 seq_ump_notify_fb_change(struct snd_ump_endpoint *ump, struct snd_ump_block *fb) argument
450 seq_ump_switch_protocol(struct snd_ump_endpoint *ump) argument
468 struct snd_ump_endpoint *ump = dev->private_data; local
530 struct snd_ump_endpoint *ump = dev->private_data; local
[all...]
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.h18 struct snd_seq_ump_event ump; member in union:__snd_seq_event
32 union __snd_seq_event ump; member in union:snd_seq_event_cell::__anon4989
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;
370 union snd_ump_midi2_msg *midi2 = (union snd_ump_midi2_msg *)ev_cvt.ump;
373 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump));
420 union snd_ump_midi1_msg *midi1 = (union snd_ump_midi1_msg *)ev_cvt.ump;
421 const union snd_ump_midi2_msg *midi2 = (const union snd_ump_midi2_msg *)event->ump;
425 memset(&ev_cvt.ump, 0, sizeof(ev_cvt.ump));
484 len = cvt_ump_system_to_event((union snd_ump_midi1_msg *)ump_ev->ump,
[all...]
H A Dseq_memory.c365 memcpy(&cell->ump, event, size);
368 cell->ump.raw.extra = 0;
H A Dseq_clientmgr.c17 #include <sound/ump.h>
/linux-master/sound/usb/
H A Dmidi2.c20 #include <sound/ump.h>
60 struct snd_ump_endpoint *ump; /* assigned UMP EP */ member in struct:snd_usb_midi2_endpoint
83 struct snd_ump_endpoint *ump; /* assigned UMP EP object */ member in struct:snd_usb_midi2_ump
142 count = snd_ump_transmit(ep->ump, urb->transfer_buffer,
204 snd_ump_receive(ep->ump, (u32 *)urb->transfer_buffer, len);
336 ump_to_endpoint(struct snd_ump_endpoint *ump, int dir) argument
338 struct snd_usb_midi2_ump *rmidi = ump->private_data;
343 /* ump open callback */
344 static int snd_usb_midi_v2_open(struct snd_ump_endpoint *ump, int dir) argument
346 struct snd_usb_midi2_endpoint *ep = ump_to_endpoint(ump, di
364 snd_usb_midi_v2_close(struct snd_ump_endpoint *ump, int dir) argument
376 snd_usb_midi_v2_trigger(struct snd_ump_endpoint *ump, int dir, int up) argument
387 snd_usb_midi_v2_drain(struct snd_ump_endpoint *ump, int dir) argument
591 struct snd_ump_endpoint *ump = rmidi->ump; local
709 struct snd_ump_endpoint *ump; local
1026 fill_ump_ep_name(struct snd_ump_endpoint *ump, struct usb_device *dev, int id) argument
1044 struct snd_ump_endpoint *ump; local
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_midi2.c13 #include <sound/ump.h>
78 struct snd_ump_endpoint *ump; /* assigned UMP EP */ member in struct:f_midi2_ep
636 snd_ump_switch_protocol(ep->ump, ep->info.protocol);
658 const u32 *in_buf = ep->ump->input_buf;
661 if (snd_ump_receive_ump_val(ep->ump, *data) <= 0)
693 snd_ump_receive(ep->ump, req->buf, req->actual & ~3);
721 len = snd_ump_transmit(ep->ump, (u32 *)req->buf,
980 u32 ump; local
995 len = snd_ump_transmit(ep->ump, &ump,
1434 f_midi2_ump_open(struct snd_ump_endpoint *ump, int dir) argument
1439 f_midi2_ump_close(struct snd_ump_endpoint *ump, int dir) argument
1443 f_midi2_ump_trigger(struct snd_ump_endpoint *ump, int dir, int up) argument
1460 f_midi2_ump_drain(struct snd_ump_endpoint *ump, int dir) argument
1524 struct snd_ump_endpoint *ump; local
[all...]
/linux-master/include/uapi/sound/
H A Dasequencer.h297 unsigned int ump[4]; member in union:snd_seq_ump_event::__anon2170

Completed in 345 milliseconds