Lines Matching refs:desc_src

804 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src,  in hclge_dbg_cmd_send()  argument
807 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
819 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); in hclge_dbg_cmd_send()
833 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_tqp() local
842 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_tqp()
843 if (!desc_src) in hclge_dbg_dump_reg_tqp()
859 desc = desc_src; in hclge_dbg_dump_reg_tqp()
876 kfree(desc_src); in hclge_dbg_dump_reg_tqp()
887 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common() local
896 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_common()
897 if (!desc_src) in hclge_dbg_dump_reg_common()
900 desc = desc_src; in hclge_dbg_dump_reg_common()
922 kfree(desc_src); in hclge_dbg_dump_reg_common()
2416 static void hclge_dbg_imp_info_data_print(struct hclge_desc *desc_src, in hclge_dbg_imp_info_data_print() argument
2421 struct hclge_desc *desc_index = desc_src; in hclge_dbg_imp_info_data_print()
2447 struct hclge_desc *desc_src; in hclge_dbg_get_imp_stats_info() local
2469 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_get_imp_stats_info()
2470 if (!desc_src) in hclge_dbg_get_imp_stats_info()
2473 ret = hclge_dbg_cmd_send(hdev, desc_src, 0, bd_num, in hclge_dbg_get_imp_stats_info()
2476 kfree(desc_src); in hclge_dbg_get_imp_stats_info()
2482 hclge_dbg_imp_info_data_print(desc_src, buf, len, bd_num); in hclge_dbg_get_imp_stats_info()
2484 kfree(desc_src); in hclge_dbg_get_imp_stats_info()