Home
last modified time | relevance | path

Searched refs:hnae3_handle (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.15/drivers/net/ethernet/hisilicon/hns3/
H A Dhnae3.h196 struct hnae3_handle;
202 struct hnae3_handle *handle;
608 int (*start)(struct hnae3_handle *handle);
609 void (*stop)(struct hnae3_handle *handle);
663 int (*do_ioctl)(struct hnae3_handle *handle,
795 void (*get_wol)(struct hnae3_handle *handle,
797 int (*set_wol)(struct hnae3_handle *handle,
811 u8 (*getdcbx)(struct hnae3_handle *);
812 u8 (*setdcbx)(struct hnae3_handle *, u8);
814 int (*setup_tc)(struct hnae3_handle *handle,
[all …]
H A Dhns3_dcbnl.c9 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 Dhns3_ethtool.c156 struct hnae3_handle *handle; in hns3_lp_setup_skb()
211 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()
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()
629 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()
673 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()
1074 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()
1150 struct hnae3_handle *h = priv->ae_handle; in hns3_is_ringparam_changed()
1175 struct hnae3_handle *h = priv->ae_handle; in hns3_change_rx_buf_len()
[all …]
H A Dhns3_debugfs.h27 struct hnae3_handle *handle;
53 int (*init)(struct hnae3_handle *handle, unsigned int cmd);
58 int (*dbg_dump)(struct hnae3_handle *handle, char *buf, int len);
H A Dhns3_enet.h554 struct hnae3_handle *handle;
576 struct hnae3_handle *ae_handle;
718 int hns3_nic_reset_all_ring(struct hnae3_handle *h);
737 void hns3_request_update_promisc_mode(struct hnae3_handle *handle);
738 int hns3_reset_notify(struct hnae3_handle *handle,
742 void hns3_dcbnl_setup(struct hnae3_handle *handle);
744 static inline void hns3_dcbnl_setup(struct hnae3_handle *handle) {} in hns3_dcbnl_setup()
747 int hns3_dbg_init(struct hnae3_handle *handle);
748 void hns3_dbg_uninit(struct hnae3_handle *handle);
752 u16 hns3_get_max_available_channels(struct hnae3_handle *h);
H A Dhns3_enet.c589 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()
707 struct hnae3_handle *h = priv->ae_handle; in hns3_enable_irqs_and_tqps()
723 struct hnae3_handle *h = priv->ae_handle; in hns3_disable_irqs_and_tqps()
739 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()
2423 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_set_features()
2599 struct hnae3_handle *h; in hns3_setup_tc()
2888 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_timeout()
4679 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_init_vector_data()
4778 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_alloc_vector_data()
4830 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_uninit_vector_data()
[all …]
H A Dhns3_debugfs.c42 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd);
43 static int hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd);
683 static int hns3_dbg_rx_queue_info(struct hnae3_handle *h, in hns3_dbg_rx_queue_info()
788 static int hns3_dbg_tx_queue_info(struct hnae3_handle *h, in hns3_dbg_tx_queue_info()
1035 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps()
1146 hns3_dbg_page_pool_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_page_pool_info()
1275 struct hnae3_handle *handle = dbg_data->handle; in hns3_dbg_open()
1318 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_bd_file_init()
1347 hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_common_file_init()
1365 int hns3_dbg_init(struct hnae3_handle *handle) in hns3_dbg_init()
[all …]
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_tqp_stats.h33 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 void 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,
H A Dhclge_comm_tqp_stats.c10 u64 *hclge_comm_tqps_get_stats(struct hnae3_handle *handle, u64 *data) in hclge_comm_tqps_get_stats()
31 int hclge_comm_tqps_get_sset_count(struct hnae3_handle *handle) in hclge_comm_tqps_get_sset_count()
39 void hclge_comm_tqps_get_strings(struct hnae3_handle *handle, u8 **data) in hclge_comm_tqps_get_strings()
58 int hclge_comm_tqps_update_stats(struct hnae3_handle *handle, in hclge_comm_tqps_update_stats()
102 void hclge_comm_reset_tqp_stats(struct hnae3_handle *handle) in hclge_comm_reset_tqp_stats()
H A Dhclge_comm_rss.h97 u32 hclge_comm_get_rss_key_size(struct hnae3_handle *handle);
119 int hclge_comm_rss_init_cfg(struct hnae3_handle *nic,
H A Dhclge_comm_rss.c34 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()
/linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_regs.h8 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 Dhclgevf_main.c185 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state()
351 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup()
407 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status()
445 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info()
717 struct hnae3_handle *handle, in hclgevf_unmap_ring_from_vector()
766 struct hnae3_handle *handle = &hdev->nic; in hclgevf_cmd_set_promisc_mode()
1694 struct hnae3_handle *handle) in hclgevf_reset_event()
2143 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info()
2222 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_vlan_config()
3097 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels()
[all …]
H A Dhclgevf_main.h269 struct hnae3_handle nic;
270 struct hnae3_handle roce;
299 struct hclgevf_dev *hclgevf_ae_get_hdev(struct hnae3_handle *handle);
H A Dhclgevf_devlink.c40 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 Dhclgevf_regs.c107 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-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_regs.h9 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 Dhclge_mdio.h12 int hclge_mac_connect_phy(struct hnae3_handle *handle);
13 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
H A Dhclge_ptp.h132 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,
H A Dhclge_dcb.c69 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 Dhclge_main.c617 struct hnae3_handle *handle; in hclge_update_stats_for_all()
1734 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup()
1760 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport()
1802 struct hnae3_handle *nic = &vport->nic; in hclge_vport_setup()
2484 struct hnae3_handle *roce = &vport->roce; in hclge_init_roce_base_info()
2485 struct hnae3_handle *nic = &vport->nic; in hclge_init_roce_base_info()
5111 struct hnae3_handle *handle = &vport->nic; in hclge_cmd_set_promisc_mode()
9550 struct hnae3_handle *handle = &vport->nic; in hclge_need_enable_vport_vlan_filter()
10292 struct hnae3_handle *handle = &vport->nic; in hclge_restore_hw_table()
10414 struct hnae3_handle *nic = &vport->nic; in hclge_update_port_base_vlan_cfg()
[all …]
H A Dhclge_main.h1071 struct hnae3_handle nic;
1072 struct hnae3_handle roce;
1116 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle);
1131 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
1133 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable);
1139 int hclge_reset_tqp(struct hnae3_handle *handle);
1145 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd,
1147 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
H A Dhclge_devlink.c77 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 Dhclge_mdio.c177 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 Dhclge_ptp.c56 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb) in hclge_ptp_set_tx_info()
106 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, in hclge_ptp_get_rx_hwts()
384 int hclge_ptp_get_ts_info(struct hnae3_handle *handle, in hclge_ptp_get_ts_info()

12