Lines Matching refs:adrs
83 static unsigned long adrs; variable
1347 if (!scanhex(&adrs)) in csum()
1353 if (mread(adrs+i, &v, 1) == 0) { in csum()
1354 printf("csum stopped at "REG"\n", adrs+i); in csum()
1863 scanhex((void *)&adrs); in cacheflush()
1874 for (; nflush > 0; --nflush, adrs += L1_CACHE_BYTES) in cacheflush()
1875 cflush((void *) adrs); in cacheflush()
1877 for (; nflush > 0; --nflush, adrs += L1_CACHE_BYTES) in cacheflush()
1878 cinval((void *) adrs); in cacheflush()
2132 mread(unsigned long adrs, void *buf, int size) in mread() argument
2141 p = (char *)adrs; in mread()
2169 mwrite(unsigned long adrs, void *buf, int size) in mwrite() argument
2184 p = (char *) adrs; in mwrite()
2207 printf("*** Error writing address "REG"\n", adrs + n); in mwrite()
2214 mread_instr(unsigned long adrs, struct ppc_inst *instr) in mread_instr() argument
2222 *instr = ppc_inst_read((struct ppc_inst *)adrs); in mread_instr()
2327 scanhex((void *)&adrs); in memex()
2353 n = mread(adrs, val, size); in memex()
2354 printf(REG"%c", adrs, brev? 'r': ' '); in memex()
2373 mwrite(adrs, val, size); in memex()
2392 mwrite(adrs, val, size); in memex()
2393 adrs += size; in memex()
2395 adrs -= size; in memex()
2399 adrs += size; in memex()
2424 adrs -= size; in memex()
2428 adrs -= 1 << nslash; in memex()
2432 adrs += 1 << nslash; in memex()
2436 adrs += 1 << -nslash; in memex()
2440 adrs -= 1 << -nslash; in memex()
2443 scanhex((void *)&adrs); in memex()
2454 adrs -= n; in memex()
2459 adrs += n; in memex()
2466 adrs += inc; in memex()
2485 static void xmon_rawdump (unsigned long adrs, long ndump) in xmon_rawdump() argument
2492 nr = mread(adrs, temp, r); in xmon_rawdump()
2493 adrs += nr; in xmon_rawdump()
2857 scanhex((void *)&adrs); in dump()
2866 adrs += ppc_inst_dump(adrs, nidump, 1); in dump()
2874 show_pte(adrs); in dump()
2879 xmon_rawdump(adrs, ndump); in dump()
2880 adrs += ndump; in dump()
2895 dump_by_size(adrs, ndump, c - '0'); in dump()
2900 prdump(adrs, ndump); in dump()
2904 adrs += ndump; in dump()
2909 prdump(unsigned long adrs, long ndump) in prdump() argument
2915 printf(REG, adrs); in prdump()
2918 nr = mread(adrs, temp, r); in prdump()
2919 adrs += nr; in prdump()
3368 if (!scanhex(&adrs)) in proccall()
3379 func = (callfunc_t) adrs; in proccall()