Home
last modified time | relevance | path

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

/sound/core/seq/oss/
Dseq_oss_midi.c324 int perm; in snd_seq_oss_midi_open() local
340 perm = 0; in snd_seq_oss_midi_open()
342 perm |= PERM_WRITE; in snd_seq_oss_midi_open()
344 perm |= PERM_READ; in snd_seq_oss_midi_open()
345 perm &= mdev->flags; in snd_seq_oss_midi_open()
346 if (perm == 0) { in snd_seq_oss_midi_open()
352 if ((mdev->opened & perm) == perm) { in snd_seq_oss_midi_open()
357 perm &= ~mdev->opened; in snd_seq_oss_midi_open()
361 if (perm & PERM_WRITE) { in snd_seq_oss_midi_open()
368 if (perm & PERM_READ) { in snd_seq_oss_midi_open()
/sound/core/seq/
Dseq_clientmgr.c2432 #define FLAG_PERM_RD(perm) ((perm) & SNDRV_SEQ_PORT_CAP_READ ? ((perm) & SNDRV_SEQ_PORT_CAP_SUBS_RE… argument
2433 #define FLAG_PERM_WR(perm) ((perm) & SNDRV_SEQ_PORT_CAP_WRITE ? ((perm) & SNDRV_SEQ_PORT_CAP_SUBS_W… argument
2434 #define FLAG_PERM_EX(perm) ((perm) & SNDRV_SEQ_PORT_CAP_NO_EXPORT ? '-' : 'e') argument
2436 #define FLAG_PERM_DUPLEX(perm) ((perm) & SNDRV_SEQ_PORT_CAP_DUPLEX ? 'X' : '-') argument
/sound/core/
Dcontrol.c1817 int perm; in call_tlv_handler() member
1828 if (op_flag == pairs[i].op && (vd->access & pairs[i].perm)) in call_tlv_handler()