Home
last modified time | relevance | path

Searched refs:hclge_desc (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_regs.c179 struct hclge_desc *desc; in hclge_get_32_bit_regs()
193 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_32_bit_regs()
233 struct hclge_desc *desc; in hclge_get_64_bit_regs()
247 desc = kcalloc(cmd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_get_64_bit_regs()
281 int hclge_query_bd_num_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc) in hclge_query_bd_num_cmd_send()
303 struct hclge_desc desc[HCLGE_GET_DFX_REG_TYPE_CNT]; in hclge_get_dfx_reg_bd_num()
325 struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_cmd_send()
328 struct hclge_desc *desc = desc_src; in hclge_dfx_reg_cmd_send()
350 struct hclge_desc *desc, int bd_num) in hclge_dfx_reg_rpu_tnl_cmd_send()
370 static int hclge_dfx_reg_fetch_data(struct hclge_desc *desc_src, int bd_num, in hclge_dfx_reg_fetch_data()
[all …]
Dhclge_tm.c164 struct hclge_desc desc; in hclge_mac_pause_en_cfg()
177 struct hclge_desc desc; in hclge_pfc_pause_en_cfg()
192 struct hclge_desc desc; in hclge_pause_param_cfg()
209 struct hclge_desc desc; in hclge_pause_addr_cfg()
253 struct hclge_desc desc; in hclge_up_to_tc_map()
281 struct hclge_desc desc[HCLGE_DSCP_MAP_TC_BD_NUM]; in hclge_dscp_to_tc_map()
314 struct hclge_desc desc; in hclge_tm_pg_to_pri_map_cfg()
330 struct hclge_desc desc; in hclge_tm_qs_to_pri_map_cfg()
347 struct hclge_desc desc; in hclge_tm_q_to_qs_map_cfg()
381 struct hclge_desc desc; in hclge_tm_pg_weight_cfg()
[all …]
Dhclge_debugfs.c779 struct hclge_desc desc[HCLGE_GET_DFX_REG_TYPE_CNT]; in hclge_dbg_get_dfx_bd_num()
804 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src, in hclge_dbg_cmd_send()
807 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
833 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_tqp()
836 struct hclge_desc *desc; in hclge_dbg_dump_reg_tqp()
842 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_tqp()
887 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common()
889 struct hclge_desc *desc; in hclge_dbg_dump_reg_common()
896 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_common()
947 struct hclge_desc desc; in hclge_dbg_dump_mac_enable_status()
[all …]
Dhclge_err.c1507 hclge_print_mod_reg_info(struct device *dev, struct hclge_desc *desc, in hclge_print_mod_reg_info()
1572 desc_len = msg->bd_num * sizeof(struct hclge_desc); in hclge_query_reg_info()
1789 struct hclge_desc *desc, u32 cmd, u16 flag) in hclge_cmd_query_error()
1811 struct hclge_desc desc; in hclge_clear_mac_tnl_int()
1822 struct hclge_desc desc[2]; in hclge_config_common_hw_err_int()
1859 struct hclge_desc desc; in hclge_config_ncsi_hw_err_int()
1881 struct hclge_desc desc; in hclge_config_igu_egu_hw_err_int()
1921 struct hclge_desc desc[2]; in hclge_config_ppp_error_interrupt()
1984 struct hclge_desc desc; in hclge_config_tm_hw_err_int()
2017 struct hclge_desc desc; in hclge_config_mac_err_int()
[all …]
Dhclge_trace.h13 #define PF_DESC_LEN (sizeof(struct hclge_desc) / sizeof(u32))
83 struct hclge_desc *desc,
118 struct hclge_desc *desc,
126 struct hclge_desc *desc,
Dhclge_mdio.c47 struct hclge_desc desc; in hclge_mdio_write()
85 struct hclge_desc desc; in hclge_mdio_read()
280 struct hclge_desc desc; in hclge_read_phy_reg()
299 struct hclge_desc desc; in hclge_write_phy_reg()
Dhclge_regs.h13 struct hclge_desc *desc);
Dhclge_main.c392 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num) in hclge_cmd_send()
397 static void hclge_trace_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_send()
414 static void hclge_trace_cmd_get(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_get()
444 struct hclge_desc desc[HCLGE_MAC_CMD_NUM]; in hclge_mac_update_stats_defective()
481 struct hclge_desc *desc; in hclge_mac_update_stats_complete()
494 desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC); in hclge_mac_update_stats_complete()
524 struct hclge_desc desc; in hclge_mac_query_reg_num()
808 struct hclge_desc desc; in hclge_query_function_status()
835 struct hclge_desc desc; in hclge_query_pf_resource()
1244 static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *desc) in hclge_parse_cfg()
[all …]
Dhclge_debugfs.h134 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src,
Dhclge_ptp.c215 struct hclge_desc desc; in hclge_ptp_int_en()
234 struct hclge_desc desc; in hclge_ptp_cfg_qry()
254 struct hclge_desc desc; in hclge_ptp_cfg()
Dhclge_mbx.c38 struct hclge_desc desc; in hclge_gen_resp_to_vf()
97 struct hclge_desc desc; in hclge_send_mbx_msg()
261 struct hclge_desc *desc) in hclge_query_ring_vector_map()
299 struct hclge_desc desc; in hclge_get_vf_ring_vector_map()
1110 struct hclge_desc *desc; in hclge_mbx_handler()
Dhclge_err.h248 struct hclge_desc *desc;
Dhclge_cmd.h891 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_cmd.h406 struct hclge_desc { struct
416 struct hclge_desc *desc; argument
439 struct hclge_desc *desc,
442 struct hclge_desc *desc,
483 int hclge_comm_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc,
485 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
489 void hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc,
Dhclge_comm_cmd.c42 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_comm_cmd_reuse_desc()
64 void hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc, in hclge_comm_cmd_setup_basic_desc()
68 memset((void *)desc, 0, sizeof(struct hclge_desc)); in hclge_comm_cmd_setup_basic_desc()
82 struct hclge_desc desc; in hclge_comm_firmware_compat_config()
106 int size = ring->desc_num * sizeof(struct hclge_desc); in hclge_comm_free_cmd_desc()
118 int size = ring->desc_num * sizeof(struct hclge_desc); in hclge_comm_alloc_cmd_desc()
233 struct hclge_desc desc; in hclge_comm_cmd_query_version_and_capability()
296 struct hclge_desc *desc, int num) in hclge_comm_cmd_copy_desc()
298 struct hclge_desc *desc_to_use; in hclge_comm_cmd_copy_desc()
412 struct hclge_desc *desc, int num, in hclge_comm_cmd_check_retval()
[all …]
Dhclge_comm_rss.c88 struct hclge_desc desc; in hclge_comm_set_rss_tc_mode()
157 struct hclge_desc desc; in hclge_comm_set_rss_tuple()
280 struct hclge_desc desc; in hclge_comm_set_rss_indir_table()
321 struct hclge_desc desc; in hclge_comm_set_rss_input_tuple()
388 struct hclge_desc desc; in hclge_comm_set_rss_algo_key()
Dhclge_comm_tqp_stats.c68 struct hclge_desc desc; in hclge_comm_tqps_update_stats()
/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_trace.h82 struct hclge_desc *desc,
118 struct hclge_desc *desc,
125 struct hclge_desc *desc,
Dhclgevf_cmd.h134 int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclge_desc *desc, int num);
Dhclgevf_mbx.c106 struct hclge_desc desc; in hclgevf_send_mbx_msg()
228 struct hclge_desc *desc; in hclgevf_mbx_handler()
Dhclgevf_main.c46 int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclge_desc *desc, int num) in hclgevf_cmd_send()
51 static void hclgevf_trace_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclgevf_trace_cmd_send()
65 static void hclgevf_trace_cmd_get(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclgevf_trace_cmd_get()
826 struct hclge_desc desc; in hclgevf_tqp_enable_cmd_send()
2131 struct hclge_desc desc; in hclgevf_config_gro()
2639 struct hclge_desc desc; in hclgevf_query_vf_resource()
2702 struct hclge_desc *desc) in hclgevf_parse_dev_specs()
2738 struct hclge_desc desc[HCLGEVF_QUERY_DEV_SPECS_BD_NUM]; in hclgevf_query_dev_specs()