Lines Matching refs:b
45 static inline void gpiotools_set_bit(__u64 *b, int n) in gpiotools_set_bit() argument
47 *b |= _BITULL(n); in gpiotools_set_bit()
50 static inline void gpiotools_change_bit(__u64 *b, int n) in gpiotools_change_bit() argument
52 *b ^= _BITULL(n); in gpiotools_change_bit()
55 static inline void gpiotools_clear_bit(__u64 *b, int n) in gpiotools_clear_bit() argument
57 *b &= ~_BITULL(n); in gpiotools_clear_bit()
60 static inline int gpiotools_test_bit(__u64 b, int n) in gpiotools_test_bit() argument
62 return !!(b & _BITULL(n)); in gpiotools_test_bit()
65 static inline void gpiotools_assign_bit(__u64 *b, int n, bool value) in gpiotools_assign_bit() argument
68 gpiotools_set_bit(b, n); in gpiotools_assign_bit()
70 gpiotools_clear_bit(b, n); in gpiotools_assign_bit()