Home
last modified time | relevance | path

Searched refs:save (Results 1 – 25 of 563) sorted by relevance

12345678910>>...23

/linux-6.3-rc2/arch/x86/kvm/svm/
A Dnested.c554 vmcb02->save.es = vmcb12->save.es; in nested_vmcb02_prepare_save()
555 vmcb02->save.cs = vmcb12->save.cs; in nested_vmcb02_prepare_save()
556 vmcb02->save.ss = vmcb12->save.ss; in nested_vmcb02_prepare_save()
557 vmcb02->save.ds = vmcb12->save.ds; in nested_vmcb02_prepare_save()
558 vmcb02->save.cpl = vmcb12->save.cpl; in nested_vmcb02_prepare_save()
563 vmcb02->save.gdtr = vmcb12->save.gdtr; in nested_vmcb02_prepare_save()
564 vmcb02->save.idtr = vmcb12->save.idtr; in nested_vmcb02_prepare_save()
582 vmcb02->save.rax = vmcb12->save.rax; in nested_vmcb02_prepare_save()
583 vmcb02->save.rsp = vmcb12->save.rsp; in nested_vmcb02_prepare_save()
584 vmcb02->save.rip = vmcb12->save.rip; in nested_vmcb02_prepare_save()
[all …]
A Dsvm.c1188 struct vmcb_save_area *save = &vmcb->save; in init_vmcb() local
3273 save->es.selector, save->es.attrib, in dump_vmcb()
3274 save->es.limit, save->es.base); in dump_vmcb()
3277 save->cs.selector, save->cs.attrib, in dump_vmcb()
3278 save->cs.limit, save->cs.base); in dump_vmcb()
3281 save->ss.selector, save->ss.attrib, in dump_vmcb()
3282 save->ss.limit, save->ss.base); in dump_vmcb()
3285 save->ds.selector, save->ds.attrib, in dump_vmcb()
3286 save->ds.limit, save->ds.base); in dump_vmcb()
3298 save->gdtr.limit, save->gdtr.base); in dump_vmcb()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/
A Dsvm.c67 struct vmcb_save_area *save = &vmcb->save; in generic_svm_setup() local
81 vmcb_set_seg(&save->es, get_es(), 0, -1U, data_seg_attr); in generic_svm_setup()
82 vmcb_set_seg(&save->cs, get_cs(), 0, -1U, code_seg_attr); in generic_svm_setup()
83 vmcb_set_seg(&save->ss, get_ss(), 0, -1U, data_seg_attr); in generic_svm_setup()
84 vmcb_set_seg(&save->ds, get_ds(), 0, -1U, data_seg_attr); in generic_svm_setup()
89 save->cpl = 0; in generic_svm_setup()
90 save->efer = rdmsr(MSR_EFER); in generic_svm_setup()
97 save->g_pat = rdmsr(MSR_IA32_CR_PAT); in generic_svm_setup()
98 save->dbgctl = rdmsr(MSR_IA32_DEBUGCTLMSR); in generic_svm_setup()
103 vmcb->save.rip = (u64)guest_rip; in generic_svm_setup()
[all …]
/linux-6.3-rc2/arch/ia64/lib/
A Dxor.S14 .save ar.pfs, r31
16 .save ar.lc, r30
18 .save pr, r29
52 .save ar.pfs, r31
54 .save ar.lc, r30
56 .save pr, r29
93 .save ar.pfs, r31
95 .save ar.lc, r30
97 .save pr, r29
139 .save ar.lc, r30
[all …]
/linux-6.3-rc2/arch/arm/common/
A Dsa1111.c976 struct sa1111_save_data *save; in sa1111_suspend_noirq() local
982 if (!save) in sa1111_suspend_noirq()
984 sachip->saved_state = save; in sa1111_suspend_noirq()
992 save->skcr = readl_relaxed(base + SA1111_SKCR); in sa1111_suspend_noirq()
993 save->skpcr = readl_relaxed(base + SA1111_SKPCR); in sa1111_suspend_noirq()
1041 struct sa1111_save_data *save; in sa1111_resume_noirq() local
1045 save = sachip->saved_state; in sa1111_resume_noirq()
1046 if (!save) in sa1111_resume_noirq()
1057 kfree(save); in sa1111_resume_noirq()
1081 writel_relaxed(save->skcr, base + SA1111_SKCR); in sa1111_resume_noirq()
[all …]
A Dlocomo.c275 struct locomo_save_data *save; in locomo_suspend() local
278 save = kmalloc(sizeof(struct locomo_save_data), GFP_KERNEL); in locomo_suspend()
279 if (!save) in locomo_suspend()
282 lchip->saved_state = save; in locomo_suspend()
319 struct locomo_save_data *save; in locomo_resume() local
323 save = lchip->saved_state; in locomo_resume()
324 if (!save) in locomo_resume()
329 locomo_writel(save->LCM_GPO, lchip->base + LOCOMO_GPO); in locomo_resume()
331 locomo_writel(save->LCM_GPE, lchip->base + LOCOMO_GPE); in locomo_resume()
332 locomo_writel(save->LCM_ASD, lchip->base + LOCOMO_ASD); in locomo_resume()
[all …]
/linux-6.3-rc2/arch/mips/include/asm/
A Dfpu.h164 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
167 if (save) { in lose_fpu_inatomic()
176 if (save) in lose_fpu_inatomic()
188 static inline void lose_fpu(int save) in lose_fpu() argument
191 lose_fpu_inatomic(save, current); in lose_fpu()
289 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
294 static inline void lose_fpu(int save) in lose_fpu() argument
/linux-6.3-rc2/arch/m68k/ifpsp060/src/
A Disp.S1046 mov.b &0x0,EXC_SAVREG(%a6) # save regno, too
1057 mov.b &0x1,EXC_SAVREG(%a6) # save regno, too
1068 mov.b &0x2,EXC_SAVREG(%a6) # save regno, too
1079 mov.b &0x3,EXC_SAVREG(%a6) # save regno, too
1090 mov.b &0x4,EXC_SAVREG(%a6) # save regno, too
1101 mov.b &0x5,EXC_SAVREG(%a6) # save regno, too
1112 mov.b &0x6,EXC_SAVREG(%a6) # save regno, too
1135 mov.b &0x0,EXC_SAVREG(%a6) # save regno, too
1146 mov.b &0x1,EXC_SAVREG(%a6) # save regno, too
1336 movm.l &0x3c00,-(%sp) # save d2-d5
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
A Dagp.c60 u32 save[2]; in nvkm_agp_preinit() local
72 save[0] = nvkm_pci_rd32(pci, 0x0004); in nvkm_agp_preinit()
73 nvkm_pci_wr32(pci, 0x0004, save[0] & ~0x00000004); in nvkm_agp_preinit()
77 save[1] = nvkm_mask(device, 0x000200, 0x00011100, 0x00000000); in nvkm_agp_preinit()
78 nvkm_mask(device, 0x000200, 0x00011100, save[1]); in nvkm_agp_preinit()
81 nvkm_pci_wr32(pci, 0x0004, save[0]); in nvkm_agp_preinit()
/linux-6.3-rc2/arch/sparc/kernel/
A Dwuf.S113 save %g0, %g0, %g0
114 save %g0, %g0, %g0
160 save %g0, %g0, %g0
167 save %g0, %g0, %g0
205 save %g0, %g0, %g0 /* Save to window 'O' */
206 save %g0, %g0, %g0 /* Save to window 'T' */
276 save %g0, %g0, %g0
277 save %g0, %g0, %g0
/linux-6.3-rc2/arch/sh/kernel/cpu/sh3/
A Dswsusp.S90 ! - save registers in swsusp_arch_regs_cpu0
94 sts pr, r0 ! save pr in r0
95 mov r15, r2 ! save sp in r2
96 mov r8, r5 ! save r8 in r5
98 ldc r1, ssr ! save sr in ssr
103 add r3, r15 ! save from top of structure
109 jsr @r1 ! switch to bank1 and save bank1 r7->r0
116 jsr @k1 ! switch to bank0 and save all regs
/linux-6.3-rc2/fs/ext4/
A Dxattr.h153 static inline void ext4_write_lock_xattr(struct inode *inode, int *save) in ext4_write_lock_xattr() argument
156 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_lock_xattr()
160 static inline int ext4_write_trylock_xattr(struct inode *inode, int *save) in ext4_write_trylock_xattr() argument
164 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_trylock_xattr()
169 static inline void ext4_write_unlock_xattr(struct inode *inode, int *save) in ext4_write_unlock_xattr() argument
171 if (*save == 0) in ext4_write_unlock_xattr()
/linux-6.3-rc2/drivers/pci/
A Dvc.c27 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument
32 if (save) in pci_vc_save_restore_dwords()
186 bool save) in pci_vc_do_save_buffer() argument
195 pci_vc_do_save_buffer(dev, pos, NULL, save)) { in pci_vc_do_save_buffer()
215 if (save) in pci_vc_do_save_buffer()
253 size / 4, save); in pci_vc_do_save_buffer()
258 if (!save) in pci_vc_do_save_buffer()
300 size / 4, save); in pci_vc_do_save_buffer()
310 if (save) in pci_vc_do_save_buffer()
/linux-6.3-rc2/drivers/pinctrl/samsung/
A Dpinctrl-exynos.c640 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_suspend_bank() local
643 save->eint_con = readl(regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_suspend_bank()
645 save->eint_fltcon0 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend_bank()
649 save->eint_mask = readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_suspend_bank()
681 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_resume_bank() local
686 + bank->eint_offset), save->eint_con); in exynos_pinctrl_resume_bank()
689 + 2 * bank->eint_offset), save->eint_fltcon0); in exynos_pinctrl_resume_bank()
692 + 2 * bank->eint_offset + 4), save->eint_fltcon1); in exynos_pinctrl_resume_bank()
695 + bank->eint_offset), save->eint_mask); in exynos_pinctrl_resume_bank()
697 writel(save->eint_con, regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_resume_bank()
[all …]
/linux-6.3-rc2/arch/parisc/math-emu/
A Dsfadd.c43 register unsigned int signless_upper_left, signless_upper_right, save; in sgl_fadd() local
57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd()
68 if (Sgl_isinfinity(right) && save!=0) in sgl_fadd()
159 Sgl_xorfromintp1(save,right,/*to*/right); in sgl_fadd()
160 Sgl_xorfromintp1(save,left,/*to*/left); in sgl_fadd()
211 if( (/*signed*/int) save < 0 ) in sgl_fadd()
277 if( (/*signed*/int) save < 0 ) in sgl_fadd()
A Dsfsub.c43 register unsigned int signless_upper_left, signless_upper_right, save; in sgl_fsub() local
55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub()
66 if (Sgl_isinfinity(right) && save==0) in sgl_fsub()
158 Sgl_xorfromintp1(save,right,/*to*/right); in sgl_fsub()
159 Sgl_xorfromintp1(save,left,/*to*/left); in sgl_fsub()
213 if( (/*signed*/int) save >= 0 ) in sgl_fsub()
280 if( (/*signed*/int) save >= 0 ) in sgl_fsub()
A Ddfadd.c41 register unsigned int signless_upper_left, signless_upper_right, save; in dbl_fadd() local
56 Dbl_xortointp1(leftp1,rightp1,/*to*/save); in dbl_fadd()
67 if (Dbl_isinfinity(rightp1,rightp2) && save!=0) in dbl_fadd()
158 Dbl_xorfromintp1(save,rightp1,/*to*/rightp1); in dbl_fadd()
159 Dbl_xorfromintp1(save,leftp1,/*to*/leftp1); in dbl_fadd()
212 if( (/*signed*/int) save < 0 ) in dbl_fadd()
281 if( (/*signed*/int) save < 0 ) in dbl_fadd()
A Ddfsub.c42 register unsigned int signless_upper_left, signless_upper_right, save; in dbl_fsub() local
56 Dbl_xortointp1(leftp1,rightp1,/*to*/save); in dbl_fsub()
67 if (Dbl_isinfinity(rightp1,rightp2) && save==0) in dbl_fsub()
159 Dbl_xorfromintp1(save,rightp1,/*to*/rightp1); in dbl_fsub()
160 Dbl_xorfromintp1(save,leftp1,/*to*/leftp1); in dbl_fsub()
215 if( (/*signed*/int) save >= 0 ) in dbl_fsub()
284 if( (/*signed*/int) save >= 0 ) in dbl_fsub()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dfpu.h78 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
81 if (save) in lose_fpu_inatomic()
89 static inline void lose_fpu(int save) in lose_fpu() argument
92 lose_fpu_inatomic(save, current); in lose_fpu()
/linux-6.3-rc2/arch/mips/boot/dts/mscc/
A Docelot_pcb120.dts30 phy_load_save_pins: phy-load-save-pins {
49 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
55 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
61 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
67 load-save-gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dhyperv_svm_test.c102 vmcb->save.rip += 3; in guest_code()
109 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
115 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
124 vmcb->save.rip += 3; /* vmcall */ in guest_code()
130 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
139 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
/linux-6.3-rc2/arch/arm/include/asm/
A Dfpstate.h52 unsigned int save[FP_HARD_SIZE]; /* as yet undefined */ member
58 unsigned int save[FP_SOFT_SIZE]; /* undefined information */ member
64 unsigned int save[IWMMXT_SIZE / sizeof(unsigned int)]; member
/linux-6.3-rc2/arch/arm/vfp/
A Dvfphw.S98 @ On UP, we lazily save the VFP context. As a different
99 @ thread wants ownership of the VFP hardware, save the old
109 VFPFSTMIA r4, r5 @ save the working registers
112 tst r1, #FPEXC_EX @ is there additional state to save?
120 stmia r4, {r1, r5, r6, r8} @ save FPEXC, FPSCR, FPINST, FPINST2
125 @ need to reload it. No need to save the old state as on SMP,
126 @ we always save the state when we switch away from a thread.
/linux-6.3-rc2/arch/arc/kernel/
A Dfpu.c71 struct arc_fpu *save = &prev->thread.fpu; in fpu_save_restore() local
75 save->ctrl = read_aux_reg(ARC_REG_FPU_CTRL); in fpu_save_restore()
76 save->status = read_aux_reg(ARC_REG_FPU_STATUS); in fpu_save_restore()
/linux-6.3-rc2/drivers/iio/dac/
A Dm62332.c28 u8 save[M62332_CHANNELS]; member
132 data->save[0] = data->raw[0]; in m62332_suspend()
133 data->save[1] = data->raw[1]; in m62332_suspend()
149 ret = m62332_set_value(indio_dev, data->save[0], 0); in m62332_resume()
153 return m62332_set_value(indio_dev, data->save[1], 1); in m62332_resume()

Completed in 50 milliseconds

12345678910>>...23