Home
last modified time | relevance | path

Searched refs:desc_src (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c94 struct hclge_desc *desc_src, in hclge_dbg_cmd_send() argument
98 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
110 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); in hclge_dbg_cmd_send()
126 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common() local
147 desc_src = kzalloc(buf_len, GFP_KERNEL); in hclge_dbg_dump_reg_common()
148 if (!desc_src) in hclge_dbg_dump_reg_common()
151 desc = desc_src; in hclge_dbg_dump_reg_common()
154 kfree(desc_src); in hclge_dbg_dump_reg_common()
161 desc = desc_src; in hclge_dbg_dump_reg_common()
173 kfree(desc_src); in hclge_dbg_dump_reg_common()
[all …]
Dhclge_main.c10885 struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_cmd_send() argument
10888 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_cmd_send()
10898 desc = desc_src; in hclge_dfx_reg_cmd_send()
10908 static int hclge_dfx_reg_fetch_data(struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_fetch_data() argument
10912 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_fetch_data()
10960 struct hclge_desc *desc_src; in hclge_get_dfx_reg() local
10975 buf_len = sizeof(*desc_src) * bd_num_max; in hclge_get_dfx_reg()
10976 desc_src = kzalloc(buf_len, GFP_KERNEL); in hclge_get_dfx_reg()
10977 if (!desc_src) in hclge_get_dfx_reg()
10982 ret = hclge_dfx_reg_cmd_send(hdev, desc_src, bd_num, in hclge_get_dfx_reg()
[all …]
/Linux-v5.10/drivers/dma/bestcomm/
Dbestcomm.c145 u32 *desc_src, *var_src, *inc_src; in bcom_load_image() local
192 desc_src = (u32 *)(hdr + 1); in bcom_load_image()
193 var_src = desc_src + hdr->desc_size; in bcom_load_image()
196 memcpy(desc, desc_src, hdr->desc_size * sizeof(u32)); in bcom_load_image()