Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/
A Dhnae3.h179 struct hnae3_handle;
185 struct hnae3_handle *handle;
575 int (*start)(struct hnae3_handle *handle);
576 void (*stop)(struct hnae3_handle *handle);
630 int (*do_ioctl)(struct hnae3_handle *handle,
634 int (*rm_uc_addr)(struct hnae3_handle *handle,
639 int (*rm_mc_addr)(struct hnae3_handle *handle,
775 u8 (*getdcbx)(struct hnae3_handle *);
776 u8 (*setdcbx)(struct hnae3_handle *, u8);
778 int (*setup_tc)(struct hnae3_handle *handle,
[all …]
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()
A Dhns3_ethtool.c152 struct hnae3_handle *handle; in hns3_lp_setup_skb()
207 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()
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()
634 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()
678 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()
1072 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()
1148 struct hnae3_handle *h = priv->ae_handle; in hns3_is_ringparam_changed()
1173 struct hnae3_handle *h = priv->ae_handle; in hns3_change_rx_buf_len()
[all …]
A Dhns3_debugfs.h26 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);
A Dhns3_enet.h552 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);
A Dhns3_enet.c595 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_coalesce_init_hw()
713 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()
2412 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_set_features()
2589 struct hnae3_handle *h; in hns3_setup_tc()
2878 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_timeout()
4660 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_init_vector_data()
4759 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_alloc_vector_data()
4811 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_uninit_vector_data()
4842 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_dealloc_vector_data()
4900 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ring_config()
[all …]
A Dhns3_debugfs.c41 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);
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()
1002 hns3_dbg_dev_caps(struct hnae3_handle *h, char *buf, int len, int *pos) in hns3_dbg_dev_caps()
1108 hns3_dbg_page_pool_info(struct hnae3_handle *h, char *buf, int len) in hns3_dbg_page_pool_info()
1230 struct hnae3_handle *handle = dbg_data->handle; in hns3_dbg_read()
1294 static int hns3_dbg_bd_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_bd_file_init()
1323 hns3_dbg_common_file_init(struct hnae3_handle *handle, u32 cmd) in hns3_dbg_common_file_init()
1341 int hns3_dbg_init(struct hnae3_handle *handle) in hns3_dbg_init()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3_common/
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 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,
A Dhclge_comm_tqp_stats.c10 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()
A Dhclge_comm_rss.h97 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,
A Dhclge_comm_rss.c34 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-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_main.c202 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_port_base_vlan_filter_state()
368 struct hnae3_handle *nic = &hdev->nic; in hclgevf_knic_setup()
424 struct hnae3_handle *handle = &hdev->nic; in hclgevf_update_link_status()
462 struct hnae3_handle *nic = &hdev->nic; in hclgevf_set_handle_info()
733 struct hnae3_handle *handle, in hclgevf_unmap_ring_from_vector()
782 struct hnae3_handle *handle = &hdev->nic; in hclgevf_cmd_set_promisc_mode()
1676 struct hnae3_handle *handle) in hclgevf_reset_event()
2101 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_roce_base_info()
2180 struct hnae3_handle *nic = &hdev->nic; in hclgevf_init_vlan_config()
3055 struct hnae3_handle *nic = &hdev->nic; in hclgevf_get_max_channels()
[all …]
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()
A Dhclgevf_main.h267 struct hnae3_handle nic;
268 struct hnae3_handle roce;
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_mdio.h12 int hclge_mac_connect_phy(struct hnae3_handle *handle);
13 void hclge_mac_disconnect_phy(struct hnae3_handle *handle);
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,
A Dhclge_dcb.c66 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()
A Dhclge_main.c671 struct hnae3_handle *handle; in hclge_update_stats_for_all()
1779 struct hnae3_handle *nic = &vport->nic; in hclge_knic_setup()
1805 struct hnae3_handle *nic = &vport->nic; in hclge_map_tqp_to_vport()
1847 struct hnae3_handle *nic = &vport->nic; in hclge_vport_setup()
2528 struct hnae3_handle *roce = &vport->roce; in hclge_init_roce_base_info()
2529 struct hnae3_handle *nic = &vport->nic; in hclge_init_roce_base_info()
5102 struct hnae3_handle *handle = &vport->nic; in hclge_cmd_set_promisc_mode()
9519 struct hnae3_handle *handle = &vport->nic; in hclge_need_enable_vport_vlan_filter()
10260 struct hnae3_handle *handle = &vport->nic; in hclge_restore_hw_table()
10382 struct hnae3_handle *nic = &vport->nic; in hclge_update_port_base_vlan_cfg()
[all …]
A Dhclge_main.h1049 struct hnae3_handle nic;
1050 struct hnae3_handle roce;
1089 struct hclge_vport *hclge_get_vport(struct hnae3_handle *handle);
1104 int hclge_set_vlan_filter(struct hnae3_handle *handle, __be16 proto,
1106 int hclge_en_hw_strip_rxvtag(struct hnae3_handle *handle, bool enable);
1112 int hclge_reset_tqp(struct hnae3_handle *handle);
1118 int hclge_dbg_read_cmd(struct hnae3_handle *handle, enum hnae3_dbg_cmd cmd,
1120 u16 hclge_covert_handle_qid_global(struct hnae3_handle *handle, u16 queue_id);
A Dhclge_devlink.c39 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_down()
74 struct hnae3_handle *h = &hdev->vport->nic; in hclge_devlink_reload_up()
A Dhclge_mdio.c177 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()
A Dhclge_ptp.c55 bool hclge_ptp_set_tx_info(struct hnae3_handle *handle, struct sk_buff *skb) in hclge_ptp_set_tx_info()
102 void hclge_ptp_get_rx_hwts(struct hnae3_handle *handle, struct sk_buff *skb, in hclge_ptp_get_rx_hwts()
380 int hclge_ptp_get_ts_info(struct hnae3_handle *handle, in hclge_ptp_get_ts_info()
A Dhclge_mbx.c337 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()
/linux-6.3-rc2/drivers/infiniband/hw/hns/
A Dhns_roce_hw_v2.c670 struct hnae3_handle *handle = priv->handle; in hns_roce_write512()
1046 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_hw_resetting()
1078 struct hnae3_handle *handle = priv->handle; in hns_roce_v2_cmd_sw_resetting()
1093 struct hnae3_handle *handle) in check_aedev_reset_status()
1131 struct hnae3_handle *handle = priv->handle; in check_device_is_in_reset()
1257 struct hnae3_handle *handle = priv->handle; in update_cmdq_status()
1407 struct hnae3_handle *handle) in func_clr_hw_resetting_state()
1432 struct hnae3_handle *handle) in func_clr_sw_resetting_state()
1461 struct hnae3_handle *handle = priv->handle; in hns_roce_func_clr_rst_proc()
6759 struct hnae3_handle *handle) in hns_roce_hw_v2_get_cfg()
[all …]
A Dhns_roce_hw_v2.h1343 struct hnae3_handle *handle;
1474 struct hnae3_handle *handle = priv->handle; in hns_roce_write64()

Completed in 136 milliseconds

12