Home
last modified time | relevance | path

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

/linux-4.4.14/arch/mips/kernel/
Dbranch.c30 long epc = regs->cp0_epc; in __isa_exception_epc() local
33 if (__get_user(inst, (u16 __user *) msk_isa16_mode(epc))) { in __isa_exception_epc()
36 return epc; in __isa_exception_epc()
43 epc += 4; in __isa_exception_epc()
45 epc += 2; in __isa_exception_epc()
47 epc += 2; in __isa_exception_epc()
49 epc += 4; in __isa_exception_epc()
51 return epc; in __isa_exception_epc()
320 long epc; in __MIPS16e_compute_return_epc() local
322 epc = regs->cp0_epc; in __MIPS16e_compute_return_epc()
[all …]
Dtraps.c937 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_bp() local
951 if (__get_user(instr[0], (u16 __user *)epc)) in do_bp()
962 if (__get_user(instr[1], (u16 __user *)(epc + 2))) in do_bp()
968 if (__get_user(opcode, (unsigned int __user *)epc)) in do_bp()
1033 unsigned long epc = msk_isa16_mode(exception_epc(regs)); in do_tr() local
1042 if (__get_user(instr[0], (u16 __user *)(epc + 0)) || in do_tr()
1043 __get_user(instr[1], (u16 __user *)(epc + 2))) in do_tr()
1050 if (__get_user(opcode, (u32 __user *)epc)) in do_tr()
1071 unsigned int __user *epc = (unsigned int __user *)exception_epc(regs); in do_ri() local
1084 likely(get_user(opcode, epc) >= 0)) { in do_ri()
[all …]
Dmips-r2-to-r6-emul.c249 unsigned long cepc, epc, nepc; in jr_func() local
259 epc = regs->cp0_epc; in jr_func()
910 unsigned long cpc, epc, nepc, r31, res, rs, rt; in mipsr2_decoder() local
917 epc = regs->cp0_epc; in mipsr2_decoder()
924 inst, epc, pass); in mipsr2_decoder()
993 regs->cp0_epc = epc; in mipsr2_decoder()
1000 nepc = epc + 4; in mipsr2_decoder()
1050 regs->cp0_epc = epc; in mipsr2_decoder()
1055 nepc = epc + 4; in mipsr2_decoder()
1094 regs->cp0_epc = epc; in mipsr2_decoder()
[all …]
Duprobes.c168 unsigned long epc; in arch_uprobe_pre_xol() local
170 epc = regs->cp0_epc; in arch_uprobe_pre_xol()
Dkprobes.c259 long epc; in evaluate_branch_instruction() local
262 epc = regs->cp0_epc; in evaluate_branch_instruction()
263 if (epc & 3) in evaluate_branch_instruction()
/linux-4.4.14/arch/score/kernel/
Dptrace.c175 unsigned int epc, far_epc = 0; in user_enable_single_step() local
182 epc = regs->cp0_epc; in user_enable_single_step()
184 read_tsk_long(child, epc, &epc_insn); in user_enable_single_step()
189 epc = (epc & 0xFFFFF000) | tmp; in user_enable_single_step()
195 far_epc = epc + tmp; in user_enable_single_step()
196 epc += 2; in user_enable_single_step()
201 epc += 2; in user_enable_single_step()
203 epc += 2; in user_enable_single_step()
209 epc = (epc & 0xFFC00000) | tmp; in user_enable_single_step()
217 far_epc = epc + tmp; in user_enable_single_step()
[all …]
Dtraps.c241 unsigned long epc = regs->cp0_epc; in do_ri() local
243 read_tsk_long(current, epc, &epc_insn); in do_ri()
245 if ((epc == current->thread.addr1) || in do_ri()
246 (epc == current->thread.addr2)) { in do_ri()
/linux-4.4.14/arch/mips/math-emu/
Ddsemul.c31 unsigned long epc; member
86 err |= __put_user(cpc, &fr->epc); in mips_dsemul()
104 unsigned long epc; in do_dsemulret() local
151 if (__get_user(epc, &fr->epc)) { /* Saved EPC */ in do_dsemulret()
159 xcp->cp0_epc = epc; in do_dsemulret()
/linux-4.4.14/arch/mips/kvm/
Demulate.c48 long epc = instpc; in kvm_compute_return_epc() local
51 if (epc & 3) in kvm_compute_return_epc()
55 insn.word = kvm_get_inst((uint32_t *) epc, vcpu); in kvm_compute_return_epc()
65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
83 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
85 epc += 8; in kvm_compute_return_epc()
86 nextpc = epc; in kvm_compute_return_epc()
92 epc = epc + 4 + (insn.i_format.simmediate << 2); in kvm_compute_return_epc()
94 epc += 8; in kvm_compute_return_epc()
95 nextpc = epc; in kvm_compute_return_epc()
[all …]
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h846 static inline void print_addr(struct c4iw_ep_common *epc, const char *func, in print_addr() argument
856 switch (epc->local_addr.ss_family) { in print_addr()
859 func, msg, SINA(&epc->local_addr), in print_addr()
860 SINP(&epc->local_addr), in print_addr()
861 SINP(&epc->mapped_local_addr), in print_addr()
862 SINA(&epc->remote_addr), in print_addr()
863 SINP(&epc->remote_addr), in print_addr()
864 SINP(&epc->mapped_remote_addr)); in print_addr()
868 func, msg, SIN6A(&epc->local_addr), in print_addr()
869 SIN6P(&epc->local_addr), in print_addr()
[all …]
Dcm.c255 static enum c4iw_ep_state state_read(struct c4iw_ep_common *epc) in state_read() argument
259 mutex_lock(&epc->mutex); in state_read()
260 state = epc->state; in state_read()
261 mutex_unlock(&epc->mutex); in state_read()
265 static void __state_set(struct c4iw_ep_common *epc, enum c4iw_ep_state new) in __state_set() argument
267 epc->state = new; in __state_set()
270 static void state_set(struct c4iw_ep_common *epc, enum c4iw_ep_state new) in state_set() argument
272 mutex_lock(&epc->mutex); in state_set()
273 PDBG("%s - %s -> %s\n", __func__, states[epc->state], states[new]); in state_set()
274 __state_set(epc, new); in state_set()
[all …]
/linux-4.4.14/include/uapi/linux/
Dzorro.h35 #define ZORRO_ID(manuf, prod, epc) \ argument
36 ((ZORRO_MANUF_##manuf << 16) | ((prod) << 8) | (epc))
/linux-4.4.14/arch/ia64/kernel/
Dgate.lds.S58 .text : { *(.text) *(.text.*) } :epc
84 epc PT_LOAD FILEHDR PHDRS FLAGS(1); /* PF_X */
Dgate.S325 epc // B causes split-issue
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_cm.c239 static enum iwch_ep_state state_read(struct iwch_ep_common *epc) in state_read() argument
244 spin_lock_irqsave(&epc->lock, flags); in state_read()
245 state = epc->state; in state_read()
246 spin_unlock_irqrestore(&epc->lock, flags); in state_read()
250 static void __state_set(struct iwch_ep_common *epc, enum iwch_ep_state new) in __state_set() argument
252 epc->state = new; in __state_set()
255 static void state_set(struct iwch_ep_common *epc, enum iwch_ep_state new) in state_set() argument
259 spin_lock_irqsave(&epc->lock, flags); in state_set()
260 PDBG("%s - %s -> %s\n", __func__, states[epc->state], states[new]); in state_set()
261 __state_set(epc, new); in state_set()
[all …]
/linux-4.4.14/arch/mips/sgi-ip27/
Dip27-nmi.c85 printk("epc : %016lx %pS\n", nr->epc, (void *) nr->epc); in nmi_cpu_eframe_save()
/linux-4.4.14/drivers/scsi/
Dgvp11.c293 unsigned int epc; in gvp11_probe() local
354 epc = *(unsigned short *)(ZTWO_VADDR(address) + 0x8000); in gvp11_probe()
356 (epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10 in gvp11_probe()
/linux-4.4.14/arch/mips/include/asm/sn/
Dnmi.h74 unsigned long epc; member
/linux-4.4.14/arch/mips/include/uapi/asm/
Dkvm.h187 __u64 epc; member
/linux-4.4.14/drivers/isdn/hardware/eicon/
Dmi_pc.h73 dword epc; member
Dio.c171 READ_DWORD(&xcept->epc), READ_DWORD(&xcept->vaddr))) in dump_trap_frame()
/linux-4.4.14/Documentation/ia64/
Dfsys.txt12 Using the "epc" instruction effectively introduces a new mode of
178 The "epc" instruction doesn't change the contents of PSR at all. This
226 PSR.ss Lazy redirect. If set, "epc" will cause a Single Step Trap to
/linux-4.4.14/arch/xtensa/kernel/
Dvectors.S630 rsr a0, epc\level
/linux-4.4.14/drivers/dma/
Dimx-sdma.c234 u32 epc :14; member
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dsdio.c339 __le32 epc; member
3063 le32_to_cpu(tr.type), le32_to_cpu(tr.epc), in brcmf_sdio_trap_info()