Home
last modified time | relevance | path

Searched refs:aspeed_hace_dev (Results 1 – 4 of 4) sorted by relevance

/drivers/crypto/aspeed/
Daspeed-hace.h146 struct aspeed_hace_dev;
148 typedef int (*aspeed_hace_fn_t)(struct aspeed_hace_dev *);
183 struct aspeed_hace_dev *hace_dev;
240 struct aspeed_hace_dev *hace_dev;
258 struct aspeed_hace_dev { struct
273 struct aspeed_hace_dev *hace_dev; argument
293 void aspeed_register_hace_hash_algs(struct aspeed_hace_dev *hace_dev);
294 void aspeed_unregister_hace_hash_algs(struct aspeed_hace_dev *hace_dev);
295 void aspeed_register_hace_crypto_algs(struct aspeed_hace_dev *hace_dev);
296 void aspeed_unregister_hace_crypto_algs(struct aspeed_hace_dev *hace_dev);
Daspeed-hace.c27 struct aspeed_hace_dev *hace_dev = (struct aspeed_hace_dev *)dev; in aspeed_hace_irq()
56 struct aspeed_hace_dev *hace_dev = (struct aspeed_hace_dev *)data; in aspeed_hace_crypto_done_task()
64 struct aspeed_hace_dev *hace_dev = (struct aspeed_hace_dev *)data; in aspeed_hace_hash_done_task()
70 static void aspeed_hace_register(struct aspeed_hace_dev *hace_dev) in aspeed_hace_register()
80 static void aspeed_hace_unregister(struct aspeed_hace_dev *hace_dev) in aspeed_hace_unregister()
101 struct aspeed_hace_dev *hace_dev; in aspeed_hace_probe()
105 hace_dev = devm_kzalloc(&pdev->dev, sizeof(struct aspeed_hace_dev), in aspeed_hace_probe()
252 struct aspeed_hace_dev *hace_dev = platform_get_drvdata(pdev); in aspeed_hace_remove()
Daspeed-hace-hash.c88 static void aspeed_ahash_fill_padding(struct aspeed_hace_dev *hace_dev, in aspeed_ahash_fill_padding()
126 static int aspeed_ahash_dma_prepare(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_dma_prepare()
175 static int aspeed_ahash_dma_prepare_sg(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_dma_prepare_sg()
282 static int aspeed_ahash_complete(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_complete()
300 static int aspeed_ahash_transfer(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_transfer()
322 static int aspeed_hace_ahash_trigger(struct aspeed_hace_dev *hace_dev, in aspeed_hace_ahash_trigger()
357 static int aspeed_ahash_hmac_resume(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_hmac_resume()
416 static int aspeed_ahash_req_final(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_req_final()
464 static int aspeed_ahash_update_resume_sg(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_update_resume_sg()
495 static int aspeed_ahash_update_resume(struct aspeed_hace_dev *hace_dev) in aspeed_ahash_update_resume()
[all …]
Daspeed-hace-crypto.c55 static int aspeed_hace_crypto_handle_queue(struct aspeed_hace_dev *hace_dev, in aspeed_hace_crypto_handle_queue()
73 struct aspeed_hace_dev *hace_dev = ctx->hace_dev; in aspeed_crypto_do_request()
89 static int aspeed_sk_complete(struct aspeed_hace_dev *hace_dev, int err) in aspeed_sk_complete()
117 static int aspeed_sk_transfer_sg(struct aspeed_hace_dev *hace_dev) in aspeed_sk_transfer_sg()
139 static int aspeed_sk_transfer(struct aspeed_hace_dev *hace_dev) in aspeed_sk_transfer()
169 static int aspeed_sk_start(struct aspeed_hace_dev *hace_dev) in aspeed_sk_start()
208 static int aspeed_sk_start_sg(struct aspeed_hace_dev *hace_dev) in aspeed_sk_start_sg()
351 static int aspeed_hace_skcipher_trigger(struct aspeed_hace_dev *hace_dev) in aspeed_hace_skcipher_trigger()
400 struct aspeed_hace_dev *hace_dev = ctx->hace_dev; in aspeed_des_crypt()
422 struct aspeed_hace_dev *hace_dev = ctx->hace_dev; in aspeed_des_setkey()
[all …]