Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_midi.c146 #define PERM_READ (SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ) macro
162 (pinfo->capability & PERM_READ) != PERM_READ) in snd_seq_oss_midi_check_new_port()
347 perm |= PERM_READ; in snd_seq_oss_midi_open()
371 if (perm & PERM_READ) { in snd_seq_oss_midi_open()
378 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
414 if (mdev->opened & PERM_READ) { in snd_seq_oss_midi_close()
443 if (mdev->opened & PERM_READ) in snd_seq_oss_midi_filemode()
529 if (! (mdev->opened & PERM_READ)) { in snd_seq_oss_midi_input()
675 val &= PERM_READ|PERM_WRITE; in capmode_str()
676 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]