Home
last modified time | relevance | path

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

/tools/power/cpupower/utils/helpers/
Dbitmask.c9 #define bitsperlong (8 * sizeof(unsigned long)) macro
15 #define longsperbits(n) howmany(n, bitsperlong)
65 return (bmp->maskp[n/bitsperlong] >> (n % bitsperlong)) & 1; in _getbit()
75 bmp->maskp[n/bitsperlong] |= 1UL << (n % bitsperlong); in _setbit()
77 bmp->maskp[n/bitsperlong] &= in _setbit()
78 ~(1UL << (n % bitsperlong)); in _setbit()
/tools/include/asm-generic/
Dbitsperlong.h14 #error Inconsistent word size. Check asm/bitsperlong.h