Lines Matching refs:fw_msg

441 static void bnxt_re_fill_fw_msg(struct bnxt_fw_msg *fw_msg, void *msg,  in bnxt_re_fill_fw_msg()  argument
445 fw_msg->msg = msg; in bnxt_re_fill_fw_msg()
446 fw_msg->msg_len = msg_len; in bnxt_re_fill_fw_msg()
447 fw_msg->resp = resp; in bnxt_re_fill_fw_msg()
448 fw_msg->resp_max_len = resp_max_len; in bnxt_re_fill_fw_msg()
449 fw_msg->timeout = timeout; in bnxt_re_fill_fw_msg()
458 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_free() local
467 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_free()
472 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_free()
474 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_free()
488 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_alloc() local
494 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_alloc()
509 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_alloc()
511 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_alloc()
523 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_free() local
532 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_free()
536 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&req, in bnxt_re_net_stats_ctx_free()
538 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_free()
553 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_alloc() local
561 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_alloc()
568 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_stats_ctx_alloc()
570 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_alloc()
1104 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_pri2cos() local
1112 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_pri2cos()
1120 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_pri2cos()
1122 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_pri2cos()
1294 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_intf_version() local
1297 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_intf_version()
1303 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_intf_version()
1305 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_intf_version()