Home
last modified time | relevance | path

Searched refs:tmpShift4x (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/rng_1/
Dfsl_rng.c65 uint32_t refreshCnt, maxChiSq, tmpShift4x; in rng_readEntropy() local
90tmpShift4x = ((base->COUNTER_CFG & RNG_COUNTER_CFG_SHIFT4X_MASK) >> RNG_COUNTER_CFG_SHIFT4X_SHIFT); in rng_readEntropy()
91 if (tmpShift4x < 7U) in rng_readEntropy()
93 tmpShift4x++; in rng_readEntropy()
95 … (base->COUNTER_CFG & ~RNG_COUNTER_CFG_SHIFT4X_MASK) | RNG_COUNTER_CFG_SHIFT4X(tmpShift4x); in rng_readEntropy()
108 uint32_t maxChiSq, tmpShift4x; in RNG_Init() local
136tmpShift4x = ((base->COUNTER_CFG & RNG_COUNTER_CFG_SHIFT4X_MASK) >> RNG_COUNTER_CFG_SHIFT4X_SHIFT); in RNG_Init()
137 if (tmpShift4x < 7U) in RNG_Init()
139 tmpShift4x++; in RNG_Init()
141 … (base->COUNTER_CFG & ~RNG_COUNTER_CFG_SHIFT4X_MASK) | RNG_COUNTER_CFG_SHIFT4X(tmpShift4x); in RNG_Init()