Searched refs:bit_start (Results 1 – 1 of 1) sorted by relevance
/arch/powerpc/perf/ |
D | hv-common.h | 20 #define EVENT_DEFINE_RANGE_FORMAT(name, attr_var, bit_start, bit_end) \ argument 21 PMU_FORMAT_ATTR(name, #attr_var ":" #bit_start "-" #bit_end); \ 22 EVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end) 31 #define EVENT_DEFINE_RANGE_FORMAT_LITE(name, attr_var, bit_start, bit_end) \ argument 32 PMU_FORMAT_ATTR(name, #attr_var ":" #bit_start "-" #bit_end); 34 #define EVENT_DEFINE_RANGE(name, attr_var, bit_start, bit_end) \ argument 37 BUILD_BUG_ON((bit_start > bit_end) \ 39 return (((1ull << (bit_end - bit_start)) - 1) << 1) + 1; \ 43 return (event->attr.attr_var >> (bit_start)) & \
|