/linux/arch/x86/kvm/svm/ |
A D | nested.c | 477 svm->vmcb->save.es = vmcb12->save.es; in nested_vmcb02_prepare_save() 478 svm->vmcb->save.cs = vmcb12->save.cs; in nested_vmcb02_prepare_save() 479 svm->vmcb->save.ss = vmcb12->save.ss; in nested_vmcb02_prepare_save() 480 svm->vmcb->save.ds = vmcb12->save.ds; in nested_vmcb02_prepare_save() 798 vmcb12->save.es = vmcb->save.es; in nested_svm_vmexit() 799 vmcb12->save.cs = vmcb->save.cs; in nested_svm_vmexit() 800 vmcb12->save.ss = vmcb->save.ss; in nested_svm_vmexit() 801 vmcb12->save.ds = vmcb->save.ds; in nested_svm_vmexit() 807 vmcb12->save.cr2 = vmcb->save.cr2; in nested_svm_vmexit() 813 vmcb12->save.dr7 = vmcb->save.dr7; in nested_svm_vmexit() [all …]
|
A D | svm.c | 3264 save->es.selector, save->es.attrib, in dump_vmcb() 3265 save->es.limit, save->es.base); in dump_vmcb() 3268 save->cs.selector, save->cs.attrib, in dump_vmcb() 3269 save->cs.limit, save->cs.base); in dump_vmcb() 3272 save->ss.selector, save->ss.attrib, in dump_vmcb() 3273 save->ss.limit, save->ss.base); in dump_vmcb() 3276 save->ds.selector, save->ds.attrib, in dump_vmcb() 3277 save->ds.limit, save->ds.base); in dump_vmcb() 3289 save->gdtr.limit, save->gdtr.base); in dump_vmcb() 3297 save->idtr.limit, save->idtr.base); in dump_vmcb() [all …]
|
/linux/drivers/soc/samsung/ |
A D | s3c-pm-debug.c | 49 struct pm_uart_save *save = &uart_save; in s3c_pm_save_uarts() local 51 save->ulcon = __raw_readl(regs + S3C2410_ULCON); in s3c_pm_save_uarts() 52 save->ucon = __raw_readl(regs + S3C2410_UCON); in s3c_pm_save_uarts() 53 save->ufcon = __raw_readl(regs + S3C2410_UFCON); in s3c_pm_save_uarts() 54 save->umcon = __raw_readl(regs + S3C2410_UMCON); in s3c_pm_save_uarts() 61 regs, save->ulcon, save->ucon, save->ufcon, save->ubrdiv); in s3c_pm_save_uarts() 67 struct pm_uart_save *save = &uart_save; in s3c_pm_restore_uarts() local 69 s3c_pm_arch_update_uart(regs, save); in s3c_pm_restore_uarts() 71 __raw_writel(save->ulcon, regs + S3C2410_ULCON); in s3c_pm_restore_uarts() 72 __raw_writel(save->ucon, regs + S3C2410_UCON); in s3c_pm_restore_uarts() [all …]
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
A D | svm.c | 75 struct vmcb_save_area *save = &vmcb->save; in generic_svm_setup() local 89 vmcb_set_seg(&save->es, get_es(), 0, -1U, data_seg_attr); in generic_svm_setup() 90 vmcb_set_seg(&save->cs, get_cs(), 0, -1U, code_seg_attr); in generic_svm_setup() 91 vmcb_set_seg(&save->ss, get_ss(), 0, -1U, data_seg_attr); in generic_svm_setup() 92 vmcb_set_seg(&save->ds, get_ds(), 0, -1U, data_seg_attr); in generic_svm_setup() 97 save->cpl = 0; in generic_svm_setup() 98 save->efer = rdmsr(MSR_EFER); in generic_svm_setup() 105 save->g_pat = rdmsr(MSR_IA32_CR_PAT); in generic_svm_setup() 106 save->dbgctl = rdmsr(MSR_IA32_DEBUGCTLMSR); in generic_svm_setup() 110 vmcb->save.rip = (u64)guest_rip; in generic_svm_setup() [all …]
|
/linux/arch/ia64/lib/ |
A D | xor.S | 14 .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/arch/arm/common/ |
A D | sa1111.c | 973 struct sa1111_save_data *save; in sa1111_suspend_noirq() local 979 if (!save) in sa1111_suspend_noirq() 981 sachip->saved_state = save; in sa1111_suspend_noirq() 989 save->skcr = readl_relaxed(base + SA1111_SKCR); in sa1111_suspend_noirq() 990 save->skpcr = readl_relaxed(base + SA1111_SKPCR); in sa1111_suspend_noirq() 1038 struct sa1111_save_data *save; in sa1111_resume_noirq() local 1042 save = sachip->saved_state; in sa1111_resume_noirq() 1043 if (!save) in sa1111_resume_noirq() 1054 kfree(save); in sa1111_resume_noirq() 1078 writel_relaxed(save->skcr, base + SA1111_SKCR); in sa1111_resume_noirq() [all …]
|
A D | locomo.c | 276 struct locomo_save_data *save; in locomo_suspend() local 279 save = kmalloc(sizeof(struct locomo_save_data), GFP_KERNEL); in locomo_suspend() 280 if (!save) in locomo_suspend() 283 lchip->saved_state = save; in locomo_suspend() 320 struct locomo_save_data *save; in locomo_resume() local 324 save = lchip->saved_state; in locomo_resume() 325 if (!save) in locomo_resume() 330 locomo_writel(save->LCM_GPO, lchip->base + LOCOMO_GPO); in locomo_resume() 332 locomo_writel(save->LCM_GPE, lchip->base + LOCOMO_GPE); in locomo_resume() 333 locomo_writel(save->LCM_ASD, lchip->base + LOCOMO_ASD); in locomo_resume() [all …]
|
/linux/arch/x86/kernel/ |
A D | sev-shared.c | 66 ghcb->save.sw_exit_code = 0; in vc_ghcb_invalidate() 67 __builtin_memset(ghcb->save.valid_bitmap, 0, sizeof(ghcb->save.valid_bitmap)); in vc_ghcb_invalidate() 106 u64 info = ghcb->save.sw_exit_info_2; in verify_exception_info() 109 info = ghcb->save.sw_exit_info_2; in verify_exception_info() 511 regs->ax = ghcb->save.rax; in vc_handle_cpuid() 512 regs->bx = ghcb->save.rbx; in vc_handle_cpuid() 513 regs->cx = ghcb->save.rcx; in vc_handle_cpuid() 514 regs->dx = ghcb->save.rdx; in vc_handle_cpuid() 534 ctxt->regs->ax = ghcb->save.rax; in vc_handle_rdtsc() 535 ctxt->regs->dx = ghcb->save.rdx; in vc_handle_rdtsc() [all …]
|
/linux/arch/mips/include/asm/ |
A D | fpu.h | 164 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/arch/m68k/ifpsp060/src/ |
A D | isp.S | 1046 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 …]
|
A D | fplsp.S | 5137 fmovm.x &0x0c,-(%sp) # save fp2/fp3 5795 fmovm.x &0x0c,-(%sp) # save fp2,fp3 5898 mov.l %d2,-(%sp) # save d2 5936 mov.l %d1,%a1 # save a copy of D0 6415 fmovm.x &0x0c,-(%sp) # save fp2/fp3 9027 fmovm.x &0x0c,-(%sp) # save fp2/fp3 9123 fmovm.x &0x0c,-(%sp) # save fp2/fp3 9251 mov.l %d0,-(%sp) # save src for now 9421 mov.l %d0,-(%sp) # save ctrl bits 9428 mov.l %d0,-(%sp) # save ctrl bits [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
A D | agp.c | 60 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/arch/sh/kernel/cpu/sh3/ |
A D | swsusp.S | 90 ! - 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/arch/sparc/kernel/ |
A D | wuf.S | 113 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/drivers/pinctrl/samsung/ |
A D | pinctrl-exynos.c | 637 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_suspend_bank() local 640 save->eint_con = readl(regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_suspend_bank() 642 save->eint_fltcon0 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend_bank() 646 save->eint_mask = readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_suspend_bank() 678 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_resume_bank() local 683 + bank->eint_offset), save->eint_con); in exynos_pinctrl_resume_bank() 686 + 2 * bank->eint_offset), save->eint_fltcon0); in exynos_pinctrl_resume_bank() 689 + 2 * bank->eint_offset + 4), save->eint_fltcon1); in exynos_pinctrl_resume_bank() 692 + bank->eint_offset), save->eint_mask); in exynos_pinctrl_resume_bank() 694 writel(save->eint_con, regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_resume_bank() [all …]
|
/linux/drivers/pci/ |
A D | vc.c | 27 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/fs/ext4/ |
A D | xattr.h | 140 static inline void ext4_write_lock_xattr(struct inode *inode, int *save) in ext4_write_lock_xattr() argument 143 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_lock_xattr() 147 static inline int ext4_write_trylock_xattr(struct inode *inode, int *save) in ext4_write_trylock_xattr() argument 151 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_trylock_xattr() 156 static inline void ext4_write_unlock_xattr(struct inode *inode, int *save) in ext4_write_unlock_xattr() argument 158 if (*save == 0) in ext4_write_unlock_xattr()
|
/linux/arch/parisc/math-emu/ |
A D | sfadd.c | 43 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 D | sfsub.c | 43 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 D | dfadd.c | 41 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 D | dfsub.c | 42 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/arch/arm/vfp/ |
A D | vfphw.S | 98 @ 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/arch/arm/lib/ |
A D | memmove.S | 39 UNWIND( .save {r0, r4, lr} ) @ in first stmfd block 55 UNWIND( .save {r0, r4, lr} ) 56 UNWIND( .save {r5 - r8} ) @ in second stmfd block 112 UNWIND( .save {r0, r4, lr} ) @ still in first stmfd block 146 UNWIND( .save {r0, r4, lr} ) @ still in first stmfd block 159 UNWIND( .save {r0, r4, lr} ) 160 UNWIND( .save {r5 - r9} ) @ in new second stmfd block 198 UNWIND( .save {r0, r4, lr} ) @ still in first stmfd block
|
/linux/arch/arm/include/asm/ |
A D | fpstate.h | 55 unsigned int save[FP_HARD_SIZE]; /* as yet undefined */ member 61 unsigned int save[FP_SOFT_SIZE]; /* undefined information */ member 67 unsigned int save[IWMMXT_SIZE / sizeof(unsigned int)]; member
|
/linux/net/smc/ |
A D | smc_cdc.h | 197 union smc_host_cursor *save, in smc_host_cursor_to_cdc() argument 200 smc_curs_copy(save, local, conn); in smc_host_cursor_to_cdc() 201 peer->count = htonl(save->count); in smc_host_cursor_to_cdc() 202 peer->wrap = htons(save->wrap); in smc_host_cursor_to_cdc() 208 union smc_host_cursor *save) in smc_host_msg_to_cdc() argument 216 smc_host_cursor_to_cdc(&peer->prod, &local->prod, save, conn); in smc_host_msg_to_cdc() 217 smc_host_cursor_to_cdc(&peer->cons, &local->cons, save, conn); in smc_host_msg_to_cdc()
|