Home
last modified time | relevance | path

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

/openbmc/linux/sound/core/seq/oss/
H A Dseq_oss_midi.c133 #define PERM_WRITE (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_SUBS_WRITE) macro
149 if ((pinfo->capability & PERM_WRITE) != PERM_WRITE && in snd_seq_oss_midi_check_new_port()
342 perm |= PERM_WRITE; in snd_seq_oss_midi_open()
361 if (perm & PERM_WRITE) { in snd_seq_oss_midi_open()
366 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
409 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
445 if (mdev->opened & PERM_WRITE) in snd_seq_oss_midi_filemode()
471 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_reset()
685 val &= PERM_READ|PERM_WRITE; in capmode_str()
686 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]