Home
last modified time | relevance | path

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

/linux-3.4.99/include/net/
Ddn_nsp.h145 static __inline__ int dn_before(__u16 seq1, __u16 seq2) in dn_before() argument
148 seq2 &= 0x0fff; in dn_before()
150 return (int)((seq1 - seq2) & 0x0fff) > 2048; in dn_before()
154 static __inline__ int dn_after(__u16 seq1, __u16 seq2) in dn_after() argument
157 seq2 &= 0x0fff; in dn_after()
159 return (int)((seq2 - seq1) & 0x0fff) > 2048; in dn_after()
162 static __inline__ int dn_equal(__u16 seq1, __u16 seq2) in dn_equal() argument
164 return ((seq1 ^ seq2) & 0x0fff) == 0; in dn_equal()
167 static __inline__ int dn_before_or_equal(__u16 seq1, __u16 seq2) in dn_before_or_equal() argument
169 return (dn_before(seq1, seq2) || dn_equal(seq1, seq2)); in dn_before_or_equal()
[all …]
Dtcp.h266 static inline int before(__u32 seq1, __u32 seq2) in before() argument
268 return (__s32)(seq1-seq2) < 0; in before()
270 #define after(seq2, seq1) before(seq1, seq2) argument
273 static inline int between(__u32 seq1, __u32 seq2, __u32 seq3) in between() argument
275 return seq3 - seq2 >= seq1 - seq2; in between()
/linux-3.4.99/net/dccp/
Ddccp.h133 static inline int before48(const u64 seq1, const u64 seq2) in before48() argument
135 return (s64)((seq2 << 16) - (seq1 << 16)) > 0; in before48()
139 #define after48(seq1, seq2) before48(seq2, seq1) argument
142 static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3) in between48() argument
144 return (seq3 << 16) - (seq2 << 16) >= (seq1 << 16) - (seq2 << 16); in between48()
147 static inline u64 max48(const u64 seq1, const u64 seq2) in max48() argument
149 return after48(seq1, seq2) ? seq1 : seq2; in max48()
/linux-3.4.99/drivers/video/
Dvgastate.c52 u8 misc, attr10, gr4, gr5, gr6, seq1, seq2, seq4; in save_vga_text() local
72 seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE); in save_vga_text()
123 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2); in save_vga_text()
143 u8 seq1, seq2, seq4; in restore_vga_text() local
152 seq2 = vga_rseq(state->vgabase, VGA_SEQ_PLANE_WRITE); in restore_vga_text()
222 vga_wseq(state->vgabase, VGA_SEQ_PLANE_WRITE, seq2); in restore_vga_text()
/linux-3.4.99/sound/oss/
Dsoundcard.c516 int seq1,seq2; in create_special_devices() local
520 seq2=register_sound_special(&oss_sound_fops, 8); in create_special_devices()
521 if(seq2!=-1) in create_special_devices()
/linux-3.4.99/include/net/bluetooth/
Dl2cap.h659 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset() argument
663 offset = (seq1 - seq2) % (chan->tx_win_max + 1); in __seq_offset()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnouveau_hw.c569 uint8_t misc, gr4, gr5, gr6, seq2, seq4; in nouveau_hw_save_vga_fonts() local
600 seq2 = NVReadVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX); in nouveau_hw_save_vga_fonts()
620 NVWriteVgaSeq(dev, 0, NV_VIO_SR_PLANE_MASK_INDEX, seq2); in nouveau_hw_save_vga_fonts()
/linux-3.4.99/drivers/gpu/drm/i915/
Di915_drv.h1232 i915_seqno_passed(uint32_t seq1, uint32_t seq2) in i915_seqno_passed() argument
1234 return (int32_t)(seq1 - seq2) >= 0; in i915_seqno_passed()