Home
last modified time | relevance | path

Searched refs:hnae_handle (Results 1 – 7 of 7) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhnae.h291 struct hnae_handle;
306 struct hnae_handle *handle;
400 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
402 void (*put_handle)(struct hnae_handle *handle);
405 int (*start)(struct hnae_handle *handle);
406 void (*stop)(struct hnae_handle *handle);
407 void (*reset)(struct hnae_handle *handle);
408 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
409 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
410 int (*get_status)(struct hnae_handle *handle);
[all …]
Dhns_ae_adapt.c25 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb()
56 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
110 struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev, in hns_ae_get_handle()
118 struct hnae_handle *ae_handle; in hns_ae_get_handle()
186 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
199 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
224 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address()
244 static int hns_ae_set_multicast_one(struct hnae_handle *handle, void *addr) in hns_ae_set_multicast_one()
273 static int hns_ae_set_mtu(struct hnae_handle *handle, int new_mtu) in hns_ae_set_mtu()
280 static int hns_ae_start(struct hnae_handle *handle) in hns_ae_start()
[all …]
Dhns_enet.h52 struct hnae_handle *ae_handle;
79 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
Dhns_enet.c742 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
753 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy()
784 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
797 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
818 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
843 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
853 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
897 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
983 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
1010 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_open()
[all …]
Dhns_ethtool.c48 struct hnae_handle *h; in hns_nic_get_link()
127 struct hnae_handle *h; in hns_nic_get_settings()
196 struct hnae_handle *h; in hns_nic_set_settings()
314 struct hnae_handle *h = priv->ae_handle; in __lb_setup()
355 struct hnae_handle *h = priv->ae_handle; in __lb_up()
495 struct hnae_handle *h = priv->ae_handle; in __lb_run_test()
563 struct hnae_handle *h = priv->ae_handle; in __lb_down()
726 struct hnae_handle *h; in hns_set_pauseparam()
840 struct hnae_handle *h = priv->ae_handle; in hns_get_ethtool_stats()
896 struct hnae_handle *h = priv->ae_handle; in hns_get_strings()
[all …]
Dhnae.c232 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
286 int hnae_reinit_handle(struct hnae_handle *handle) in hnae_reinit_handle()
318 struct hnae_handle *hnae_get_handle(struct device *owner_dev, in hnae_get_handle()
323 struct hnae_handle *handle; in hnae_get_handle()
360 void hnae_put_handle(struct hnae_handle *h) in hnae_put_handle()
Dhns_dsaf_main.h187 struct hnae_handle ae_handle; /* must be the last number */
378 struct hnae_handle *handle) in hns_ae_get_vf_cb()