Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns/
Dhnae.h342 struct hnae_handle;
358 struct hnae_handle *handle;
463 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
465 void (*put_handle)(struct hnae_handle *handle);
468 int (*start)(struct hnae_handle *handle);
469 void (*stop)(struct hnae_handle *handle);
470 void (*reset)(struct hnae_handle *handle);
471 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
472 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
473 int (*get_status)(struct hnae_handle *handle);
[all …]
Dhns_ae_adapt.c16 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb()
28 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
67 static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev, in hns_ae_get_handle()
74 struct hnae_handle *ae_handle; in hns_ae_get_handle()
138 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
149 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down()
184 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
209 static int hns_ae_set_mac_address(struct hnae_handle *handle, const void *p) in hns_ae_set_mac_address()
229 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address()
240 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address()
[all …]
Dhns_enet.c802 struct hnae_handle *handle = ring->q->handle; in hns_nic_adpt_coalesce()
1115 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1159 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy()
1194 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1207 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1228 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1248 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1301 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1348 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1433 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
[all …]
Dhns_ethtool.c42 struct hnae_handle *h; in hns_nic_get_link()
117 struct hnae_handle *h; in hns_nic_get_link_ksettings()
204 struct hnae_handle *h; in hns_nic_set_link_ksettings()
288 struct hnae_handle *h = priv->ae_handle; in __lb_setup()
339 struct hnae_handle *h = priv->ae_handle; in __lb_up()
484 struct hnae_handle *h = priv->ae_handle; in __lb_run_test()
553 struct hnae_handle *h = priv->ae_handle; in __lb_down()
720 struct hnae_handle *h; in hns_set_pauseparam()
852 struct hnae_handle *h = priv->ae_handle; in hns_get_ethtool_stats()
908 struct hnae_handle *h = priv->ae_handle; in hns_get_strings()
[all …]
Dhnae.c237 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
291 int hnae_reinit_handle(struct hnae_handle *handle) in hnae_reinit_handle()
323 struct hnae_handle *hnae_get_handle(struct device *owner_dev, in hnae_get_handle()
329 struct hnae_handle *handle; in hnae_get_handle()
370 void hnae_put_handle(struct hnae_handle *h) in hnae_put_handle()
Dhns_enet.h62 struct hnae_handle *ae_handle;
91 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
Dhns_dsaf_main.h213 struct hnae_handle ae_handle; /* must be the last member */
423 struct hnae_handle *handle) in hns_ae_get_vf_cb()