Searched refs:hnae_handle (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 342 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 …]
|
D | hns_ae_adapt.c | 18 static struct hns_mac_cb *hns_get_mac_cb(struct hnae_handle *handle) in hns_get_mac_cb() 30 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb() 69 static struct hnae_handle *hns_ae_get_handle(struct hnae_ae_dev *dev, in hns_ae_get_handle() 76 struct hnae_handle *ae_handle; in hns_ae_get_handle() 141 static void hns_ae_put_handle(struct hnae_handle *handle) in hns_ae_put_handle() 152 static int hns_ae_wait_flow_down(struct hnae_handle *handle) in hns_ae_wait_flow_down() 187 static void hns_ae_ring_enable_all(struct hnae_handle *handle, int val) in hns_ae_ring_enable_all() 212 static int hns_ae_set_mac_address(struct hnae_handle *handle, void *p) in hns_ae_set_mac_address() 232 static int hns_ae_add_uc_address(struct hnae_handle *handle, in hns_ae_add_uc_address() 243 static int hns_ae_rm_uc_address(struct hnae_handle *handle, in hns_ae_rm_uc_address() [all …]
|
D | hns_enet.c | 779 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 …]
|
D | hns_ethtool.c | 43 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() 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 | hnae.c | 237 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()
|
D | hns_enet.h | 61 struct hnae_handle *ae_handle; 90 int hns_nic_init_phy(struct net_device *ndev, struct hnae_handle *h);
|
D | hns_dsaf_main.h | 213 struct hnae_handle ae_handle; /* must be the last number */ 423 struct hnae_handle *handle) in hns_ae_get_vf_cb()
|