Lines Matching refs:cdesc

59 static void safexcel_hash_token(struct safexcel_command_desc *cdesc,  in safexcel_hash_token()  argument
63 (struct safexcel_token *)cdesc->control_data.token; in safexcel_hash_token()
80 struct safexcel_command_desc *cdesc, in safexcel_context_control() argument
86 cdesc->control_data.control0 |= CONTEXT_CONTROL_TYPE_HASH_OUT; in safexcel_context_control()
87 cdesc->control_data.control0 |= ctx->alg; in safexcel_context_control()
88 cdesc->control_data.control0 |= req->digest; in safexcel_context_control()
93 cdesc->control_data.control0 |= CONTEXT_CONTROL_SIZE(5); in safexcel_context_control()
95 cdesc->control_data.control0 |= CONTEXT_CONTROL_SIZE(6); in safexcel_context_control()
98 cdesc->control_data.control0 |= CONTEXT_CONTROL_SIZE(9); in safexcel_context_control()
101 cdesc->control_data.control0 |= CONTEXT_CONTROL_SIZE(17); in safexcel_context_control()
103 cdesc->control_data.control1 |= CONTEXT_CONTROL_DIGEST_CNT; in safexcel_context_control()
105 cdesc->control_data.control0 |= CONTEXT_CONTROL_RESTART_HASH; in safexcel_context_control()
109 cdesc->control_data.control0 |= CONTEXT_CONTROL_NO_FINISH_HASH; in safexcel_context_control()
140 cdesc->control_data.control0 |= CONTEXT_CONTROL_SIZE(2 * req->state_sz / sizeof(u32)); in safexcel_context_control()
209 struct safexcel_command_desc *cdesc, *first_cdesc = NULL; in safexcel_ahash_send_req() local
287 cdesc = safexcel_add_cdesc(priv, ring, !n_cdesc, in safexcel_ahash_send_req()
290 if (IS_ERR(cdesc)) { in safexcel_ahash_send_req()
291 ret = PTR_ERR(cdesc); in safexcel_ahash_send_req()
297 first_cdesc = cdesc; in safexcel_ahash_send_req()