Lines Matching refs:cc_iowrite

77 static inline void cc_iowrite(struct cctrng_drvdata *drvdata, u32 reg, u32 val)  in cc_iowrite()  function
186 cc_iowrite(drvdata, CC_RNG_WATCHDOG_VAL_REG_OFFSET, max_cycles); in cc_trng_enable_rnd_source()
189 cc_iowrite(drvdata, CC_RND_SOURCE_ENABLE_REG_OFFSET, 0x1); in cc_trng_enable_rnd_source()
192 cc_iowrite(drvdata, CC_RNG_IMR_REG_OFFSET, (u32)~CC_RNG_INT_MASK); in cc_trng_enable_rnd_source()
283 cc_iowrite(drvdata, CC_RNG_CLK_ENABLE_REG_OFFSET, 0x1); in cc_trng_hw_trigger()
286 cc_iowrite(drvdata, CC_RNG_SW_RESET_REG_OFFSET, 0x1); in cc_trng_hw_trigger()
292 cc_iowrite(drvdata, CC_RNG_CLK_ENABLE_REG_OFFSET, 0x1); in cc_trng_hw_trigger()
295 cc_iowrite(drvdata, CC_SAMPLE_CNT1_REG_OFFSET, in cc_trng_hw_trigger()
304 cc_iowrite(drvdata, CC_RND_SOURCE_ENABLE_REG_OFFSET, 0); in cc_trng_hw_trigger()
306 cc_iowrite(drvdata, CC_RNG_ICR_REG_OFFSET, 0xFFFFFFFF); in cc_trng_hw_trigger()
308 cc_iowrite(drvdata, CC_TRNG_CONFIG_REG_OFFSET, drvdata->active_rosc); in cc_trng_hw_trigger()
311 cc_iowrite(drvdata, CC_TRNG_DEBUG_CONTROL_REG_OFFSET, 0); in cc_trng_hw_trigger()
326 cc_iowrite(drvdata, CC_RNG_DMA_ENABLE_REG_OFFSET, 0); in cc_trng_compwork_handler()
327 cc_iowrite(drvdata, CC_RND_SOURCE_ENABLE_REG_OFFSET, 0); in cc_trng_compwork_handler()
341 cc_iowrite(drvdata, CC_RNG_ICR_REG_OFFSET, isr); in cc_trng_compwork_handler()
420 cc_iowrite(drvdata, CC_HOST_RGF_ICR_REG_OFFSET, irr); in cc_isr()
425 cc_iowrite(drvdata, CC_RNG_IMR_REG_OFFSET, 0xFFFFFFFF); in cc_isr()
430 cc_iowrite(drvdata, CC_HOST_RGF_ICR_REG_OFFSET, in cc_isr()
551 cc_iowrite(drvdata, CC_HOST_RGF_ICR_REG_OFFSET, val); in cctrng_probe()
554 cc_iowrite(drvdata, CC_HOST_RGF_IMR_REG_OFFSET, in cctrng_probe()
623 cc_iowrite(drvdata, CC_HOST_POWER_DOWN_EN_REG_OFFSET, in cctrng_suspend()
672 cc_iowrite(drvdata, CC_HOST_RGF_IMR_REG_OFFSET, in cctrng_resume()
676 cc_iowrite(drvdata, CC_HOST_POWER_DOWN_EN_REG_OFFSET, in cctrng_resume()