Searched refs:AE_IS_VER1 (Results 1 – 9 of 9) sorted by relevance
306 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_port_timeout()390 if (!AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver) && in hns_rcb_common_init_hw()401 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_common_init_hw()449 is_ver1 = AE_IS_VER1(ring_pair_cb->rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_ring_get_cfg()500 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_base_irq_idx()522 bool is_ver1 = AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver); in hns_rcb_get_cfg()590 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) in hns_rcb_get_coalesce_usecs()615 if (AE_IS_VER1(rcb_common->dsaf_dev->dsaf_ver)) { in hns_rcb_set_coalesce_usecs()999 bool is_ver1 = AE_IS_VER1(rcb_com->dsaf_dev->dsaf_ver); in hns_rcb_get_common_regs()
270 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_inner_qid_cfg()323 (AE_IS_VER1((dev)->dsaf_ver) ? DSAF_SBM_NUM : DSAFV2_SBM_NUM)764 if (AE_IS_VER1(dsaf_dev->dsaf_ver) && !HNS_DSAF_IS_DEBUG(dsaf_dev)) in hns_dsaf_set_promisc_mode()792 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_rocee_bp_en()1170 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_pfc_pause()1186 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_set_rx_mac_pause_en()1202 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) in hns_dsaf_get_rx_mac_pause_en()1219 bool is_ver1 = AE_IS_VER1(dsaf_dev->dsaf_ver); in hns_dsaf_comm_init()1279 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_inode_init()1327 if (AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_dsaf_sbm_init()[all …]
404 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? in hns_dsaf_ge_srst_by_port()423 reg_val_2 = AE_IS_VER1(dsaf_dev->dsaf_ver) ? 0x100 : 0x40; in hns_dsaf_ge_srst_by_port()510 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_get_phy_if()646 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_mac_config_sds_loopback()
181 if (!(AE_IS_VER1(priv->enet_ver) && h->port_type == HNAE_PORT_DEBUG)) in hns_nic_get_link_ksettings()390 if ((!AE_IS_VER1(priv->enet_ver)) && in __lb_other_process()1180 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_key_size()1196 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss_indir_size()1212 if (AE_IS_VER1(priv->enet_ver)) { in hns_get_rss()1233 if (AE_IS_VER1(priv->enet_ver)) { in hns_set_rss()
305 if (!AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) { in hns_ae_set_mtu()346 if (AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver)) in hns_ae_start()559 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_max_coalesced_frames()588 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_set_coalesce_frames()625 if (AE_IS_VER1(dsaf_dev->dsaf_ver) || in hns_ae_get_coalesce_range()
462 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_reset()608 bool is_ver1 = AE_IS_VER1(mac_cb->dsaf_dev->dsaf_ver); in hns_mac_set_pauseparam()
63 #define AE_IS_VER1(ver) ((ver) == AE_VERSION_1) macro
329 if (!AE_IS_VER1(dsaf_dev->dsaf_ver)) { in hns_ppe_init_hw()
1949 if (!AE_IS_VER1(priv->enet_ver) && in hns_nic_select_queue()2107 bool is_ver1 = AE_IS_VER1(priv->enet_ver); in hns_nic_init_ring_data()2175 if (AE_IS_VER1(priv->enet_ver)) { in hns_nic_set_priv_ops()