| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.h | 196 struct hnae3_handle; 202 struct hnae3_handle *handle; 413 int (*init_instance)(struct hnae3_handle *handle); 414 void (*uninit_instance)(struct hnae3_handle *handle, bool reset); 415 void (*link_status_change)(struct hnae3_handle *handle, bool state); 416 int (*reset_notify)(struct hnae3_handle *handle, 418 void (*process_hw_error)(struct hnae3_handle *handle, 442 struct hnae3_handle *handle; 620 int (*start)(struct hnae3_handle *handle); 621 void (*stop)(struct hnae3_handle *handle); [all …]
|
| H A 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()
|
| H A D | hns3_ethtool.c | 88 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_setup() 123 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_lp_up() 156 struct hnae3_handle *handle; in hns3_lp_setup_skb() 211 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring() 308 static void hns3_set_selftest_param(struct hnae3_handle *h, int (*st_param)[2]) in hns3_set_selftest_param() 335 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare() 360 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore() 427 struct hnae3_handle *h = priv->ae_handle; in hns3_self_test() 475 struct hnae3_handle *handle = hns3_get_handle(netdev); in hns3_update_limit_promisc_mode() 491 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_get_sset_count() [all …]
|
| H A D | hns3_enet.h | 554 struct hnae3_handle *handle; 576 struct hnae3_handle *ae_handle; 720 int hns3_nic_reset_all_ring(struct hnae3_handle *h); 739 void hns3_request_update_promisc_mode(struct hnae3_handle *handle); 740 int hns3_reset_notify(struct hnae3_handle *handle, 744 void hns3_dcbnl_setup(struct hnae3_handle *handle); 746 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup() 749 int hns3_dbg_init(struct hnae3_handle *handle); 750 void hns3_dbg_uninit(struct hnae3_handle *handle); 754 u16 hns3_get_max_available_channels(struct hnae3_handle *h);
|
| H A D | hns3_debugfs.h | 18 struct hnae3_handle *handle; 43 int (*init)(struct hnae3_handle *handle, unsigned int cmd);
|
| H A D | hns3_enet.c | 48 static void hns3_clear_all_ring(struct hnae3_handle *h, bool force); 605 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw() 620 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_real_num_queue() 658 u16 hns3_get_max_available_channels(struct hnae3_handle *h) in hns3_get_max_available_channels() 723 struct hnae3_handle *h = priv->ae_handle; in hns3_enable_irqs_and_tqps() 739 struct hnae3_handle *h = priv->ae_handle; in hns3_disable_irqs_and_tqps() 755 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up() 802 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_open() 840 static void hns3_reset_tx_queue(struct hnae3_handle *h) in hns3_reset_tx_queue() 879 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_stop() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
| H A D | hclgevf_regs.h | 8 struct hnae3_handle; 10 int hclgevf_get_regs_len(struct hnae3_handle *handle); 11 void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version,
|
| H A D | hclgevf_main.h | 269 struct hnae3_handle nic; 270 struct hnae3_handle roce; 299 struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle);
|
| H A D | hclgevf_devlink.c | 40 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_down() 75 struct hnae3_handle *h = &hdev->nic; in hclgevf_devlink_reload_up()
|
| H A D | hclgevf_regs.c | 107 int hclgevf_get_regs_len(struct hnae3_handle *handle) in hclgevf_get_regs_len() 123 void hclgevf_get_regs(struct hnae3_handle *handle, u32 *version, in hclgevf_get_regs()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_regs.h | 9 struct hnae3_handle; 14 int hclge_get_regs_len(struct hnae3_handle *handle); 15 void hclge_get_regs(struct hnae3_handle *handle, u32 *version,
|
| H A D | hclge_mdio.h | 12 int hclge_mac_connect_phy(struct hnae3_handle *handle); 13 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
|
| H A D | hclge_dcb.c | 69 static int hclge_ieee_getets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_getets() 252 static int hclge_ieee_setets(struct hnae3_handle *h, struct ieee_ets *ets) in hclge_ieee_setets() 303 static int hclge_ieee_getpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_getpfc() 326 static int hclge_ieee_setpfc(struct hnae3_handle *h, struct ieee_pfc *pfc) in hclge_ieee_setpfc() 394 static int hclge_ieee_setapp(struct hnae3_handle *h, struct dcb_app *app) in hclge_ieee_setapp() 440 static int hclge_ieee_delapp(struct hnae3_handle *h, struct dcb_app *app) in hclge_ieee_delapp() 482 static u8 hclge_getdcbx(struct hnae3_handle *h) in hclge_getdcbx() 493 static u8 hclge_setdcbx(struct hnae3_handle *h, u8 mode) in hclge_setdcbx() 594 static int hclge_setup_tc(struct hnae3_handle *h, in hclge_setup_tc()
|
| H A D | hclge_main.c | 54 static bool hclge_get_hw_reset_stat(struct hnae3_handle *handle); 544 struct hnae3_handle *handle; in hclge_update_stats_for_all() 565 static void hclge_update_stats(struct hnae3_handle *handle) in hclge_update_stats() 589 static int hclge_get_sset_count(struct hnae3_handle *handle, int stringset) in hclge_get_sset_count() 643 static void hclge_get_strings(struct hnae3_handle *handle, u32 stringset, in hclge_get_strings() 680 static void hclge_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_get_stats() 691 static void hclge_get_mac_stat(struct hnae3_handle *handle, in hclge_get_mac_stat() 871 static int hclge_check_port_speed(struct hnae3_handle *handle, u32 speed) in hclge_check_port_speed() 1666 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup() 1692 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport() [all …]
|
| H A D | hclge_main.h | 1083 struct hnae3_handle nic; 1084 struct hnae3_handle roce; 1128 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle); 1143 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto, 1145 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable); 1151 int hclge_reset_tqp(struct hnae3_handle *handle); 1157 int hclge_dbg_get_read_func(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd, 1159 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
|
| H A D | hclge_devlink.c | 77 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_down() 112 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_up()
|
| H A D | hclge_mdio.c | 177 struct hnae3_handle *h = *((void **)netdev_priv(netdev)); in hclge_mac_adjust_link() 202 int hclge_mac_connect_phy(struct hnae3_handle *handle) in hclge_mac_connect_phy() 242 void hclge_mac_disconnect_phy(struct hnae3_handle *handle) in hclge_mac_disconnect_phy()
|
| H A D | hclge_mbx.c | 337 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_promisc_mode() 442 struct hnae3_handle *handle = &vport->nic; in hclge_set_vf_vlan_cfg() 627 struct hnae3_handle *handle = &vport->nic; in hclge_mbx_reset_vf_queue() 728 struct hnae3_handle *handle = &vport->nic; in hclge_get_queue_id_in_pf()
|
| H A D | hclge_regs.c | 583 int hclge_get_regs_len(struct hnae3_handle *handle) in hclge_get_regs_len() 620 void hclge_get_regs(struct hnae3_handle *handle, u32 *version, in hclge_get_regs()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_bond.h | 57 struct hnae3_handle *handle; 92 void hns_roce_bond_suspend(struct hnae3_handle *handle); 93 void hns_roce_bond_resume(struct hnae3_handle *handle);
|
| H A D | hns_roce_bond.c | 175 struct hnae3_handle *handle; in hns_roce_slave_uninit() 223 struct hnae3_handle *handle; in hns_roce_slave_init() 949 void hns_roce_bond_suspend(struct hnae3_handle *handle) in hns_roce_bond_suspend() 982 void hns_roce_bond_resume(struct hnae3_handle *handle) in hns_roce_bond_resume()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3_common/ |
| H A D | hclge_comm_rss.h | 97 u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle); 119 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic,
|
| H A D | hclge_comm_rss.c | 34 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic, in hclge_comm_rss_init_cfg() 194 u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle) in hclge_comm_get_rss_key_size()
|