Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/sound/core/seq/oss/
H A Dseq_oss_midi.c132 #define PERM_WRITE (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_SUBS_WRITE) macro
148 if ((pinfo->capability & PERM_WRITE) != PERM_WRITE && in snd_seq_oss_midi_check_new_port()
334 perm |= PERM_WRITE; in snd_seq_oss_midi_open()
353 if (perm & PERM_WRITE) { in snd_seq_oss_midi_open()
358 mdev->opened |= PERM_WRITE; in snd_seq_oss_midi_open()
397 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_close()
430 if (mdev->opened & PERM_WRITE) in snd_seq_oss_midi_filemode()
455 if (mdev->opened & PERM_WRITE) { in snd_seq_oss_midi_reset()
665 val &= PERM_READ|PERM_WRITE; in capmode_str()
666 if (val == (PERM_READ|PERM_WRITE)) in capmode_str()
[all …]