/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 162 struct hnae3_handle; 167 struct hnae3_handle *handle; 347 int (*init_instance)(struct hnae3_handle *handle); 348 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 349 void (*link_status_change)(struct hnae3_handle *handle, bool state); 350 int (*reset_notify)(struct hnae3_handle *handle, 352 void (*process_hw_error)(struct hnae3_handle *handle, 543 int (*start)(struct hnae3_handle *handle); 544 void (*stop)(struct hnae3_handle *handle); 545 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() 62 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_getdcbx() 73 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_setdcbx() 94 void hns3_dcbnl_setup(struct hnae3_handle *handle) in hns3_dcbnl_setup()
|
D | hns3_ethtool.c | 83 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_setup() 117 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_up() 150 struct hnae3_handle *handle; in hns3_lp_setup_skb() 205 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring() 301 static void hns3_set_selftest_param(struct hnae3_handle *h, int (*st_param)[2]) in hns3_set_selftest_param() 325 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare() 355 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore() 429 struct hnae3_handle *handle = hns3_get_handle(netdev); in hns3_update_limit_promisc_mode() 445 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_sset_count() 493 static u8 *hns3_get_strings_tqps(struct hnae3_handle *handle, u8 *data) in hns3_get_strings_tqps() [all …]
|
D | hns3_debugfs.h | 25 struct hnae3_handle *handle; 51 int (*init)(struct hnae3_handle *handle, unsigned int cmd); 56 int (*dbg_dump)(struct hnae3_handle *handle, char *buf, int len);
|
D | hns3_enet.h | 541 struct hnae3_handle *handle; 563 struct hnae3_handle *ae_handle; 694 int hns3_nic_reset_all_ring(struct hnae3_handle *h); 713 void hns3_request_update_promisc_mode(struct hnae3_handle *handle); 716 void hns3_dcbnl_setup(struct hnae3_handle *handle); 718 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup() 721 int hns3_dbg_init(struct hnae3_handle *handle); 722 void hns3_dbg_uninit(struct hnae3_handle *handle); 726 u16 hns3_get_max_available_channels(struct hnae3_handle *h);
|
D | hns3_enet.c | 44 static void hns3_clear_all_ring(struct hnae3_handle *h, bool force); 595 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw() 610 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_real_num_queue() 648 u16 hns3_get_max_available_channels(struct hnae3_handle *h) in hns3_get_max_available_channels() 713 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up() 771 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_open() 809 static void hns3_reset_tx_queue(struct hnae3_handle *h) in hns3_reset_tx_queue() 826 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_down() 856 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_stop() 877 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); 516 static int hns3_dbg_rx_queue_info(struct hnae3_handle *h, in hns3_dbg_rx_queue_info() 619 static int hns3_dbg_tx_queue_info(struct hnae3_handle *h, in hns3_dbg_tx_queue_info() 672 static int hns3_dbg_queue_map(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_queue_map() 867 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps() 886 hns3_dbg_dev_specs(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_specs() 929 static int hns3_dbg_dev_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_dev_info() 1012 struct hnae3_handle *handle = dbg_data->handle; in hns3_dbg_read() 1076 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_bd_file_init() [all …]
|
/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 95 static struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle) in hclgevf_ae_get_hdev() 105 static int hclgevf_tqps_update_stats(struct hnae3_handle *handle) in hclgevf_tqps_update_stats() 149 static u64 *hclgevf_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_tqps_get_stats() 168 static int hclgevf_tqps_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_tqps_get_sset_count() 175 static u8 *hclgevf_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclgevf_tqps_get_strings() 200 static void hclgevf_update_stats(struct hnae3_handle *handle, in hclgevf_update_stats() 213 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() 223 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() 232 static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_get_stats() 278 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state() [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 | 330 struct hnae3_handle nic; 331 struct hnae3_handle roce;
|
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.h | 129 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb); 131 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, 137 int hclge_ptp_get_ts_info(struct hnae3_handle *handle,
|
D | hclge_mdio.h | 8 int hclge_mac_connect_phy(struct hnae3_handle *handle); 9 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
|
D | hclge_dcb.c | 69 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets() 244 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets() 295 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc() 318 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc() 371 static u8 hclge_getdcbx(struct hnae3_handle *h) in hclge_getdcbx() 382 static u8 hclge_setdcbx(struct hnae3_handle *h, u8 mode) in hclge_setdcbx() 483 static int hclge_setup_tc(struct hnae3_handle *h, in hclge_setup_tc()
|
D | hclge_main.c | 62 static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle); 569 static int hclge_tqps_update_stats(struct hnae3_handle *handle) in hclge_tqps_update_stats() 621 static u64 *hclge_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_tqps_get_stats() 641 static int hclge_tqps_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_tqps_get_sset_count() 649 static u8 *hclge_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclge_tqps_get_strings() 707 struct hnae3_handle *handle; in hclge_update_stats_for_all() 726 static void hclge_update_stats(struct hnae3_handle *handle, in hclge_update_stats() 751 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count() 796 static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset, in hclge_get_strings() 832 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats() [all …]
|
D | hclge_main.h | 1044 struct hnae3_handle nic; 1045 struct hnae3_handle roce; 1078 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); 1106 int hclge_reset_tqp(struct hnae3_handle *handle); 1112 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, 1114 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_mbx.c | 256 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_promisc_mode() 361 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg() 546 struct hnae3_handle *handle = &vport->nic; in hclge_mbx_reset_vf_queue() 598 struct hnae3_handle *handle = &vport->nic; in hclge_get_queue_id_in_pf()
|
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_debugfs.c | 2486 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, in hclge_dbg_read_cmd()
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 644 struct hnae3_handle *handle = priv->handle; in hns_roce_write512() 1033 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_hw_resetting() 1065 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_sw_resetting() 1080 struct hnae3_handle *handle) in check_aedev_reset_status() 1118 struct hnae3_handle *handle = priv->handle; in check_device_is_in_reset() 1254 struct hnae3_handle *handle = priv->handle; in update_cmdq_status() 1403 struct hnae3_handle *handle) in func_clr_hw_resetting_state() 1428 struct hnae3_handle *handle) in func_clr_sw_resetting_state() 1457 struct hnae3_handle *handle = priv->handle; in hns_roce_func_clr_rst_proc() 6285 struct hnae3_handle *handle) in hns_roce_hw_v2_get_cfg() [all …]
|
D | hns_roce_hw_v2.h | 1395 struct hnae3_handle *handle; 1536 struct hnae3_handle *handle = priv->handle; in hns_roce_write64()
|