mtk_cryp 106 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp; mtk_cryp 154 drivers/crypto/mediatek/mtk-aes.c static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) mtk_cryp 159 drivers/crypto/mediatek/mtk-aes.c static inline void mtk_aes_write(struct mtk_cryp *cryp, mtk_cryp 165 drivers/crypto/mediatek/mtk-aes.c static struct mtk_cryp *mtk_aes_find_dev(struct mtk_aes_base_ctx *ctx) mtk_cryp 167 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp = NULL; mtk_cryp 168 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *tmp; mtk_cryp 262 drivers/crypto/mediatek/mtk-aes.c static inline int mtk_aes_complete(struct mtk_cryp *cryp, mtk_cryp 277 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 339 drivers/crypto/mediatek/mtk-aes.c static void mtk_aes_unmap(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 371 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_map(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 414 drivers/crypto/mediatek/mtk-aes.c static void mtk_aes_info_init(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, mtk_cryp 463 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, mtk_cryp 509 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_handle_queue(struct mtk_cryp *cryp, u8 id, mtk_cryp 547 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_transfer_complete(struct mtk_cryp *cryp, mtk_cryp 553 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 570 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_ctr_transfer(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 620 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_ctr_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 669 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp; mtk_cryp 867 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_gcm_tag_verify(struct mtk_cryp *cryp, mtk_cryp 877 drivers/crypto/mediatek/mtk-aes.c static void mtk_aes_gcm_info_init(struct mtk_cryp *cryp, mtk_cryp 915 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_gcm_dma(struct mtk_cryp *cryp, struct mtk_aes_rec *aes, mtk_cryp 958 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_gcm_start(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) mtk_cryp 988 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp; mtk_cryp 1169 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp = aes->cryp; mtk_cryp 1178 drivers/crypto/mediatek/mtk-aes.c struct mtk_cryp *cryp = aes->cryp; mtk_cryp 1201 drivers/crypto/mediatek/mtk-aes.c static int mtk_aes_record_init(struct mtk_cryp *cryp) mtk_cryp 1242 drivers/crypto/mediatek/mtk-aes.c static void mtk_aes_record_free(struct mtk_cryp *cryp) mtk_cryp 1288 drivers/crypto/mediatek/mtk-aes.c int mtk_cipher_alg_register(struct mtk_cryp *cryp) mtk_cryp 1339 drivers/crypto/mediatek/mtk-aes.c void mtk_cipher_alg_release(struct mtk_cryp *cryp) mtk_cryp 120 drivers/crypto/mediatek/mtk-platform.c static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) mtk_cryp 127 drivers/crypto/mediatek/mtk-platform.c static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, mtk_cryp 162 drivers/crypto/mediatek/mtk-platform.c static int mtk_dfe_dse_state_check(struct mtk_cryp *cryp) mtk_cryp 186 drivers/crypto/mediatek/mtk-platform.c static int mtk_dfe_dse_reset(struct mtk_cryp *cryp) mtk_cryp 210 drivers/crypto/mediatek/mtk-platform.c static void mtk_cmd_desc_ring_setup(struct mtk_cryp *cryp, mtk_cryp 251 drivers/crypto/mediatek/mtk-platform.c static void mtk_res_desc_ring_setup(struct mtk_cryp *cryp, mtk_cryp 301 drivers/crypto/mediatek/mtk-platform.c static int mtk_packet_engine_setup(struct mtk_cryp *cryp) mtk_cryp 355 drivers/crypto/mediatek/mtk-platform.c static int mtk_aic_cap_check(struct mtk_cryp *cryp, int hw) mtk_cryp 380 drivers/crypto/mediatek/mtk-platform.c static int mtk_aic_init(struct mtk_cryp *cryp, int hw) mtk_cryp 404 drivers/crypto/mediatek/mtk-platform.c static int mtk_accelerator_init(struct mtk_cryp *cryp) mtk_cryp 427 drivers/crypto/mediatek/mtk-platform.c static void mtk_desc_dma_free(struct mtk_cryp *cryp) mtk_cryp 442 drivers/crypto/mediatek/mtk-platform.c static int mtk_desc_ring_alloc(struct mtk_cryp *cryp) mtk_cryp 484 drivers/crypto/mediatek/mtk-platform.c struct mtk_cryp *cryp; mtk_cryp 559 drivers/crypto/mediatek/mtk-platform.c struct mtk_cryp *cryp = platform_get_drvdata(pdev); mtk_cryp 120 drivers/crypto/mediatek/mtk-platform.h struct mtk_cryp; mtk_cryp 122 drivers/crypto/mediatek/mtk-platform.h typedef int (*mtk_aes_fn)(struct mtk_cryp *cryp, struct mtk_aes_rec *aes); mtk_cryp 146 drivers/crypto/mediatek/mtk-platform.h struct mtk_cryp *cryp; mtk_cryp 183 drivers/crypto/mediatek/mtk-platform.h struct mtk_cryp *cryp; mtk_cryp 226 drivers/crypto/mediatek/mtk-platform.h int mtk_cipher_alg_register(struct mtk_cryp *cryp); mtk_cryp 227 drivers/crypto/mediatek/mtk-platform.h void mtk_cipher_alg_release(struct mtk_cryp *cryp); mtk_cryp 228 drivers/crypto/mediatek/mtk-platform.h int mtk_hash_alg_register(struct mtk_cryp *cryp); mtk_cryp 229 drivers/crypto/mediatek/mtk-platform.h void mtk_hash_alg_release(struct mtk_cryp *cryp); mtk_cryp 105 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *cryp; mtk_cryp 124 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id, mtk_cryp 127 drivers/crypto/mediatek/mtk-sha.c static inline u32 mtk_sha_read(struct mtk_cryp *cryp, u32 offset) mtk_cryp 132 drivers/crypto/mediatek/mtk-sha.c static inline void mtk_sha_write(struct mtk_cryp *cryp, mtk_cryp 153 drivers/crypto/mediatek/mtk-sha.c static struct mtk_cryp *mtk_sha_find_dev(struct mtk_sha_ctx *tctx) mtk_cryp 155 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *cryp = NULL; mtk_cryp 156 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *tmp; mtk_cryp 320 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_info_update(struct mtk_cryp *cryp, mtk_cryp 421 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha, mtk_cryp 468 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_dma_map(struct mtk_cryp *cryp, mtk_cryp 485 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_update_slow(struct mtk_cryp *cryp, mtk_cryp 512 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_update_start(struct mtk_cryp *cryp, mtk_cryp 602 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_final_req(struct mtk_cryp *cryp, mtk_cryp 635 drivers/crypto/mediatek/mtk-sha.c static void mtk_sha_finish_req(struct mtk_cryp *cryp, mtk_cryp 650 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_handle_queue(struct mtk_cryp *cryp, u8 id, mtk_cryp 713 drivers/crypto/mediatek/mtk-sha.c static void mtk_sha_unmap(struct mtk_cryp *cryp, struct mtk_sha_rec *sha) mtk_cryp 736 drivers/crypto/mediatek/mtk-sha.c static void mtk_sha_complete(struct mtk_cryp *cryp, mtk_cryp 852 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *cryp = NULL; mtk_cryp 1179 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *cryp = sha->cryp; mtk_cryp 1188 drivers/crypto/mediatek/mtk-sha.c struct mtk_cryp *cryp = sha->cryp; mtk_cryp 1209 drivers/crypto/mediatek/mtk-sha.c static int mtk_sha_record_init(struct mtk_cryp *cryp) mtk_cryp 1244 drivers/crypto/mediatek/mtk-sha.c static void mtk_sha_record_free(struct mtk_cryp *cryp) mtk_cryp 1296 drivers/crypto/mediatek/mtk-sha.c int mtk_hash_alg_register(struct mtk_cryp *cryp) mtk_cryp 1347 drivers/crypto/mediatek/mtk-sha.c void mtk_hash_alg_release(struct mtk_cryp *cryp)