Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/net/
Ddn_nsp.h153 static __inline__ int before(unsigned short seq1, unsigned short seq2) in before() argument
156 seq2 &= 0x0fff; in before()
158 return (int)((seq1 - seq2) & 0x0fff) > 2048; in before()
162 static __inline__ int after(unsigned short seq1, unsigned short seq2) in after() argument
165 seq2 &= 0x0fff; in after()
167 return (int)((seq2 - seq1) & 0x0fff) > 2048; in after()
170 static __inline__ int equal(unsigned short seq1, unsigned short seq2) in equal() argument
172 return ((seq1 ^ seq2) & 0x0fff) == 0; in equal()
175 static __inline__ int before_or_equal(unsigned short seq1, unsigned short seq2) in before_or_equal() argument
177 return (before(seq1, seq2) || equal(seq1, seq2)); in before_or_equal()
[all …]
Dtcp.h634 static inline int before(__u32 seq1, __u32 seq2) in before() argument
636 return (__s32)(seq1-seq2) < 0; in before()
639 static inline int after(__u32 seq1, __u32 seq2) in after() argument
641 return (__s32)(seq2-seq1) < 0; in after()
646 static inline int between(__u32 seq1, __u32 seq2, __u32 seq3) in between() argument
648 return seq3 - seq2 >= seq1 - seq2; in between()
/linux-2.4.37.9/drivers/sound/
Dsoundcard.c514 int seq1,seq2; in create_special_devices() local
518 seq2=register_sound_special(&oss_sound_fops, 8); in create_special_devices()
519 if(seq2!=-1) in create_special_devices()