Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.c659 struct hclge_desc *desc, u32 cmd, u16 flag) in hclge_cmd_query_error()
681 struct hclge_desc desc; in hclge_clear_mac_tnl_int()
692 struct hclge_desc desc[2]; in hclge_config_common_hw_err_int()
729 struct hclge_desc desc; in hclge_config_ncsi_hw_err_int()
751 struct hclge_desc desc; in hclge_config_igu_egu_hw_err_int()
791 struct hclge_desc desc[2]; in hclge_config_ppp_error_interrupt()
854 struct hclge_desc desc; in hclge_config_tm_hw_err_int()
890 struct hclge_desc desc; in hclge_config_mac_err_int()
910 struct hclge_desc desc; in hclge_config_mac_tnl_int()
927 struct hclge_desc desc[2]; in hclge_config_ppu_error_interrupts()
[all …]
Dhclge_cmd.c38 int size = ring->desc_num * sizeof(struct hclge_desc); in hclge_alloc_cmd_desc()
50 int size = ring->desc_num * sizeof(struct hclge_desc); in hclge_free_cmd_desc()
79 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read) in hclge_cmd_reuse_desc()
88 void hclge_cmd_setup_basic_desc(struct hclge_desc *desc, in hclge_cmd_setup_basic_desc()
91 memset((void *)desc, 0, sizeof(struct hclge_desc)); in hclge_cmd_setup_basic_desc()
224 static int hclge_cmd_check_retval(struct hclge_hw *hw, struct hclge_desc *desc, in hclge_cmd_check_retval()
256 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num) in hclge_cmd_send()
260 struct hclge_desc *desc_to_use; in hclge_cmd_send()
365 struct hclge_desc desc; in hclge_cmd_query_version_and_capability()
428 struct hclge_desc desc; in hclge_firmware_compat_config()
Dhclge_tm.c117 struct hclge_desc desc[HCLGE_TM_PFC_PKT_GET_CMD_NUM]; in hclge_pfc_stats_get()
162 struct hclge_desc desc; in hclge_mac_pause_en_cfg()
175 struct hclge_desc desc; in hclge_pfc_pause_en_cfg()
190 struct hclge_desc desc; in hclge_pause_param_cfg()
207 struct hclge_desc desc; in hclge_pause_addr_cfg()
251 struct hclge_desc desc; in hclge_up_to_tc_map()
271 struct hclge_desc desc; in hclge_tm_pg_to_pri_map_cfg()
287 struct hclge_desc desc; in hclge_tm_qs_to_pri_map_cfg()
304 struct hclge_desc desc; in hclge_tm_q_to_qs_map_cfg()
320 struct hclge_desc desc; in hclge_tm_pg_weight_cfg()
[all …]
Dhclge_debugfs.c76 struct hclge_desc desc[HCLGE_GET_DFX_REG_TYPE_CNT]; in hclge_dbg_get_dfx_bd_num()
94 struct hclge_desc *desc_src, in hclge_dbg_cmd_send()
98 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send()
126 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common()
127 struct hclge_desc *desc; in hclge_dbg_dump_reg_common()
146 buf_len = sizeof(struct hclge_desc) * bd_num; in hclge_dbg_dump_reg_common()
179 struct hclge_desc desc; in hclge_dbg_dump_mac_enable_status()
228 struct hclge_desc desc; in hclge_dbg_dump_mac_frame_size()
254 struct hclge_desc desc; in hclge_dbg_dump_mac_speed_duplex()
291 struct hclge_desc desc[2]; in hclge_dbg_dump_dcb()
[all …]
Dhclge_main.c427 struct hclge_desc desc[HCLGE_MAC_CMD_NUM]; in hclge_mac_update_stats_defective()
464 struct hclge_desc *desc; in hclge_mac_update_stats_complete()
472 desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC); in hclge_mac_update_stats_complete()
507 struct hclge_desc desc; in hclge_mac_query_reg_num()
550 struct hclge_desc desc[1]; in hclge_tqps_update_stats()
853 struct hclge_desc desc; in hclge_query_function_status()
880 struct hclge_desc desc; in hclge_query_pf_resource()
1259 static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *desc) in hclge_parse_cfg()
1332 struct hclge_desc desc[HCLGE_PF_CFG_DESC_NUM]; in hclge_get_cfg()
1375 struct hclge_desc *desc) in hclge_parse_dev_specs()
[all …]
Dhclge_cmd.h16 struct hclge_desc { struct
30 struct hclge_desc *desc; argument
1132 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
1133 void hclge_cmd_setup_basic_desc(struct hclge_desc *desc,
1135 void hclge_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
1138 struct hclge_desc *desc);
1140 struct hclge_desc *desc);
Dhclge_mdio.c47 struct hclge_desc desc; in hclge_mdio_write()
85 struct hclge_desc desc; in hclge_mdio_read()
Dhclge_mbx.c37 struct hclge_desc desc; in hclge_gen_resp_to_vf()
92 struct hclge_desc desc; in hclge_send_mbx_msg()
701 struct hclge_desc *desc; in hclge_mbx_handler()
Dhclge_main.h1012 struct hclge_desc *desc);