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

Function xor_max_eng

freebsd/arm/mv/mv_common.c:2132–2153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2130}
2131
2132static int
2133xor_max_eng(void)
2134{
2135 uint32_t dev, rev;
2136
2137 soc_id(&dev, &rev);
2138 switch (dev) {
2139 case MV_DEV_88F6281:
2140 case MV_DEV_88F6282:
2141 case MV_DEV_MV78130:
2142 case MV_DEV_MV78160:
2143 case MV_DEV_MV78230:
2144 case MV_DEV_MV78260:
2145 case MV_DEV_MV78460:
2146 return (2);
2147 case MV_DEV_MV78100:
2148 case MV_DEV_MV78100_Z0:
2149 return (1);
2150 default:
2151 return (0);
2152 }
2153}
2154
2155static void
2156xor_active_dram(u_long base, int c, int e, int *window)

Callers 3

xor_active_dramFunction · 0.85
decode_win_xor_setupFunction · 0.85
decode_win_xor_dumpFunction · 0.85

Calls 1

soc_idFunction · 0.85

Tested by

no test coverage detected