Lines Matching refs:bitmask
187 int val, item, bitmask;
189 for (bitmask = 1; bitmask < e->max; bitmask <<= 1)
192 item = (val >> e->shift_l) & (bitmask - 1);
1644 unsigned int val, bitmask;
1646 for (bitmask = 1; bitmask < e->max; bitmask <<= 1)
1649 ucontrol->value.enumerated.item[0] = (val >> e->shift_l) & (bitmask - 1);
1652 (val >> e->shift_r) & (bitmask - 1);
1673 unsigned int mask, bitmask;
1676 for (bitmask = 1; bitmask < e->max; bitmask <<= 1)
1682 mask = (bitmask - 1) << e->shift_l;
1687 mask |= (bitmask - 1) << e->shift_r;