Searched refs:psw (Results 1 - 25 of 70) sorted by relevance

123

/linux-master/arch/sh/boards/mach-landisk/
H A DMakefile6 obj-y := setup.o irq.o psw.o gio.o
H A Dpsw.c3 * arch/sh/boards/landisk/psw.c
20 struct push_switch *psw = platform_get_drvdata(pdev); local
28 if (psw->state) {
35 psw->state = 1;
36 mod_timer(&psw->debounce, jiffies + 50);
/linux-master/arch/sh/drivers/
H A Dpush-switch.c28 struct push_switch *psw = from_timer(psw, t, debounce); local
30 schedule_work(&psw->work);
35 struct push_switch *psw = container_of(work, struct push_switch, work); local
36 struct platform_device *pdev = psw->pdev;
38 psw->state = 0;
46 struct push_switch *psw; local
49 psw = kzalloc(sizeof(struct push_switch), GFP_KERNEL);
50 if (unlikely(!psw))
77 INIT_WORK(&psw
96 struct push_switch *psw = platform_get_drvdata(pdev); local
[all...]
/linux-master/arch/s390/lib/
H A Derror-inject.c12 regs->psw.addr = regs->gprs[14];
/linux-master/arch/s390/include/asm/
H A Dprocessor.h215 regs->psw.mask = PSW_USER_BITS | PSW_MASK_EA | PSW_MASK_BA; \
216 regs->psw.addr = new_psw; \
222 regs->psw.mask = PSW_USER_BITS | PSW_MASK_BA; \
223 regs->psw.addr = new_psw; \
243 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr)
296 static inline void __load_psw(psw_t psw) argument
298 asm volatile("lpswe %0" : : "Q" (psw) : "cc");
308 psw_t psw; local
310 psw.mask = mask;
317 : "=&d" (addr), "=Q" (psw
366 __rewind_psw(psw_t psw, unsigned long ilc) argument
381 psw_t psw; local
[all...]
/linux-master/arch/s390/kernel/
H A Ddumpstack.c156 struct psw_bits *psw = &psw_bits(regs->psw); local
160 printk("%s PSW : %px %px", mode, (void *)regs->psw.mask, (void *)regs->psw.addr);
162 pr_cont(" (%pSR)", (void *)regs->psw.addr);
165 "P:%x AS:%x CC:%x PM:%x", psw->per, psw->dat, psw->io, psw->ext,
166 psw
[all...]
H A Dsignal.c128 user_sregs.regs.psw.mask = PSW_USER_BITS |
129 (regs->psw.mask & (PSW_MASK_USER | PSW_MASK_RI));
130 user_sregs.regs.psw.addr = regs->psw.addr;
150 if (!is_ri_task(current) && (user_sregs.regs.psw.mask & PSW_MASK_RI))
153 /* Use regs->psw.mask instead of PSW_USER_BITS to preserve PER bit. */
154 regs->psw.mask = (regs->psw.mask & ~(PSW_MASK_USER | PSW_MASK_RI)) |
155 (user_sregs.regs.psw.mask & (PSW_MASK_USER | PSW_MASK_RI));
157 if ((regs->psw
[all...]
H A Duprobes.c30 if (psw_bits(regs->psw).eaba == PSW_BITS_AMODE_24BIT)
32 if (!is_compat_task() && psw_bits(regs->psw).eaba == PSW_BITS_AMODE_31BIT)
35 auprobe->saved_per = psw_bits(regs->psw).per;
38 regs->psw.addr = current->utask->xol_vaddr;
56 if (!(regs->psw.mask & PSW_MASK_PER))
70 regs->psw.addr >= current->thread.per_user.start &&
71 regs->psw.addr <= current->thread.per_user.end)
84 psw_bits(regs->psw).per = auprobe->saved_per;
88 regs->psw.addr += utask->vaddr - utask->xol_vaddr;
97 if (regs->psw
164 adjust_psw_addr(psw_t *psw, unsigned long len) argument
[all...]
H A Dcompat_signal.c73 user_sregs.regs.psw.mask = (__u32)(regs->psw.mask >> 32);
74 user_sregs.regs.psw.mask &= PSW32_MASK_USER | PSW32_MASK_RI;
75 user_sregs.regs.psw.mask |= PSW32_USER_BITS;
76 user_sregs.regs.psw.addr = (__u32) regs->psw.addr |
77 (__u32)(regs->psw.mask & PSW_MASK_BA);
99 if (!is_ri_task(current) && (user_sregs.regs.psw.mask & PSW32_MASK_RI))
102 /* Use regs->psw.mask instead of PSW_USER_BITS to preserve PER bit. */
103 regs->psw
[all...]
H A Dkprobes.c241 /* Save control regs and psw mask */
243 kcb->kprobe_saved_imask = regs->psw.mask &
248 regs->psw.mask |= PSW_MASK_PER;
249 regs->psw.mask &= ~(PSW_MASK_IO | PSW_MASK_EXT);
250 regs->psw.addr = ip;
258 /* Restore control regs and psw mask, set new psw address */
260 regs->psw.mask &= ~PSW_MASK_PER;
261 regs->psw.mask |= kcb->kprobe_saved_imask;
262 regs->psw
[all...]
H A Dperf_regs.c27 return regs->psw.mask;
29 return regs->psw.addr;
H A Dcompat_ptrace.h22 psw_compat_t psw; member in struct:compat_user_regs_struct
H A Dhead64.S36 lpswe dw_psw-.(%r13) # load disabled wait psw
H A Drelocate_kernel.S63 la %r4,load_psw-.base(%r13) # load psw-address into the register
64 o %r3,4(%r4) # or load address into psw
66 mvc 0(8,%r0),0(%r4) # copy psw to absolute address 0
H A Dunwind_bc.c49 READ_ONCE_NOCHECK(regs->psw.mask) & PSW_MASK_PSTATE;
67 /* skip bogus %r14 or if is the same as regs->psw.addr */
92 ip = READ_ONCE_NOCHECK(regs->psw.addr);
140 ip = regs->psw.addr;
H A Dtraps.c42 address = regs->psw.addr;
239 /* Set user psw back to home space mode. */
241 regs->psw.mask |= PSW_ASC_HOME;
251 switch (report_bug(regs->psw.addr - (regs->int_code >> 16), regs)) {
342 __arch_local_irq_ssm(regs->psw.mask & ~PSW_MASK_PER);
348 if (!irqs_disabled_flags(regs->psw.mask))
350 __arch_local_irq_ssm(regs->psw.mask & ~PSW_MASK_PER);
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnv10.c65 nv10_sw_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) argument
67 return nvkm_sw_new_(&nv10_sw, device, type, inst, psw);
H A Dnv04.c136 nv04_sw_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) argument
138 return nvkm_sw_new_(&nv04_sw, device, type, inst, psw);
H A Dbase.c99 enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw)
103 if (!(sw = *psw = kzalloc(sizeof(*sw), GFP_KERNEL)))
98 nvkm_sw_new_(const struct nvkm_sw_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) argument
/linux-master/arch/sh/boards/mach-highlander/
H A DMakefile11 obj-$(CONFIG_PUSH_SWITCH) += psw.o
H A Dpsw.c3 * arch/sh/boards/renesas/r7780rp/psw.c
19 struct push_switch *psw = platform_get_drvdata(pdev); local
27 if (psw->state) {
35 psw->state = !!(mask & (1 << psw_info->bit));
36 if (psw->state) /* debounce */
37 mod_timer(&psw->debounce, jiffies + 50);
/linux-master/arch/s390/boot/
H A Dpgm_check_info.c149 struct psw_bits *psw = &psw_bits(S390_lowcore.psw_save_area); local
164 psw->per, psw->dat, psw->io, psw->ext, psw->key, psw->mcheck,
165 psw->wait, psw->pstate, psw
[all...]
/linux-master/arch/parisc/include/asm/
H A Dirqflags.h6 #include <asm/psw.h>
/linux-master/arch/s390/mm/
H A Dextable.c25 regs->psw.addr = extable_fixup(ex);
34 regs->psw.addr = extable_fixup(ex);
46 regs->psw.addr = extable_fixup(ex);
60 regs->psw.addr = extable_fixup(ex);
76 regs->psw.addr = extable_fixup(ex);
/linux-master/arch/s390/include/uapi/asm/
H A Dsigcontext.h49 _psw_t psw; member in struct:__anon962

Completed in 374 milliseconds

123