Searched refs:hi_atomic_sub_return (Results 1 – 2 of 2) sorted by relevance
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/ |
D | hi_atomic.h | 42 #define hi_atomic_dec(v) hi_atomic_sub_return(1, v) 45 #define hi_atomic_dec_return(v) (hi_atomic_sub_return(1, v)) 59 #define hi_atomic_sub_return_op(i, v) (hi_atomic_sub_return(i, v)) 117 __attribute__((always_inline)) static inline hi_s32 hi_atomic_sub_return(hi_s32 i, hi_atomic *v) in hi_atomic_sub_return() function
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/ |
D | hi_atomic.h | 42 #define hi_atomic_dec(v) hi_atomic_sub_return(1, v) 45 #define hi_atomic_dec_return(v) (hi_atomic_sub_return(1, v)) 66 #define hi_atomic_sub_return_op(i, v) (hi_atomic_sub_return(i, v)) 133 static inline hi_s32 hi_atomic_sub_return(hi_s32 i, hi_atomic *v) in hi_atomic_sub_return() function
|