Home
last modified time | relevance | path

Searched refs:AE_IS_VER1 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_rcb.c303 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_port_timeout()
387 if (!AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver) && in hns_rcb_common_init_hw()
398 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_common_init_hw()
446 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()
497 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx()
519 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg()
587 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) in hns_rcb_get_coalesce_usecs()
612 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_coalesce_usecs()
969 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs()
H A Dhns_dsaf_main.c270 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_inner_qid_cfg()
791 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_rocee_bp_en()
1175 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_pfc_pause()
1191 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_rx_mac_pause_en()
1207 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_get_rx_mac_pause_en()
1283 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_inode_init()
1331 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_sbm_init()
1454 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_init()
1773 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_add_mac_mc_port()
1943 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_del_mac_mc_port()
[all …]
H A Dhns_dsaf_misc.c410 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? in hns_dsaf_ge_srst_by_port()
429 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? 0x100 : 0x40; in hns_dsaf_ge_srst_by_port()
516 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_get_phy_if()
653 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_mac_config_sds_loopback()
H A Dhns_ethtool.c180 if (!(AE_IS_VER1(priv->enet_ver) && h->port_type == HNAE_PORT_DEBUG)) in hns_nic_get_link_ksettings()
389 if ((!AE_IS_VER1(priv->enet_ver)) && in __lb_other_process()
1163 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_key_size()
1179 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_indir_size()
1195 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss()
1216 if (AE_IS_VER1(priv->enet_ver)) { in hns_set_rss()
H A Dhns_ae_adapt.c302 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_ae_set_mtu()
343 if (AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) in hns_ae_start()
536 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_max_coalesced_frames()
565 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_set_coalesce_frames()
602 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_coalesce_range()
H A Dhns_dsaf_mac.c492 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_reset()
638 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_set_pauseparam()
H A Dhnae.h63 #define AE_IS_VER1(ver) ((ver) == AE_VERSION_1) macro
H A Dhns_dsaf_ppe.c326 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_ppe_init_hw()
H A Dhns_enet.c1948 if (!AE_IS_VER1(priv->enet_ver) && in hns_nic_select_queue()
2106 bool is_ver1 = AE_IS_VER1(priv->enet_ver); in hns_nic_init_ring_data()
2172 if (AE_IS_VER1(priv->enet_ver)) { in hns_nic_set_priv_ops()