Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/char/hw_random/
Dcctrng.c77 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()
[all …]
/linux-5.19.10/drivers/crypto/ccree/
Dcc_driver.c204 cc_iowrite(drvdata, CC_REG(HOST_ICR), irr); in cc_isr()
212 cc_iowrite(drvdata, CC_REG(HOST_IMR), imr | drvdata->comp_mask); in cc_isr()
222 cc_iowrite(drvdata, CC_REG(HOST_IMR), imr | CC_GPR0_IRQ_MASK); in cc_isr()
282 cc_iowrite(drvdata, CC_REG(AXIM_CFG), val & ~CC_AXI_IRQ_MASK); in init_cc_regs()
290 cc_iowrite(drvdata, CC_REG(HOST_ICR), val); in init_cc_regs()
298 cc_iowrite(drvdata, CC_REG(HOST_IMR), ~val); in init_cc_regs()
300 cc_iowrite(drvdata, CC_REG(AXIM_CACHE_PARAMS), drvdata->cache_params); in init_cc_regs()
302 cc_iowrite(drvdata, CC_REG(AXIM_ACE_CONST), drvdata->ace_const); in init_cc_regs()
588 cc_iowrite(drvdata, CC_REG(HOST_IMR), 0xFFFFFFFF); in fini_cc_regs()
Dcc_pm.c24 cc_iowrite(drvdata, CC_REG(HOST_POWER_DOWN_EN), POWER_DOWN_ENABLE); in cc_pm_suspend()
47 cc_iowrite(drvdata, CC_REG(HOST_POWER_DOWN_EN), POWER_DOWN_DISABLE); in cc_pm_resume()
Dcc_fips.c49 cc_iowrite(drvdata, CC_REG(HOST_GPR0), val); in cc_set_ree_fips_status()
127 cc_iowrite(drvdata, CC_REG(HOST_IMR), val); in fips_dsr()
Dcc_request_mgr.c627 cc_iowrite(drvdata, CC_REG(HOST_ICR), irq); in comp_handler()
649 cc_iowrite(drvdata, CC_REG(HOST_ICR), irq); in comp_handler()
657 cc_iowrite(drvdata, CC_REG(HOST_IMR), in comp_handler()
Dcc_driver.h212 static inline void cc_iowrite(struct cc_drvdata *drvdata, u32 reg, u32 val) in cc_iowrite() function