Lines Matching refs:mtk_cryp
107 struct mtk_cryp *cryp;
153 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset)
158 static inline void mtk_aes_write(struct mtk_cryp *cryp,
164 static struct mtk_cryp *mtk_aes_find_dev(struct mtk_aes_base_ctx *ctx)
166 struct mtk_cryp *cryp = NULL;
167 struct mtk_cryp *tmp;
245 static inline int mtk_aes_complete(struct mtk_cryp *cryp,
260 static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
322 static void mtk_aes_unmap(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
354 static int mtk_aes_map(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
397 static void mtk_aes_info_init(struct mtk_cryp *cryp, struct mtk_aes_rec *aes,
446 static int mtk_aes_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes,
492 static int mtk_aes_handle_queue(struct mtk_cryp *cryp, u8 id,
530 static int mtk_aes_transfer_complete(struct mtk_cryp *cryp,
536 static int mtk_aes_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
553 static int mtk_aes_ctr_transfer(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
602 static int mtk_aes_ctr_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
650 struct mtk_cryp *cryp;
831 static int mtk_aes_gcm_tag_verify(struct mtk_cryp *cryp,
841 static void mtk_aes_gcm_info_init(struct mtk_cryp *cryp,
879 static int mtk_aes_gcm_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes,
922 static int mtk_aes_gcm_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes)
952 struct mtk_cryp *cryp;
1093 struct mtk_cryp *cryp = aes->cryp;
1102 struct mtk_cryp *cryp = aes->cryp;
1125 static int mtk_aes_record_init(struct mtk_cryp *cryp)
1166 static void mtk_aes_record_free(struct mtk_cryp *cryp)
1212 int mtk_cipher_alg_register(struct mtk_cryp *cryp)
1263 void mtk_cipher_alg_release(struct mtk_cryp *cryp)