Home
last modified time | relevance | path

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

/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_midi.c145 #define PERM_WRITE (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_SUBS_WRITE) macro
161 if ((pinfo->capability & PERM_WRITE) != PERM_WRITE && in snd_seq_oss_midi_check_new_port()
345 perm |= PERM_WRITE; in snd_seq_oss_midi_open()
364 if (perm & PERM_WRITE) { in snd_seq_oss_midi_open()
369 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
408 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
441 if (mdev->opened & PERM_WRITE) in snd_seq_oss_midi_filemode()
466 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_reset()
675 val &= PERM_READ|PERM_WRITE; in capmode_str()
676 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]