| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_regs.c | 179 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 …]
|
| H A D | hclge_debugfs.c | 740 struct hclge_desc desc[HCLGE_GET_DFX_REG_TYPE_CNT]; in hclge_dbg_get_dfx_bd_num() 765 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src, in hclge_dbg_cmd_send() 768 struct hclge_desc *desc = desc_src; in hclge_dbg_cmd_send() 795 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_tqp() 796 struct hclge_desc *desc; in hclge_dbg_dump_reg_tqp() 803 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_tqp() 846 struct hclge_desc *desc_src; in hclge_dbg_dump_reg_common() 848 struct hclge_desc *desc; in hclge_dbg_dump_reg_common() 855 desc_src = kcalloc(bd_num, sizeof(struct hclge_desc), GFP_KERNEL); in hclge_dbg_dump_reg_common() 905 struct hclge_desc desc; in hclge_dbg_dump_mac_enable_status() [all …]
|
| H A D | hclge_tm.c | 164 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 D | hclge_err.c | 1507 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 …]
|
| H A D | hclge_mdio.c | 47 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 D | hclge_regs.h | 13 struct hclge_desc *desc);
|
| H A D | hclge_main.c | 393 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num) in hclge_cmd_send() 398 static void hclge_trace_cmd_send(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_send() 415 static void hclge_trace_cmd_get(struct hclge_comm_hw *hw, struct hclge_desc *desc, in hclge_trace_cmd_get() 445 struct hclge_desc desc[HCLGE_MAC_CMD_NUM]; in hclge_mac_update_stats_defective() 482 struct hclge_desc *desc; in hclge_mac_update_stats_complete() 495 desc = kcalloc(desc_num, sizeof(struct hclge_desc), GFP_ATOMIC); in hclge_mac_update_stats_complete() 525 struct hclge_desc desc; in hclge_mac_query_reg_num() 799 struct hclge_desc desc; in hclge_query_function_status() 826 struct hclge_desc desc; in hclge_query_pf_resource() 1235 static void hclge_parse_cfg(struct hclge_cfg *cfg, struct hclge_desc *des [all...] |
| H A D | hclge_debugfs.h | 135 int hclge_dbg_cmd_send(struct hclge_dev *hdev, struct hclge_desc *desc_src,
|
| H A D | hclge_mbx.c | 38 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 D | hclge_err.h | 248 struct hclge_desc *desc;
|
| H A D | hclge_cmd.h | 894 int hclge_cmd_send(struct hclge_hw *hw, struct hclge_desc *desc, int num);
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| H A D | hclge_comm_cmd.h | 406 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,
|
| H A D | hclge_comm_cmd.c | 42 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 D | hclge_comm_rss.c | 88 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 D | hclgevf_cmd.h | 134 int hclgevf_cmd_send(struct hclgevf_hw *hw, struct hclge_desc *desc, int num);
|
| H A D | hclgevf_mbx.c | 106 struct hclge_desc desc; in hclgevf_send_mbx_msg() 228 struct hclge_desc *desc; in hclgevf_mbx_handler()
|
| H A D | hclgevf_main.c | 46 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() 824 struct hclge_desc desc; in hclgevf_tqp_enable_cmd_send() 2167 struct hclge_desc desc; in hclgevf_config_gro() 2678 struct hclge_desc desc; in hclgevf_query_vf_resource() 2741 struct hclge_desc *desc) in hclgevf_parse_dev_specs() 2777 struct hclge_desc desc[HCLGEVF_QUERY_DEV_SPECS_BD_NUM]; in hclgevf_query_dev_specs()
|