Lines Matching refs:adrs
84 static unsigned long adrs; variable
1439 if (!scanhex(&adrs)) in csum()
1445 if (mread(adrs+i, &v, 1) == 0) { in csum()
1446 printf("csum stopped at "REG"\n", adrs+i); in csum()
1947 scanhex((void *)&adrs); in cacheflush()
1958 for (; nflush > 0; --nflush, adrs += L1_CACHE_BYTES) in cacheflush()
1959 cflush((void *) adrs); in cacheflush()
1961 for (; nflush > 0; --nflush, adrs += L1_CACHE_BYTES) in cacheflush()
1962 cinval((void *) adrs); in cacheflush()
2222 mread(unsigned long adrs, void *buf, int size) in mread() argument
2231 p = (char *)adrs; in mread()
2259 mwrite(unsigned long adrs, void *buf, int size) in mwrite() argument
2274 p = (char *) adrs; in mwrite()
2297 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
2304 mread_instr(unsigned long adrs, ppc_inst_t *instr) in mread_instr() argument
2312 *instr = ppc_inst_read((u32 *)adrs); in mread_instr()
2417 scanhex((void *)&adrs); in memex()
2443 n = mread(adrs, val, size); in memex()
2444 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
2463 mwrite(adrs, val, size); in memex()
2482 mwrite(adrs, val, size); in memex()
2483 adrs += size; in memex()
2485 adrs -= size; in memex()
2489 adrs += size; in memex()
2514 adrs -= size; in memex()
2518 adrs -= 1 << nslash; in memex()
2522 adrs += 1 << nslash; in memex()
2526 adrs += 1 << -nslash; in memex()
2530 adrs -= 1 << -nslash; in memex()
2533 scanhex((void *)&adrs); in memex()
2544 adrs -= n; in memex()
2549 adrs += n; in memex()
2556 adrs += inc; in memex()
2575 static void xmon_rawdump (unsigned long adrs, long ndump) in xmon_rawdump() argument
2582 nr = mread(adrs, temp, r); in xmon_rawdump()
2583 adrs += nr; in xmon_rawdump()
2927 scanhex((void *)&adrs); in dump()
2936 adrs += ppc_inst_dump(adrs, nidump, 1); in dump()
2944 show_pte(adrs); in dump()
2949 xmon_rawdump(adrs, ndump); in dump()
2950 adrs += ndump; in dump()
2965 dump_by_size(adrs, ndump, c - '0'); in dump()
2970 prdump(adrs, ndump); in dump()
2974 adrs += ndump; in dump()
2979 prdump(unsigned long adrs, long ndump) in prdump() argument
2985 printf(REG, adrs); in prdump()
2988 nr = mread(adrs, temp, r); in prdump()
2989 adrs += nr; in prdump()
3441 if (!scanhex(&adrs)) in proccall()
3452 func = (callfunc_t) adrs; in proccall()