/linux-6.12.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 166 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PAUSE_EN, false); in hclge_mac_pause_en_cfg() 180 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_PFC_PAUSE_EN, false); in hclge_pfc_pause_en_cfg() 196 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, false); in hclge_pause_param_cfg() 216 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, true); in hclge_pause_addr_cfg() 258 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PRI_TO_TC_MAPPING, false); in hclge_up_to_tc_map() 286 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QOS_MAP, false); in hclge_dscp_to_tc_map() 288 hclge_cmd_setup_basic_desc(&desc[1], HCLGE_OPC_QOS_MAP, false); in hclge_dscp_to_tc_map() 316 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_PG_TO_PRI_LINK, false); in hclge_tm_pg_to_pri_map_cfg() 332 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_QS_TO_PRI_LINK, false); in hclge_tm_qs_to_pri_map_cfg() 351 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_NQ_TO_QS_LINK, false); in hclge_tm_q_to_qs_map_cfg() [all …]
|
D | hclge_err.c | 1795 hclge_cmd_setup_basic_desc(&desc[0], cmd, true); in hclge_cmd_query_error() 1798 hclge_cmd_setup_basic_desc(&desc[1], cmd, true); in hclge_cmd_query_error() 1813 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CLEAR_MAC_TNL_INT, false); in hclge_clear_mac_tnl_int() 1826 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_COMMON_ECC_INT_CFG, false); in hclge_config_common_hw_err_int() 1828 hclge_cmd_setup_basic_desc(&desc[1], HCLGE_COMMON_ECC_INT_CFG, false); in hclge_config_common_hw_err_int() 1866 hclge_cmd_setup_basic_desc(&desc, HCLGE_NCSI_INT_EN, false); in hclge_config_ncsi_hw_err_int() 1885 hclge_cmd_setup_basic_desc(&desc, HCLGE_IGU_COMMON_INT_EN, false); in hclge_config_igu_egu_hw_err_int() 1899 hclge_cmd_setup_basic_desc(&desc, HCLGE_IGU_EGU_TNL_INT_EN, false); in hclge_config_igu_egu_hw_err_int() 1925 hclge_cmd_setup_basic_desc(&desc[0], cmd, false); in hclge_config_ppp_error_interrupt() 1927 hclge_cmd_setup_basic_desc(&desc[1], cmd, false); in hclge_config_ppp_error_interrupt() [all …]
|
D | hclge_debugfs.c | 810 hclge_cmd_setup_basic_desc(desc, cmd, true); in hclge_dbg_cmd_send() 816 hclge_cmd_setup_basic_desc(desc, cmd, true); in hclge_dbg_cmd_send() 951 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_MAC_MODE, true); in hclge_dbg_dump_mac_enable_status() 980 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_MAX_FRM_SIZE, true); in hclge_dbg_dump_mac_frame_size() 1010 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CONFIG_SPEED_DUP, true); in hclge_dbg_dump_mac_speed_duplex() 1316 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_ETS_TC_WEIGHT, true); in hclge_dbg_dump_tc() 1492 hclge_cmd_setup_basic_desc(&desc, in hclge_dbg_dump_tm_bp_qset_map() 1575 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TM_NODES, true); in hclge_dbg_dump_tm_nodes() 1768 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_CFG_MAC_PARA, true); in hclge_dbg_dump_qos_pause_cfg() 1799 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PRI_TO_TC_MAPPING, true); in hclge_dbg_dump_qos_pri_map() [all …]
|
D | hclge_regs.c | 197 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_32_BIT_REG, true); in hclge_get_32_bit_regs() 251 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_QUERY_64_BIT_REG, true); in hclge_get_64_bit_regs() 287 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_DFX_BD_NUM, in hclge_query_bd_num_cmd_send() 293 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_DFX_BD_NUM, true); in hclge_query_bd_num_cmd_send() 331 hclge_cmd_setup_basic_desc(desc, cmd, true); in hclge_dfx_reg_cmd_send() 335 hclge_cmd_setup_basic_desc(desc, cmd, true); in hclge_dfx_reg_cmd_send() 355 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_DFX_RPU_REG_0, in hclge_dfx_reg_rpu_tnl_cmd_send() 564 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_REG_NUM, true); in hclge_get_regs_num()
|
D | hclge_mdio.c | 53 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, false); in hclge_mdio_write() 91 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_MDIO_CONFIG, true); in hclge_mdio_read() 283 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PHY_REG, true); in hclge_read_phy_reg() 302 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PHY_REG, false); in hclge_write_phy_reg()
|
D | hclge_main.c | 450 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_STATS_MAC, true); in hclge_mac_update_stats_defective() 498 hclge_cmd_setup_basic_desc(&desc[0], HCLGE_OPC_STATS_MAC_ALL, true); in hclge_mac_update_stats_complete() 537 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_MAC_REG_NUM, true); in hclge_mac_query_reg_num() 812 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_FUNC_STATUS, true); in hclge_query_function_status() 838 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_QUERY_PF_RSRC, true); in hclge_query_pf_resource() 1350 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_GET_CFG_PARAM, in hclge_get_cfg() 1467 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_QUERY_DEV_SPECS, in hclge_query_dev_specs() 1471 hclge_cmd_setup_basic_desc(&desc[i], HCLGE_OPC_QUERY_DEV_SPECS, true); in hclge_query_dev_specs() 1605 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_TSO_GENERIC_CONFIG, false); in hclge_config_tso() 1623 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_GRO_GENERIC_CONFIG, false); in hclge_config_gro() [all …]
|
D | hclge_ptp.c | 219 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PTP_INT_EN, false); in hclge_ptp_int_en() 238 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PTP_MODE_CFG, true); in hclge_ptp_cfg_qry() 258 hclge_cmd_setup_basic_desc(&desc, HCLGE_OPC_PTP_MODE_CFG, false); in hclge_ptp_cfg()
|
D | hclge_mbx.c | 54 hclge_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_PF_TO_VF, false); in hclge_gen_resp_to_vf() 108 hclge_cmd_setup_basic_desc(&desc, HCLGEVF_OPC_MBX_PF_TO_VF, false); in hclge_send_mbx_msg() 269 hclge_cmd_setup_basic_desc(desc, HCLGE_OPC_ADD_RING_TO_VECTOR, true); in hclge_query_ring_vector_map()
|
D | hclge_cmd.h | 23 #define hclge_cmd_setup_basic_desc(desc, opcode, is_read) \ macro
|