snd_ump_endpoint
static int f_midi2_ump_open(struct snd_ump_endpoint *ump, int dir)
static void f_midi2_ump_close(struct snd_ump_endpoint *ump, int dir)
static void f_midi2_ump_trigger(struct snd_ump_endpoint *ump, int dir, int up)
static void f_midi2_ump_drain(struct snd_ump_endpoint *ump, int dir)
struct snd_ump_endpoint *ump;
struct snd_ump_endpoint *ump; /* assigned UMP EP */
struct snd_ump_endpoint;
#define rawmidi_to_ump(rmidi) container_of(rmidi, struct snd_ump_endpoint, core)
struct snd_ump_endpoint **ump_ret);
int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
int snd_ump_block_new(struct snd_ump_endpoint *ump, unsigned int blk,
int snd_ump_receive(struct snd_ump_endpoint *ump, const u32 *buffer, int count);
int snd_ump_transmit(struct snd_ump_endpoint *ump, u32 *buffer, int count);
int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump,
static inline int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump,
int snd_ump_receive_ump_val(struct snd_ump_endpoint *ump, u32 val);
int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol);
void snd_ump_update_group_attrs(struct snd_ump_endpoint *ump);
void (*private_free)(struct snd_ump_endpoint *ump);
int (*open)(struct snd_ump_endpoint *ump, int dir);
void (*close)(struct snd_ump_endpoint *ump, int dir);
void (*trigger)(struct snd_ump_endpoint *ump, int dir, int up);
void (*drain)(struct snd_ump_endpoint *ump, int dir);
void (*input_receive)(struct snd_ump_endpoint *ump,
int (*notify_ep_change)(struct snd_ump_endpoint *ump);
int (*notify_fb_change)(struct snd_ump_endpoint *ump,
int (*switch_protocol)(struct snd_ump_endpoint *ump);
struct snd_ump_endpoint *ump;
struct snd_ump_endpoint *ump = client->ump;
struct snd_ump_endpoint *ump = client->ump;
struct snd_ump_endpoint *ump; /* assigned endpoint */
static int seq_ump_notify_ep_change(struct snd_ump_endpoint *ump)
static int seq_ump_notify_fb_change(struct snd_ump_endpoint *ump,
static int seq_ump_switch_protocol(struct snd_ump_endpoint *ump)
struct snd_ump_endpoint *ump = dev->private_data;
struct snd_ump_endpoint *ump = dev->private_data;
static void seq_ump_input_receive(struct snd_ump_endpoint *ump,
static void ump_handle_stream_msg(struct snd_ump_endpoint *ump,
int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump)
struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi);
struct snd_ump_endpoint *ump = substream->rmidi->private_data;
struct snd_ump_endpoint *ump = substream->rmidi->private_data;
struct snd_ump_endpoint *ump = substream->rmidi->private_data;
struct snd_ump_endpoint *ump = substream->rmidi->private_data;
static int process_legacy_output(struct snd_ump_endpoint *ump,
static void process_legacy_input(struct snd_ump_endpoint *ump, const u32 *src,
static int fill_legacy_mapping(struct snd_ump_endpoint *ump)
static void update_legacy_substreams(struct snd_ump_endpoint *ump,
static void update_legacy_names(struct snd_ump_endpoint *ump)
static void ump_legacy_set_rawmidi_name(struct snd_ump_endpoint *ump)
int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump,
struct snd_ump_endpoint **ump_ret)
struct snd_ump_endpoint *ump;
struct snd_ump_endpoint *ump = device->private_data;
struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi);
snd_ump_get_block(struct snd_ump_endpoint *ump, unsigned char id)
struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi);
struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi);
struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi);
struct snd_ump_endpoint *ump = rawmidi_to_ump(substream->rmidi);
int snd_ump_receive_ump_val(struct snd_ump_endpoint *ump, u32 val)
static void ump_handle_stream_msg(struct snd_ump_endpoint *ump,
int snd_ump_receive(struct snd_ump_endpoint *ump, const u32 *buffer, int count)
static int process_legacy_output(struct snd_ump_endpoint *ump,
int snd_ump_transmit(struct snd_ump_endpoint *ump, u32 *buffer, int count)
static void process_legacy_input(struct snd_ump_endpoint *ump, const u32 *src,
int snd_ump_block_new(struct snd_ump_endpoint *ump, unsigned int blk,
static void ump_legacy_set_rawmidi_name(struct snd_ump_endpoint *ump);
static void update_legacy_names(struct snd_ump_endpoint *ump);
static inline int process_legacy_output(struct snd_ump_endpoint *ump,
static int snd_ump_ioctl_block(struct snd_ump_endpoint *ump,
struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi);
static inline void process_legacy_input(struct snd_ump_endpoint *ump,
struct snd_ump_endpoint *ump = rawmidi_to_ump(rmidi);
static inline void ump_legacy_set_rawmidi_name(struct snd_ump_endpoint *ump)
static inline void update_legacy_names(struct snd_ump_endpoint *ump)
void snd_ump_update_group_attrs(struct snd_ump_endpoint *ump)
static int ump_request_open(struct snd_ump_endpoint *ump)
static void ump_request_close(struct snd_ump_endpoint *ump)
static int ump_req_msg(struct snd_ump_endpoint *ump, u32 req1, u32 req2,
static int ump_append_string(struct snd_ump_endpoint *ump, char *dest,
static void choose_default_protocol(struct snd_ump_endpoint *ump)
static void seq_notify_ep_change(struct snd_ump_endpoint *ump)
static int ump_handle_ep_info_msg(struct snd_ump_endpoint *ump,
static int ump_handle_device_info_msg(struct snd_ump_endpoint *ump,
static void ump_set_rawmidi_name(struct snd_ump_endpoint *ump)
static int ump_handle_ep_name_msg(struct snd_ump_endpoint *ump,
static int ump_handle_product_id_msg(struct snd_ump_endpoint *ump,
static void seq_notify_protocol(struct snd_ump_endpoint *ump)
int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol)
static int ump_handle_stream_cfg_msg(struct snd_ump_endpoint *ump,
static void fill_fb_info(struct snd_ump_endpoint *ump,
static bool is_fb_info_updated(struct snd_ump_endpoint *ump,
static void seq_notify_fb_change(struct snd_ump_endpoint *ump,
static int ump_handle_fb_info_msg(struct snd_ump_endpoint *ump,
static int ump_handle_fb_name_msg(struct snd_ump_endpoint *ump,
static int create_block_from_fb_info(struct snd_ump_endpoint *ump, int blk)
static void fill_ump_ep_name(struct snd_ump_endpoint *ump,
struct snd_ump_endpoint *ump;
ump_to_endpoint(struct snd_ump_endpoint *ump, int dir)
static int snd_usb_midi_v2_open(struct snd_ump_endpoint *ump, int dir)
static void snd_usb_midi_v2_close(struct snd_ump_endpoint *ump, int dir)
static void snd_usb_midi_v2_trigger(struct snd_ump_endpoint *ump, int dir,
static void snd_usb_midi_v2_drain(struct snd_ump_endpoint *ump, int dir)
struct snd_ump_endpoint *ump = rmidi->ump;
struct snd_ump_endpoint *ump; /* assigned UMP EP */
struct snd_ump_endpoint *ump;
struct snd_ump_endpoint *ump; /* assigned UMP EP object */