Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Disdn.h81 #define ISDN_USAGE_MASK 7 /* Mask to get plain usage */ macro
219 #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) )
/linux-2.6.39/drivers/isdn/i4l/
Disdn_common.c1946 if (((!usage) || ((dev->usage[i] & ISDN_USAGE_MASK) == usage)) && in isdn_free_channel()