Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/hw_random/
Dcctrng.c56 u32 active_rosc; member
167 dev_dbg(dev, "cctrng change rosc (was %d)\n", drvdata->active_rosc); in cc_trng_change_rosc()
168 drvdata->active_rosc += 1; in cc_trng_change_rosc()
170 while (drvdata->active_rosc < CC_TRNG_NUM_OF_ROSCS) { in cc_trng_change_rosc()
171 if (drvdata->smpl_ratio[drvdata->active_rosc] > 0) in cc_trng_change_rosc()
174 drvdata->active_rosc += 1; in cc_trng_change_rosc()
185 max_cycles = CCTRNG_TIMEOUT(drvdata->smpl_ratio[drvdata->active_rosc]); in cc_trng_enable_rnd_source()
296 drvdata->smpl_ratio[drvdata->active_rosc]); in cc_trng_hw_trigger()
301 } while (tmp_smpl_cnt != drvdata->smpl_ratio[drvdata->active_rosc]); in cc_trng_hw_trigger()
308 cc_iowrite(drvdata, CC_TRNG_CONFIG_REG_OFFSET, drvdata->active_rosc); in cc_trng_hw_trigger()
[all …]