Home
last modified time | relevance | path

Searched refs:seq1 (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/drivers/video/
Dvgastate.c52 u8 misc, attr10, gr4, gr5, gr6, seq1, seq2, seq4; in save_vga_text() local
76 seq1 = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE); in save_vga_text()
78 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 | 1 << 5); in save_vga_text()
132 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 & ~(1 << 5)); in save_vga_text()
135 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1); in save_vga_text()
143 u8 seq1, seq2, seq4; in restore_vga_text() local
156 seq1 = vga_rseq(state->vgabase, VGA_SEQ_CLOCK_MODE); in restore_vga_text()
158 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 | 1 << 5); in restore_vga_text()
210 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1 & ~(1 << 5)); in restore_vga_text()
221 vga_wseq(state->vgabase, VGA_SEQ_CLOCK_MODE, seq1); in restore_vga_text()
/linux-6.1.9/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h106 static __always_inline bool before(__u32 seq1, __u32 seq2) in before() argument
108 return (__s32)(seq1-seq2) < 0; in before()
110 #define after(seq2, seq1) before(seq1, seq2) argument
/linux-6.1.9/net/dccp/
Ddccp.h125 static inline int before48(const u64 seq1, const u64 seq2) in before48() argument
127 return (s64)((seq2 << 16) - (seq1 << 16)) > 0; in before48()
131 #define after48(seq1, seq2) before48(seq2, seq1) argument
134 static inline int between48(const u64 seq1, const u64 seq2, const u64 seq3) in between48() argument
136 return (seq3 << 16) - (seq2 << 16) >= (seq1 << 16) - (seq2 << 16); in between48()
/linux-6.1.9/drivers/gpu/drm/mgag200/
Dmgag200_mode.c504 u8 seq1; in mgag200_primary_plane_helper_atomic_update() local
519 RREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_update()
520 seq1 &= ~MGAREG_SEQ1_SCROFF; in mgag200_primary_plane_helper_atomic_update()
521 WREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_update()
531 u8 seq1; in mgag200_primary_plane_helper_atomic_disable() local
533 RREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_disable()
534 seq1 |= MGAREG_SEQ1_SCROFF; in mgag200_primary_plane_helper_atomic_disable()
535 WREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_disable()
/linux-6.1.9/net/rxrpc/
Dar-internal.h1111 static inline bool before(u32 seq1, u32 seq2) in before() argument
1113 return (s32)(seq1 - seq2) < 0; in before()
1115 static inline bool before_eq(u32 seq1, u32 seq2) in before_eq() argument
1117 return (s32)(seq1 - seq2) <= 0; in before_eq()
1119 static inline bool after(u32 seq1, u32 seq2) in after() argument
1121 return (s32)(seq1 - seq2) > 0; in after()
1123 static inline bool after_eq(u32 seq1, u32 seq2) in after_eq() argument
1125 return (s32)(seq1 - seq2) >= 0; in after_eq()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h245 uint8_t seq1 = NVReadVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX); in NVVgaProtect() local
249 NVWriteVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX, seq1 | 0x20); in NVVgaProtect()
252 NVWriteVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX, seq1 & ~0x20); /* reenable display */ in NVVgaProtect()
Dcrtc.c180 unsigned char seq1 = 0, crtc17 = 0; in nv_crtc_dpms() local
200 seq1 = 0x20; in nv_crtc_dpms()
206 seq1 = 0x20; in nv_crtc_dpms()
212 seq1 = 0x20; in nv_crtc_dpms()
219 seq1 = 0x00; in nv_crtc_dpms()
226 seq1 |= (NVReadVgaSeq(dev, nv_crtc->index, NV_VIO_SR_CLOCK_INDEX) & ~0x20); in nv_crtc_dpms()
227 NVWriteVgaSeq(dev, nv_crtc->index, NV_VIO_SR_CLOCK_INDEX, seq1); in nv_crtc_dpms()
Dhw.c112 unsigned char seq1; in NVBlankScreen() local
117 seq1 = NVReadVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX); in NVBlankScreen()
121 NVWriteVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX, seq1 | 0x20); in NVBlankScreen()
123 NVWriteVgaSeq(dev, head, NV_VIO_SR_CLOCK_INDEX, seq1 & ~0x20); in NVBlankScreen()
/linux-6.1.9/include/net/bluetooth/
Dl2cap.h899 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset() argument
901 if (seq1 >= seq2) in __seq_offset()
902 return seq1 - seq2; in __seq_offset()
904 return chan->tx_win_max + 1 - seq2 + seq1; in __seq_offset()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_request.h474 static inline bool i915_seqno_passed(u32 seq1, u32 seq2) in i915_seqno_passed() argument
476 return (s32)(seq1 - seq2) >= 0; in i915_seqno_passed()
/linux-6.1.9/fs/nfs/
Dnfs4_fs.h609 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next() local
612 return seq2 == seq1 + 1U || (seq2 == 1U && seq1 == 0xffffffffU); in nfs4_stateid_is_next()
/linux-6.1.9/net/mptcp/
Dprotocol.h129 static inline bool before64(__u64 seq1, __u64 seq2) in before64() argument
131 return (__s64)(seq1 - seq2) < 0; in before64()
134 #define after64(seq2, seq1) before64(seq1, seq2) argument
/linux-6.1.9/include/net/
Dtcp.h275 static inline bool before(__u32 seq1, __u32 seq2) in before() argument
277 return (__s32)(seq1-seq2) < 0; in before()
279 #define after(seq2, seq1) before(seq1, seq2) argument
282 static inline bool between(__u32 seq1, __u32 seq2, __u32 seq3) in between() argument
284 return seq3 - seq2 >= seq1 - seq2; in between()
1177 static inline bool tcp_skb_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2) in tcp_skb_sent_after() argument
1179 return t1 > t2 || (t1 == t2 && after(seq1, seq2)); in tcp_skb_sent_after()
/linux-6.1.9/net/smc/
Dsmc_cdc.c272 static inline bool smc_cdc_before(u16 seq1, u16 seq2) in smc_cdc_before() argument
274 return (s16)(seq1 - seq2) < 0; in smc_cdc_before()
/linux-6.1.9/drivers/net/ethernet/sfc/siena/
Dptp.c185 u32 seq1; member
1204 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
1865 evt->seq1 = (EFX_QWORD_FIELD(ptp->evt_frags[2], in ptp_event_rx()
/linux-6.1.9/drivers/net/ethernet/sfc/
Dptp.c191 u32 seq1; member
1236 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
1958 evt->seq1 = (EFX_QWORD_FIELD(ptp->evt_frags[2], in ptp_event_rx()
/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
Dpci.h816 __le16 seq1; member
Dpci.c1205 txwp_info->seq1 = 0; in rtw89_pci_txwd_submit()