Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dsparsebit.c166 #define MASK_BITS (sizeof(mask_t) * CHAR_BIT) macro
318 idx <= nodep->idx + MASK_BITS + nodep->num_after - 1) in node_find()
344 nodep->idx = idx & -MASK_BITS; in node_add()
366 assert(idx > parentp->idx + MASK_BITS + parentp->num_after - 1); in node_add()
382 while (prev && prev->idx + MASK_BITS + prev->num_after - 1 >= nodep->idx) { in node_add()
383 unsigned int n1 = (prev->idx + MASK_BITS + prev->num_after - 1) in node_add()
386 assert(n1 < MASK_BITS); in node_add()
504 assert(!(idx % MASK_BITS)); in node_split()
530 offset = idx - (nodep1->idx + MASK_BITS); in node_split()
542 if (nodep2->num_after >= MASK_BITS) { in node_split()
[all …]
/linux-6.12.1/drivers/input/touchscreen/
Dbu21013_ts.c26 #define MASK_BITS 0x03 macro
209 x = data[0] << SHIFT_2 | (data[1] & MASK_BITS); in bu21013_do_touch_report()
210 y = data[2] << SHIFT_2 | (data[3] & MASK_BITS); in bu21013_do_touch_report()