MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / its_mask_encode

Function its_mask_encode

components/drivers/pic/pic-gicv3-its.c:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173static void its_mask_encode(rt_uint64_t *raw_code, rt_uint64_t val, int h, int l)
174{
175 rt_uint64_t mask = RT_GENMASK_ULL(h, l);
176 *raw_code &= ~mask;
177 *raw_code |= (val << l) & mask;
178}
179
180rt_inline void its_encode_cmd(struct its_command *cmd, rt_uint8_t cmd_nr)
181{

Callers 9

its_encode_cmdFunction · 0.85
its_encode_validFunction · 0.85
its_encode_phys_idFunction · 0.85
its_encode_sizeFunction · 0.85
its_encode_ittFunction · 0.85
its_encode_targetFunction · 0.85
its_encode_device_idFunction · 0.85
its_encode_event_idFunction · 0.85
its_encode_collectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected