Home
last modified time | relevance | path

Searched refs:SHORT_EVENT_SIZE (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_rw.c42 while (count >= SHORT_EVENT_SIZE) { in snd_seq_oss_read()
92 while (count >= SHORT_EVENT_SIZE) { in snd_seq_oss_write()
93 if (copy_from_user(&rec, buf, SHORT_EVENT_SIZE)) { in snd_seq_oss_write()
119 if (copy_from_user(rec.c + SHORT_EVENT_SIZE, in snd_seq_oss_write()
120 buf + SHORT_EVENT_SIZE, in snd_seq_oss_write()
121 LONG_EVENT_SIZE - SHORT_EVENT_SIZE)) { in snd_seq_oss_write()
131 ev_size = SHORT_EVENT_SIZE; in snd_seq_oss_write()
H A Dseq_oss_event.h15 #define SHORT_EVENT_SIZE 4 macro
92 #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE)