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

Function of_read_number

dpdk/drivers/common/dpaax/dpaa_of.h:178–185  ·  view source on GitHub ↗

Read a numeric property according to its size and return it as a 64-bit * value. */

Source from the content-addressed store, hash-verified

176 * value.
177 */
178static inline uint64_t of_read_number(const uint32_t *cell, int size)
179{
180 uint64_t r = 0;
181
182 while (size--)
183 r = (r << 32) | be32toh(*(cell++));
184 return r;
185}
186
187#endif /* __OF_H */

Callers 3

of_translate_addressFunction · 0.85
fman_if_vsp_initFunction · 0.85
fman_if_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected