Searched refs:hnae3_handle (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 74 struct hnae3_handle; 79 struct hnae3_handle *handle; 153 int (*init_instance)(struct hnae3_handle *handle); 154 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 155 void (*link_status_change)(struct hnae3_handle *handle, bool state); 156 int (*setup_tc)(struct hnae3_handle *handle, u8 tc); 157 int (*reset_notify)(struct hnae3_handle *handle, 297 int (*start)(struct hnae3_handle *handle); 298 void (*stop)(struct hnae3_handle *handle); 299 int (*get_status)(struct hnae3_handle *handle); [all …]
|
D | hns3_dcbnl.c | 10 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getets() 21 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setets() 32 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_getpfc() 43 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_ieee_setpfc() 54 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_getdcbx() 65 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_dcbnl_setdcbx() 86 void hns3_dcbnl_setup(struct hnae3_handle *handle) in hns3_dcbnl_setup()
|
D | hns3_ethtool.c | 73 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_setup() 100 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_up() 125 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_down() 186 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring() 290 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test() 355 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_sset_count() 400 static u8 *hns3_get_strings_tqps(struct hnae3_handle *handle, u8 *data) in hns3_get_strings_tqps() 419 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_strings() 437 static u64 *hns3_get_stats_tqps(struct hnae3_handle *handle, u64 *data) in hns3_get_stats_tqps() 474 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_stats() [all …]
|
D | hns3_enet.c | 22 static void hns3_clear_all_ring(struct hnae3_handle *h); 23 static void hns3_force_clear_all_rx_ring(struct hnae3_handle *h); 198 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_gl_rl_init() 223 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_gl_rl_init_hw() 234 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_real_num_queue() 278 static u16 hns3_get_max_available_channels(struct hnae3_handle *h) in hns3_get_max_available_channels() 291 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up() 331 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_open() 395 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_uc_sync() 406 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_uc_unsync() [all …]
|
D | hns3_enet.h | 482 struct hnae3_handle *handle; 515 struct hnae3_handle *ae_handle; 621 int hns3_nic_reset_all_ring(struct hnae3_handle *h); 635 void hns3_dcbnl_setup(struct hnae3_handle *handle); 637 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup()
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 27 struct hnae3_handle *handle) in hclgevf_ae_get_hdev() 32 static int hclgevf_tqps_update_stats(struct hnae3_handle *handle) in hclgevf_tqps_update_stats() 77 static u64 *hclgevf_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_tqps_get_stats() 97 static int hclgevf_tqps_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_tqps_get_sset_count() 104 static u8 *hclgevf_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclgevf_tqps_get_strings() 129 static void hclgevf_update_stats(struct hnae3_handle *handle, in hclgevf_update_stats() 142 static int hclgevf_get_sset_count(struct hnae3_handle *handle, int strset) in hclgevf_get_sset_count() 152 static void hclgevf_get_strings(struct hnae3_handle *handle, u32 strset, in hclgevf_get_strings() 161 static void hclgevf_get_stats(struct hnae3_handle *handle, u64 *data) in hclgevf_get_stats() 245 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup() [all …]
|
D | hclgevf_main.h | 172 struct hnae3_handle nic; 173 struct hnae3_handle roce;
|
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_dcb.c | 63 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets() 119 static int hclge_map_update(struct hnae3_handle *h) in hclge_map_update() 150 struct hnae3_handle *handle; in hclge_client_setup_tc() 169 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets() 200 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc() 236 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc() 267 static u8 hclge_getdcbx(struct hnae3_handle *h) in hclge_getdcbx() 278 static u8 hclge_setdcbx(struct hnae3_handle *h, u8 mode) in hclge_setdcbx() 295 static int hclge_setup_tc(struct hnae3_handle *h, u8 tc, u8 *prio_tc) in hclge_setup_tc()
|
D | hclge_main.c | 33 static int hclge_set_mtu(struct hnae3_handle *handle, int new_mtu); 537 static int hclge_tqps_update_stats(struct hnae3_handle *handle) in hclge_tqps_update_stats() 590 static u64 *hclge_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_tqps_get_stats() 610 static int hclge_tqps_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_tqps_get_sset_count() 617 static u8 *hclge_tqps_get_strings(struct hnae3_handle *handle, u8 *data) in hclge_tqps_get_strings() 702 struct hnae3_handle *handle; in hclge_update_stats_for_all() 729 static void hclge_update_stats(struct hnae3_handle *handle, in hclge_update_stats() 769 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count() 804 static void hclge_get_strings(struct hnae3_handle *handle, in hclge_get_strings() 850 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats() [all …]
|
D | hclge_main.h | 610 struct hnae3_handle nic; 611 struct hnae3_handle roce; 638 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle); 651 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, 653 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable); 660 void hclge_reset_tqp(struct hnae3_handle *handle, u16 queue_id);
|
D | hclge_mbx.c | 329 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg() 339 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg()
|
D | hclge_mdio.c | 178 struct hnae3_handle *h = *((void **)netdev_priv(netdev)); in hclge_mac_adjust_link()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v2.c | 5226 struct hnae3_handle *handle) in hns_roce_hw_v2_get_cfg() 5261 static int hns_roce_hw_v2_init_instance(struct hnae3_handle *handle) in hns_roce_hw_v2_init_instance() 5303 static void hns_roce_hw_v2_uninit_instance(struct hnae3_handle *handle, in hns_roce_hw_v2_uninit_instance() 5316 static int hns_roce_hw_v2_reset_notify_down(struct hnae3_handle *handle) in hns_roce_hw_v2_reset_notify_down() 5338 static int hns_roce_hw_v2_reset_notify_init(struct hnae3_handle *handle) in hns_roce_hw_v2_reset_notify_init() 5356 static int hns_roce_hw_v2_reset_notify_uninit(struct hnae3_handle *handle) in hns_roce_hw_v2_reset_notify_uninit() 5363 static int hns_roce_hw_v2_reset_notify(struct hnae3_handle *handle, in hns_roce_hw_v2_reset_notify()
|