Lines Matching refs:stm32_hash_dev
134 struct stm32_hash_dev *hdev;
155 struct stm32_hash_dev *hdev;
191 struct stm32_hash_dev { struct
224 static inline u32 stm32_hash_read(struct stm32_hash_dev *hdev, u32 offset) in stm32_hash_read() argument
229 static inline void stm32_hash_write(struct stm32_hash_dev *hdev, in stm32_hash_write()
235 static inline int stm32_hash_wait_busy(struct stm32_hash_dev *hdev) in stm32_hash_wait_busy()
248 static void stm32_hash_set_nblw(struct stm32_hash_dev *hdev, int length) in stm32_hash_set_nblw()
258 static int stm32_hash_write_key(struct stm32_hash_dev *hdev) in stm32_hash_write_key()
285 static void stm32_hash_write_ctrl(struct stm32_hash_dev *hdev) in stm32_hash_write_ctrl()
367 static int stm32_hash_xmit_cpu(struct stm32_hash_dev *hdev, in stm32_hash_xmit_cpu()
468 static int stm32_hash_update_cpu(struct stm32_hash_dev *hdev) in stm32_hash_update_cpu()
518 static int stm32_hash_xmit_dma(struct stm32_hash_dev *hdev, in stm32_hash_xmit_dma()
581 struct stm32_hash_dev *hdev = param; in stm32_hash_dma_callback()
586 static int stm32_hash_hmac_dma_send(struct stm32_hash_dev *hdev) in stm32_hash_hmac_dma_send()
617 static int stm32_hash_dma_init(struct stm32_hash_dev *hdev) in stm32_hash_dma_init()
651 static int stm32_hash_dma_send(struct stm32_hash_dev *hdev) in stm32_hash_dma_send()
748 static struct stm32_hash_dev *stm32_hash_find_dev(struct stm32_hash_ctx *ctx) in stm32_hash_find_dev()
750 struct stm32_hash_dev *hdev = NULL, *tmp; in stm32_hash_find_dev()
773 struct stm32_hash_dev *hdev = stm32_hash_find_dev(ctx); in stm32_hash_dma_aligned_data()
800 struct stm32_hash_dev *hdev = stm32_hash_find_dev(ctx); in stm32_hash_init()
872 static int stm32_hash_update_req(struct stm32_hash_dev *hdev) in stm32_hash_update_req()
883 static int stm32_hash_final_req(struct stm32_hash_dev *hdev) in stm32_hash_final_req()
903 struct stm32_hash_dev *hdev = rctx->hdev; in stm32_hash_emptymsg_fallback()
932 struct stm32_hash_dev *hdev = rctx->hdev; in stm32_hash_copy_hash()
971 struct stm32_hash_dev *hdev = rctx->hdev; in stm32_hash_finish_req()
984 static int stm32_hash_handle_queue(struct stm32_hash_dev *hdev, in stm32_hash_handle_queue()
996 struct stm32_hash_dev *hdev = stm32_hash_find_dev(ctx); in stm32_hash_one_request()
1061 struct stm32_hash_dev *hdev = ctx->hdev; in stm32_hash_enqueue()
1102 struct stm32_hash_dev *hdev = stm32_hash_find_dev(ctx); in stm32_hash_finup()
1162 struct stm32_hash_dev *hdev = stm32_hash_find_dev(ctx); in stm32_hash_init_fallback()
1229 struct stm32_hash_dev *hdev = dev_id; in stm32_hash_irq_thread()
1252 struct stm32_hash_dev *hdev = dev_id; in stm32_hash_irq_handler()
1874 static int stm32_hash_register_algs(struct stm32_hash_dev *hdev) in stm32_hash_register_algs()
1900 static int stm32_hash_unregister_algs(struct stm32_hash_dev *hdev) in stm32_hash_unregister_algs()
2019 static int stm32_hash_get_of_match(struct stm32_hash_dev *hdev, in stm32_hash_get_of_match()
2033 struct stm32_hash_dev *hdev; in stm32_hash_probe()
2172 struct stm32_hash_dev *hdev = platform_get_drvdata(pdev); in stm32_hash_remove()
2198 struct stm32_hash_dev *hdev = dev_get_drvdata(dev); in stm32_hash_runtime_suspend()
2207 struct stm32_hash_dev *hdev = dev_get_drvdata(dev); in stm32_hash_runtime_resume()