Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c144 struct hclge_desc *desc_src, in hclge_dbg_cmd_send() argument
148 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
160 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); in hclge_dbg_cmd_send()
174 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_tqp() local
183 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_tqp()
184 if (!desc_src) in hclge_dbg_dump_reg_tqp()
200 desc = desc_src; in hclge_dbg_dump_reg_tqp()
217 kfree(desc_src); in hclge_dbg_dump_reg_tqp()
228 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common() local
237 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_common()
[all …]
Dhclge_main.c12436 struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_cmd_send() argument
12439 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_cmd_send()
12449 desc = desc_src; in hclge_dfx_reg_cmd_send()
12459 static int hclge_dfx_reg_fetch_data(struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_fetch_data() argument
12463 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_fetch_data()
12516 struct hclge_desc *desc_src; in hclge_get_dfx_reg() local
12536 buf_len = sizeof(*desc_src) * bd_num_max; in hclge_get_dfx_reg()
12537 desc_src = kzalloc(buf_len, GFP_KERNEL); in hclge_get_dfx_reg()
12538 if (!desc_src) { in hclge_get_dfx_reg()
12545 ret = hclge_dfx_reg_cmd_send(hdev, desc_src, bd_num, in hclge_get_dfx_reg()
[all …]
/linux-6.1.9/drivers/dma/bestcomm/
Dbestcomm.c143 u32 *desc_src, *var_src, *inc_src; in bcom_load_image() local
190 desc_src = (u32 *)(hdr + 1); in bcom_load_image()
191 var_src = desc_src + hdr->desc_size; in bcom_load_image()
194 memcpy_toio(desc, desc_src, hdr->desc_size * sizeof(u32)); in bcom_load_image()