Searched refs:perm (Results 1 – 3 of 3) sorted by relevance
324 int perm; in snd_seq_oss_midi_open() local340 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()
2432 #define FLAG_PERM_RD(perm) ((perm) & SNDRV_SEQ_PORT_CAP_READ ? ((perm) & SNDRV_SEQ_PORT_CAP_SUBS_RE… argument2433 #define FLAG_PERM_WR(perm) ((perm) & SNDRV_SEQ_PORT_CAP_WRITE ? ((perm) & SNDRV_SEQ_PORT_CAP_SUBS_W… argument2434 #define FLAG_PERM_EX(perm) ((perm) & SNDRV_SEQ_PORT_CAP_NO_EXPORT ? '-' : 'e') argument2436 #define FLAG_PERM_DUPLEX(perm) ((perm) & SNDRV_SEQ_PORT_CAP_DUPLEX ? 'X' : '-') argument
1817 int perm; in call_tlv_handler() member1828 if (op_flag == pairs[i].op && (vd->access & pairs[i].perm)) in call_tlv_handler()