Searched refs:bitfield_swap (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/perf/util/ |
D | evsel.c | 2321 new_val = bitfield_swap(value, 0, 1); in evsel__bitfield_swap_branch_flags() 2322 new_val |= bitfield_swap(value, 1, 1); in evsel__bitfield_swap_branch_flags() 2323 new_val |= bitfield_swap(value, 2, 1); in evsel__bitfield_swap_branch_flags() 2324 new_val |= bitfield_swap(value, 3, 1); in evsel__bitfield_swap_branch_flags() 2325 new_val |= bitfield_swap(value, 4, 16); in evsel__bitfield_swap_branch_flags() 2326 new_val |= bitfield_swap(value, 20, 4); in evsel__bitfield_swap_branch_flags() 2327 new_val |= bitfield_swap(value, 24, 2); in evsel__bitfield_swap_branch_flags() 2328 new_val |= bitfield_swap(value, 26, 4); in evsel__bitfield_swap_branch_flags() 2329 new_val |= bitfield_swap(value, 30, 3); in evsel__bitfield_swap_branch_flags() 2330 new_val |= bitfield_swap(value, 33, 31); in evsel__bitfield_swap_branch_flags() [all …]
|
D | evsel.h | 551 #define bitfield_swap(src, pos, size) \ macro
|