Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dsample.c276 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()
291 if (IS_ERR(restore->rule)) { in sample_restore_get()
298 restore->count++; in sample_restore_get()
300 return restore; in sample_restore_get()
305 kfree(restore); in sample_restore_get()
315 if (--restore->count == 0) in sample_restore_put()
316 hash_del(&restore->hlist); in sample_restore_put()
319 if (!restore->count) { in sample_restore_put()
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A 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()
60 if (restore != 0) in get_lpu_event()
63 restore = 0; in get_lpu_event()
86 if (restore != 0) in get_lpu_event()
134 u32 restore = 0; in get_dou_event() local
[all …]
/linux/arch/loongarch/include/asm/
H A 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
H A Dfpu.h109 static inline void own_fpu_inatomic(int restore) in own_fpu_inatomic() argument
113 if (restore) in own_fpu_inatomic()
118 static inline void own_fpu(int restore) in own_fpu() argument
121 own_fpu_inatomic(restore); in own_fpu()
/linux/arch/mips/include/asm/
H A 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/arch/sh/kernel/cpu/sh3/
H A 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/arch/sparc/kernel/
H A 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
H A 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
H A 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/arch/arc/kernel/
H A 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/drivers/gpu/drm/i915/display/
H A 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/drivers/net/wireless/mediatek/mt76/mt7615/
H A 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/arch/sparc/lib/
H A Dmcount.S42 restore
100 restore
116 restore %o0, -8, %i7
124 restore
/linux/Documentation/driver-api/pm/
H A 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/tools/testing/selftests/bpf/progs/
H A 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/arch/sparc/power/
H A Dhibernate_asm.S43 restore
47 restore
122 restore
123 restore
/linux/arch/m68k/ifpsp060/src/
H A Dpfpsp.S1400 mov.l (%sp)+,%d0 # restore d0
1565 mov.l EXC_A7(%a6),%a0 # restore a7
1715 frestore FP_SRC(%a6) # restore EXOP
1768 frestore FP_DST(%a6) # restore EXOP
1796 frestore FP_SRC(%a6) # restore EXOP
2111 mov.l EXC_A6(%a6),(%a6) # restore a6
2461 mov.l (%sp)+,%d0 # restore d0
2929 # -restore a6 (not with unlk)
2950 mov.l (%sp)+,%d0 # restore d0
3008 mov.l (%sp)+,%d0 # restore d0
[all …]
H A Dfplsp.S614 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
672 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
730 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
791 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
849 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
907 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
968 fmovm.x EXC_FP1(%a6),&0x40 # restore fp1
5597 mov.l (%sp)+,%d2 # restore d2
7201 fmov.l %d0,%fpcr # restore user FPCR
9316 mov.l (%sp)+,%d0 # restore ctrl bits
[all …]
/linux/net/unix/
H A 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/arch/loongarch/kernel/
H A Dlbt.S46 ldptr.d t1, a0, THREAD_SCR0 # restore scr
55 ldptr.d t1, a0, THREAD_EFLAGS # restore eflags
99 EX ld.d t1, a0, (0 * SCR_REG_WIDTH) # restore scr
108 EX ld.w t1, a1, 0 # restore eflags
H A 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/drivers/video/fbdev/via/
H A 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/arch/xtensa/kernel/
H A Dentry.S598 rsr a1, depc # restore stack pointer
600 rotw -1 # we restore a4..a7
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
1175 l32i a0, a2, PT_AREG0 # restore a0
1190 l32i a7, a0, PT_AREG7 # restore a7
1191 l32i a0, a0, PT_AREG0 # restore a0
1195 l32i a0, a2, PT_AREG0 # restore a0
1200 l32i a0, a2, PT_AREG0 # restore a0
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A 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/arch/sparc/prom/
H A Dcif.S28 restore
47 restore %l1, 0, %o0

12345678910>>...20