Lines Matching refs:crypto_read
102 ret = RK_POLL_TIMEOUT(!(crypto_read(CRYPTO_TAG_VALID) & tag_mask),\
105 crypto_write(crypto_read(CRYPTO_TAG_VALID) & tag_mask, CRYPTO_TAG_VALID);\
182 word2byte_be(crypto_read(base + i * 4), in read_regs()
186 word2byte_be(crypto_read(base + i * 4), tmp_buf); in read_regs()
243 word2byte_be(crypto_read(chn_base), tag + 4 * i); in get_tag_from_reg()
331 ver_reg = crypto_read(cap_tbl[i].ver_offset); in crypto_v3_dynamic_cap()
352 ret = RK_POLL_TIMEOUT(crypto_read(CRYPTO_RST_CTL), RK_CRYPTO_TIMEOUT); in hw_crypto_reset()
354 g_crypto_version = crypto_read(CRYPTO_CRYPTO_VERSION_NEW); in hw_crypto_reset()
386 ret = RK_POLL_TIMEOUT(crypto_read(CRYPTO_RST_CTL), in rk_hash_init()
496 ret = RK_POLL_TIMEOUT(!(crypto_read(CRYPTO_DMA_INT_ST) & mask), in rk_hash_direct_calc()
500 tmp = crypto_read(CRYPTO_DMA_INT_ST); in rk_hash_direct_calc()
556 ret = RK_POLL_TIMEOUT(!crypto_read(CRYPTO_HASH_VALID), in rk_hash_final()
698 reg_ctrl = crypto_read(CRYPTO_HASH_CTL) | CRYPTO_HMAC_ENABLE; in rk_hmac_init()
809 crypto_read(CRYPTO_DMA_LLI_ADDR)); in dump_crypto_state()
811 crypto_read(CRYPTO_DMA_ST)); in dump_crypto_state()
813 crypto_read(CRYPTO_DMA_STATE)); in dump_crypto_state()
815 crypto_read(CRYPTO_DMA_LLI_RADDR)); in dump_crypto_state()
817 crypto_read(CRYPTO_DMA_SRC_RADDR)); in dump_crypto_state()
819 crypto_read(CRYPTO_DMA_DST_RADDR)); in dump_crypto_state()
821 crypto_read(CRYPTO_CIPHER_ST)); in dump_crypto_state()
823 crypto_read(CRYPTO_CIPHER_STATE)); in dump_crypto_state()
825 crypto_read(CRYPTO_TAG_VALID)); in dump_crypto_state()
827 crypto_read(0x618)); in dump_crypto_state()
831 crypto_read(CRYPTO_DMA_DST_RADDR)); in dump_crypto_state()
1125 reg_ctrl = crypto_read(CRYPTO_BC_CTL) | CRYPTO_BC_ENABLE; in hw_cipher_crypt()
1132 ret = RK_POLL_TIMEOUT(!(crypto_read(CRYPTO_DMA_INT_ST) & mask), in hw_cipher_crypt()
1134 tmp = crypto_read(CRYPTO_DMA_INT_ST); in hw_cipher_crypt()