Lines Matching defs:bit
9 * bit 0 is the LSB of an "unsigned long" quantity.
32 * These functions are the basis of our bit ops.
36 static inline void ____atomic_set_bit(unsigned int bit, volatile unsigned long *p)
39 unsigned long mask = BIT_MASK(bit);
41 p += BIT_WORD(bit);
48 static inline void ____atomic_clear_bit(unsigned int bit, volatile unsigned long *p)
51 unsigned long mask = BIT_MASK(bit);
53 p += BIT_WORD(bit);
60 static inline void ____atomic_change_bit(unsigned int bit, volatile unsigned long *p)
63 unsigned long mask = BIT_MASK(bit);
65 p += BIT_WORD(bit);
73 ____atomic_test_and_set_bit(unsigned int bit, volatile unsigned long *p)
77 unsigned long mask = BIT_MASK(bit);
79 p += BIT_WORD(bit);
90 ____atomic_test_and_clear_bit(unsigned int bit, volatile unsigned long *p)
94 unsigned long mask = BIT_MASK(bit);
96 p += BIT_WORD(bit);
107 ____atomic_test_and_change_bit(unsigned int bit, volatile unsigned long *p)
111 unsigned long mask = BIT_MASK(bit);
113 p += BIT_WORD(bit);
137 * This means that reading a 32-bit word at address 0 returns the same
138 * value irrespective of the endian mode bit.
147 * Note that bit 0 is defined to be 32-bit word bit 0, not byte 0 bit 0.
151 * Native endian assembly bitops. nr = 0 -> word 0 bit 0.
161 * Little endian assembly bitops. nr = 0 -> byte 0 bit 0.
169 * Big endian assembly bitops. nr = 0 -> byte 3 bit 0.