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

Function read_le16

src/commonlib/include/commonlib/endian.h:163–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163static inline uint16_t read_le16(const void *src)
164{
165 const volatile uint8_t *s = src;
166 return (((uint16_t)s[1]) << 8) | (((uint16_t)s[0]) << 0);
167}
168
169static inline uint16_t read_at_le16(const void *src, size_t offset)
170{

Callers 8

cr50_i2c_wait_burststsFunction · 0.85
guid_compareFunction · 0.85
pe_relocateFunction · 0.85
te_relocateFunction · 0.85
relocate_patch_tableFunction · 0.85
relocate_fvhFunction · 0.85
read_at_le16Function · 0.85
read_memberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected