/kernel/linux/linux-5.10/include/asm-generic/ |
D | atomic-long.h | 27 atomic_long_read(const atomic_long_t *v) in atomic_long_read() 33 atomic_long_read_acquire(const atomic_long_t *v) in atomic_long_read_acquire() 39 atomic_long_set(atomic_long_t *v, long i) in atomic_long_set() 45 atomic_long_set_release(atomic_long_t *v, long i) in atomic_long_set_release() 51 atomic_long_add(long i, atomic_long_t *v) in atomic_long_add() 57 atomic_long_add_return(long i, atomic_long_t *v) in atomic_long_add_return() 63 atomic_long_add_return_acquire(long i, atomic_long_t *v) in atomic_long_add_return_acquire() 69 atomic_long_add_return_release(long i, atomic_long_t *v) in atomic_long_add_return_release() 75 atomic_long_add_return_relaxed(long i, atomic_long_t *v) in atomic_long_add_return_relaxed() 81 atomic_long_fetch_add(long i, atomic_long_t *v) in atomic_long_fetch_add() [all …]
|
D | atomic-instrumented.h | 25 atomic_read(const atomic_t *v) in atomic_read() 34 atomic_read_acquire(const atomic_t *v) in atomic_read_acquire() 43 atomic_set(atomic_t *v, int i) in atomic_set() 52 atomic_set_release(atomic_t *v, int i) in atomic_set_release() 61 atomic_add(int i, atomic_t *v) in atomic_add() 70 atomic_add_return(int i, atomic_t *v) in atomic_add_return() 80 atomic_add_return_acquire(int i, atomic_t *v) in atomic_add_return_acquire() 90 atomic_add_return_release(int i, atomic_t *v) in atomic_add_return_release() 100 atomic_add_return_relaxed(int i, atomic_t *v) in atomic_add_return_relaxed() 110 atomic_fetch_add(int i, atomic_t *v) in atomic_fetch_add() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | rk3399_vpu_hw_mpeg2_dec.c | 23 #define VDPU_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument 25 #define VDPU_REG_DEC_ADV_PRE_DIS(v) ((v) ? BIT(11) : 0) argument 26 #define VDPU_REG_DEC_SCMD_DIS(v) ((v) ? BIT(10) : 0) argument 27 #define VDPU_REG_FILTERING_DIS(v) ((v) ? BIT(8) : 0) argument 28 #define VDPU_REG_DEC_LATENCY(v) (((v) << 1) & GENMASK(6, 1)) argument 30 #define VDPU_REG_INIT_QP(v) (((v) << 25) & GENMASK(30, 25)) argument 31 #define VDPU_REG_STREAM_LEN(v) (((v) << 0) & GENMASK(23, 0)) argument 33 #define VDPU_REG_APF_THRESHOLD(v) (((v) << 17) & GENMASK(30, 17)) argument 34 #define VDPU_REG_STARTMB_X(v) (((v) << 8) & GENMASK(16, 8)) argument 35 #define VDPU_REG_STARTMB_Y(v) (((v) << 0) & GENMASK(7, 0)) argument [all …]
|
D | hantro_g1_mpeg2_dec.c | 23 #define G1_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument 25 #define G1_REG_DEC_AXI_RD_ID(v) (((v) << 24) & GENMASK(31, 24)) argument 26 #define G1_REG_DEC_TIMEOUT_E(v) ((v) ? BIT(23) : 0) argument 27 #define G1_REG_DEC_STRSWAP32_E(v) ((v) ? BIT(22) : 0) argument 28 #define G1_REG_DEC_STRENDIAN_E(v) ((v) ? BIT(21) : 0) argument 29 #define G1_REG_DEC_INSWAP32_E(v) ((v) ? BIT(20) : 0) argument 30 #define G1_REG_DEC_OUTSWAP32_E(v) ((v) ? BIT(19) : 0) argument 31 #define G1_REG_DEC_DATA_DISC_E(v) ((v) ? BIT(18) : 0) argument 32 #define G1_REG_DEC_LATENCY(v) (((v) << 11) & GENMASK(16, 11)) argument 33 #define G1_REG_DEC_CLK_GATE_E(v) ((v) ? BIT(10) : 0) argument [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/ |
D | hw_host1x07_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
D | hw_host1x02_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
D | hw_host1x06_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
D | hw_host1x05_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
D | hw_host1x04_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
D | hw_host1x01_uclass.h | 48 static inline u32 host1x_uclass_incr_syncpt_cond_f(u32 v) in host1x_uclass_incr_syncpt_cond_f() 52 #define HOST1X_UCLASS_INCR_SYNCPT_COND_F(v) \ argument 54 static inline u32 host1x_uclass_incr_syncpt_indx_f(u32 v) in host1x_uclass_incr_syncpt_indx_f() 58 #define HOST1X_UCLASS_INCR_SYNCPT_INDX_F(v) \ argument 66 static inline u32 host1x_uclass_wait_syncpt_indx_f(u32 v) in host1x_uclass_wait_syncpt_indx_f() 70 #define HOST1X_UCLASS_WAIT_SYNCPT_INDX_F(v) \ argument 72 static inline u32 host1x_uclass_wait_syncpt_thresh_f(u32 v) in host1x_uclass_wait_syncpt_thresh_f() 76 #define HOST1X_UCLASS_WAIT_SYNCPT_THRESH_F(v) \ argument 84 static inline u32 host1x_uclass_wait_syncpt_base_indx_f(u32 v) in host1x_uclass_wait_syncpt_base_indx_f() 88 #define HOST1X_UCLASS_WAIT_SYNCPT_BASE_INDX_F(v) \ argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | atomic64_386_32.S | 35 #define v %ecx macro 43 #define v %esi macro 51 #define v %esi macro 61 #define v %ecx macro 69 #define v %ecx macro 79 #define v %ecx macro 87 #define v %ecx macro 100 #define v %esi macro 108 #define v %esi macro 120 #define v %esi macro [all …]
|
/kernel/linux/linux-5.10/drivers/media/platform/ |
D | imx-pxp.h | 19 #define BF_PXP_CTRL_SFTRST(v) \ argument 22 #define BF_PXP_CTRL_CLKGATE(v) \ argument 25 #define BF_PXP_CTRL_RSVD4(v) \ argument 28 #define BF_PXP_CTRL_EN_REPEAT(v) \ argument 31 #define BF_PXP_CTRL_ENABLE_ROTATE1(v) \ argument 34 #define BF_PXP_CTRL_ENABLE_ROTATE0(v) \ argument 37 #define BF_PXP_CTRL_ENABLE_LUT(v) \ argument 40 #define BF_PXP_CTRL_ENABLE_CSC2(v) \ argument 43 #define BF_PXP_CTRL_BLOCK_SIZE(v) \ argument 48 #define BF_PXP_CTRL_RSVD1(v) \ argument [all …]
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | atomic.h | 24 #define atomic_read(v) READ_ONCE((v)->counter) argument 25 #define atomic64_read(v) READ_ONCE((v)->counter) argument 27 #define atomic_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 28 #define atomic64_set(v,i) WRITE_ONCE(((v)->counter), (i)) argument 77 #define atomic_add_return(i,v) \ argument 85 #define atomic_sub_return(i,v) \ argument 93 #define atomic_fetch_add(i,v) \ argument 101 #define atomic_fetch_sub(i,v) \ argument 113 #define atomic_and(i,v) (void)ia64_atomic_fetch_and(i,v) argument 114 #define atomic_or(i,v) (void)ia64_atomic_fetch_or(i,v) argument [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | atomic-arch-fallback.h | 82 arch_atomic_read_acquire(const atomic_t *v) in arch_atomic_read_acquire() 91 arch_atomic_set_release(atomic_t *v, int i) in arch_atomic_set_release() 106 arch_atomic_add_return_acquire(int i, atomic_t *v) in arch_atomic_add_return_acquire() 117 arch_atomic_add_return_release(int i, atomic_t *v) in arch_atomic_add_return_release() 127 arch_atomic_add_return(int i, atomic_t *v) in arch_atomic_add_return() 148 arch_atomic_fetch_add_acquire(int i, atomic_t *v) in arch_atomic_fetch_add_acquire() 159 arch_atomic_fetch_add_release(int i, atomic_t *v) in arch_atomic_fetch_add_release() 169 arch_atomic_fetch_add(int i, atomic_t *v) in arch_atomic_fetch_add() 190 arch_atomic_sub_return_acquire(int i, atomic_t *v) in arch_atomic_sub_return_acquire() 201 arch_atomic_sub_return_release(int i, atomic_t *v) in arch_atomic_sub_return_release() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | stm32-dfsdm.h | 48 #define DFSDM_CHCFGR1_SITP(v) FIELD_PREP(DFSDM_CHCFGR1_SITP_MASK, v) argument 50 #define DFSDM_CHCFGR1_SPICKSEL(v) FIELD_PREP(DFSDM_CHCFGR1_SPICKSEL_MASK, v) argument 52 #define DFSDM_CHCFGR1_SCDEN(v) FIELD_PREP(DFSDM_CHCFGR1_SCDEN_MASK, v) argument 54 #define DFSDM_CHCFGR1_CKABEN(v) FIELD_PREP(DFSDM_CHCFGR1_CKABEN_MASK, v) argument 56 #define DFSDM_CHCFGR1_CHEN(v) FIELD_PREP(DFSDM_CHCFGR1_CHEN_MASK, v) argument 58 #define DFSDM_CHCFGR1_CHINSEL(v) FIELD_PREP(DFSDM_CHCFGR1_CHINSEL_MASK, v) argument 60 #define DFSDM_CHCFGR1_DATMPX(v) FIELD_PREP(DFSDM_CHCFGR1_DATMPX_MASK, v) argument 62 #define DFSDM_CHCFGR1_DATPACK(v) FIELD_PREP(DFSDM_CHCFGR1_DATPACK_MASK, v) argument 64 #define DFSDM_CHCFGR1_CKOUTDIV(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTDIV_MASK, v) argument 66 #define DFSDM_CHCFGR1_CKOUTSRC(v) FIELD_PREP(DFSDM_CHCFGR1_CKOUTSRC_MASK, v) argument [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | atomic.h | 23 static __always_inline int arch_atomic_read(const atomic_t *v) in arch_atomic_read() 39 static __always_inline void arch_atomic_set(atomic_t *v, int i) in arch_atomic_set() 51 static __always_inline void arch_atomic_add(int i, atomic_t *v) in arch_atomic_add() 65 static __always_inline void arch_atomic_sub(int i, atomic_t *v) in arch_atomic_sub() 81 static __always_inline bool arch_atomic_sub_and_test(int i, atomic_t *v) in arch_atomic_sub_and_test() 93 static __always_inline void arch_atomic_inc(atomic_t *v) in arch_atomic_inc() 106 static __always_inline void arch_atomic_dec(atomic_t *v) in arch_atomic_dec() 121 static __always_inline bool arch_atomic_dec_and_test(atomic_t *v) in arch_atomic_dec_and_test() 135 static __always_inline bool arch_atomic_inc_and_test(atomic_t *v) in arch_atomic_inc_and_test() 150 static __always_inline bool arch_atomic_add_negative(int i, atomic_t *v) in arch_atomic_add_negative() [all …]
|
D | atomic64_64.h | 20 static inline s64 arch_atomic64_read(const atomic64_t *v) in arch_atomic64_read() 32 static inline void arch_atomic64_set(atomic64_t *v, s64 i) in arch_atomic64_set() 44 static __always_inline void arch_atomic64_add(s64 i, atomic64_t *v) in arch_atomic64_add() 58 static inline void arch_atomic64_sub(s64 i, atomic64_t *v) in arch_atomic64_sub() 74 static inline bool arch_atomic64_sub_and_test(s64 i, atomic64_t *v) in arch_atomic64_sub_and_test() 86 static __always_inline void arch_atomic64_inc(atomic64_t *v) in arch_atomic64_inc() 100 static __always_inline void arch_atomic64_dec(atomic64_t *v) in arch_atomic64_dec() 116 static inline bool arch_atomic64_dec_and_test(atomic64_t *v) in arch_atomic64_dec_and_test() 130 static inline bool arch_atomic64_inc_and_test(atomic64_t *v) in arch_atomic64_inc_and_test() 145 static inline bool arch_atomic64_add_negative(s64 i, atomic64_t *v) in arch_atomic64_add_negative() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m4/iar/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/gcc/NTZ/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/NTZ/ |
D | los_arch_atomic.h | 43 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 55 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 68 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 85 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 102 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 107 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 112 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 117 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 140 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 175 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m33/iar/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/iar/NTZ/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/csky/v2/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 59 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 71 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 89 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 107 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 112 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 117 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 122 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 145 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 180 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m55/gcc/TZ/non_secure/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|
/kernel/liteos_m/arch/arm/cortex-m7/gcc/ |
D | los_arch_atomic.h | 44 STATIC INLINE INT32 ArchAtomicRead(const Atomic *v) in ArchAtomicRead() 56 STATIC INLINE VOID ArchAtomicSet(Atomic *v, INT32 setVal) in ArchAtomicSet() 69 STATIC INLINE INT32 ArchAtomicAdd(Atomic *v, INT32 addVal) in ArchAtomicAdd() 86 STATIC INLINE INT32 ArchAtomicSub(Atomic *v, INT32 subVal) in ArchAtomicSub() 103 STATIC INLINE VOID ArchAtomicInc(Atomic *v) in ArchAtomicInc() 108 STATIC INLINE VOID ArchAtomicDec(Atomic *v) in ArchAtomicDec() 113 STATIC INLINE INT32 ArchAtomicIncRet(Atomic *v) in ArchAtomicIncRet() 118 STATIC INLINE INT32 ArchAtomicDecRet(Atomic *v) in ArchAtomicDecRet() 141 STATIC INLINE INT32 ArchAtomicXchg32bits(volatile INT32 *v, INT32 val) in ArchAtomicXchg32bits() 176 STATIC INLINE BOOL ArchAtomicCmpXchg32bits(volatile INT32 *v, INT32 val, INT32 oldVal) in ArchAtomicCmpXchg32bits() [all …]
|