Home
last modified time | relevance | path

Searched refs:IT8XXX2_SHA_REGS_BASE (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/crypto/
Dcrypto_it8xxx2_sha_v2.c21 #define IT8XXX2_SHA_REGS_BASE DT_REG_ADDR(DT_NODELABEL(sha0)) macro
82 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHADBA0R); in it8xxx2_sha256_init()
84 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHADBA1R); in it8xxx2_sha256_init()
94 sha_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_sha256_module_calculation()
111 sys_write8(sha_ctrl, IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHACR); in it8xxx2_sha256_module_calculation()
122 if ((sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHASR) & IT8XXX2_SHAIS)) { in it8xxx2_sha256_module_calculation()
128 sys_write8(IT8XXX2_SHAIS, IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHASR); in it8xxx2_sha256_module_calculation()
169 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHAECR); in it8xxx2_hash_handler()
189 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHAECR); in it8xxx2_hash_handler()
219 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHAECR); in it8xxx2_hash_handler()
[all …]
Dcrypto_it8xxx2_sha.c21 #define IT8XXX2_SHA_REGS_BASE DT_REG_ADDR(DT_NODELABEL(sha0)) macro
123 hash_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_HASHCTRLR); in it8xxx2_sha256_module_calculation()
125 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_HASHCTRLR); in it8xxx2_sha256_module_calculation()
126 hash_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_HASHCTRLR); in it8xxx2_sha256_module_calculation()
210 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHA_HBADDR); in it8xxx2_sha_init()
213 IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_SHA_HBADDR2); in it8xxx2_sha_init()