Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-aes.c149 static struct mtk_aes_drv mtk_aes = { variable
150 .dev_list = LIST_HEAD_INIT(mtk_aes.dev_list),
151 .lock = __SPIN_LOCK_UNLOCKED(mtk_aes.lock),
170 spin_lock_bh(&mtk_aes.lock); in mtk_aes_find_dev()
172 list_for_each_entry(tmp, &mtk_aes.dev_list, aes_list) { in mtk_aes_find_dev()
180 spin_unlock_bh(&mtk_aes.lock); in mtk_aes_find_dev()
1317 spin_lock(&mtk_aes.lock); in mtk_cipher_alg_register()
1318 list_add_tail(&cryp->aes_list, &mtk_aes.dev_list); in mtk_cipher_alg_register()
1319 spin_unlock(&mtk_aes.lock); in mtk_cipher_alg_register()
1328 spin_lock(&mtk_aes.lock); in mtk_cipher_alg_register()
[all …]