Lines Matching refs:snd_ump_endpoint
10 struct snd_ump_endpoint;
25 struct snd_ump_endpoint {
34 void (*private_free)(struct snd_ump_endpoint *ump);
76 int (*open)(struct snd_ump_endpoint *ump, int dir);
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_ep_change)(struct snd_ump_endpoint *ump);
87 int (*notify_fb_change)(struct snd_ump_endpoint *ump,
89 int (*switch_protocol)(struct snd_ump_endpoint *ump);
94 struct snd_ump_endpoint *ump;
102 #define rawmidi_to_ump(rmidi) container_of(rmidi, struct snd_ump_endpoint, core)
106 struct snd_ump_endpoint **ump_ret);
107 int snd_ump_parse_endpoint(struct snd_ump_endpoint *ump);
108 int snd_ump_block_new(struct snd_ump_endpoint *ump, unsigned int blk,
111 int snd_ump_receive(struct snd_ump_endpoint *ump, const u32 *buffer, int count);
112 int snd_ump_transmit(struct snd_ump_endpoint *ump, u32 *buffer, int count);
115 int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump,
118 static inline int snd_ump_attach_legacy_rawmidi(struct snd_ump_endpoint *ump,
125 int snd_ump_receive_ump_val(struct snd_ump_endpoint *ump, u32 val);
126 int snd_ump_switch_protocol(struct snd_ump_endpoint *ump, unsigned int protocol);
127 void snd_ump_update_group_attrs(struct snd_ump_endpoint *ump);