Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-platform.h74 #define MTK_DESC_CNT(x) ((MTK_DESC_OFF * (x)) << 2) macro
Dmtk-aes.c333 mtk_aes_write(cryp, RDR_PREP_COUNT(aes->id), MTK_DESC_CNT(dlen)); in mtk_aes_xmit()
334 mtk_aes_write(cryp, CDR_PREP_COUNT(aes->id), MTK_DESC_CNT(slen)); in mtk_aes_xmit()
Dmtk-sha.c462 mtk_sha_write(cryp, RDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count)); in mtk_sha_xmit()
463 mtk_sha_write(cryp, CDR_PREP_COUNT(sha->id), MTK_DESC_CNT(count)); in mtk_sha_xmit()