Lines Matching refs:fw_msg

447 static void bnxt_re_fill_fw_msg(struct bnxt_fw_msg *fw_msg, void *msg,  in bnxt_re_fill_fw_msg()  argument
451 fw_msg->msg = msg; in bnxt_re_fill_fw_msg()
452 fw_msg->msg_len = msg_len; in bnxt_re_fill_fw_msg()
453 fw_msg->resp = resp; in bnxt_re_fill_fw_msg()
454 fw_msg->resp_max_len = resp_max_len; in bnxt_re_fill_fw_msg()
455 fw_msg->timeout = timeout; in bnxt_re_fill_fw_msg()
464 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_free() local
473 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_free()
478 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_free()
480 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_free()
494 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_alloc() local
500 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_alloc()
515 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_alloc()
517 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_alloc()
530 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_free() local
539 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_free()
543 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_stats_ctx_free()
545 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_free()
561 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_alloc() local
569 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_alloc()
576 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_stats_ctx_alloc()
578 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_alloc()
1101 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_pri2cos() local
1109 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_pri2cos()
1117 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_pri2cos()
1119 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_pri2cos()
1291 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_intf_version() local
1294 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_intf_version()
1300 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_intf_version()
1302 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_intf_version()