Searched refs:__BITS_VALUE (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore_nhmex.c | 186 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro 583 if (__BITS_VALUE(atomic_read(&er->ref), idx, 8)) { in nhmex_mbox_get_shared_reg() 626 u64 idx, orig_idx = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_alter_er() 669 idx[0] = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_get_constraint() 670 idx[1] = __BITS_VALUE(reg1->idx, 1, 8); in nhmex_mbox_get_constraint() 680 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint() 698 if (idx[0] != 0xff && idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) in nhmex_mbox_get_constraint() 714 BUG_ON(__BITS_VALUE(reg1->idx, 1, 8) != 0xff); in nhmex_mbox_get_constraint() 718 if (idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) { in nhmex_mbox_get_constraint() 740 nhmex_mbox_put_shared_reg(box, __BITS_VALUE(reg1->idx, 0, 8)); in nhmex_mbox_put_constraint() [all …]
|
D | perf_event_intel_uncore_snbep.c | 163 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro 677 if (!__BITS_VALUE(atomic_read(&er->ref), i, 6) || in __snbep_cbox_get_constraint() 804 if (!__BITS_VALUE(atomic_read(&er->ref), idx, 8) || in snbep_pcu_get_constraint()
|