Home
last modified time | relevance | path

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

/linux-6.1.9/sound/core/seq/oss/
Dseq_oss_midi.c133 #define PERM_READ (SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ) macro
149 (pinfo->capability & PERM_READ) != PERM_READ) in snd_seq_oss_midi_check_new_port()
340 perm |= PERM_READ; in snd_seq_oss_midi_open()
364 if (perm & PERM_READ) { in snd_seq_oss_midi_open()
371 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
408 if (mdev->opened & PERM_READ) { in snd_seq_oss_midi_close()
438 if (mdev->opened & PERM_READ) in snd_seq_oss_midi_filemode()
527 if (! (mdev->opened & PERM_READ)) { in snd_seq_oss_midi_input()
676 val &= PERM_READ|PERM_WRITE; in capmode_str()
677 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]