Searched refs:mtk_cryp (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/mediatek/ |
H A D | mtk-platform.h | 120 struct mtk_cryp; 122 typedef int (*mtk_aes_fn)(struct mtk_cryp *cryp, struct mtk_aes_rec *aes); 146 struct mtk_cryp *cryp; 183 struct mtk_cryp *cryp; 196 * struct mtk_cryp - Cryptographic device 210 struct mtk_cryp { struct 226 int mtk_cipher_alg_register(struct mtk_cryp *cryp); 227 void mtk_cipher_alg_release(struct mtk_cryp *cryp); 228 int mtk_hash_alg_register(struct mtk_cryp *cryp); 229 void mtk_hash_alg_release(struct mtk_cryp *cry [all...] |
H A D | mtk-aes.c | 107 struct mtk_cryp *cryp; 153 static inline u32 mtk_aes_read(struct mtk_cryp *cryp, u32 offset) in mtk_aes_read() 158 static inline void mtk_aes_write(struct mtk_cryp *cryp, in mtk_aes_write() 164 static struct mtk_cryp *mtk_aes_find_dev(struct mtk_aes_base_ctx *ctx) in mtk_aes_find_dev() 166 struct mtk_cryp *cryp = NULL; in mtk_aes_find_dev() 167 struct mtk_cryp *tmp; in mtk_aes_find_dev() 245 static inline int mtk_aes_complete(struct mtk_cryp *cryp, in mtk_aes_complete() 260 static int mtk_aes_xmit(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_xmit() 322 static void mtk_aes_unmap(struct mtk_cryp *cryp, struct mtk_aes_rec *aes) in mtk_aes_unmap() 354 static int mtk_aes_map(struct mtk_cryp *cry [all...] |
H A D | mtk-platform.c | 120 static void mtk_desc_ring_link(struct mtk_cryp *cryp, u32 mask) in mtk_desc_ring_link() 127 static void mtk_dfe_dse_buf_setup(struct mtk_cryp *cryp, in mtk_dfe_dse_buf_setup() 162 static int mtk_dfe_dse_state_check(struct mtk_cryp *cryp) in mtk_dfe_dse_state_check() 186 static int mtk_dfe_dse_reset(struct mtk_cryp *cryp) in mtk_dfe_dse_reset() 204 static void mtk_cmd_desc_ring_setup(struct mtk_cryp *cryp, in mtk_cmd_desc_ring_setup() 245 static void mtk_res_desc_ring_setup(struct mtk_cryp *cryp, in mtk_res_desc_ring_setup() 295 static int mtk_packet_engine_setup(struct mtk_cryp *cryp) in mtk_packet_engine_setup() 349 static int mtk_aic_cap_check(struct mtk_cryp *cryp, int hw) in mtk_aic_cap_check() 374 static int mtk_aic_init(struct mtk_cryp *cryp, int hw) in mtk_aic_init() 398 static int mtk_accelerator_init(struct mtk_cryp *cry [all...] |
H A D | mtk-sha.c | 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) in mtk_sha_read() 132 static inline void mtk_sha_write(struct mtk_cryp *cryp, in mtk_sha_write() 153 static struct mtk_cryp *mtk_sha_find_dev(struct mtk_sha_ctx *tctx) in mtk_sha_find_dev() 155 struct mtk_cryp *cryp = NULL; in mtk_sha_find_dev() 156 struct mtk_cryp *tmp; in mtk_sha_find_dev() 320 static int mtk_sha_info_update(struct mtk_cryp *cryp, in mtk_sha_info_update() 421 static int mtk_sha_xmit(struct mtk_cryp *cryp, struct mtk_sha_rec *sha, in mtk_sha_xmit() 468 static int mtk_sha_dma_map(struct mtk_cryp *cry [all...] |
Completed in 4 milliseconds