Searched refs:__BITS_VALUE (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/arch/x86/events/intel/ |
D | uncore_nhmex.c | 188 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro 591 if (__BITS_VALUE(atomic_read(&er->ref), idx, 8)) { in nhmex_mbox_get_shared_reg() 634 u64 idx, orig_idx = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_alter_er() 677 idx[0] = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_get_constraint() 678 idx[1] = __BITS_VALUE(reg1->idx, 1, 8); in nhmex_mbox_get_constraint() 688 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint() 706 if (idx[0] != 0xff && idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) in nhmex_mbox_get_constraint() 722 BUG_ON(__BITS_VALUE(reg1->idx, 1, 8) != 0xff); in nhmex_mbox_get_constraint() 726 if (idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) { in nhmex_mbox_get_constraint() 748 nhmex_mbox_put_shared_reg(box, __BITS_VALUE(reg1->idx, 0, 8)); in nhmex_mbox_put_constraint() [all …]
|
D | uncore_snbep.c | 167 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro 969 if (!__BITS_VALUE(atomic_read(&er->ref), i, 6) || in __snbep_cbox_get_constraint() 1096 if (!__BITS_VALUE(atomic_read(&er->ref), idx, 8) || in snbep_pcu_get_constraint()
|