Lines Matching refs:mtk_cryp
105 struct mtk_cryp *cryp;
124 static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id,
127 static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset)
132 static inline void mtk_sha_write(struct mtk_cryp *cryp,
153 static struct mtk_cryp *mtk_sha_find_dev(struct mtk_sha_ctx *tctx)
155 struct mtk_cryp *cryp = NULL;
156 struct mtk_cryp *tmp;
320 static int mtk_sha_info_update(struct mtk_cryp *cryp,
421 static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha,
468 static int mtk_sha_dma_map(struct mtk_cryp *cryp,
485 static int mtk_sha_update_slow(struct mtk_cryp *cryp,
512 static int mtk_sha_update_start(struct mtk_cryp *cryp,
602 static int mtk_sha_final_req(struct mtk_cryp *cryp,
635 static void mtk_sha_finish_req(struct mtk_cryp *cryp,
650 static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id,
713 static void mtk_sha_unmap(struct mtk_cryp *cryp, struct mtk_sha_rec *sha)
736 static void mtk_sha_complete(struct mtk_cryp *cryp,
849 struct mtk_cryp *cryp = NULL;
1176 struct mtk_cryp *cryp = sha->cryp;
1185 struct mtk_cryp *cryp = sha->cryp;
1206 static int mtk_sha_record_init(struct mtk_cryp *cryp)
1241 static void mtk_sha_record_free(struct mtk_cryp *cryp)
1293 int mtk_hash_alg_register(struct mtk_cryp *cryp)
1344 void mtk_hash_alg_release(struct mtk_cryp *cryp)