44 static int snd_seq_oss_midi_info_user(
struct seq_oss_devinfo *dp,
void __user *arg)
57 static int snd_seq_oss_oob_user(
struct seq_oss_devinfo *dp,
void __user *arg)
64 memset(&tmpev, 0,
sizeof(tmpev));
65 snd_seq_oss_fill_addr(dp, &tmpev, dp->
addr.port, dp->
addr.client);
68 snd_seq_oss_dispatch(dp, &tmpev, 0, 0);
165 return snd_seq_oss_synth_info_user(dp, arg);
169 return snd_seq_oss_oob_user(dp, arg);
173 return snd_seq_oss_midi_info_user(dp, arg);
183 if (val >= dp->
writeq->maxlen)
184 val = dp->
writeq->maxlen - 1;
197 val = (
HZ *
val) / 10;