Lines Matching refs:fw_msg

337 static void bnxt_re_fill_fw_msg(struct bnxt_fw_msg *fw_msg, void *msg,  in bnxt_re_fill_fw_msg()  argument
341 fw_msg->msg = msg; in bnxt_re_fill_fw_msg()
342 fw_msg->msg_len = msg_len; in bnxt_re_fill_fw_msg()
343 fw_msg->resp = resp; in bnxt_re_fill_fw_msg()
344 fw_msg->resp_max_len = resp_max_len; in bnxt_re_fill_fw_msg()
345 fw_msg->timeout = timeout; in bnxt_re_fill_fw_msg()
353 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_free() local
359 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_free()
364 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_free()
366 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_free()
380 struct bnxt_fw_msg fw_msg; in bnxt_re_net_ring_alloc() local
386 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_ring_alloc()
401 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_ring_alloc()
403 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_ring_alloc()
415 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_free() local
421 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_free()
425 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&req, in bnxt_re_net_stats_ctx_free()
427 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_free()
442 struct bnxt_fw_msg fw_msg; in bnxt_re_net_stats_ctx_alloc() local
450 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_net_stats_ctx_alloc()
456 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_net_stats_ctx_alloc()
458 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_net_stats_ctx_alloc()
1008 struct bnxt_fw_msg fw_msg; in bnxt_re_query_hwrm_pri2cos() local
1016 memset(&fw_msg, 0, sizeof(fw_msg)); in bnxt_re_query_hwrm_pri2cos()
1024 bnxt_re_fill_fw_msg(&fw_msg, (void *)&req, sizeof(req), (void *)&resp, in bnxt_re_query_hwrm_pri2cos()
1026 rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); in bnxt_re_query_hwrm_pri2cos()