Searched refs:cc_iowrite (Results 1 – 6 of 6) sorted by relevance
/drivers/char/hw_random/ |
D | cctrng.c | 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() [all …]
|
/drivers/crypto/ccree/ |
D | cc_driver.c | 152 cc_iowrite(drvdata, CC_REG(HOST_ICR), irr); in cc_isr() 160 cc_iowrite(drvdata, CC_REG(HOST_IMR), imr | drvdata->comp_mask); in cc_isr() 170 cc_iowrite(drvdata, CC_REG(HOST_IMR), imr | CC_GPR0_IRQ_MASK); in cc_isr() 230 cc_iowrite(drvdata, CC_REG(AXIM_CFG), val & ~CC_AXI_IRQ_MASK); in init_cc_regs() 238 cc_iowrite(drvdata, CC_REG(HOST_ICR), val); in init_cc_regs() 246 cc_iowrite(drvdata, CC_REG(HOST_IMR), ~val); in init_cc_regs() 255 cc_iowrite(drvdata, CC_REG(AXIM_CACHE_PARAMS), cache_params); in init_cc_regs() 544 cc_iowrite(drvdata, CC_REG(HOST_IMR), 0xFFFFFFFF); in fini_cc_regs()
|
D | cc_pm.c | 24 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()
|
D | cc_fips.c | 49 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()
|
D | cc_request_mgr.c | 628 cc_iowrite(drvdata, CC_REG(HOST_ICR), irq); in comp_handler() 650 cc_iowrite(drvdata, CC_REG(HOST_ICR), irq); in comp_handler() 658 cc_iowrite(drvdata, CC_REG(HOST_IMR), in comp_handler()
|
D | cc_driver.h | 212 static inline void cc_iowrite(struct cc_drvdata *drvdata, u32 reg, u32 val) in cc_iowrite() function
|