Lines Matching defs:bit
16 * __mips_set_bit - Atomically set a bit in memory. This is called by
18 * @nr: the bit to set
24 unsigned int bit = nr % BITS_PER_LONG;
28 mask = 1UL << bit;
37 * __mips_clear_bit - Clears a bit in memory. This is called by clear_bit() if
45 unsigned int bit = nr % BITS_PER_LONG;
49 mask = 1UL << bit;
58 * __mips_change_bit - Toggle a bit in memory. This is called by change_bit()
66 unsigned int bit = nr % BITS_PER_LONG;
70 mask = 1UL << bit;
79 * __mips_test_and_set_bit_lock - Set a bit and return its old value. This is
88 unsigned int bit = nr % BITS_PER_LONG;
93 mask = 1UL << bit;
104 * __mips_test_and_clear_bit - Clear a bit and return its old value. This is
112 unsigned int bit = nr % BITS_PER_LONG;
117 mask = 1UL << bit;
128 * __mips_test_and_change_bit - Change a bit and return its old value. This is
136 unsigned int bit = nr % BITS_PER_LONG;
141 mask = 1UL << bit;