Home
last modified time | relevance | path

Searched full:psw (Results 1 – 25 of 74) sorted by relevance

123

/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/sh/boards/mach-highlander/
H A Dpsw.c3 * arch/sh/boards/renesas/r7780rp/psw.c
19 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 Dirq-r7780rp.c20 PSW, /* Push Switch */ enumerator
35 INTC_IRQ(PSW, IRQ_PSW),
42 0, 0, 0, 0, 0, 0, PSW, AX88796 } },
H A Dirq-r7780mp.c25 PSW, /* Push Switch */ enumerator
39 INTC_IRQ(PSW, IRQ_PSW),
49 0, EXT6, EXT5, EXT4, EXT2, EXT1, PSW, AX88796 } },
/linux/arch/sh/boards/mach-landisk/
H A Dpsw.c3 * arch/sh/boards/landisk/psw.c
20 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()
/linux/tools/perf/util/
H A Ds390-cpumsf-kernel.h20 unsigned int T:1; /* 26 PSW DAT mode */
21 unsigned int W:1; /* 27 PSW wait state */
22 unsigned int P:1; /* 28 PSW Problem state */
23 unsigned int AS:2; /* 29-30 PSW address-space control */
/linux/arch/s390/include/asm/
H A Dnmi.h60 u64 wp : 1; /* 20 psw mwp validity */
61 u64 ms : 1; /* 21 psw mask and key validity */
62 u64 pm : 1; /* 22 psw program mask and cc validity */
63 u64 ia : 1; /* 23 psw instruction address validity */
H A Dperf_event.h52 (regs)->psw.mask = 0; \
53 (regs)->psw.addr = (__ip); \
/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()
71 /* skip bogus %r14 or if is the same as regs->psw.addr */ in unwind_next_frame()
96 ip = READ_ONCE_NOCHECK(regs->psw.addr); in unwind_next_frame()
146 ip = regs->psw.addr; in __unwind_start()
H A Dptrace.c108 /* Take care of the PER enablement bit in the PSW. */ in update_cr_regs()
110 regs->psw.mask &= ~PSW_MASK_PER; in update_cr_regs()
113 regs->psw.mask |= PSW_MASK_PER; in update_cr_regs()
207 * psw and gprs are stored on the stack in __peek_user()
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()
211 /* Return a clean psw mask. */ in __peek_user()
331 * psw and gprs are stored on the stack in __poke_user()
333 if (addr == offsetof(struct user, regs.psw.mask)) { in __poke_user()
338 /* Invalid psw mask. */ in __poke_user()
[all …]
H A Druntime_instr.c46 * Make sure the RI bit is deleted from the PSW. If the user did not in disable_runtime_instr()
50 regs->psw.mask &= ~PSW_MASK_RI; in disable_runtime_instr()
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 Dmcount.S50 # save psw mask
170 # store full psw
/linux/arch/parisc/kernel/
H A Dhpmc.S34 #include <asm/psw.h>
104 * Do this before turning the PSW M bit off.
125 ldi PSW_SM_Q,%r4 /* PSW Q on, PSW M off */
/linux/Documentation/translations/zh_CN/arch/parisc/
H A Dregisters.rst37 CR22 中断 PSW
102 PSW W 默认值 0
103 PSW E 默认值 0
/linux/Documentation/translations/zh_TW/arch/parisc/
H A Dregisters.rst37 CR22 中斷 PSW
102 PSW W 默認值 0
103 PSW E 默認值 0
/linux/arch/parisc/include/uapi/asm/
H A Dptrace.h25 unsigned long gr[32]; /* PSW is in gr[0] */
52 unsigned long gr[32]; /* PSW is in gr[0] */
/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 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 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()
/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()
H A Dguestdbg.c149 * TODO: if guest psw has per enabled, otherwise 0s! in kvm_s390_patch_guest_per_regs()
151 * Need to intercept all psw changes! in kvm_s390_patch_guest_per_regs()
507 * The PSW points to the next instruction, therefore the intercepted in kvm_s390_handle_per_ifetch_icpt()
509 * points at the previous PSW address (could be an EXECUTE function). in kvm_s390_handle_per_ifetch_icpt()
561 * on icpt code 8 very complex (as PSW was already rewound). in filter_guest_per_event()
/linux/Documentation/arch/parisc/
H A Dregisters.rst27 CR22 Interrupt PSW
92 PSW default W value 0
93 PSW default E value 0

123