Lines Matching refs:bit
63 * The specified bit in the atomic setting variable is 1.
64 CNcomment:原子设置变量中指定bit位为1CNend
66 #define hi_atomic_bit_set_op(bit, v) (hi_atomic_bit_set(bit, v))
69 * The specified bit in the atomic setting variable is 0.
70 CNcomment:原子设置变量中指定bit位为0CNend
72 #define hi_atomic_bit_clear_op(bit, v) (hi_atomic_bit_clear(bit, v))
129 * The specified bit in the atomic setting variable is 1.CNcomment:原子设置变量中指定bit位为1CNend
132 * The specified bit in the atomic setting variable is 1.CNcomment:原子设置变量中指定bit位为1CNend
134 * param bit [IN] type #hi_s32, Position of the bit that is set to 1. The value range is 0-31.
135 CNcomment:被置1的bit位置,范围0-31.CNend
143 __attribute__((always_inline)) static inline hi_void hi_atomic_bit_set(hi_s32 bit, volatile hi_u32 *value)
148 *value |= (1 << bit);
154 * The specified bit in the atomic setting variable is 0.CNcomment:原子设置变量中指定bit位为0CNend
157 * The specified bit in the atomic setting variable is 0.CNcomment:原子设置变量中指定bit位为0CNend
159 * param bit [IN] type #hi_s32, Position of the bit that is set to 0. The value range is 0-31.
160 CNcomment:被置0的bit位置,范围0-31.CNend
168 __attribute__((always_inline)) static inline hi_void hi_atomic_bit_clear(hi_s32 bit, volatile hi_u32 *value)
174 mask = 1 << bit;