Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h342 struct hnae_handle;
358 struct hnae_handle *handle;
467 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev,
469 void (*put_handle)(struct hnae_handle *handle);
472 int (*start)(struct hnae_handle *handle);
473 void (*stop)(struct hnae_handle *handle);
474 void (*reset)(struct hnae_handle *handle);
475 int (*set_opts)(struct hnae_handle *handle, int type, void *opts);
476 int (*get_opts)(struct hnae_handle *handle, int type, void **opts);
477 int (*get_status)(struct hnae_handle *handle);
[all …]
H A 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()
139 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle()
150 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down()
185 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all()
210 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address()
230 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address()
241 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address()
[all …]
H A Dhns_enet.c779 struct hnae_handle *handle = ring->q->handle; in hns_nic_adpt_coalesce()
1092 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
1136 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy()
1171 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open()
1184 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address()
1205 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats()
1225 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close()
1278 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq()
1325 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_up()
1410 struct hnae_handle *handle = priv->ae_handle; in hns_nic_net_reset()
[all …]
H A Dhns_ethtool.c43 struct hnae_handle *h; in hns_nic_get_link()
118 struct hnae_handle *h; in hns_nic_get_link_ksettings()
205 struct hnae_handle *h; in hns_nic_set_link_ksettings()
289 struct hnae_handle *h = priv->ae_handle; in __lb_setup()
340 struct hnae_handle *h = priv->ae_handle; in __lb_up()
485 struct hnae_handle *h = priv->ae_handle; in __lb_run_test()
554 struct hnae_handle *h = priv->ae_handle; in __lb_down()
717 struct hnae_handle *h; in hns_set_pauseparam()
841 struct hnae_handle *h = priv->ae_handle; in hns_get_ethtool_stats()
897 struct hnae_handle *h = priv->ae_handle; in hns_get_strings()
[all …]
H A 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()
H A Dhns_enet.h61 struct hnae_handle *ae_handle;
90 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
H A Dhns_dsaf_main.h213 struct hnae_handle ae_handle; /* must be the last number */
423 struct hnae_handle *handle) in hns_ae_get_vf_cb()