Home
last modified time | relevance | path

Searched refs:psw (Results 1 – 25 of 26) 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.h221 regs->psw.mask = PSW_USER_BITS | PSW_MASK_EA | PSW_MASK_BA; \
222 regs->psw.addr = new_psw; \
228 regs->psw.mask = PSW_USER_BITS | PSW_MASK_BA; \
229 regs->psw.addr = new_psw; \
249 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr)
300 static inline void __load_psw(psw_t psw) in __load_psw() argument
302 asm volatile("lpswe %0" : : "Q" (psw) : "cc"); in __load_psw()
311 psw_t psw __uninitialized; in __load_psw_mask()
314 psw.mask = mask; in __load_psw_mask()
321 : "=&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/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 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()
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()
/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 Druntime_instr.c50 regs->psw.mask &= ~PSW_MASK_RI; in disable_runtime_instr()
H A Dwti.c87 st->dbg.addr = regs->psw.addr; in store_debug_data()
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/arch/s390/boot/
H A Dstartup.c507 psw_t psw; in startup_kernel() local
645 psw.addr = __kaslr_offset + vmlinux.entry; in startup_kernel()
646 psw.mask = PSW_KERNEL_BITS; in startup_kernel()
647 boot_debug("Starting kernel at: 0x%016lx\n", psw.addr); in startup_kernel()
648 jump_to_kernel(&psw); in startup_kernel()
/linux/arch/s390/lib/
H A Derror-inject.c12 regs->psw.addr = regs->gprs[14]; in override_function_with_return()
H A Dtest_unwind.c154 : [psw_addr] "=d" (regs.psw.addr)); in fake_pt_regs()
/linux/samples/kprobes/
H A Dkprobe_example.c56 p->symbol_name, p->addr, regs->psw.addr, regs->flags); in handler_pre()
/linux/tools/testing/selftests/kvm/s390/
H A Dmemop.c817 u64 psw[2]; in test_termination() local
831 psw[0] = t.run->psw_mask; in test_termination()
832 psw[1] = t.run->psw_addr; in test_termination()
833 MOP(t.vm, ABSOLUTE, WRITE, psw, sizeof(psw), GADDR(prefix + 464)); in test_termination()
/linux/arch/s390/kvm/s390/
H A Ds390.c4176 static int kvm_arch_vcpu_ioctl_set_initial_psw(struct kvm_vcpu *vcpu, psw_t psw) in kvm_arch_vcpu_ioctl_get_fpu()
4183 vcpu->run->psw_mask = psw.mask; in kvm_arch_vcpu_ioctl_set_initial_psw()
4184 vcpu->run->psw_addr = psw.addr; in kvm_arch_vcpu_ioctl_set_initial_psw()
5529 psw_t psw; in kvm_arch_vcpu_ioctl()
5532 if (copy_from_user(&psw, argp, sizeof(psw))) in kvm_arch_vcpu_ioctl() local
5534 r = kvm_arch_vcpu_ioctl_set_initial_psw(vcpu, psw); in kvm_arch_vcpu_ioctl()
4179 kvm_arch_vcpu_ioctl_set_initial_psw(struct kvm_vcpu * vcpu,psw_t psw) kvm_arch_vcpu_ioctl_set_initial_psw() argument

12