Searched refs:hifn_read_1 (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/crypto/ |
D | hifn_795x.c | 634 static inline u32 hifn_read_1(struct hifn_device *dev, u32 reg) in hifn_read_1() function 769 *data = hifn_read_1(dev, HIFN_1_RNG_DATA); in hifn_rng_data_read() 803 hifn_write_1(dev, HIFN_1_PUB_RESET, hifn_read_1(dev, HIFN_1_PUB_RESET) | in hifn_init_pubrng() 809 if ((hifn_read_1(dev, HIFN_1_PUB_RESET) & HIFN_PUBRST_RESET) == 0) in hifn_init_pubrng() 826 hifn_read_1(dev, HIFN_1_RNG_CONFIG) | HIFN_RNGCFG_ENA); in hifn_init_pubrng() 831 hifn_read_1(dev, HIFN_1_RNG_DATA); in hifn_init_pubrng() 856 dmacfg = hifn_read_1(dev, HIFN_1_DMA_CNFG); in hifn_enable_crypto() 862 addr = hifn_read_1(dev, HIFN_1_UNLOCK_SECRET1); in hifn_enable_crypto() 1022 hifn_read_1(dev, HIFN_1_DMA_CSR); in hifn_init_registers() 1031 hifn_read_1(dev, HIFN_1_DMA_IER); in hifn_init_registers() [all …]
|