Lines Matching refs:starfive_cryp_dev
52 static inline int starfive_aes_wait_busy(struct starfive_cryp_dev *cryp)
60 static inline int starfive_aes_wait_keydone(struct starfive_cryp_dev *cryp)
68 static inline int starfive_aes_wait_gcmdone(struct starfive_cryp_dev *cryp)
76 static inline int is_gcm(struct starfive_cryp_dev *cryp)
81 static inline int is_encrypt(struct starfive_cryp_dev *cryp)
88 struct starfive_cryp_dev *cryp = ctx->cryp;
108 struct starfive_cryp_dev *cryp = ctx->cryp;
118 struct starfive_cryp_dev *cryp = ctx->cryp;
126 struct starfive_cryp_dev *cryp = ctx->cryp;
143 struct starfive_cryp_dev *cryp = ctx->cryp;
161 static inline void starfive_aes_get_iv(struct starfive_cryp_dev *cryp, u32 *iv)
171 struct starfive_cryp_dev *cryp = ctx->cryp;
181 struct starfive_cryp_dev *cryp = ctx->cryp;
209 struct starfive_cryp_dev *cryp = ctx->cryp;
237 struct starfive_cryp_dev *cryp = ctx->cryp;
310 static int starfive_aes_read_authtag(struct starfive_cryp_dev *cryp)
339 static void starfive_aes_finish_req(struct starfive_cryp_dev *cryp)
365 struct starfive_cryp_dev *cryp = (struct starfive_cryp_dev *)param;
398 struct starfive_cryp_dev *cryp = ctx->cryp;
426 struct starfive_cryp_dev *cryp = ctx->cryp;
466 struct starfive_cryp_dev *cryp;
523 struct starfive_cryp_dev *cryp = ctx->cryp;
571 struct starfive_cryp_dev *cryp = ctx->cryp;
624 struct starfive_cryp_dev *cryp = ctx->cryp;
658 struct starfive_cryp_dev *cryp = ctx->cryp;
674 struct starfive_cryp_dev *cryp = ctx->cryp;