/Linux-v6.1/drivers/soc/samsung/ |
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() 55 save->ubrdiv = __raw_readl(regs + S3C2410_UBRDIV); in s3c_pm_save_uarts() 58 save->udivslot = __raw_readl(regs + S3C2443_DIVSLOT); 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() [all …]
|
/Linux-v6.1/arch/x86/kvm/svm/ |
D | nested.c | 92 kvm_init_shadow_npt_mmu(vcpu, X86_CR0_PG, svm->vmcb01.ptr->save.cr4, in nested_svm_init_mmu_context() 93 svm->vmcb01.ptr->save.efer, in nested_svm_init_mmu_context() 282 struct vmcb_save_area_cached *save) in __nested_vmcb_check_save() argument 284 if (CC(!(save->efer & EFER_SVME))) in __nested_vmcb_check_save() 287 if (CC((save->cr0 & X86_CR0_CD) == 0 && (save->cr0 & X86_CR0_NW)) || in __nested_vmcb_check_save() 288 CC(save->cr0 & ~0xffffffffULL)) in __nested_vmcb_check_save() 291 if (CC(!kvm_dr6_valid(save->dr6)) || CC(!kvm_dr7_valid(save->dr7))) in __nested_vmcb_check_save() 299 if ((save->efer & EFER_LME) && (save->cr0 & X86_CR0_PG)) { in __nested_vmcb_check_save() 300 if (CC(!(save->cr4 & X86_CR4_PAE)) || in __nested_vmcb_check_save() 301 CC(!(save->cr0 & X86_CR0_PE)) || in __nested_vmcb_check_save() [all …]
|
D | svm.c | 344 svm->vmcb->save.efer = efer | EFER_SVME; in svm_set_efer() 390 old_rflags = svm->vmcb->save.rflags; in __svm_skip_emulated_instruction() 396 svm->vmcb->save.rflags = old_rflags; in __svm_skip_emulated_instruction() 445 svm->soft_int_csbase = svm->vmcb->save.cs.base; in svm_update_soft_interrupt_rip() 901 to_vmcb->save.dbgctl = from_vmcb->save.dbgctl; in svm_copy_lbrs() 902 to_vmcb->save.br_from = from_vmcb->save.br_from; in svm_copy_lbrs() 903 to_vmcb->save.br_to = from_vmcb->save.br_to; in svm_copy_lbrs() 904 to_vmcb->save.last_excp_from = from_vmcb->save.last_excp_from; in svm_copy_lbrs() 905 to_vmcb->save.last_excp_to = from_vmcb->save.last_excp_to; in svm_copy_lbrs() 958 return vmcb->save.dbgctl; in svm_get_lbr_msr() [all …]
|
/Linux-v6.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | svm.c | 67 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() 85 vmcb_set_seg(&save->gdtr, 0, get_gdt().address, get_gdt().size, 0); in generic_svm_setup() 86 vmcb_set_seg(&save->idtr, 0, get_idt().address, get_idt().size, 0); in generic_svm_setup() 89 save->cpl = 0; in generic_svm_setup() 90 save->efer = rdmsr(MSR_EFER); in generic_svm_setup() 91 asm volatile ("mov %%cr4, %0" : "=r"(save->cr4) : : "memory"); in generic_svm_setup() [all …]
|
/Linux-v6.1/arch/ia64/lib/ |
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 137 .save ar.pfs, r31 [all …]
|
/Linux-v6.1/arch/arm/common/ |
D | sa1111.c | 976 struct sa1111_save_data *save; in sa1111_suspend_noirq() local 981 save = kmalloc(sizeof(struct sa1111_save_data), GFP_KERNEL); in sa1111_suspend_noirq() 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() 994 save->skcdr = readl_relaxed(base + SA1111_SKCDR); in sa1111_suspend_noirq() 995 save->skaud = readl_relaxed(base + SA1111_SKAUD); in sa1111_suspend_noirq() 996 save->skpwm0 = readl_relaxed(base + SA1111_SKPWM0); in sa1111_suspend_noirq() 997 save->skpwm1 = readl_relaxed(base + SA1111_SKPWM1); in sa1111_suspend_noirq() [all …]
|
D | locomo.c | 275 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() 286 save->LCM_GPO = locomo_readl(lchip->base + LOCOMO_GPO); /* GPIO */ in locomo_suspend() 288 save->LCM_SPICT = locomo_readl(lchip->base + LOCOMO_SPI + LOCOMO_SPICT); /* SPI */ in locomo_suspend() 290 save->LCM_GPE = locomo_readl(lchip->base + LOCOMO_GPE); /* GPIO */ in locomo_suspend() 292 save->LCM_ASD = locomo_readl(lchip->base + LOCOMO_ASD); /* ADSTART */ in locomo_suspend() 294 save->LCM_SPIMD = locomo_readl(lchip->base + LOCOMO_SPI + LOCOMO_SPIMD); /* SPI */ in locomo_suspend() 319 struct locomo_save_data *save; in locomo_resume() local [all …]
|
/Linux-v6.1/arch/mips/include/asm/ |
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-v6.1/arch/m68k/ifpsp060/src/ |
D | isp.S | 1043 mov.l %d0,EXC_A0(%a6) # save incremented value 1045 mov.l %a0,EXC_SAVVAL(%a6) # save in case of access error 1046 mov.b &0x0,EXC_SAVREG(%a6) # save regno, too 1054 mov.l %d0,EXC_A1(%a6) # save incremented value 1056 mov.l %a0,EXC_SAVVAL(%a6) # save in case of access error 1057 mov.b &0x1,EXC_SAVREG(%a6) # save regno, too 1065 mov.l %d0,EXC_A2(%a6) # save incremented value 1067 mov.l %a0,EXC_SAVVAL(%a6) # save in case of access error 1068 mov.b &0x2,EXC_SAVREG(%a6) # save regno, too 1076 mov.l %d0,EXC_A3(%a6) # save incremented value [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/pci/ |
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-v6.1/arch/sh/kernel/cpu/sh3/ |
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-v6.1/arch/sparc/kernel/ |
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-v6.1/fs/ext4/ |
D | xattr.h | 153 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-v6.1/drivers/pci/ |
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-v6.1/drivers/pinctrl/samsung/ |
D | pinctrl-exynos.c | 640 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() 647 save->eint_fltcon1 = 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() 652 pr_debug("%s: save con %#010x\n", bank->name, save->eint_con); in exynos_pinctrl_suspend_bank() 653 pr_debug("%s: save fltcon0 %#010x\n", bank->name, save->eint_fltcon0); in exynos_pinctrl_suspend_bank() 654 pr_debug("%s: save fltcon1 %#010x\n", bank->name, save->eint_fltcon1); in exynos_pinctrl_suspend_bank() 655 pr_debug("%s: save mask %#010x\n", bank->name, save->eint_mask); in exynos_pinctrl_suspend_bank() 681 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_resume_bank() local [all …]
|
/Linux-v6.1/arch/parisc/math-emu/ |
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()
|
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()
|
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()
|
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-v6.1/arch/loongarch/include/asm/ |
D | fpu.h | 78 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-v6.1/arch/mips/boot/dts/mscc/ |
D | ocelot_pcb120.dts | 30 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-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_svm_test.c | 83 vmcb->save.rip += 3; in guest_code() 90 vmcb->save.rip += 2; /* rdmsr */ in guest_code() 96 vmcb->save.rip += 2; /* rdmsr */ in guest_code() 105 vmcb->save.rip += 3; /* vmcall */ in guest_code() 111 vmcb->save.rip += 2; /* rdmsr */ in guest_code()
|
/Linux-v6.1/arch/arm/include/asm/ |
D | fpstate.h | 52 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-v6.1/arch/arm/vfp/ |
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-v6.1/arch/arc/kernel/ |
D | fpu.c | 71 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()
|