MCPcopy Create free account
hub / github.com/F-Stack/f-stack / decode_win_xor_dump

Function decode_win_xor_dump

freebsd/arm/mv/mv_common.c:2321–2344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2319}
2320
2321void
2322decode_win_xor_dump(u_long base)
2323{
2324 int i, j;
2325 int e = 1;
2326
2327 if (pm_is_disabled(CPU_PM_CTRL_XOR))
2328 return;
2329
2330 for (j = 0; j < xor_max_eng(); j++, e--) {
2331 for (i = 0; i < MV_WIN_XOR_MAX; i++) {
2332 printf("XOR window#%d: b 0x%08x, s 0x%08x", i,
2333 win_xor_br_read(base, i, e), win_xor_sz_read(base, i, e));
2334
2335 if (win_xor_can_remap(i))
2336 printf(", ha 0x%08x", win_xor_har_read(base, i, e));
2337
2338 printf("\n");
2339 }
2340 for (i = 0; i < MV_XOR_CHAN_MAX; i++)
2341 printf("XOR control#%d: 0x%08x\n", i,
2342 win_xor_ctrl_read(base, i, e));
2343 }
2344}
2345
2346#else
2347/* Provide dummy functions to satisfy the build for SoCs not equipped with XOR */

Callers

nothing calls this directly

Calls 4

pm_is_disabledFunction · 0.85
xor_max_engFunction · 0.85
win_xor_can_remapFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected