Lines Matching refs:enc_cmd
40 if (rctx->enc_cmd & HACE_CMD_ENCRYPT) in aspeed_crypto_do_fallback()
55 if ((rctx->enc_cmd & HACE_CMD_DES_SELECT) && in aspeed_crypto_need_fallback()
59 if ((!(rctx->enc_cmd & HACE_CMD_DES_SELECT)) && in aspeed_crypto_need_fallback()
111 if (rctx->enc_cmd & HACE_CMD_IV_REQUIRE) { in aspeed_sk_complete()
112 if (rctx->enc_cmd & HACE_CMD_DES_SELECT) in aspeed_sk_complete()
214 ast_hace_write(hace_dev, rctx->enc_cmd, ASPEED_HACE_CMD); in aspeed_sk_start()
237 rctx->enc_cmd |= HACE_CMD_DES_SG_CTRL | HACE_CMD_SRC_SG_CTRL | in aspeed_sk_start_sg()
338 ast_hace_write(hace_dev, rctx->enc_cmd, ASPEED_HACE_CMD); in aspeed_sk_start_sg()
378 rctx->enc_cmd |= HACE_CMD_ISR_EN; in aspeed_hace_skcipher_trigger()
386 if (rctx->enc_cmd & HACE_CMD_IV_REQUIRE) { in aspeed_hace_skcipher_trigger()
387 if (rctx->enc_cmd & HACE_CMD_DES_SELECT) in aspeed_hace_skcipher_trigger()
421 rctx->enc_cmd = cmd | HACE_CMD_DES_SELECT | HACE_CMD_RI_WO_DATA_ENABLE | in aspeed_des_crypt()
569 rctx->enc_cmd = cmd; in aspeed_aes_crypt()