Lines Matching refs:rcfw

55 static void bnxt_qplib_query_version(struct bnxt_qplib_rcfw *rcfw,  in bnxt_qplib_query_version()  argument
65 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_query_version()
75 int bnxt_qplib_get_dev_attr(struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_get_dev_attr() argument
89 sbuf = bnxt_qplib_rcfw_alloc_sbuf(rcfw, sizeof(*sb)); in bnxt_qplib_get_dev_attr()
91 dev_err(&rcfw->pdev->dev, in bnxt_qplib_get_dev_attr()
98 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_get_dev_attr()
146 bnxt_qplib_query_version(rcfw, attr->fw_ver); in bnxt_qplib_get_dev_attr()
159 bnxt_qplib_rcfw_free_sbuf(rcfw, sbuf); in bnxt_qplib_get_dev_attr()
164 struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_set_func_resources() argument
185 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_set_func_resources()
216 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_del_sgid() local
251 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_del_sgid()
276 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_add_sgid() local
338 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_add_sgid()
366 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_update_sgid() local
391 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_update_sgid()
488 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_create_ah() local
519 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_create_ah()
530 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_destroy_ah() local
541 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_destroy_ah()
551 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_free_mrw() local
574 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_free_mrw()
588 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_alloc_mrw() local
607 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_alloc_mrw()
624 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_dereg_mrw() local
633 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_dereg_mrw()
651 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_reg_mr() local
722 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, in bnxt_qplib_reg_mr()
769 struct bnxt_qplib_rcfw *rcfw = res->rcfw; in bnxt_qplib_map_tc2cos() local
778 bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, NULL, in bnxt_qplib_map_tc2cos()
783 int bnxt_qplib_get_roce_stats(struct bnxt_qplib_rcfw *rcfw, in bnxt_qplib_get_roce_stats() argument
795 sbuf = bnxt_qplib_rcfw_alloc_sbuf(rcfw, sizeof(*sb)); in bnxt_qplib_get_roce_stats()
797 dev_err(&rcfw->pdev->dev, in bnxt_qplib_get_roce_stats()
804 rc = bnxt_qplib_rcfw_send_message(rcfw, (void *)&req, (void *)&resp, in bnxt_qplib_get_roce_stats()
849 bnxt_qplib_rcfw_free_sbuf(rcfw, sbuf); in bnxt_qplib_get_roce_stats()