Home
last modified time | relevance | path

Searched refs:ae_handle (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c45 h = priv->ae_handle; in hns_nic_get_link()
125 if (!priv || !priv->ae_handle) in hns_nic_get_link_ksettings()
128 h = priv->ae_handle; in hns_nic_get_link_ksettings()
211 if (!priv || !priv->ae_handle || !priv->ae_handle->dev || in hns_nic_set_link_ksettings()
212 !priv->ae_handle->dev->ops) in hns_nic_set_link_ksettings()
215 h = priv->ae_handle; in hns_nic_set_link_ksettings()
289 struct hnae_handle *h = priv->ae_handle; in __lb_setup()
299 (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII)) in __lb_setup()
311 if (priv->ae_handle->phy_if != PHY_INTERFACE_MODE_XGMII) in __lb_setup()
340 struct hnae_handle *h = priv->ae_handle; in __lb_up()
[all …]
H A Dhns_ae_adapt.c74 struct hnae_handle *ae_handle; in hns_ae_get_handle() local
88 ae_handle = ERR_PTR(-ENOMEM); in hns_ae_get_handle()
91 ae_handle = &vf_cb->ae_handle; in hns_ae_get_handle()
93 ae_handle->owner_dev = dsaf_dev->dev; in hns_ae_get_handle()
94 ae_handle->dev = dev; in hns_ae_get_handle()
95 ae_handle->q_num = qnum_per_vf; in hns_ae_get_handle()
96 ae_handle->coal_param = HNAE_LOWEST_LATENCY_COAL_PARAM; in hns_ae_get_handle()
99 for (ae_handle->vf_id = 0; in hns_ae_get_handle()
100 ae_handle->vf_id < vfnum_per_port; ae_handle->vf_id++) { in hns_ae_get_handle()
105 if (ae_handle->vf_id >= vfnum_per_port) { in hns_ae_get_handle()
[all …]
H A Dhns_enet.c371 assert(skb->queue_mapping < priv->ae_handle->q_num); in hns_nic_net_xmit_hw()
372 hnae_queue_xmit(priv->ae_handle->qs[skb->queue_mapping], buf_num); in hns_nic_net_xmit_hw()
1092 struct hnae_handle *h = priv->ae_handle; in hns_nic_adjust_link()
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()
1391 ops = priv->ae_handle->dev->ops; in hns_nic_net_down()
[all …]
H A Dhns_enet.h61 struct hnae_handle *ae_handle; member
85 ((priv)->ring_data[(priv)->ae_handle->q_num + (idx)])
H A Dhns_dsaf_main.h213 struct hnae_handle ae_handle; /* must be the last number */ member
425 return container_of(handle, struct hnae_vf_cb, ae_handle); in hns_ae_get_vf_cb()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/aiq_core/algo_handlers/
H A DRkAiqAfdHandle.cpp185 SmartPtr<RkAiqHandle>* ae_handle = mAiqCore->getCurAlgoTypeHandle(RK_AIQ_ALGO_TYPE_AE); in processing() local
186 int algo_id = (*ae_handle)->getAlgoId(); in processing()
188 if (ae_handle) { in processing()
190 RkAiqAeHandleInt* ae_algo = dynamic_cast<RkAiqAeHandleInt*>(ae_handle->ptr()); in processing()
H A DRkAiqAfHandle.cpp551 SmartPtr<RkAiqHandle>* ae_handle = mAiqCore->getCurAlgoTypeHandle(RK_AIQ_ALGO_TYPE_AE); in genIspResult() local
552 int algo_id = (*ae_handle)->getAlgoId(); in genIspResult()
554 if (ae_handle) { in genIspResult()
556 RkAiqAeHandleInt* ae_algo = dynamic_cast<RkAiqAeHandleInt*>(ae_handle->ptr()); in genIspResult()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c142 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
148 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
153 pci_name(priv->ae_handle->pdev), in hns3_nic_init_irq()
263 struct hnae3_handle *h = priv->ae_handle; in hns3_vector_gl_rl_init_hw()
382 struct hnae3_handle *h = priv->ae_handle; in hns3_nic_net_up()
469 h->ae_algo->ops->set_timer_task(priv->ae_handle, true); in hns3_nic_net_open()
508 ops = priv->ae_handle->ae_algo->ops; in hns3_nic_net_down()
510 ops->stop(priv->ae_handle); in hns3_nic_net_down()
517 hns3_clear_all_ring(priv->ae_handle, false); in hns3_nic_net_down()
519 hns3_reset_tx_queue(priv->ae_handle); in hns3_nic_net_down()
[all …]
H A Dhns3_ethtool.c207 struct hnae3_handle *h = priv->ae_handle; in hns3_lb_check_rx_ring()
327 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_prepare()
357 struct hnae3_handle *h = priv->ae_handle; in hns3_selftest_restore()
577 struct hnae3_handle *h = priv->ae_handle; in hns3_get_drvinfo()
593 fw_version = priv->ae_handle->ae_algo->ops->get_fw_version(h); in hns3_get_drvinfo()
621 struct hnae3_handle *h = priv->ae_handle; in hns3_get_ringparam()
935 struct hnae3_handle *h = priv->ae_handle; in hns3_change_all_ring_bd_num()
949 struct hnae3_handle *handle = priv->ae_handle; in hns3_backup_ringparam()
992 struct hnae3_handle *h = priv->ae_handle; in hns3_set_ringparam()
1122 struct hnae3_handle *h = priv->ae_handle; in hns3_get_coalesce_per_queue()
[all …]
H A Dhns3_enet.h469 struct hnae3_handle *ae_handle; member
570 (((struct hns3_nic_priv *)netdev_priv(ndev))->ae_handle)