Searched refs:hash_engine (Results 1 – 5 of 5) sorted by relevance
128 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare() local129 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare()139 memcpy(hash_engine->ahash_src_addr, rctx->buffer, rctx->bufcnt); in aspeed_ahash_dma_prepare()142 scatterwalk_map_and_copy(hash_engine->ahash_src_addr + in aspeed_ahash_dma_prepare()164 hash_engine->src_length = length - remain; in aspeed_ahash_dma_prepare()165 hash_engine->src_dma = hash_engine->ahash_src_dma_addr; in aspeed_ahash_dma_prepare()166 hash_engine->digest_dma = rctx->digest_dma_addr; in aspeed_ahash_dma_prepare()177 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare_sg() local178 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare_sg()200 src_list = (struct aspeed_sg_list *)hash_engine->ahash_src_addr; in aspeed_ahash_dma_prepare_sg()[all …]
29 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_irq() local38 if (hash_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq()39 tasklet_schedule(&hash_engine->done_task); in aspeed_hace_irq()65 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_hash_done_task() local67 hash_engine->resume(hace_dev); in aspeed_hace_hash_done_task()100 struct aspeed_engine_hash *hash_engine; in aspeed_hace_probe() local118 hash_engine = &hace_dev->hash_engine; in aspeed_hace_probe()166 tasklet_init(&hash_engine->done_task, aspeed_hace_hash_done_task, in aspeed_hace_probe()185 hash_engine->ahash_src_addr = in aspeed_hace_probe()188 &hash_engine->ahash_src_dma_addr, in aspeed_hace_probe()[all …]
268 struct aspeed_engine_hash hash_engine; member
855 rss_engine.hash_engine = type; in hinic_rss_set_hash_engine()898 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
432 u8 hash_engine; member