Lines Matching refs:rsp_params
137 struct dpseci_rsp_is_enabled *rsp_params; in dpseci_is_enabled() local
147 rsp_params = (struct dpseci_rsp_is_enabled *)cmd.params; in dpseci_is_enabled()
148 *en = dpseci_get_field(rsp_params->is_enabled, ENABLE); in dpseci_is_enabled()
166 struct dpseci_rsp_get_attributes *rsp_params; in dpseci_get_attributes() local
176 rsp_params = (struct dpseci_rsp_get_attributes *)cmd.params; in dpseci_get_attributes()
177 attr->id = le32_to_cpu(rsp_params->id); in dpseci_get_attributes()
178 attr->num_tx_queues = rsp_params->num_tx_queues; in dpseci_get_attributes()
179 attr->num_rx_queues = rsp_params->num_rx_queues; in dpseci_get_attributes()
180 attr->options = le32_to_cpu(rsp_params->options); in dpseci_get_attributes()
276 struct dpseci_rsp_get_tx_queue *rsp_params; in dpseci_get_tx_queue() local
288 rsp_params = (struct dpseci_rsp_get_tx_queue *)cmd.params; in dpseci_get_tx_queue()
289 attr->fqid = le32_to_cpu(rsp_params->fqid); in dpseci_get_tx_queue()
290 attr->priority = rsp_params->priority; in dpseci_get_tx_queue()
308 struct dpseci_rsp_get_sec_attr *rsp_params; in dpseci_get_sec_attr() local
318 rsp_params = (struct dpseci_rsp_get_sec_attr *)cmd.params; in dpseci_get_sec_attr()
319 attr->ip_id = le16_to_cpu(rsp_params->ip_id); in dpseci_get_sec_attr()
320 attr->major_rev = rsp_params->major_rev; in dpseci_get_sec_attr()
321 attr->minor_rev = rsp_params->minor_rev; in dpseci_get_sec_attr()
322 attr->era = rsp_params->era; in dpseci_get_sec_attr()
323 attr->deco_num = rsp_params->deco_num; in dpseci_get_sec_attr()
324 attr->zuc_auth_acc_num = rsp_params->zuc_auth_acc_num; in dpseci_get_sec_attr()
325 attr->zuc_enc_acc_num = rsp_params->zuc_enc_acc_num; in dpseci_get_sec_attr()
326 attr->snow_f8_acc_num = rsp_params->snow_f8_acc_num; in dpseci_get_sec_attr()
327 attr->snow_f9_acc_num = rsp_params->snow_f9_acc_num; in dpseci_get_sec_attr()
328 attr->crc_acc_num = rsp_params->crc_acc_num; in dpseci_get_sec_attr()
329 attr->pk_acc_num = rsp_params->pk_acc_num; in dpseci_get_sec_attr()
330 attr->kasumi_acc_num = rsp_params->kasumi_acc_num; in dpseci_get_sec_attr()
331 attr->rng_acc_num = rsp_params->rng_acc_num; in dpseci_get_sec_attr()
332 attr->md_acc_num = rsp_params->md_acc_num; in dpseci_get_sec_attr()
333 attr->arc4_acc_num = rsp_params->arc4_acc_num; in dpseci_get_sec_attr()
334 attr->des_acc_num = rsp_params->des_acc_num; in dpseci_get_sec_attr()
335 attr->aes_acc_num = rsp_params->aes_acc_num; in dpseci_get_sec_attr()
336 attr->ccha_acc_num = rsp_params->ccha_acc_num; in dpseci_get_sec_attr()
337 attr->ptha_acc_num = rsp_params->ptha_acc_num; in dpseci_get_sec_attr()
355 struct dpseci_rsp_get_api_version *rsp_params; in dpseci_get_api_version() local
364 rsp_params = (struct dpseci_rsp_get_api_version *)cmd.params; in dpseci_get_api_version()
365 *major_ver = le16_to_cpu(rsp_params->major); in dpseci_get_api_version()
366 *minor_ver = le16_to_cpu(rsp_params->minor); in dpseci_get_api_version()
420 struct dpseci_cmd_congestion_notification *rsp_params; in dpseci_get_congestion_notification() local
431 rsp_params = (struct dpseci_cmd_congestion_notification *)cmd.params; in dpseci_get_congestion_notification()
432 cfg->dest_cfg.dest_id = le32_to_cpu(rsp_params->dest_id); in dpseci_get_congestion_notification()
433 cfg->notification_mode = le16_to_cpu(rsp_params->notification_mode); in dpseci_get_congestion_notification()
434 cfg->dest_cfg.priority = rsp_params->priority; in dpseci_get_congestion_notification()
435 cfg->dest_cfg.dest_type = dpseci_get_field(rsp_params->options, in dpseci_get_congestion_notification()
437 cfg->units = dpseci_get_field(rsp_params->options, CGN_UNITS); in dpseci_get_congestion_notification()
438 cfg->message_iova = le64_to_cpu(rsp_params->message_iova); in dpseci_get_congestion_notification()
439 cfg->message_ctx = le64_to_cpu(rsp_params->message_ctx); in dpseci_get_congestion_notification()
440 cfg->threshold_entry = le32_to_cpu(rsp_params->threshold_entry); in dpseci_get_congestion_notification()
441 cfg->threshold_exit = le32_to_cpu(rsp_params->threshold_exit); in dpseci_get_congestion_notification()