Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c96 struct hclge_desc *desc_src, in hclge_dbg_cmd_send() argument
100 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
112 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); in hclge_dbg_cmd_send()
128 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common() local
149 desc_src = kzalloc(buf_len, GFP_KERNEL); in hclge_dbg_dump_reg_common()
150 if (!desc_src) { in hclge_dbg_dump_reg_common()
155 desc = desc_src; in hclge_dbg_dump_reg_common()
158 kfree(desc_src); in hclge_dbg_dump_reg_common()
165 desc = desc_src; in hclge_dbg_dump_reg_common()
177 kfree(desc_src); in hclge_dbg_dump_reg_common()
[all …]
Dhclge_main.c9790 struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_cmd_send() argument
9793 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_cmd_send()
9803 desc = desc_src; in hclge_dfx_reg_cmd_send()
9813 static int hclge_dfx_reg_fetch_data(struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_fetch_data() argument
9817 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_fetch_data()
9864 struct hclge_desc *desc_src; in hclge_get_dfx_reg() local
9879 buf_len = sizeof(*desc_src) * bd_num_max; in hclge_get_dfx_reg()
9880 desc_src = kzalloc(buf_len, GFP_KERNEL); in hclge_get_dfx_reg()
9881 if (!desc_src) { in hclge_get_dfx_reg()
9888 ret = hclge_dfx_reg_cmd_send(hdev, desc_src, bd_num, in hclge_get_dfx_reg()
[all …]
/Linux-v5.4/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()