Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/tools/testing/selftests/bpf/progs/
Dbpf_cc_cubic.c27 #define after(seq2, seq1) before(seq1, seq2) argument
37 static bool before(__u32 seq1, __u32 seq2) in before() argument
39 return (__s32)(seq1-seq2) < 0; in before()
Dbpf_cubic.c25 static bool before(__u32 seq1, __u32 seq2) in before() argument
27 return (__s32)(seq1-seq2) < 0; in before()
29 #define after(seq2, seq1) before(seq1, seq2) argument
Dbpf_dctcp.c22 static bool before(__u32 seq1, __u32 seq2) in before() argument
24 return (__s32)(seq1-seq2) < 0; in before()
/linux-6.12.1/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.12.1/drivers/gpu/drm/mgag200/
Dmgag200_mode.c528 u8 seq1; in mgag200_primary_plane_helper_atomic_enable() local
530 RREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_enable()
531 seq1 &= ~MGAREG_SEQ1_SCROFF; in mgag200_primary_plane_helper_atomic_enable()
532 WREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_enable()
541 u8 seq1; in mgag200_primary_plane_helper_atomic_disable() local
543 RREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_disable()
544 seq1 |= MGAREG_SEQ1_SCROFF; in mgag200_primary_plane_helper_atomic_disable()
545 WREG_SEQ(0x01, seq1); in mgag200_primary_plane_helper_atomic_disable()
/linux-6.12.1/net/rxrpc/
Dar-internal.h1297 static inline bool before(u32 seq1, u32 seq2) in before() argument
1299 return (s32)(seq1 - seq2) < 0; in before()
1301 static inline bool before_eq(u32 seq1, u32 seq2) in before_eq() argument
1303 return (s32)(seq1 - seq2) <= 0; in before_eq()
1305 static inline bool after(u32 seq1, u32 seq2) in after() argument
1307 return (s32)(seq1 - seq2) > 0; in after()
1309 static inline bool after_eq(u32 seq1, u32 seq2) in after_eq() argument
1311 return (s32)(seq1 - seq2) >= 0; in after_eq()
/linux-6.12.1/include/net/bluetooth/
Dl2cap.h871 static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2) in __seq_offset() argument
873 if (seq1 >= seq2) in __seq_offset()
874 return seq1 - seq2; in __seq_offset()
876 return chan->tx_win_max + 1 - seq2 + seq1; in __seq_offset()
/linux-6.12.1/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.12.1/drivers/gpu/drm/i915/
Di915_request.h479 static inline bool i915_seqno_passed(u32 seq1, u32 seq2) in i915_seqno_passed() argument
481 return (s32)(seq1 - seq2) >= 0; in i915_seqno_passed()
/linux-6.12.1/fs/nfs/
Dnfs4_fs.h613 u32 seq1 = be32_to_cpu(s1->seqid); in nfs4_stateid_is_next() local
616 return seq2 == seq1 + 1U || (seq2 == 1U && seq1 == 0xffffffffU); in nfs4_stateid_is_next()
/linux-6.12.1/include/net/
Dtcp.h287 static inline bool before(__u32 seq1, __u32 seq2) in before() argument
289 return (__s32)(seq1-seq2) < 0; in before()
291 #define after(seq2, seq1) before(seq1, seq2) argument
294 static inline bool between(__u32 seq1, __u32 seq2, __u32 seq3) in between() argument
296 return seq3 - seq2 >= seq1 - seq2; in between()
1264 static inline bool tcp_skb_sent_after(u64 t1, u64 t2, u32 seq1, u32 seq2) in tcp_skb_sent_after() argument
1266 return t1 > t2 || (t1 == t2 && after(seq1, seq2)); in tcp_skb_sent_after()
/linux-6.12.1/net/mptcp/
Dprotocol.h137 static inline bool before64(__u64 seq1, __u64 seq2) in before64() argument
139 return (__s64)(seq1 - seq2) < 0; in before64()
142 #define after64(seq2, seq1) before64(seq1, seq2) argument
/linux-6.12.1/net/smc/
Dsmc_cdc.c283 static inline bool smc_cdc_before(u16 seq1, u16 seq2) in smc_cdc_before() argument
285 return (s16)(seq1 - seq2) < 0; in smc_cdc_before()
/linux-6.12.1/drivers/net/ethernet/sfc/siena/
Dptp.c185 u32 seq1; member
1204 (evt->seq1 == match->words[1])) { in efx_ptp_match_rx()
1859 evt->seq1 = (EFX_QWORD_FIELD(ptp->evt_frags[2], in ptp_event_rx()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dpci.h1357 __le16 seq1; member
Dpci.c1392 txwp_info->seq1 = 0; in rtw89_pci_txwd_submit()
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dr9a07g054.dtsi786 interrupt-names = "seq0", "seq1", "vin1", "rcv",
Dr9a07g044.dtsi781 interrupt-names = "seq0", "seq1", "vin1", "rcv",
/linux-6.12.1/drivers/net/ethernet/sfc/
Dptp.c182 u32 seq1; member