Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_midi.c134 #define PERM_READ (SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ) macro
150 (pinfo->capability & PERM_READ) != PERM_READ) in snd_seq_oss_midi_check_new_port()
344 perm |= PERM_READ; in snd_seq_oss_midi_open()
368 if (perm & PERM_READ) { in snd_seq_oss_midi_open()
375 mdev->opened |= PERM_READ; in snd_seq_oss_midi_open()
415 if (mdev->opened & PERM_READ) { in snd_seq_oss_midi_close()
447 if (mdev->opened & PERM_READ) in snd_seq_oss_midi_filemode()
536 if (! (mdev->opened & PERM_READ)) { in snd_seq_oss_midi_input()
685 val &= PERM_READ|PERM_WRITE; in capmode_str()
686 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]