Home
last modified time | relevance | path

Searched refs:snd_ump_endpoint (Results 1 – 5 of 5) sorted by relevance

/linux/include/sound/
H A Dump.h10 struct snd_ump_endpoint;
25 struct snd_ump_endpoint { struct
34 void (*private_free)(struct snd_ump_endpoint *ump); argument
76 int (*open)(struct snd_ump_endpoint *ump, int dir); argument
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);
[all …]
/linux/sound/core/
H A Dump.c33 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()
46 static inline void process_legacy_input(struct snd_ump_endpoint *ump, in process_legacy_input()
74 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); in snd_ump_endpoint_free()
120 struct snd_ump_endpoint **ump_ret) in snd_ump_endpoint_new()
123 struct snd_ump_endpoint *ump; in snd_ump_endpoint_new()
176 struct snd_ump_endpoint *ump = device->private_data; in snd_ump_dev_seq_free()
185 struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi); in snd_ump_dev_register()
[all …]
/linux/sound/core/seq/
H A Dseq_ump_client.c37 struct snd_ump_endpoint *ump; /* assigned endpoint */
60 static void seq_ump_input_receive(struct snd_ump_endpoint *ump, in seq_ump_input_receive()
108 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_open()
127 struct snd_ump_endpoint *ump = client->ump; in seq_ump_client_close()
394 static int seq_ump_notify_fb_change(struct snd_ump_endpoint *ump, in seq_ump_notify_fb_change()
406 static int seq_ump_switch_protocol(struct snd_ump_endpoint *ump) in seq_ump_switch_protocol()
424 struct snd_ump_endpoint *ump = dev->private_data; in snd_seq_ump_probe()
485 struct snd_ump_endpoint *ump = dev->private_data; in snd_seq_ump_remove()
/linux/sound/usb/
H A Dmidi2.c60 struct snd_ump_endpoint *ump; /* assigned UMP EP */
83 struct snd_ump_endpoint *ump; /* assigned UMP EP object */
336 ump_to_endpoint(struct snd_ump_endpoint *ump, int dir) 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()
364 static void snd_usb_midi_v2_close(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_close()
376 static void snd_usb_midi_v2_trigger(struct snd_ump_endpoint *ump, int dir, in snd_usb_midi_v2_trigger()
387 static void snd_usb_midi_v2_drain(struct snd_ump_endpoint *ump, int dir) in snd_usb_midi_v2_drain()
591 struct snd_ump_endpoint *ump = rmidi->ump; in parse_group_terminal_block()
699 struct snd_ump_endpoint *ump; in create_midi2_ump()
1032 static void fill_ump_ep_name(struct snd_ump_endpoint *ump, in fill_ump_ep_name()
[all …]
/linux/drivers/usb/gadget/function/
H A Df_midi2.c78 struct snd_ump_endpoint *ump; /* assigned UMP EP */
1446 static int f_midi2_ump_open(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_open()
1451 static void f_midi2_ump_close(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_close()
1455 static void f_midi2_ump_trigger(struct snd_ump_endpoint *ump, int dir, int up) in f_midi2_ump_trigger()
1472 static void f_midi2_ump_drain(struct snd_ump_endpoint *ump, int dir) in f_midi2_ump_drain()
1536 struct snd_ump_endpoint *ump; in f_midi2_create_card()