Home
last modified time | relevance | path

Searched refs:psw (Results 1 – 25 of 33) sorted by relevance

12

/linux/arch/sh/drivers/
H A Dpush-switch.c28 struct push_switch *psw = timer_container_of(psw, t, debounce); in switch_timer() local
30 schedule_work(&psw->work); in switch_timer()
35 struct push_switch *psw = container_of(work, struct push_switch, work); in switch_work_handler() local
36 struct platform_device *pdev = psw->pdev; in switch_work_handler()
38 psw->state = 0; in switch_work_handler()
46 struct push_switch *psw; in switch_drv_probe() local
49 psw = kzalloc_obj(struct push_switch); in switch_drv_probe()
50 if (unlikely(!psw)) in switch_drv_probe()
77 INIT_WORK(&psw->work, switch_work_handler); in switch_drv_probe()
78 timer_setup(&psw->debounce, switch_timer, 0); in switch_drv_probe()
[all …]
/linux/arch/s390/include/asm/
H A Dprocessor.h225 regs->psw.mask = PSW_USER_BITS | PSW_MASK_EA | PSW_MASK_BA; \
226 regs->psw.addr = new_psw; \
232 regs->psw.mask = PSW_USER_BITS | PSW_MASK_BA; \
233 regs->psw.addr = new_psw; \
253 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr)
306 static inline void __load_psw(psw_t psw) in __load_psw() argument
308 asm volatile("lpswe %0" : : "Q" (psw) : "cc"); in __load_psw()
317 psw_t psw __uninitialized; in __load_psw_mask()
320 psw.mask = mask; in __load_psw_mask()
327 : "=&d" (addr), "=Q" (psw.addr) : "Q" (psw) : "memory", "cc"); in __load_psw_mask()
[all …]
H A Dperf_event.h52 (regs)->psw.mask = 0; \
53 (regs)->psw.addr = (__ip); \
/linux/arch/sh/boards/mach-highlander/
H A Dpsw.c19 struct push_switch *psw = platform_get_drvdata(pdev); in psw_irq_handler() local
27 if (psw->state) { in psw_irq_handler()
35 psw->state = !!(mask & (1 << psw_info->bit)); in psw_irq_handler()
36 if (psw->state) /* debounce */ in psw_irq_handler()
37 mod_timer(&psw->debounce, jiffies + 50); in psw_irq_handler()
H A DMakefile11 obj-$(CONFIG_PUSH_SWITCH) += psw.o
/linux/arch/sh/boards/mach-landisk/
H A Dpsw.c20 struct push_switch *psw = platform_get_drvdata(pdev); in psw_irq_handler() local
28 if (psw->state) { in psw_irq_handler()
35 psw->state = 1; in psw_irq_handler()
36 mod_timer(&psw->debounce, jiffies + 50); in psw_irq_handler()
H A DMakefile6 obj-y := setup.o irq.o psw.o gio.o
/linux/arch/s390/kernel/
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.c51 READ_ONCE_NOCHECK(regs->psw.mask) & PSW_MASK_PSTATE; in is_final_pt_regs()
96 ip = READ_ONCE_NOCHECK(regs->psw.addr); in unwind_next_frame()
146 ip = regs->psw.addr; in __unwind_start()
H A Dcrash_dump.c44 u64 psw[2]; member
92 memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); in save_area_add_regs()
304 memcpy(&nt_prstatus.pr_reg.psw, sa->psw, sizeof(sa->psw)); in fill_cpu_elf_notes()
H A Dptrace.c110 regs->psw.mask &= ~PSW_MASK_PER; in update_cr_regs()
113 regs->psw.mask |= PSW_MASK_PER; in update_cr_regs()
209 tmp = *(addr_t *)((addr_t) &task_pt_regs(child)->psw + addr); in __peek_user()
210 if (addr == offsetof(struct user, regs.psw.mask)) { in __peek_user()
333 if (addr == offsetof(struct user, regs.psw.mask)) { in __poke_user()
354 *(addr_t *)((addr_t) &regs->psw + addr) = data; in __poke_user()
H A Dmcount.S50 # save psw mask
H A Druntime_instr.c50 regs->psw.mask &= ~PSW_MASK_RI; in disable_runtime_instr()
H A Dirq.c179 regs->psw.mask &= ~(PSW_MASK_EXT | PSW_MASK_IO | PSW_MASK_WAIT); in do_io_irq()
214 regs->psw.mask &= ~(PSW_MASK_EXT | PSW_MASK_IO | PSW_MASK_WAIT); in do_ext_irq()
H A Dperf_cpum_sf.c1034 psw_bits(regs.psw).ia = basic->ia; in perf_push_sample()
1035 psw_bits(regs.psw).dat = basic->T; in perf_push_sample()
1036 psw_bits(regs.psw).wait = basic->W; in perf_push_sample()
1037 psw_bits(regs.psw).pstate = basic->P; in perf_push_sample()
1038 psw_bits(regs.psw).as = basic->AS; in perf_push_sample()
/linux/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) in nv10_sw_new() argument
67 return nvkm_sw_new_(&nv10_sw, device, type, inst, psw); in nv10_sw_new()
H A Dnv04.c136 nv04_sw_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) in nv04_sw_new() argument
138 return nvkm_sw_new_(&nv04_sw, device, type, inst, psw); in nv04_sw_new()
H A Dbase.c99 enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) in nvkm_sw_new_() argument
103 if (!(sw = *psw = kzalloc_obj(*sw))) in nvkm_sw_new_()
H A Dnv50.c139 nv50_sw_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) in nv50_sw_new() argument
141 return nvkm_sw_new_(&nv50_sw, device, type, inst, psw); in nv50_sw_new()
H A Dgf100.c144 gf100_sw_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_sw **psw) in gf100_sw_new() argument
146 return nvkm_sw_new_(&gf100_sw, device, type, inst, psw); in gf100_sw_new()
/linux/arch/s390/kvm/
H A Dsigp.c72 psw_t *psw; in __sigp_conditional_emergency() local
76 psw = &dst_vcpu->arch.sie_block->gpsw; in __sigp_conditional_emergency()
82 || (psw->mask & psw_int_mask) != psw_int_mask in __sigp_conditional_emergency()
83 || (idle && psw->addr != 0) in __sigp_conditional_emergency()
/linux/arch/parisc/kernel/
H A Dsignal.c327 unsigned long psw = USER_PSW; in setup_rt_frame() local
330 psw |= PSW_W; in setup_rt_frame()
341 psw |= PSW_R; in setup_rt_frame()
345 regs->gr[0] = psw; in setup_rt_frame()
/linux/arch/s390/lib/
H A Derror-inject.c12 regs->psw.addr = regs->gprs[14]; in override_function_with_return()
/linux/drivers/usb/host/
H A Dohci-dbg.c300 u16 psw = ohci_hwPSW (ohci, td, i); in ohci_dump_td() local
301 int cc = (psw >> 12) & 0x0f; in ohci_dump_td()
303 psw, cc, in ohci_dump_td()
305 psw & 0x0fff); in ohci_dump_td()
/linux/samples/kprobes/
H A Dkprobe_example.c56 p->symbol_name, p->addr, regs->psw.addr, regs->flags); in handler_pre()

12