| /Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/ |
| D | hnae3.h | 178 struct hnae3_handle; 184 struct hnae3_handle *handle; 378 int (*init_instance)(struct hnae3_handle *handle); 379 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 380 void (*link_status_change)(struct hnae3_handle *handle, bool state); 381 int (*reset_notify)(struct hnae3_handle *handle, 383 void (*process_hw_error)(struct hnae3_handle *handle, 574 int (*start)(struct hnae3_handle *handle); 575 void (*stop)(struct hnae3_handle *handle); 576 int (*client_start)(struct hnae3_handle *handle); [all …]
|
| D | hns3_dcbnl.c | 9 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getets() 22 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setets() 35 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getpfc() 48 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setpfc() 61 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setapp() 74 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_delapp() 88 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_getdcbx() 99 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_setdcbx() 122 void hns3_dcbnl_setup(struct hnae3_handle *handle) in hns3_dcbnl_setup()
|
| D | hns3_ethtool.c | 84 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_setup() 119 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_up() 152 struct hnae3_handle *handle; in hns3_lp_setup_skb() 207 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring() 305 static void hns3_set_selftest_param(struct hnae3_handle *h, int (*st_param)[2]) in hns3_set_selftest_param() 332 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare() 357 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore() 423 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test() 460 struct hnae3_handle *handle = hns3_get_handle(netdev); in hns3_update_limit_promisc_mode() 476 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_sset_count() [all …]
|
| D | hns3_debugfs.h | 26 struct hnae3_handle *handle; 52 int (*init)(struct hnae3_handle *handle, unsigned int cmd); 57 int (*dbg_dump)(struct hnae3_handle *handle, char *buf, int len);
|
| D | hns3_enet.h | 552 struct hnae3_handle *handle; 574 struct hnae3_handle *ae_handle; 710 int hns3_nic_reset_all_ring(struct hnae3_handle *h); 729 void hns3_request_update_promisc_mode(struct hnae3_handle *handle); 730 int hns3_reset_notify(struct hnae3_handle *handle, 734 void hns3_dcbnl_setup(struct hnae3_handle *handle); 736 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup() 739 int hns3_dbg_init(struct hnae3_handle *handle); 740 void hns3_dbg_uninit(struct hnae3_handle *handle); 744 u16 hns3_get_max_available_channels(struct hnae3_handle *h);
|
| D | hns3_enet.c | 45 static void hns3_clear_all_ring(struct hnae3_handle *h, bool force); 594 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw() 609 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_real_num_queue() 647 u16 hns3_get_max_available_channels(struct hnae3_handle *h) in hns3_get_max_available_channels() 712 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up() 770 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_open() 808 static void hns3_reset_tx_queue(struct hnae3_handle *h) in hns3_reset_tx_queue() 825 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_down() 855 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_stop() 876 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_uc_sync() [all …]
|
| D | hns3_debugfs.c | 41 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd); 42 static int hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd); 502 static void hns3_dump_coal_info(struct hnae3_handle *h, char *buf, int len, in hns3_dump_coal_info() 532 static int hns3_dbg_coal_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_coal_info() 651 static int hns3_dbg_rx_queue_info(struct hnae3_handle *h, in hns3_dbg_rx_queue_info() 754 static int hns3_dbg_tx_queue_info(struct hnae3_handle *h, in hns3_dbg_tx_queue_info() 807 static int hns3_dbg_queue_map(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_queue_map() 1002 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() 1021 hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_specs() 1070 static int hns3_dbg_dev_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_dev_info() [all …]
|
| /Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| D | hclge_comm_tqp_stats.h | 33 u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data); 34 int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle); 35 u8 *hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 *data); 36 void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle); 37 int hclge_comm_tqps_update_stats(struct hnae3_handle *handle,
|
| D | hclge_comm_tqp_stats.c | 10 u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_comm_tqps_get_stats() 30 int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle) in hclge_comm_tqps_get_sset_count() 37 u8 *hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclge_comm_tqps_get_strings() 60 int hclge_comm_tqps_update_stats(struct hnae3_handle *handle, in hclge_comm_tqps_update_stats() 103 void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle) in hclge_comm_reset_tqp_stats()
|
| D | hclge_comm_rss.h | 97 u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle); 115 int hclge_comm_set_rss_input_tuple(struct hnae3_handle *nic, 120 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic,
|
| D | hclge_comm_rss.c | 34 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic, in hclge_comm_rss_init_cfg() 189 u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle) in hclge_comm_get_rss_key_size() 308 int hclge_comm_set_rss_input_tuple(struct hnae3_handle *nic, in hclge_comm_set_rss_input_tuple()
|
| /Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| D | hclgevf_main.c | 114 static struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle) in hclgevf_ae_get_hdev() 124 static void hclgevf_update_stats(struct hnae3_handle *handle, in hclgevf_update_stats() 137 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() 147 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() 156 static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_get_stats() 202 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state() 276 static u16 hclgevf_get_qid_global(struct hnae3_handle *handle, u16 queue_id) in hclgevf_get_qid_global() 368 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() 423 struct hnae3_handle *rhandle = &hdev->roce; in hclgevf_update_link_status() 424 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status() [all …]
|
| D | hclgevf_devlink.c | 45 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_down() 80 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_up()
|
| D | hclgevf_main.h | 267 struct hnae3_handle nic; 268 struct hnae3_handle roce;
|
| /Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_mdio.h | 12 int hclge_mac_connect_phy(struct hnae3_handle *handle); 13 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
|
| D | hclge_ptp.h | 132 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb); 134 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, 140 int hclge_ptp_get_ts_info(struct hnae3_handle *handle,
|
| D | hclge_dcb.c | 66 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets() 233 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets() 287 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc() 310 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc() 362 static int hclge_ieee_setapp(struct hnae3_handle *h, struct dcb_app *app) in hclge_ieee_setapp() 408 static int hclge_ieee_delapp(struct hnae3_handle *h, struct dcb_app *app) in hclge_ieee_delapp() 450 static u8 hclge_getdcbx(struct hnae3_handle *h) in hclge_getdcbx() 461 static u8 hclge_setdcbx(struct hnae3_handle *h, u8 mode) in hclge_setdcbx() 562 static int hclge_setup_tc(struct hnae3_handle *h, in hclge_setup_tc()
|
| D | hclge_main.c | 63 static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle); 671 struct hnae3_handle *handle; in hclge_update_stats_for_all() 692 static void hclge_update_stats(struct hnae3_handle *handle, in hclge_update_stats() 717 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count() 767 static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset, in hclge_get_strings() 810 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats() 821 static void hclge_get_mac_stat(struct hnae3_handle *handle, in hclge_get_mac_stat() 1001 static int hclge_check_port_speed(struct hnae3_handle *handle, u32 speed) in hclge_check_port_speed() 1779 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup() 1805 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport() [all …]
|
| D | hclge_main.h | 1043 struct hnae3_handle nic; 1044 struct hnae3_handle roce; 1082 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle); 1097 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, 1099 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable); 1105 int hclge_reset_tqp(struct hnae3_handle *handle); 1111 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, 1113 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
|
| D | hclge_devlink.c | 44 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_down() 79 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_up()
|
| D | hclge_mdio.c | 177 struct hnae3_handle *h = *((void **)netdev_priv(netdev)); in hclge_mac_adjust_link() 199 int hclge_mac_connect_phy(struct hnae3_handle *handle) in hclge_mac_connect_phy() 239 void hclge_mac_disconnect_phy(struct hnae3_handle *handle) in hclge_mac_disconnect_phy()
|
| D | hclge_ptp.c | 67 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb) in hclge_ptp_set_tx_info() 114 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, in hclge_ptp_get_rx_hwts() 392 int hclge_ptp_get_ts_info(struct hnae3_handle *handle, in hclge_ptp_get_ts_info()
|
| D | hclge_mbx.c | 332 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_promisc_mode() 437 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg() 622 struct hnae3_handle *handle = &vport->nic; in hclge_mbx_reset_vf_queue() 676 struct hnae3_handle *handle = &vport->nic; in hclge_get_queue_id_in_pf()
|
| /Linux-v6.1/drivers/infiniband/hw/hns/ |
| D | hns_roce_hw_v2.c | 671 struct hnae3_handle *handle = priv->handle; in hns_roce_write512() 1059 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_hw_resetting() 1091 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_sw_resetting() 1106 struct hnae3_handle *handle) in check_aedev_reset_status() 1144 struct hnae3_handle *handle = priv->handle; in check_device_is_in_reset() 1270 struct hnae3_handle *handle = priv->handle; in update_cmdq_status() 1396 struct hnae3_handle *handle) in func_clr_hw_resetting_state() 1421 struct hnae3_handle *handle) in func_clr_sw_resetting_state() 1450 struct hnae3_handle *handle = priv->handle; in hns_roce_func_clr_rst_proc() 6683 struct hnae3_handle *handle) in hns_roce_hw_v2_get_cfg() [all …]
|
| D | hns_roce_hw_v2.h | 1337 struct hnae3_handle *handle; 1466 struct hnae3_handle *handle = priv->handle; in hns_roce_write64()
|