Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_regs.c179 struct hclge_desc *desc; in hclge_get_32_bit_regs()
193 desc = kzalloc_objs(struct hclge_desc, cmd_num); in hclge_get_32_bit_regs()
233 struct hclge_desc *desc; in hclge_get_64_bit_regs()
247 desc = kzalloc_objs(struct hclge_desc, cmd_num); 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 …]
H A 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 …]
H A 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()
1790 struct hclge_desc *desc, u32 cmd, u16 flag) in hclge_cmd_query_error()
1812 struct hclge_desc desc; in hclge_clear_mac_tnl_int()
1823 struct hclge_desc desc[2]; in hclge_config_common_hw_err_int()
1860 struct hclge_desc desc; in hclge_config_ncsi_hw_err_int()
1882 struct hclge_desc desc; in hclge_config_igu_egu_hw_err_int()
1922 struct hclge_desc desc[2]; in hclge_config_ppp_error_interrupt()
1985 struct hclge_desc desc; in hclge_config_tm_hw_err_int()
2018 struct hclge_desc desc; in hclge_config_mac_err_int()
[all …]
H A 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()
302 struct hclge_desc desc; in hclge_write_phy_reg()
H A Dhclge_main.c320 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num) in hclge_cmd_send()
325 static void hclge_trace_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_send()
342 static void hclge_trace_cmd_get(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_get()
372 struct hclge_desc desc[HCLGE_MAC_CMD_NUM]; in hclge_mac_update_stats_defective()
409 struct hclge_desc *desc; in hclge_mac_update_stats_complete()
422 desc = kzalloc_objs(struct hclge_desc, desc_num, GFP_ATOMIC); in hclge_mac_update_stats_complete()
452 struct hclge_desc desc; in hclge_mac_query_reg_num()
726 struct hclge_desc desc; in hclge_query_function_status()
753 struct hclge_desc desc; in hclge_query_pf_resource()
1162 static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *desc) in hclge_parse_cfg()
[all …]
H A Dhclge_regs.h13 struct hclge_desc *desc);
H A Dhclge_debugfs.h135 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src,
H A 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()
1111 struct hclge_desc *desc; in hclge_mbx_handler()
H A Dhclge_err.h248 struct hclge_desc *desc;
H A Dhclge_cmd.h903 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_cmd.h409 struct hclge_desc { struct
419 struct hclge_desc *desc; argument
442 struct hclge_desc *desc,
445 struct hclge_desc *desc,
486 int hclge_comm_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc,
488 void hclge_comm_cmd_reuse_desc(struct hclge_desc *desc, bool is_read);
492 void hclge_comm_cmd_setup_basic_desc(struct hclge_desc *desc,
H A 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 …]
H A 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()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.h134 int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclge_desc *desc, int num);
H A Dhclgevf_mbx.c106 struct hclge_desc desc; in hclgevf_send_mbx_msg()
228 struct hclge_desc *desc; in hclgevf_mbx_handler()