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

Function xor_ctrl_write

freebsd/arm/mv/mv_common.c:2084–2093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2082}
2083
2084static void
2085xor_ctrl_write(u_long base, int i, int c, int e, int val)
2086{
2087 uint32_t v;
2088
2089 v = win_xor_ctrl_read(base, c, e);
2090 v &= ~(1 << i);
2091 v |= (val << i);
2092 win_xor_ctrl_write(base, c, e, v);
2093}
2094
2095/*
2096 * Set channel protection 'val' for window 'w' on channel 'c'

Callers 2

xor_active_dramFunction · 0.85
decode_win_xor_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected