D | bitfield.h | 126 #define EFX_EXTRACT_NATIVE(native_element, min, max, low, high) \ argument 127 ((low) > (max) || (high) < (min) ? 0 : \ 128 (low) > (min) ? \ 129 (native_element) >> ((low) - (min)) : \ 130 (native_element) << ((min) - (low))) 136 #define EFX_EXTRACT64(element, min, max, low, high) \ argument 137 EFX_EXTRACT_NATIVE(le64_to_cpu(element), min, max, low, high) 143 #define EFX_EXTRACT32(element, min, max, low, high) \ argument 144 EFX_EXTRACT_NATIVE(le32_to_cpu(element), min, max, low, high) 245 #define EFX_INSERT_NATIVE64(min, max, low, high, value) \ argument [all …]
|