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

Function xor_ctrl_read

freebsd/arm/mv/mv_common.c:2074–2082  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2072 **************************************************************************/
2073#if defined(SOC_MV_KIRKWOOD) || defined(SOC_MV_DISCOVERY)
2074static int
2075xor_ctrl_read(u_long base, int i, int c, int e)
2076{
2077 uint32_t v;
2078 v = win_xor_ctrl_read(base, c, e);
2079 v &= (1 << i);
2080
2081 return (v >> i);
2082}
2083
2084static void
2085xor_ctrl_write(u_long base, int i, int c, int e, int val)

Callers 2

xor_active_dramFunction · 0.85
decode_win_xor_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected