Searched refs:hash_engine (Results 1 – 5 of 5) sorted by relevance
117 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare() local118 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare()128 memcpy(hash_engine->ahash_src_addr, rctx->buffer, rctx->bufcnt); in aspeed_ahash_dma_prepare()131 scatterwalk_map_and_copy(hash_engine->ahash_src_addr + in aspeed_ahash_dma_prepare()153 hash_engine->src_length = length - remain; in aspeed_ahash_dma_prepare()154 hash_engine->src_dma = hash_engine->ahash_src_dma_addr; in aspeed_ahash_dma_prepare()155 hash_engine->digest_dma = rctx->digest_dma_addr; in aspeed_ahash_dma_prepare()166 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare_sg() local167 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare_sg()189 src_list = (struct aspeed_sg_list *)hash_engine->ahash_src_addr; in aspeed_ahash_dma_prepare_sg()[all …]
34 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_irq() local43 if (hash_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq()44 tasklet_schedule(&hash_engine->done_task); in aspeed_hace_irq()70 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_hash_done_task() local72 hash_engine->resume(hace_dev); in aspeed_hace_hash_done_task()105 struct aspeed_engine_hash *hash_engine; in aspeed_hace_probe() local122 hash_engine = &hace_dev->hash_engine; in aspeed_hace_probe()168 tasklet_init(&hash_engine->done_task, aspeed_hace_hash_done_task, in aspeed_hace_probe()187 hash_engine->ahash_src_addr = in aspeed_hace_probe()190 &hash_engine->ahash_src_dma_addr, in aspeed_hace_probe()[all …]
254 struct aspeed_engine_hash hash_engine; member
870 rss_engine.hash_engine = type; in hinic_rss_set_hash_engine()913 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
442 u8 hash_engine; member