Lines Matching refs:readq
33 struct seq_oss_readq *readq = dp->readq;
39 if (readq == NULL || ! is_read_mode(dp->file_mode))
43 snd_seq_oss_readq_lock(readq, flags);
44 err = snd_seq_oss_readq_pick(readq, &rec);
47 snd_seq_oss_readq_unlock(readq, flags);
48 snd_seq_oss_readq_wait(readq);
49 snd_seq_oss_readq_lock(readq, flags);
53 err = snd_seq_oss_readq_pick(readq, &rec);
56 snd_seq_oss_readq_unlock(readq, flags);
61 snd_seq_oss_readq_unlock(readq, flags);
64 snd_seq_oss_readq_free(readq);
65 snd_seq_oss_readq_unlock(readq, flags);
190 if (dp->readq && is_read_mode(dp->file_mode)) {
191 if (snd_seq_oss_readq_poll(dp->readq, file, wait))