Home
last modified time | relevance | path

Searched refs:__BITS_VALUE (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/arch/x86/events/intel/
Duncore_nhmex.c187 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro
590 if (__BITS_VALUE(atomic_read(&er->ref), idx, 8)) { in nhmex_mbox_get_shared_reg()
633 u64 idx, orig_idx = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_alter_er()
676 idx[0] = __BITS_VALUE(reg1->idx, 0, 8); in nhmex_mbox_get_constraint()
677 idx[1] = __BITS_VALUE(reg1->idx, 1, 8); in nhmex_mbox_get_constraint()
687 __BITS_VALUE(config1, i, 32))) in nhmex_mbox_get_constraint()
705 if (idx[0] != 0xff && idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) in nhmex_mbox_get_constraint()
721 BUG_ON(__BITS_VALUE(reg1->idx, 1, 8) != 0xff); in nhmex_mbox_get_constraint()
725 if (idx[0] != __BITS_VALUE(reg1->idx, 0, 8)) { in nhmex_mbox_get_constraint()
747 nhmex_mbox_put_shared_reg(box, __BITS_VALUE(reg1->idx, 0, 8)); in nhmex_mbox_put_constraint()
[all …]
Duncore_snbep.c166 #define __BITS_VALUE(x, i, n) ((typeof(x))(((x) >> ((i) * (n))) & \ macro
966 if (!__BITS_VALUE(atomic_read(&er->ref), i, 6) || in __snbep_cbox_get_constraint()
1093 if (!__BITS_VALUE(atomic_read(&er->ref), idx, 8) || in snbep_pcu_get_constraint()