Lines Matching +full:clear +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
10 * These have to be done with inline assembly: that way the bit-setting
11 * is guaranteed to be atomic. All bit operations return 0 if the bit
14 * bit 0 is the LSB of addr; bit 32 is the LSB of (addr+1).
22 * sync_set_bit - Atomically set a bit in memory
23 * @nr: the bit to set
30 * restricted to acting on a single-word quantity.
41 * sync_clear_bit - Clears a bit in memory
42 * @nr: Bit to clear
59 * sync_change_bit - Toggle a bit in memory
60 * @nr: Bit to change
65 * restricted to acting on a single-word quantity.
76 * sync_test_and_set_bit - Set a bit and return its old value
77 * @nr: Bit to set
89 * sync_test_and_clear_bit - Clear a bit and return its old value
90 * @nr: Bit to clear
102 * sync_test_and_change_bit - Change a bit and return its old value
103 * @nr: Bit to change