Home
last modified time | relevance | path

Searched refs:restore (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dsample.c45 struct mlx5e_sample_restore *restore; member
267 struct mlx5e_sample_restore *restore; in sample_restore_get() local
272 hash_for_each_possible(tc_psample->restore_hashtbl, restore, hlist, obj_id) in sample_restore_get()
273 if (restore->obj_id == obj_id) in sample_restore_get()
276 restore = kzalloc(sizeof(*restore), GFP_KERNEL); in sample_restore_get()
277 if (!restore) { in sample_restore_get()
281 restore->obj_id = obj_id; in sample_restore_get()
288 restore->modify_hdr = modify_hdr; in sample_restore_get()
290 restore->rule = esw_add_restore_rule(esw, obj_id); in sample_restore_get()
291 if (IS_ERR(restore->rule)) { in sample_restore_get()
[all …]
/linux-6.6.21/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c28 u32 restore = 0, tbu_status; in get_lpu_event() local
32 restore |= LPU_STATUS_AXIE; in get_lpu_event()
36 restore |= LPU_STATUS_ACE0; in get_lpu_event()
40 restore |= LPU_STATUS_ACE1; in get_lpu_event()
44 restore |= LPU_STATUS_ACE2; in get_lpu_event()
48 restore |= LPU_STATUS_ACE3; in get_lpu_event()
52 restore |= LPU_STATUS_FEMPTY; in get_lpu_event()
56 restore |= LPU_STATUS_FFULL; in get_lpu_event()
60 if (restore != 0) in get_lpu_event()
61 malidp_write32_mask(reg, BLK_STATUS, restore, 0); in get_lpu_event()
[all …]
/linux-6.6.21/arch/loongarch/include/asm/
Dlbt.h54 static inline void own_lbt_inatomic(int restore) in own_lbt_inatomic() argument
58 if (restore) in own_lbt_inatomic()
63 static inline void own_lbt(int restore) in own_lbt() argument
66 own_lbt_inatomic(restore); in own_lbt()
95 static inline void own_lbt_inatomic(int restore) {} in own_lbt_inatomic() argument
Dfpu.h108 static inline void own_fpu_inatomic(int restore) in own_fpu_inatomic() argument
112 if (restore) in own_fpu_inatomic()
117 static inline void own_fpu(int restore) in own_fpu() argument
120 own_fpu_inatomic(restore); in own_fpu()
/linux-6.6.21/arch/mips/include/asm/
Dfpu.h142 static inline int own_fpu_inatomic(int restore) in own_fpu_inatomic() argument
148 if (restore && !ret) in own_fpu_inatomic()
154 static inline int own_fpu(int restore) in own_fpu() argument
159 ret = own_fpu_inatomic(restore); in own_fpu()
279 static inline int own_fpu_inatomic(int restore) in own_fpu_inatomic() argument
284 static inline int own_fpu(int restore) in own_fpu() argument
/linux-6.6.21/arch/sh/kernel/cpu/sh3/
Dswsusp.S21 ! - restore registers from swsusp_arch_regs_cpu0
120 mov r2, r15 ! restore old sp
121 mov r5, r8 ! restore old r8
123 ldc r1, sr ! restore old sr
124 lds r0, pr ! restore old pr
130 mov r2, r15 ! restore old sp
131 mov r5, r8 ! restore old r8
132 lds r0, pr ! restore old pr
/linux-6.6.21/arch/sparc/kernel/
Dwof.S117 restore %g0, %g0, %g0 ! go back into trap window
120 mov %saved_g5, %g5 ! restore %glob_tmp
121 mov %saved_g6, %g6 ! restore %curptr
122 wr %t_psr, 0x0, %psr ! restore condition codes in %psr
179 restore %g0, %g0, %g0 /* Back to trap window. */
217 restore %g0, %g0, %g0
275 restore %g0, %g0, %g0
362 restore %g0, %g0, %g0
Dwuf.S97 restore %g0, %g0, %g0 /* Restore to window 'O' */
106 restore %g0, %g0, %g0
131 restore %g0, %g0, %g0 /* Restore to window 'W' */
311 restore %g0, %g0, %g0
313 restore %g0, %g0, %g0
Dsun4v_tlb_miss.S86 mov %g2, %o1 ! restore %o1
87 mov %g1, %o0 ! restore %o0
88 mov %g5, %o2 ! restore %o2
89 mov %g7, %o3 ! restore %o3
129 mov %g2, %o1 ! restore %o1
130 mov %g1, %o0 ! restore %o0
131 mov %g5, %o2 ! restore %o2
132 mov %g7, %o3 ! restore %o3
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_display_reset.c24 struct drm_modeset_acquire_ctx *ctx = &dev_priv->display.restore.reset_ctx; in intel_display_reset_prepare()
80 dev_priv->display.restore.modeset_state = state; in intel_display_reset_prepare()
86 struct drm_modeset_acquire_ctx *ctx = &i915->display.restore.reset_ctx; in intel_display_reset_finish()
97 state = fetch_and_zero(&i915->display.restore.modeset_state); in intel_display_reset_finish()
/linux-6.6.21/arch/arc/kernel/
Dfpu.c72 struct arc_fpu *restore = &next->thread.fpu; in fpu_save_restore() local
78 write_aux_reg(ARC_REG_FPU_CTRL, restore->ctrl); in fpu_save_restore()
79 write_aux_reg(ARC_REG_FPU_STATUS, (fwe | restore->status)); in fpu_save_restore()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dpci.c103 goto restore; in mt7615_pci_suspend()
112 goto restore; in mt7615_pci_suspend()
120 goto restore; in mt7615_pci_suspend()
124 goto restore; in mt7615_pci_suspend()
128 restore: in mt7615_pci_suspend()
/linux-6.6.21/arch/sparc/lib/
Dmcount.S42 restore
100 restore
116 restore %o0, -8, %i7
124 restore
/linux-6.6.21/Documentation/driver-api/pm/
Dnotifiers.rst14 before hibernation/suspend or after restore/resume, but they require the system
20 resume/restore, but they cannot do it by calling :c:func:`request_firmware()`
37 error occurred during hibernation. Device restore callbacks have been
41 The system is going to restore a hibernation image. If all goes well,
46 An error occurred during restore from hibernation. Device restore
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dsetget_sockopt.c30 int restore; member
56 { .opt = TCP_KEEPIDLE, .new = 123, .expected = 123, .restore = 321, },
57 { .opt = TCP_KEEPINTVL, .new = 123, .expected = 123, .restore = 321, },
58 { .opt = TCP_KEEPCNT, .new = 123, .expected = 123, .restore = 124, },
59 { .opt = TCP_SYNCNT, .new = 123, .expected = 123, .restore = 124, },
60 { .opt = TCP_WINDOW_CLAMP, .new = 8123, .expected = 8123, .restore = 8124, },
134 if (t->restore) in bpf_test_sockopt_int()
135 old = t->restore; in bpf_test_sockopt_int()
/linux-6.6.21/arch/sparc/power/
Dhibernate_asm.S43 restore
47 restore
122 restore
123 restore
/linux-6.6.21/arch/m68k/ifpsp060/src/
Dpfpsp.S980 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0-fp1
981 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
982 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1337 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1338 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1339 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
1380 # restore exc state (SNAN||OPERR||OVFL||UNFL||DZ||INEX) into the FPU;
1400 mov.l (%sp)+,%d0 # restore d0
1404 fmovm.x EXC_FPREGS(%a6),&0xc0 # restore fp0/fp1
1405 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
[all …]
Dfplsp.S612 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
613 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
614 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
670 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
671 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
672 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
728 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
729 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
730 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
789 movm.l EXC_DREGS(%a6),&0x0303 # restore d0-d1/a0-a1
[all …]
/linux-6.6.21/net/unix/
Dunix_bpf.c144 int unix_dgram_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_dgram_bpf_update_proto() argument
149 if (restore) { in unix_dgram_bpf_update_proto()
160 int unix_stream_bpf_update_proto(struct sock *sk, struct sk_psock *psock, bool restore) in unix_stream_bpf_update_proto() argument
168 if (restore) { in unix_stream_bpf_update_proto()
/linux-6.6.21/arch/loongarch/kernel/
Dlbt.S45 ldptr.d t1, a0, THREAD_SCR0 # restore scr
54 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
98 EX ld.d t1, a0, (0 * SCR_REG_WIDTH) # restore scr
107 EX ld.w t1, a1, 0 # restore eflags
Dkprobes.c17 p->ainsn.restore = (unsigned long)p->addr + LOONGARCH_INSN_SIZE; in arch_prepare_ss_slot()
23 p->ainsn.restore = 0; in arch_prepare_simulate()
132 if (cur->ainsn.restore != 0) in post_kprobe_handler()
133 instruction_pointer_set(regs, cur->ainsn.restore); in post_kprobe_handler()
/linux-6.6.21/drivers/video/fbdev/via/
Ddvi.c255 int restore; in viafb_dvi_query_EDID() local
259 restore = viaparinfo->chip_info->tmds_chip_info.tmds_chip_slave_addr; in viafb_dvi_query_EDID()
266 tmds_chip_info.tmds_chip_slave_addr = restore; in viafb_dvi_query_EDID()
278 int i, restore; in dvi_get_panel_size_from_DDCv1() local
283 restore = tmds_chip->tmds_chip_slave_addr; in dvi_get_panel_size_from_DDCv1()
309 tmds_chip->tmds_chip_slave_addr = restore; in dvi_get_panel_size_from_DDCv1()
/linux-6.6.21/arch/xtensa/kernel/
Dentry.S217 s32i a2, a1, PT_WMASK # needed when we restore the reg-file
594 wsr a3, windowstart # restore WINDOWSTART
598 rsr a1, depc # restore stack pointer
600 rotw -1 # we restore a4..a7
601 _bltui a6, 16, .Lclear_regs # only have to restore current window?
1116 l32i a0, a2, PT_AREG0 # restore a0
1117 xsr a2, depc # restore a2, depc
1169 l32i a7, a2, PT_AREG7 # restore a7
1170 l32i a0, a2, PT_AREG0 # restore a0
1174 1: l32i a7, a2, PT_AREG7 # restore a7
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9003_rtt.c208 bool restore; in ar9003_hw_rtt_restore() local
247 restore = false; in ar9003_hw_rtt_restore()
252 restore = ar9003_hw_rtt_force_restore(ah); in ar9003_hw_rtt_restore()
257 return restore; in ar9003_hw_rtt_restore()
/linux-6.6.21/arch/sparc/prom/
Dcif.S28 restore
47 restore %l1, 0, %o0

12345678910>>...20