Lines Matching refs:ip
137 imm = *(unsigned int *)rec->ip;
140 bralid = *(unsigned int *)(rec->ip + 4);
146 ret = ftrace_modify_code(rec->ip, MICROBLAZE_NOP);
147 ret += ftrace_modify_code(rec->ip + 4, MICROBLAZE_NOP);
149 ret = ftrace_modify_code(rec->ip, MICROBLAZE_BRI);
158 pr_debug("%s: addr:0x%x, rec->ip: 0x%x, imm:0x%x\n",
159 __func__, (unsigned int)addr, (unsigned int)rec->ip, imm);
160 ret = ftrace_modify_code(rec->ip, imm);
163 ret += ftrace_modify_code(rec->ip + 4, bralid);
178 unsigned long ip = (unsigned long)(&ftrace_call);
187 pr_debug("%s: func=0x%x, ip=0x%x, upper=0x%x, lower=0x%x\n",
188 __func__, (unsigned int)func, (unsigned int)ip, upper, lower);
191 ret = ftrace_modify_code(ip, upper);
192 ret += ftrace_modify_code(ip + 4, lower);
209 unsigned long ip = (unsigned long)(&ftrace_call_graph);
211 old_jump = *(unsigned int *)ip; /* save jump over instruction */
212 ret = ftrace_modify_code(ip, MICROBLAZE_NOP);
222 unsigned long ip = (unsigned long)(&ftrace_call_graph);
224 ret = ftrace_modify_code(ip, old_jump);