Home
last modified time | relevance | path

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

12345678910>>...17

/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos.c883 struct exynos_eint_gpio_save *save = bank->soc_priv; in exynos_pinctrl_suspend() local
887 save->eint_con = readl(regs + EXYNOS_GPIO_ECON_OFFSET in exynos_pinctrl_suspend()
889 save->eint_fltcon0 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend()
891 save->eint_fltcon1 = readl(regs + EXYNOS_GPIO_EFLTCON_OFFSET in exynos_pinctrl_suspend()
893 save->eint_mask = readl(regs + bank->irq_chip->eint_mask in exynos_pinctrl_suspend()
897 bank->name, save->eint_con); in exynos_pinctrl_suspend()
899 bank->name, save->eint_fltcon0); in exynos_pinctrl_suspend()
901 bank->name, save->eint_fltcon1); in exynos_pinctrl_suspend()
903 bank->name, save->eint_mask); in exynos_pinctrl_suspend()
911 struct exynos_eint_gpio_save *save = bank->soc_priv; in gs101_pinctrl_suspend() local
[all …]
/linux/arch/loongarch/include/asm/
H A Dlbt.h74 static inline void lose_lbt_inatomic(int save, struct task_struct *tsk) in lose_lbt_inatomic() argument
77 if (save) in lose_lbt_inatomic()
86 static inline void lose_lbt(int save) in lose_lbt() argument
89 lose_lbt_inatomic(save, current); in lose_lbt()
100 static inline void lose_lbt_inatomic(int save, struct task_struct *tsk) {} in lose_lbt_inatomic() argument
102 static inline void lose_lbt(int save) {} in lose_lbt() argument
H A Dfpu.h132 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
136 if (save) in lose_fpu_inatomic()
140 if (save) { in lose_fpu_inatomic()
156 static inline void lose_fpu(int save) in lose_fpu() argument
159 lose_fpu_inatomic(save, current); in lose_fpu()
/linux/arch/arm/common/
H A Dsa1111.c967 struct sa1111_save_data *save; in sa1111_suspend_noirq() local
972 save = kmalloc(sizeof(struct sa1111_save_data), GFP_KERNEL); in sa1111_suspend_noirq()
973 if (!save) in sa1111_suspend_noirq()
975 sachip->saved_state = save; in sa1111_suspend_noirq()
983 save->skcr = readl_relaxed(base + SA1111_SKCR); in sa1111_suspend_noirq()
984 save->skpcr = readl_relaxed(base + SA1111_SKPCR); in sa1111_suspend_noirq()
985 save->skcdr = readl_relaxed(base + SA1111_SKCDR); in sa1111_suspend_noirq()
986 save->skaud = readl_relaxed(base + SA1111_SKAUD); in sa1111_suspend_noirq()
987 save->skpwm0 = readl_relaxed(base + SA1111_SKPWM0); in sa1111_suspend_noirq()
988 save->skpwm1 = readl_relaxed(base + SA1111_SKPWM1); in sa1111_suspend_noirq()
[all …]
H A Dlocomo.c277 struct locomo_save_data *save; in locomo_suspend() local
280 save = kmalloc(sizeof(struct locomo_save_data), GFP_KERNEL); in locomo_suspend()
281 if (!save) in locomo_suspend()
284 lchip->saved_state = save; in locomo_suspend()
288 save->LCM_GPO = locomo_readl(lchip->base + LOCOMO_GPO); /* GPIO */ in locomo_suspend()
290 save->LCM_SPICT = locomo_readl(lchip->base + LOCOMO_SPI + LOCOMO_SPICT); /* SPI */ in locomo_suspend()
292 save->LCM_GPE = locomo_readl(lchip->base + LOCOMO_GPE); /* GPIO */ in locomo_suspend()
294 save->LCM_ASD = locomo_readl(lchip->base + LOCOMO_ASD); /* ADSTART */ in locomo_suspend()
296 save->LCM_SPIMD = locomo_readl(lchip->base + LOCOMO_SPI + LOCOMO_SPIMD); /* SPI */ in locomo_suspend()
321 struct locomo_save_data *save; in locomo_resume() local
[all …]
/linux/arch/mips/include/asm/
H A Dfpu.h179 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
182 if (save) { in lose_fpu_inatomic()
191 if (save) in lose_fpu_inatomic()
203 static inline void lose_fpu(int save) in lose_fpu() argument
206 lose_fpu_inatomic(save, current); in lose_fpu()
304 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic() argument
309 static inline void lose_fpu(int save) in lose_fpu() argument
/linux/arch/m68k/ifpsp060/src/
H A Disp.S1043 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 …]
H A Dfplsp.S565 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
566 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
567 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
622 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
623 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
624 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
680 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
681 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
682 fmovm.x &0xc0,EXC_FP0(%a6) # save fp0/fp1
742 movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
H 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/arch/sparc/kernel/
H 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
H A Dwof.S76 mov %g5, %saved_g5 ! save away global temp register
77 mov %g6, %saved_g6 ! save away 'current' ptr register
97 save %g0, %g0, %g0 ! Go where saving will occur
110 save %g0, %g0, %g0 ! save into the window to stash away
144 save %g0, %g0, %g0 ! Go to where the saving will occur
/linux/arch/sh/kernel/cpu/sh3/
H 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/drivers/pci/
H A Dvc.c28 u32 *buf, int dwords, bool save) in pci_vc_save_restore_dwords() argument
33 if (save) in pci_vc_save_restore_dwords()
187 bool save) in pci_vc_do_save_buffer() argument
196 pci_vc_do_save_buffer(dev, pos, NULL, save)) { in pci_vc_do_save_buffer()
216 if (save) in pci_vc_do_save_buffer()
254 size / 4, save); in pci_vc_do_save_buffer()
259 if (!save) in pci_vc_do_save_buffer()
301 size / 4, save); in pci_vc_do_save_buffer()
311 if (save) in pci_vc_do_save_buffer()
/linux/arch/parisc/math-emu/
H 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()
H 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()
H 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()
H 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()
/linux/arch/mips/boot/dts/mscc/
H 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/fs/ext4/
H A Dxattr.h155 static inline void ext4_write_lock_xattr(struct inode *inode, int *save) in ext4_write_lock_xattr() argument
158 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_lock_xattr()
162 static inline int ext4_write_trylock_xattr(struct inode *inode, int *save) in ext4_write_trylock_xattr() argument
166 *save = ext4_test_inode_state(inode, EXT4_STATE_NO_EXPAND); in ext4_write_trylock_xattr()
171 static inline void ext4_write_unlock_xattr(struct inode *inode, int *save) in ext4_write_unlock_xattr() argument
173 if (*save == 0) in ext4_write_unlock_xattr()
/linux/arch/arm/include/asm/
H 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/arch/arc/kernel/
H 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/net/smc/
H A Dsmc_cdc.h197 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()
/linux/arch/arm/kernel/
H A Diwmmxt.S85 add r0, r10, #TI_IWMMXT_STATE @ get task Concan save area
101 beq concan_load @ no owner, skip save
196 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
243 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
248 @ current Concan values are in the task save area
257 mov r2, #3 @ save all regs
281 add r2, r0, #TI_IWMMXT_STATE @ get task Concan save area
318 add r3, r0, #TI_IWMMXT_STATE @ get next task Concan save area
343 add r0, r0, #TI_IWMMXT_STATE @ get task Concan save area
/linux/arch/sparc/lib/
H A Dmcount.S37 save %sp, -176, %sp
59 save %sp, -176, %sp
85 save %sp, -176, %sp
120 save %sp, -176, %sp
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgp100.c58 u32 save = nvkm_rd32(device, 0x9a065c) & 0x000000f0; in gp100_ram_init() local
60 if (i != save >> 4) { in gp100_ram_init()
65 nvkm_mask(device, 0x9a065c, 0x000000f0, save); in gp100_ram_init()

12345678910>>...17