MCPcopy Create free account
hub / github.com/coreboot/coreboot / get_lane_offset

Function get_lane_offset

util/inteltool/memory.c:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static inline u16 get_lane_offset (int slot, int rank, int lane)
40{
41 return 0x124 * lane + ((lane & 4) ? 0x23e : 0) + 11 * rank + 22 * slot - 0x452 * (lane == 8);
42}
43
44static inline u16 get_timing_register_addr (int lane, int tm, int slot, int rank)
45{

Callers 1

get_timing_register_addrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected