Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-sha.c119 static struct mtk_sha_drv mtk_sha = { variable
120 .dev_list = LIST_HEAD_INIT(mtk_sha.dev_list),
121 .lock = __SPIN_LOCK_UNLOCKED(mtk_sha.lock),
158 spin_lock_bh(&mtk_sha.lock); in mtk_sha_find_dev()
160 list_for_each_entry(tmp, &mtk_sha.dev_list, sha_list) { in mtk_sha_find_dev()
176 spin_unlock_bh(&mtk_sha.lock); in mtk_sha_find_dev()
1325 spin_lock(&mtk_sha.lock); in mtk_hash_alg_register()
1326 list_add_tail(&cryp->sha_list, &mtk_sha.dev_list); in mtk_hash_alg_register()
1327 spin_unlock(&mtk_sha.lock); in mtk_hash_alg_register()
1336 spin_lock(&mtk_sha.lock); in mtk_hash_alg_register()
[all …]