Lines Matching refs:hnae3_handle
46 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()
888 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_uc_unsync()
906 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_mc_sync()
917 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_mc_unsync()
939 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_rx_mode()
954 void hns3_request_update_promisc_mode(struct hnae3_handle *handle) in hns3_request_update_promisc_mode()
1487 struct hnae3_handle *handle = tx_ring->tqp->handle; in hns3_handle_vtags()
2135 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_tsyn()
2360 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_net_set_mac_address()
2400 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_do_ioctl()
2416 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_set_features()
2538 struct hnae3_handle *handle = priv->ae_handle; in hns3_nic_get_stats64()
2593 struct hnae3_handle *h; in hns3_setup_tc()
2618 struct hnae3_handle *h = hns3_get_handle(priv->netdev); in hns3_setup_tc_cls_flower()
2680 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_vlan_rx_add_vid()
2692 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_vlan_rx_kill_vid()
2704 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_ndo_set_vf_vlan()
2720 struct hnae3_handle *handle = hns3_get_handle(netdev); in hns3_set_vf_spoofchk()
2733 struct hnae3_handle *handle = hns3_get_handle(netdev); in hns3_set_vf_trust()
2743 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_change_mtu()
2846 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_get_tx_timeo_queue_info()
2882 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_timeout()
2898 struct hnae3_handle *h = hns3_get_handle(dev); in hns3_rx_flow_steer()
2923 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_nic_get_vf_config()
2934 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_nic_set_vf_link_state()
2945 struct hnae3_handle *h = hns3_get_handle(ndev); in hns3_nic_set_vf_rate()
2956 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_set_vf_mac()
2996 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_nic_select_queue()
3309 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_set_default_feature()
3971 struct hnae3_handle *handle = ring->tqp->handle; in hns3_parse_vlan_tag()
4226 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_handle_rx_ts_info()
4673 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_init_vector_data()
4772 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_alloc_vector_data()
4824 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_uninit_vector_data()
4855 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_dealloc_vector_data()
4913 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ring_config()
5099 struct hnae3_handle *h = priv->ae_handle; in hns3_init_all_ring()
5127 struct hnae3_handle *h = priv->ae_handle; in hns3_uninit_all_ring()
5141 struct hnae3_handle *h = priv->ae_handle; in hns3_init_mac_addr()
5169 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_init_phy()
5180 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_uninit_phy()
5186 static int hns3_client_start(struct hnae3_handle *handle) in hns3_client_start()
5194 static void hns3_client_stop(struct hnae3_handle *handle) in hns3_client_stop()
5224 struct hnae3_handle *handle = priv->ae_handle; in hns3_set_cq_period_mode()
5259 static void hns3_state_init(struct hnae3_handle *handle) in hns3_state_init()
5280 static void hns3_state_uninit(struct hnae3_handle *handle) in hns3_state_uninit()
5287 static int hns3_client_init(struct hnae3_handle *handle) in hns3_client_init()
5426 static void hns3_client_uninit(struct hnae3_handle *handle, bool reset) in hns3_client_uninit()
5462 static void hns3_link_status_change(struct hnae3_handle *handle, bool linkup) in hns3_link_status_change()
5547 static void hns3_clear_all_ring(struct hnae3_handle *h, bool force) in hns3_clear_all_ring()
5570 int hns3_nic_reset_all_ring(struct hnae3_handle *h) in hns3_nic_reset_all_ring()
5614 static int hns3_reset_notify_down_enet(struct hnae3_handle *handle) in hns3_reset_notify_down_enet()
5629 static int hns3_reset_notify_up_enet(struct hnae3_handle *handle) in hns3_reset_notify_up_enet()
5655 static int hns3_reset_notify_init_enet(struct hnae3_handle *handle) in hns3_reset_notify_init_enet()
5722 static int hns3_reset_notify_uninit_enet(struct hnae3_handle *handle) in hns3_reset_notify_uninit_enet()
5751 int hns3_reset_notify(struct hnae3_handle *handle, in hns3_reset_notify()
5776 static int hns3_change_channels(struct hnae3_handle *handle, u32 new_tqp_num, in hns3_change_channels()
5803 struct hnae3_handle *h = hns3_get_handle(netdev); in hns3_set_channels()
5868 struct hnae3_handle *h = priv->ae_handle; in hns3_external_lb_prepare()
5899 struct hnae3_handle *h = priv->ae_handle; in hns3_external_lb_restore()
5939 static void hns3_process_hw_error(struct hnae3_handle *handle, in hns3_process_hw_error()