Lines Matching defs:resp
381 int msg_len, void *resp, int resp_max_len,
386 fw_msg->resp = resp;
396 struct hwrm_func_qcfg_output resp = {0};
403 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
404 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
407 *db_len = PAGE_ALIGN(le16_to_cpu(resp.l2_doorbell_bar_size_kb) * 1024);
408 *offset = PAGE_ALIGN(le16_to_cpu(resp.legacy_l2_db_size_kb) * 1024);
417 struct hwrm_func_qcaps_output resp = {};
426 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
427 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
432 cctx->modes.db_push = le32_to_cpu(resp.flags) & FUNC_QCAPS_RESP_FLAGS_WCB_PUSH_MODE;
435 le32_to_cpu(resp.flags_ext2) &
442 struct hwrm_func_dbr_pacing_qcfg_output resp = {};
451 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
452 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
457 if ((le32_to_cpu(resp.dbr_stat_db_fifo_reg) &
461 le32_to_cpu(resp.dbr_stat_db_fifo_reg) &
652 struct hwrm_ring_free_output resp;
670 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
671 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
685 struct hwrm_ring_alloc_output resp;
706 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
707 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
710 *fw_ring_id = le16_to_cpu(resp.ring_id);
720 struct hwrm_stat_ctx_free_output resp = {};
732 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
733 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
747 struct hwrm_stat_ctx_alloc_output resp = {};
763 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
764 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
767 *fw_stats_ctx_id = le32_to_cpu(resp.stat_ctx_id);
1344 struct hwrm_ver_get_output resp = {};
1354 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp,
1355 sizeof(resp), DFLT_HWRM_CMD_TIMEOUT);
1365 (u64)le16_to_cpu(resp.hwrm_intf_major) << 48 |
1366 (u64)le16_to_cpu(resp.hwrm_intf_minor) << 32 |
1367 (u64)le16_to_cpu(resp.hwrm_intf_build) << 16 |
1368 le16_to_cpu(resp.hwrm_intf_patch);
1370 cctx->hwrm_cmd_max_timeout = le16_to_cpu(resp.max_req_timeout);