Searched refs:EXTRACT_BYTE (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/scripts/dtc/libfdt/
H A Dlibfdt_env.h8 #define EXTRACT_BYTE(n) ((unsigned long long)((uint8_t *)&x)[n]) fdt16_to_cpu() macro
11 return (EXTRACT_BYTE(0) << 8) | EXTRACT_BYTE(1); fdt16_to_cpu()
17 return (EXTRACT_BYTE(0) << 24) | (EXTRACT_BYTE(1) << 16) | (EXTRACT_BYTE(2) << 8) | EXTRACT_BYTE(3); fdt32_to_cpu()
23 return (EXTRACT_BYTE(0) << 56) | (EXTRACT_BYTE(1) << 48) | (EXTRACT_BYTE(2) << 40) | (EXTRACT_BYTE(3) << 32) fdt64_to_cpu()
24 | (EXTRACT_BYTE(4) << 24) | (EXTRACT_BYTE(5) << 16) | (EXTRACT_BYTE(6) << 8) | EXTRACT_BYTE(7); fdt64_to_cpu()
27 #undef EXTRACT_BYTE macro

Completed in 87 milliseconds