Searched refs:hnae_handle (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 349 struct hnae_handle; 365 struct hnae_handle *handle; 474 struct hnae_handle *(*get_handle)(struct hnae_ae_dev *dev, 476 void (*put_handle)(struct hnae_handle *handle); 479 int (*start)(struct hnae_handle *handle); 480 void (*stop)(struct hnae_handle *handle); 481 void (*reset)(struct hnae_handle *handle); 482 int (*set_opts)(struct hnae_handle *handle, int type, void *opts); 483 int (*get_opts)(struct hnae_handle *handle, int type, void **opts); 484 int (*get_status)(struct hnae_handle *handle); [all …]
|
D | hns_ae_adapt.c | 22 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() 34 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() 73 static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev, in hns_ae_get_handle() 80 struct hnae_handle *ae_handle; in hns_ae_get_handle() 145 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() 158 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() 193 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all() 218 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address() 238 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address() 249 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address() [all …]
|
D | hns_enet.c | 789 struct hnae_handle *handle = ring->q->handle; in hns_nic_adpt_coalesce() 1120 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link() 1164 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h) in hns_nic_init_phy() 1195 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_open() 1208 struct hnae_handle *h = priv->ae_handle; in hns_nic_net_set_mac_address() 1229 struct hnae_handle *h = priv->ae_handle; in hns_nic_update_stats() 1249 struct hnae_handle *h = priv->ae_handle; in hns_nic_ring_close() 1286 struct hnae_handle *h = priv->ae_handle; in hns_nic_init_irq() 1329 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 …]
|
D | hns_enet.h | 65 struct hnae_handle *ae_handle; 94 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
|
D | hnae.c | 240 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue() 294 int hnae_reinit_handle(struct hnae_handle *handle) in hnae_reinit_handle() 326 struct hnae_handle *hnae_get_handle(struct device *owner_dev, in hnae_get_handle() 332 struct hnae_handle *handle; in hnae_get_handle() 373 void hnae_put_handle(struct hnae_handle *h) in hnae_put_handle()
|
D | hns_ethtool.c | 47 struct hnae_handle *h; in hns_nic_get_link() 122 struct hnae_handle *h; in hns_nic_get_link_ksettings() 209 struct hnae_handle *h; in hns_nic_set_link_ksettings() 293 struct hnae_handle *h = priv->ae_handle; in __lb_setup() 343 struct hnae_handle *h = priv->ae_handle; in __lb_up() 481 struct hnae_handle *h = priv->ae_handle; in __lb_run_test() 550 struct hnae_handle *h = priv->ae_handle; in __lb_down() 713 struct hnae_handle *h; in hns_set_pauseparam() 837 struct hnae_handle *h = priv->ae_handle; in hns_get_ethtool_stats() 893 struct hnae_handle *h = priv->ae_handle; in hns_get_strings() [all …]
|
D | hns_dsaf_main.h | 217 struct hnae_handle ae_handle; /* must be the last number */ 427 struct hnae_handle *handle) in hns_ae_get_vf_cb()
|