Lines Matching refs:next_addr
58 static int get_step_address(struct pt_regs *regs, unsigned long *next_addr) in get_step_address() argument
70 *next_addr = regs_ptr[rs1_num]; in get_step_address()
72 *next_addr = EXTRACT_RVC_J_IMM(op_code) + pc; in get_step_address()
77 *next_addr = EXTRACT_RVC_B_IMM(op_code) + pc; in get_step_address()
79 *next_addr = pc + 2; in get_step_address()
84 *next_addr = EXTRACT_RVC_B_IMM(op_code) + pc; in get_step_address()
86 *next_addr = pc + 2; in get_step_address()
88 *next_addr = pc + 2; in get_step_address()
120 *next_addr = imm + pc; in get_step_address()
122 *next_addr = pc + 4; in get_step_address()
124 *next_addr = EXTRACT_JTYPE_IMM(op_code) + pc; in get_step_address()
128 *next_addr = ((unsigned long *)regs)[rs1_num]; in get_step_address()
129 *next_addr += EXTRACT_ITYPE_IMM(op_code); in get_step_address()
131 *next_addr = pc; in get_step_address()
133 *next_addr = pc + 4; in get_step_address()