Home
last modified time | relevance | path

Searched refs:newVal (Results 1 - 8 of 8) sorted by relevance

/kernel/liteos_m/testsuites/sample/kernel/atomic/
H A Dit_los_atomic_006.c39 UINT64 newVal = 0xff; in TestCase() local
42 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
47 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
51 newVal = 0xffff; in TestCase()
53 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
58 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
62 newVal = 0xffffffff; in TestCase()
64 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
69 ret = LOS_AtomicCmpXchg64bits(&value, newVal, oldVal); in TestCase()
73 newVal in TestCase()
[all...]
H A Dit_los_atomic_005.c39 UINT64 newVal; in TestCase() local
41 newVal = 0xff; in TestCase()
42 ret = LOS_AtomicXchg64bits(&value, newVal); in TestCase()
46 newVal = 0xffff; in TestCase()
47 ret = LOS_AtomicXchg64bits(&value, newVal); in TestCase()
51 newVal = 0xffffff; in TestCase()
52 ret = LOS_AtomicXchg64bits(&value, newVal); in TestCase()
56 newVal = 0xffffffff; in TestCase()
57 ret = LOS_AtomicXchg64bits(&value, newVal); in TestCase()
61 newVal in TestCase()
[all...]
H A Dit_los_atomic_003.c39 UINT32 newVal; in TestCase() local
42 newVal = 0xff; in TestCase()
44 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase()
49 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase()
53 newVal = 0xffff; in TestCase()
55 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase()
60 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase()
64 newVal = 0xffffffff; in TestCase()
66 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVal); in TestCase()
71 ret = LOS_AtomicCmpXchg32bits(&value, newVal, oldVa in TestCase()
[all...]
H A Dit_los_atomic_002.c39 UINT32 newVal; in TestCase() local
41 newVal = 0xff; in TestCase()
42 ret = LOS_AtomicXchg32bits(&value, newVal); in TestCase()
46 newVal = 0xffff; in TestCase()
47 ret = LOS_AtomicXchg32bits(&value, newVal); in TestCase()
51 newVal = 0xffffff; in TestCase()
52 ret = LOS_AtomicXchg32bits(&value, newVal); in TestCase()
56 newVal = 0xffffffff; in TestCase()
57 ret = LOS_AtomicXchg32bits(&value, newVal); in TestCase()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dar9002_phy.c178 int tmp, newVal; in ar9002_hw_spur_mitigate() local
229 newVal = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI | in ar9002_hw_spur_mitigate()
233 REG_WRITE(ah, AR_PHY_TIMING_CTRL4(0), newVal); in ar9002_hw_spur_mitigate()
235 newVal = (AR_PHY_SPUR_REG_MASK_RATE_CNTL | in ar9002_hw_spur_mitigate()
240 REG_WRITE(ah, AR_PHY_SPUR_REG, newVal); in ar9002_hw_spur_mitigate()
267 newVal = (AR_PHY_TIMING11_USE_SPUR_IN_AGC | in ar9002_hw_spur_mitigate()
270 REG_WRITE(ah, AR_PHY_TIMING11, newVal); in ar9002_hw_spur_mitigate()
272 newVal = spur_subchannel_sd << AR_PHY_SFCORR_SPUR_SUBCHNL_SD_S; in ar9002_hw_spur_mitigate()
273 REG_WRITE(ah, AR_PHY_SFCORR_EXT, newVal); in ar9002_hw_spur_mitigate()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dar9002_phy.c178 int tmp, newVal; in ar9002_hw_spur_mitigate() local
229 newVal = tmp | (AR_PHY_TIMING_CTRL4_ENABLE_SPUR_RSSI | in ar9002_hw_spur_mitigate()
233 REG_WRITE(ah, AR_PHY_TIMING_CTRL4(0), newVal); in ar9002_hw_spur_mitigate()
235 newVal = (AR_PHY_SPUR_REG_MASK_RATE_CNTL | in ar9002_hw_spur_mitigate()
240 REG_WRITE(ah, AR_PHY_SPUR_REG, newVal); in ar9002_hw_spur_mitigate()
267 newVal = (AR_PHY_TIMING11_USE_SPUR_IN_AGC | in ar9002_hw_spur_mitigate()
270 REG_WRITE(ah, AR_PHY_TIMING11, newVal); in ar9002_hw_spur_mitigate()
272 newVal = spur_subchannel_sd << AR_PHY_SFCORR_SPUR_SUBCHNL_SD_S; in ar9002_hw_spur_mitigate()
273 REG_WRITE(ah, AR_PHY_SFCORR_EXT, newVal); in ar9002_hw_spur_mitigate()
/kernel/liteos_a/compat/posix/src/
H A Dpthread_cond.c147 INT32 oldVal, newVal; in PthreadCondValueModify() local
151 newVal = (INT32)(((UINT32)(oldVal - COND_COUNTER_STEP) & COND_COUNTER_MASK) | flags); in PthreadCondValueModify()
152 if (LOS_AtomicCmpXchg32bits(&cond->value, newVal, oldVal) == 0) { in PthreadCondValueModify()
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c2243 U32 newVal; in ZSTD_reduceTable_internal() local
2247 newVal = ZSTD_DUBT_UNSORTED_MARK; in ZSTD_reduceTable_internal()
2249 newVal = 0; in ZSTD_reduceTable_internal()
2251 newVal = table[cellNb] - reducerValue; in ZSTD_reduceTable_internal()
2253 table[cellNb] = newVal; in ZSTD_reduceTable_internal()

Completed in 14 milliseconds