Searched refs:ISDN_USAGE_MASK (Results 1 – 2 of 2) sorted by relevance
81 #define ISDN_USAGE_MASK 7 /* Mask to get plain usage */ macro219 #define USG_NONE(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_NONE)220 #define USG_RAW(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_RAW)221 #define USG_MODEM(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_MODEM)222 #define USG_VOICE(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_VOICE)223 #define USG_NET(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_NET)224 #define USG_FAX(x) ((x & ISDN_USAGE_MASK)==ISDN_USAGE_FAX)226 #define USG_MODEMORVOICE(x) (((x & ISDN_USAGE_MASK)==ISDN_USAGE_MODEM) || \227 ((x & ISDN_USAGE_MASK)==ISDN_USAGE_VOICE) )
1946 if (((!usage) || ((dev->usage[i] & ISDN_USAGE_MASK) == usage)) && in isdn_free_channel()